[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing luatex causes bugs in texdoc



Hi,

Norbert Preining a écrit :
> On Do, 31 Jul 2008, R (Chandra) Chandrasekhar wrote:
>> https://bugs.launchpad.net/ubuntu/+source/luatex/+bug/232260
> 
> THanks for reporting. The reason for that is that luatex diverts texdoc
> to its own version, a texlua version of texdoc. That one does not
> support these external variables, but is in other ways much better. 
> 
It supports other external variables, though.  Those are

TEXDOC_VIEWER_PDF

and so on. They are mentioned in the man page, but I can't blame you: I had
the same experience when the old variables stopped working and didn't think
to look in the (new) manual either :-)

> The version in the TeX Luve
> upstream repository supports the env variables you mentioned.
> 
Hm, not exactly. It supports variables with the same functionality but again
different names (really sorry for that). The new names are:

PDFVIEWER, PSVIEWER, DVIVIEWER

For html and text, texdoc now uses the standard variables BROWSER and PAGER
(as the Debian policy requires btw).  You will also be able to configure
this in the new config file TEXMFHOME/texdoc/texdoc.cnf.

By the way, Norbert, if you update kpathsea (or luatex in case kpathsea is
statically linked in it, I don't know), please also update texdoc with it or
 manually change the line

kpse.set_program_name("texdoc")

to

kpse.set_program_name(arg[-1], "texdoc")

cause the former form won't work with a recent kpathsea.

Manuel.


Reply to: