Using 8.3 file names with pdfLaTeX

Patrick Vachon <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Hi,

pdflatex.exe doesn't work anymore with 8.3 file names containing a '~' 
since the last update. It was working previously.

I have a tex file in the "c:\users\administrateur\Desktop\Test" folder. 
On a command line, it works if I call pdflatex with the long file name 
(pdflatex c:\users\administrateur\Desktop\Test\tmp.tex) but not if I use 
the short one (pdflatex c:\users\admini~1\Desktop\Test\tmp.tex) (see 
outputs below). The same thing appends with latex.exe as well.

Same as this thread:
http://tex.stackexchange.com/questions/183568/using-8-3-path-names-with-pdflatex

The reason why I need it to work with 8.3 file names is that I'm using 
Inkscape TexText extension who creates a temporary .tex file in the 
%temp% folder which is stored in a 8.3 format.

########### Long filename BEGIN ###########

C:\>pdflatex c:\users\administrateur\Desktop\Test\tmp.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit)
entering extended mode
(c:/users/administrateur/Desktop/Test/tmp.tex
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m> and hyphenation patterns for 69 languages loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))

LaTeX Warning: Unused global option(s):
     [a0].

(tmp.aux) [1{C:/localtexmf/pdftex/config/pdftex.map}] (tmp.aux) 
)<C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on tmp.pdf (1 page, 10795 bytes).

########### Long filename END ###########


########### Short filename BEGIN ###########
C:\>pdflatex c:\users\admini~1\Desktop\Test\tmp.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit)
entering extended mode
! I can't find file `c:/users/admini'.
<to be read again>
\protect
<*> c:/users/admini~
1/Desktop/Test/tmp.tex
Please type another input file name:
! Emergency stop.
<to be read again>
\protect
<*> c:/users/admini~
1/Desktop/Test/tmp.tex
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on texput.log.

########### Short filename END ###########


########### dir BEGIN ###########
C:\>dir c:\users\admini~1\Desktop\Test\tmp.tex
Le volume dans le lecteur C n'a pas de nom.
Le numéro de série du volume est 6E63-DC99

Répertoire de c:\users\admini~1\Desktop\Test

2015-09-10 14:48 176 tmp.tex
1 fichier(s) 176 octets
0 Rép(s) 368 110 231 552 octets libres

########### dir END ###########

Regards,
Patrick

------------------------------------------------------------------------------
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.