Hello,
I tried to build gnuplot with latex support.
I installed texlive package, the configure shows:
checking for latex... latex
checking for pdflatex... pdflatex
however, it doesn't support latex terminal after the gnuplot is built.
Not sure if I missed to install any latex devel package?
Thanks.
latex library for centos
Re: latex library for centos
EPEL has gnuplot, including the gnuplot-latex, for el9:
They have built the gnuplot-latex from the gnuplot-*.el9.src.rpm.
Which distro do you have? CentOS Stream 8?
How do you build gnuplot? With mock from gnuplot-*.el8.src.rpm that is in el8 appstream repo, or from sources?
Code: Select all
[Alma9]$ dnf --enablerepo=epel list \*gnuplot\*
Available Packages
gnuplot.x86_64 5.4.3-2.el9 epel
gnuplot-common.x86_64 5.4.3-2.el9 epel
gnuplot-doc.noarch 5.4.3-2.el9 epel
gnuplot-latex.noarch 5.4.3-2.el9 epel
gnuplot-minimal.x86_64 5.4.3-2.el9 epel
Which distro do you have? CentOS Stream 8?
How do you build gnuplot? With mock from gnuplot-*.el8.src.rpm that is in el8 appstream repo, or from sources?
Re: latex library for centos
thanks. I used centos 8 stream and the latest gnuplot source downloaded from the its website for build.
when I run ./configure to build, it should pick up latex once I have the latex lib texlive installed. I
am not sure if there is devel package for texlive that I missed?
when I run ./configure to build, it should pick up latex once I have the latex lib texlive installed. I
am not sure if there is devel package for texlive that I missed?
Re: latex library for centos
I don't think that there is any devel for texlive.
The el8 source package requires (for build):
The things on that list that are not packages can be resolved into packages. For example:
Note that the gnuplot-latex does not seem to modify the gnuplot binary:
Therefore, the package of the binary, gnuplot, must contain the functionality -- possibly due to build options.
Disclaimer: I don't actually know what the "gnuplot latex terminal" is.
The el8 source package requires (for build):
Code: Select all
$ rpm -qRp gnuplot-5.2.4-1.el8.src.rpm
warning: gnuplot-5.2.4-1.el8.src.rpm: Header V4 RSA/SHA256 Signature, key ID c21ad6ea: NOKEY
/usr/bin/texi2dvi
cairo-devel
emacs
gd-devel
giflib-devel
latex2html
libX11-devel
libXt-devel
libjpeg-turbo-devel
libotf
libpng-devel
librsvg2
lua-devel
m17n-lib
pango-devel
qt5-linguist
qt5-qtbase-devel
qt5-qtsvg-devel
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
tex(cm-super-t1.enc)
tex(ecrm1000.tfm)
tex(latex)
tex(pdftex.map)
tex(subfigure.sty)
tex-tex4ht
texinfo
zlib-devel
Code: Select all
$ dnf provides 'tex(cm-super-t1.enc)'
Last metadata expiration check: 1:41:59 ago on Tue 03 Jan 2023 09:54:17 AM EET.
texlive-cm-super-7:20180414-25.el8.noarch : CM-Super family of fonts
Repo : appstream
Matched from:
Provide : tex(cm-super-t1.enc) = 7:20180414-25.el8
Note that the gnuplot-latex does not seem to modify the gnuplot binary:
Code: Select all
[Alma9]# rpm -ql gnuplot-latex
/usr/share/doc/gnuplot-latex
/usr/share/doc/gnuplot-latex/Copyright
/usr/share/texlive/texmf-dist/tex/latex/gnuplot
/usr/share/texlive/texmf-dist/tex/latex/gnuplot/gnuplot-lua-tikz-common.tex
/usr/share/texlive/texmf-dist/tex/latex/gnuplot/gnuplot-lua-tikz.sty
/usr/share/texlive/texmf-dist/tex/latex/gnuplot/gnuplot-lua-tikz.tex
/usr/share/texlive/texmf-dist/tex/latex/gnuplot/gnuplot.cfg
/usr/share/texlive/texmf-dist/tex/latex/gnuplot/t-gnuplot-lua-tikz.tex
Disclaimer: I don't actually know what the "gnuplot latex terminal" is.
Re: latex library for centos
According to the last section of http://gnuplot.info/docs/latex_demo.pdf, gnuplot's latex terminal has been deprecated. There isn't even a configure option to enable it, you need to edit the code.
Re: latex library for centos
thanks so much, I added tex package and epslatex can be used now.