Backslash is not escaped correctly in filenames
Status: Beta
Brought to you by:
marsgui
Backslashes in filenames are not escaped. An example is attached.
Output:
$ dblatex -o test.pdf test.xml
Build the book set list...
Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.3.4)
===================================================
Build test.pdf
pdflatex failed
test.tex:55: Undefined control sequence \examples.
test.tex:55: leading text: \nolinkurl{c:\examples\fact\fact.c}
test.tex:55: Undefined control sequence \fact.
test.tex:55: leading text: \nolinkurl{c:\examples\fact\fact.c}
test.tex:55: Undefined control sequence \fact.
test.tex:55: leading text: \nolinkurl{c:\examples\fact\fact.c}
Unexpected error occured
Error: pdflatex compilation failed
This can be worked around by adding --param filename.as.url="0" to the command line. But I'm not sure what side effects this might have.
This may be related to bug #87. A change was made (due to that bug?) in url.xsl to tests the value of texlive.version (to be 2009). I am using the latest build of xetex, which appears to be based on a later version of TeX Live:
$ xetex -v
XeTeX 3.1415926-2.5-0.9999.3-2014060917 (TeX Live 2013/MacPorts 2013_6)
kpathsea version 6.1.1
Copyright 2013 SIL International and Jonathan Kew.
There is NO warranty. Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 53.1; using 53.1
Compiled with zlib version 1.2.8; using 1.2.8
Compiled with FreeType2 version 2.5.3; using 2.5.3
Compiled with Graphite2 version 1.2.4; using 1.2.4
Compiled with HarfBuzz version 0.9.29; using 0.9.29
Using Mac OS X Core Text, Cocoa & ImageIO frameworks