[tex-live] Wrong location for .prf files from listings package

Denis Bitouzé dbitouze at wanadoo.fr
Wed Aug 27 17:34:15 CEST 2014


Hi,

AFAIU lstdrvrs.dtx from listings package:

  ╭────
  │ [...]
  │ 
  │ \ifToplevel{
  │ \usedir{tex/latex/listings}
  │ \keepsilent
  │ \askonceonly
  │ }
  │ 
  │ 
  │ \generate{
  │     \file{lstlang1.sty}{\from{lstdrvrs.dtx}{lang1}}
  │     \file{lstlang2.sty}{\from{lstdrvrs.dtx}{lang2}}
  │     \file{lstlang3.sty}{\from{lstdrvrs.dtx}{lang3}}
  │ }
  │ 
  │ \generate{
  │     \file{listings-acm.prf}{\from{lstdrvrs.dtx}{acm-prf}}
  │     \file{listings-fortran.prf}{\from{lstdrvrs.dtx}{fortran-prf}}
  │     \file{listings-lua.prf}{\from{lstdrvrs.dtx}{lua-prf}}
  │     \file{listings-python.prf}{\from{lstdrvrs.dtx}{python-prf}}
  │ }
  │ 
  │ [...]
  ╰────

.prf files should be in the same directory as lstlang*.sty files: in
tex/latex/listings/ instead of doc/latex/listings/ as it is currently
the case.

In addition, it would make usable what is specified in listings'
documentation:

  ╭────
  │ \input{listings-python.prf}
  ╰────

Best regards.
-- 
Denis



More information about the tex-live mailing list