[tex-live] pretest: texdoc problem

T T t34www at googlemail.com
Mon Jul 27 00:07:10 CEST 2009


2009/7/26 Uwe Siart <uwe.siart at tum.de>:
> 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.

I don't have MSYS on my the PATH and this problem happens consistently
on 3 systems I could test on (Vista, XP and XP in VM). I just checked
that the source of texdoc and the fix qouted above is not there. When
I apply it, everything works again.

Cheers,

Tomek


More information about the tex-live mailing list