Public bug reported:

fpc-3.0.0 installs the following:
/usr/share/texmf/tex/latex/fpc-3.0.0/listings.sty

That shadows the one installed by texlive-latex-recommended at:
/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty

Specifically, "kpsewhich listings.sty" returns that of fpc-3.0.0.

When executing LaTeX on a document that uses package listings, LaTeX
uses that of fpc-3.0.0, which is older than that of texlive. So, LaTeX
fails because, for example, "\lstset{breakatwhitespace=true}" gives an
error. If fpc-3.0.0 is purged, LaTeX can successfully produce the PDF.

What about if fpc-3.0.0 uses symbolic links to the listings.sty of
texlive if texlive-latex-recommended happens to be installed already?
Perhaps by packaging the following files separately from fpc-3.0.0 so
that the package can be marked to conflict with texlive-latex-
recommended?

/usr/share/texmf/tex/latex/fpc-3.0.0/listings.sty
/usr/share/texmf/tex/latex/fpc-3.0.0/lstdoc.sty
/usr/share/texmf/tex/latex/fpc-3.0.0/lstlang1.sty
/usr/share/texmf/tex/latex/fpc-3.0.0/lstlang2.sty
/usr/share/texmf/tex/latex/fpc-3.0.0/lstlang3.sty
/usr/share/texmf/tex/latex/fpc-3.0.0/lstmisc.sty

Thanks.

** Affects: fpc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1598568

Title:
  listings.sty shadows newer listings.sty of texlive-latex-recommended

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fpc/+bug/1598568/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to