Installation

check latex.. what filename do I put in?

Re: check latex.. what filename do I put in?

by Harshal Patel -
Number of replies: 4
Hi Danny,

When I run the whatprovides command, it shows this:

texlive-amscls-7:20180414-25.el8.noarch : AMS document classes for LaTeX
Repo : rhel-8-for-x86_64-appstream-rpms
Matched from:
Filename : /usr/share/texlive/texmf-dist/tex/latex/amscls/amsart.cls

How do I go about installing this?
In reply to Harshal Patel

Re: check latex.. what filename do I put in?

by Danny Glin -

Once you know the name of the package you can install it with

dnf install texlive-amscls

In reply to Danny Glin

Re: check latex.. what filename do I put in?

by Harshal Patel -
Hi Danny,

I was able to install texlive-amscls. When I run the check_latex command now, it shows the error below:

This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(/opt/webwork/webwork2/bin/check_latex.tex
LaTeX2e <2017-04-15>
Babel <3.17> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsart.cls
Document Class: amsart 2017/10/31 v2.20.4
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/opt/webwork/webwork2/bin/../conf/snippets/hardcopyThemes/common/packages.tex
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/multicol.sty)
(/usr/share/texlive/texmf-dist/tex/latex/booktabs/booktabs.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/tabularx.sty
(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty))
(/usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg))

! LaTeX Error: File `path.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.4 \discretionaries
                     |~!@$%^&*()_+`-=#{"}[]:;'<>,.?\/abcdefghijklmnopqrstuvw...

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on check_latex.log.

Compilation Failure: Examine the latex output above to see what went wrong.
You may also examine /tmp/check_latex_PInv1ZIg/check_latex.log and /tmp/check_latex_PInv1ZIg/check_latex.aux.
Can you please assist with this? I tried using the whatprovides command and tried installing path.sty through dnf and tlmgr, but it didn't work.

Thank you in advance!

Harshal
In reply to Harshal Patel

Re: check latex.. what filename do I put in?

by Peter Staab -
I don't know RHEL, but as Danny above pointed out

> Once you know the name of the package you can install it with

> dnf install texlive-amscls

perhaps def install texlive-path might work or perhaps path.sty is in another package.
In reply to Peter Staab

Re: check latex.. what filename do I put in?

by Harshal Patel -
Hi Peter,

Thank you for replying. Yes I tried dnf install texlive-path, but it says unable to find a match: texlive-path. I have been searching on Google about this and I found this article that says you need to manually install the full TUG package set:
https://webwork.maa.org/wiki/Troubleshooting_Hardcopy

I am trying to find a documentation for steps to install this package and tried few things but didn't work.

Please let me know if you know anything about this.

Thanks again,
Harshal