[tex-live] pretest: texdoc problem

T T t34www at googlemail.com
Sat Aug 1 12:30:10 CEST 2009


On 01/08/2009, Manuel Pégourié-Gonnard <mpg at elzevir.fr> wrote:
> Hi Tomek,
>
> T T a écrit :
>> 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).
>>
> I thought this has been fixed by the latest update of the luatex binary by
> Akira. If the problem persists with the new binary, I can include a
> workaround

This problem is not the same as the one reported by the OP. I already
gave an explanation of what happens---quotes are stripped off of
arguments unless they contain spaces. You can easily test it yourself,
just change the definition for viewer_pdf from 'start ""' to 'echo
start ""', so you can see what would be invoked.

Here's what I get on the comand line (my TL root is 'F:\DEV\tl 2009'):

TL>texdoc texdoc
texdoc info: texdoc aliased to texdoc/texdoc
start  "F:\DEV\tl 2009\texmf\doc\texdoc\texdoc.pdf"

Using viewer_pdf='echo start "texdoc viewer"' I get:

TL>texdoc texdoc
texdoc info: texdoc aliased to texdoc/texdoc
start "texdoc viewer" "F:\DEV\tl 2009\texmf\doc\texdoc\texdoc.pdf"

Now if I change my TL root to 'Z:\' I get:

TL>texdoc texdoc
texdoc info: texdoc aliased to texdoc/texdoc
start "texdoc viewer" Z:\texmf\doc\texdoc\texdoc.pdf

Note that there are *no quotes* around the pdf file name in this case.
They were removed somewhere in the processing chain, I don't know
exactly where.

I hope it is clear now, what is the problem.

> in texdoc (IIRC, using 'cmd /k start' instead of 'start').

This won't fix. I my tests viewer_pdf='start "texdoc viewer"' worked
correctly and so did viewer_pdf='call'.

Cheers,

Tomek


More information about the tex-live mailing list