[tex-live] Passing a valid Windows path and file name to *TeX in TeXlive
joseph.wright at morningstar2.co.uk
Tue Jun 10 17:14:52 CEST 2014
On 10/06/2014 15:34, Zdenek Wagner wrote:
> 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.
That only happens once the binary has decided that the argument is not
just a file name, otherwise
would have to be
pdftex "\input foo"
or similar. So macro expansion is happening because the name is not
correctly parsed as what it is, just a file name.
More information about the tex-live