[tex-live] texdoc in luatex
Akira Kakuto
kakuto at fsci.fuk.kindai.ac.jp
Fri Jun 29 14:41:17 CEST 2007
Hi Frank,
> Now I'm at version 0.3:
Comments on texdoclua on windows:
> rmfile_command = 'del /F ';
> rmdir_command = 'rmdir ';
Most applications on Windows support forward slash '/' as a
directory separator, but internal commands such as
'del', 'rmdir', ... do not. So you have to replace forward
slashes by backward slashes in the path if you use 'del' and 'rmdir'.
> texdoc_viewer = {
> dvi = '(start %s ) &',
> html = '(start %s) &',
> pdf = '(start %s) &',
> ps = '(start %s) &',
> txt = '(start %s) &',
> tex = '(start %s) &'
> };
In cmd.exe (Windows' shell), '&' is a command separator
like ';' in sh. So, the above may be rewritten as
texdoc_viewer = {
dvi = '(start %s)',
html = '(start %s)',
pdf = '(start %s)',
ps = '(start %s)',
txt = '(less %s)',
tex = '(less %s)'
};
Text files may have various suffixes, so 'start' is not appropriate.
I'm using less (less.exe is needed). If you use the standard
Windows command 'more', you have to replace / by \ in %s.
texdoclua is working on Windows. Thanks.
[FYI]
texdoc.exe in W32TeX allows an optional argument [SubStringInPath]
in order to specify a file:
texdoc manual.pdf geometry
displays manual.pdf for the geometry package, while
texdoc manual.pdf hyperref
displays manual.pdf for the hyperref package.
Best regards,
Akira
More information about the tex-live
mailing list