[tex-live] Passing a valid Windows path and file name to *TeX in TeXlive
Ulrike Fischer
news3 at nililand.de
Tue Jun 10 17:47:17 CEST 2014
Am Tue, 10 Jun 2014 16:34:27 +0200 schrieb Zdenek Wagner:
> First, \input in LaTeX calls \@input which is stored plain \input. It
> allows macro expansion, so \ and ~ (because it is active) invoke expansion.
> Second, windows have short 8.3 names depending on your file system and the
> way how you call your programs, this is not a problem in pdftex but in
> Windows. It is safer to "cd" to the directory of your file and then call it
> without the path.
Well it is certainly safer to cd on a directory. But 8.3. names
doesn't work with files either: While miktex I can compile
pdflatex test-t~1
without problems, with texlive 2014 I get "! I can't find file
`test-t'".
miktex is also able to compile a document in a longer path with ~.
In both systems it works to use environment variables:
pdflatex %USERPROFILE%\documents\testtesttest\test
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
More information about the tex-live
mailing list