[tex-live] pretest: texdoc problem

Uwe Siart uwe.siart at tum.de
Sun Jul 26 15:42:58 CEST 2009

T T <t34www at googlemail.com> writes:

> 2009/7/6 Manuel Pégourié-Gonnard <mpg at elzevir.fr>:
>> T T a écrit :
>>> The failure has something to do with how system call arguments are
>>> handled (quotes seem to be striped off of arguments unless they
>>> contain spaces. Try with:
>>>   os.execute('echo start "foo" "bar baz"')
>>> Using os.execute('start "something with a space here" "C:\mydoc.pdf"')
>>> should fix it.
>> Thanks for the hint.
>> Uwe, can you please try to change lines 663-667 of
>> texlive\2009\texmf\scripts\texdoc\texdoc.tlu to something like
>>            viewer_dvi    = 'start "texdoc viewer"',
>>            viewer_html   = 'start "texdoc viewer"',
>>            viewer_pdf    = 'start "texdoc viewer"',
>>            viewer_ps     = 'start "texdoc viewer"',
>> and see if it solves the problem?
> Has this been fixed? 'texdoc texlive-en' opens a command prompt window
> for me with the full path to texlive-en.pdf as its title (I have the
> latest texdoc rev. 14095).

Works for me ('tlmgr update --force --all' as of 2009-07-26).

When I reported this bug I could not call texdoc at all. It was provoked
by my MSYS installation with a shell script named 'shell' on PATH. But
this is fixed now in TL. texdoc no longer stumbles across my MSYS but
uses start.exe as intended.


More information about the tex-live mailing list