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

texdoc broken



Hi,

I would just like to report the following bug:

Package: tetex-bin
Version: 1.0.7+20011202-2
Dirtrib: testing

The program 'texdoc' does not work.  In fact it seems that the final
'&' at then end of the commands it tries to launch is the culprit
(because %s gets replaced not by a single name but by a sequence of
commands).  A possible solution is to replace lines 33-36 of
/usr/bin/texdoc by

: ${TEXDOCVIEW_dvi='(xdvi %s) &'}
: ${TEXDOCVIEW_pdf='(acroread %s) &'}
: ${TEXDOCVIEW_ps='(ghostview %s) &'}
: ${TEXDOCVIEW_html='(netscape -remote openURL'"'(%s,new-window)'"' 2>/dev/null || netscape %s )&'}

Note that I also have made netscape to open a new window which is much
nicer for those people (like me) who run their browser on a different
workspace.

Happy new year 2002!
ChriS



Reply to: