I am getting the same type error as this thread:
http://webwork.maa.org/moodle/mod/forum/discuss.php?d=3823
I am running WeBWork 2.12 on RHEL7.3 OS.
Hpw do I install the TeXLive tlmgr piece?
(as I believe that is what is needed.)
If you haven't already done so you will want to install all of texlive including tlmgr
You can probably install it for RHEL7 using ports -- perhaps
would work but sometimes those packages are not as up to date as the
one that you get from tug.org.
If you have installed texlive already it's possible that tlmgr is not in your command path which is why the "tlmgr install ..." command wouldn't work.
You'll need to search for it's location and give the full path to tlmgr.
TexLive was installed via Webwork Installer shell script.
I see the Texlive packages via "yum list installed"
I found it installed in /usr/share/texlive dir, but can not find tlmgr
anywhere on the server.
If I get Texlive from www.tug.org, will I have to uninstall what I have already?
I see the Texlive packages via "yum list installed"
I found it installed in /usr/share/texlive dir, but can not find tlmgr
anywhere on the server.
If I get Texlive from www.tug.org, will I have to uninstall what I have already?
The WeBWorK installer should have installed the LaTeX path package. The installer downloads an RPM from the following URL:
http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/i386/os/Packages/t/texlive-path-svn22045.3.05-17.fc25.1.noarch.rpm
and then installs the package.
This worked on my CentOS system without having to install all of TeXLive.
Per LaTeX installed items, I don't see:
texlive-path-svn22045.3.05-17.fc25.1.noarch.rpm
sh-4.2# yum list installed | grep -i latex
texlive-collection-latex.noarch
texlive-collection-latexrecommended.noarch
texlive-latex.noarch 2:svn27907.0-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-latex-bin.noarch 2:svn26689.0-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-latex-bin-bin.noarch 2:svn14050.0-38.20130427_r30134.el7
texlive-latex-fonts.noarch 2:svn28888.0-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-latexconfig.noarch 2:svn28991.0-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-lualatex-math.noarch 2:svn29346.1.2-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-pslatex.noarch 2:svn16416.0-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-path-svn22045.3.05-17.fc25.1.noarch.rpm
sh-4.2# yum list installed | grep -i latex
texlive-collection-latex.noarch
texlive-collection-latexrecommended.noarch
texlive-latex.noarch 2:svn27907.0-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-latex-bin.noarch 2:svn26689.0-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-latex-bin-bin.noarch 2:svn14050.0-38.20130427_r30134.el7
texlive-latex-fonts.noarch 2:svn28888.0-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-latexconfig.noarch 2:svn28991.0-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-lualatex-math.noarch 2:svn29346.1.2-38.el7 @<xxxx>-rhel-x86_64-server-7
texlive-pslatex.noarch 2:svn16416.0-38.el7 @<xxxx>-rhel-x86_64-server-7
The package name is texlive-path, so using 'grep -i latex' wouldn't show that.
Also, this package isn't in a yum repository, so you'd have to download it manually.
texlive-path appears to be installed. As well as
numerous texlive packages; I believe from
a fedoraproject repository.
sh-4.2# rpm -qa | grep -i "texlive-path"
texlive-path-svn22045.3.05-17.fc25.1.noarch
sh-4.2# yum list installed | grep -i "texlive-path"
texlive-path.noarch 5:svn22045.3.05-17.fc25.1
So, since the error we received is similar to:
http://webwork.maa.org/moodle/mod/forum/discuss.php?d=3823
Is it path issue or missing tlmgr issue?
Is tlmgr in it's texlive package i.e texlive=tlmgr* ?
Or is it embedded in another texlive package and it can;t
find the path for it?
Any ideas how to search for tlmgr in RHEL7 OS?
I am running WeBWork 2.12 on RHEL7.3 OS.
numerous texlive packages; I believe from
a fedoraproject repository.
sh-4.2# rpm -qa | grep -i "texlive-path"
texlive-path-svn22045.3.05-17.fc25.1.noarch
sh-4.2# yum list installed | grep -i "texlive-path"
texlive-path.noarch 5:svn22045.3.05-17.fc25.1
So, since the error we received is similar to:
http://webwork.maa.org/moodle/mod/forum/discuss.php?d=3823
Is it path issue or missing tlmgr issue?
Is tlmgr in it's texlive package i.e texlive=tlmgr* ?
Or is it embedded in another texlive package and it can;t
find the path for it?
Any ideas how to search for tlmgr in RHEL7 OS?
I am running WeBWork 2.12 on RHEL7.3 OS.
does
locate tmlgr
find anything?
You mean?
locate tlmgr
(No, found nothing - not even after doing an updatedb for mlocate)
locate tlmgr
(No, found nothing - not even after doing an updatedb for mlocate)
Since I get "Failed to covert TeX to PDF..."
Fiest Error in TeX log is:
Fiest Error in TeX log is:
! LaTeX Error: File `path.sty' not found. I tried locating the file: sh-4.2# locate path.sty /usr/share/texlive/texmf-dist/tex/generic/path/path.sty /usr/share/texlive/texmf-dist/tex/latex/currfile/currfile-abspath.sty What do I do now?
Then I think it is simply not on your machine. I find it at /usr/local/bin/tlmgr on my freeBSD installation. If it's installed I would expect to find it either in /usr/bin or in /usr/local/bin. I also find several documents describing aspects of tlmgr.
Let's go back to your original problem. I think what you really need is to have
the file "path.sty" put in the directory with your other latex .sty files.
If you don't have tlmgr to install new files automatically you could find the appropriate directory and and copy the path.sty file in manually.
Seems all my .sty files are under subdirectories under
/usr/share/texlive/texmf-dist/tex/latex/pgf/...
Including path.sty file:
sh-4.2# locate *.sty | grep -i path
/usr/share/texlive/texmf-dist/tex/generic/path/path.sty
/usr/share/texlive/texmf-dist/tex/latex/currfile/currfile-abspath.sty
I just don't know where to copy it to. Could it be a $PATH statement
needs defining?
/usr/share/texlive/texmf-dist/tex/latex/pgf/...
Including path.sty file:
sh-4.2# locate *.sty | grep -i path
/usr/share/texlive/texmf-dist/tex/generic/path/path.sty
/usr/share/texlive/texmf-dist/tex/latex/currfile/currfile-abspath.sty
I just don't know where to copy it to. Could it be a $PATH statement
needs defining?
First make sure that your tex set up is working properly, without using webwork.
Create an ordinary tex document that includes one or more of the style files
and see if it "tex" s properly. You can use the file webwork2/bin/check_latex.tex as one example. Add the path.sty file
as one of the packages used. Use pdflatex to process the file into a pdf document.
If this doesn't work then there is something wrong with your tex set up --
it isn't configured to find your tex document and style files. I can't help much with that.
If tex and pdflatex work when you run them alone go back and look closely at the path to tex and to pdflatex defined in webwork2/conf/site.conf.
It's possible that path is badly defined. It might be pointed at different
copy of tex and pdflatex then the one you just tested.
Those are the only suggestions I have at the moment.
lients have not tested TeX to PDF generation in a few days, but report it is now working for them. I wonder if the texhash command fixed it?
If you add a latex package using a package manager,usually it will take care of updating too. But if you added a latex package manually in one of the paths where latex will look for these packages, it will be necessary to manually run texhash
Please check the file ls-R on /usr/share/<some tex path> (/usr/share/texlive/texmf-dist/ls-R in ubuntu) and see if path.sty is listed there. If not run texhash as root and refresh that list. That could possibly solve your path.sty not found issue.
Balagopal
Ok, I did this:
sh-4.2# ls /usr/share/texlive/texmf-dist
bibtex dvips ls-R metafont mft scripts tex web2c
doc fonts makeindex metapost omega source tex4ht
sh-4.2# locate *.sty | grep -i path.sty
/usr/share/texlive/texmf-dist/tex/generic/path/path.sty
/usr/share/texlive/texmf-dist/tex/latex/currfile/currfile-abspath.sty
sh-4.2# texhash
texhash: Updating /usr/share/texlive/texmf/ls-R...
texhash: Updating /usr/share/texlive/texmf-config/ls-R...
texhash: Updating /usr/share/texlive/texmf-dist/ls-R...
texhash: Updating /usr/share/texlive/texmf-local///ls-R...
texhash: Updating /usr/share/texlive/texmf-var/ls-R...
texhash: Done.
sh-4.2# ls /usr/share/texlive/texmf-dist
bibtex dvips ls-R metafont mft scripts tex web2c
doc fonts makeindex metapost omega source tex4ht
sh-4.2# locate *.sty | grep -i path.sty
/usr/share/texlive/texmf-dist/tex/generic/path/path.sty
/usr/share/texlive/texmf-dist/tex/latex/currfile/currfile-abspath.sty
sh-4.2# ls /usr/share/texlive/texmf-dist
bibtex dvips ls-R metafont mft scripts tex web2c
doc fonts makeindex metapost omega source tex4ht
sh-4.2# locate *.sty | grep -i path.sty
/usr/share/texlive/texmf-dist/tex/generic/path/path.sty
/usr/share/texlive/texmf-dist/tex/latex/currfile/currfile-abspath.sty
sh-4.2# texhash
texhash: Updating /usr/share/texlive/texmf/ls-R...
texhash: Updating /usr/share/texlive/texmf-config/ls-R...
texhash: Updating /usr/share/texlive/texmf-dist/ls-R...
texhash: Updating /usr/share/texlive/texmf-local///ls-R...
texhash: Updating /usr/share/texlive/texmf-var/ls-R...
texhash: Done.
sh-4.2# ls /usr/share/texlive/texmf-dist
bibtex dvips ls-R metafont mft scripts tex web2c
doc fonts makeindex metapost omega source tex4ht
sh-4.2# locate *.sty | grep -i path.sty
/usr/share/texlive/texmf-dist/tex/generic/path/path.sty
/usr/share/texlive/texmf-dist/tex/latex/currfile/currfile-abspath.sty
Clients have not tested TeX to PDF generation in a few days, but report it is now working for them.
When I try:
yum install "texlive-*"
It shows 441 packages, it indicates about half installed and wants to install
the other half packages. I am choosing not to do so, because we only install packages from repositories. So, how do I do that. It shows that the existing TexLive packages were installed from a repository.
yum install "texlive-*"
It shows 441 packages, it indicates about half installed and wants to install
the other half packages. I am choosing not to do so, because we only install packages from repositories. So, how do I do that. It shows that the existing TexLive packages were installed from a repository.