This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: pdflatex errors in doc dir
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-developers at cygwin dot com
- Date: Mon, 15 Jul 2013 10:42:34 -0400
- Subject: Re: pdflatex errors in doc dir
- References: <20130628082121 dot GN2378 at calimero dot vinschen dot de> <20130628082507 dot GO2378 at calimero dot vinschen dot de> <20130715102348 dot GA26882 at calimero dot vinschen dot de> <20130715112830 dot GD18483 at calimero dot vinschen dot de>
- Reply-to: cygwin-developers at cygwin dot com
Warren doesn't seem to be subscribed to this ml. He is now.
On Mon, Jul 15, 2013 at 01:28:30PM +0200, Corinna Vinschen wrote:
>On Jul 15 12:23, Corinna Vinschen wrote:
>> Warren? Ping?
>>
>> On Jun 28 10:25, Corinna Vinschen wrote:
>> > On Jun 28 10:21, Corinna Vinschen wrote:
>> > > Hi Warren,
>> > >
>> > >
>> > > after I upgrade my server from Fedora 17 to Fedora 18, I now get
>> > > an error message when trying to build the PDFs:
>> > >
>> > > xmlto --skip-validation --with-dblatex pdf -o cygwin-ug-net/ /home/corinna/src/cygwin/vanilla/winsup/doc/cygwin-ug-net.xml
>> > > Build the book set list...
>> > > Build the listings...
>> > > XSLT stylesheets DocBook - LaTeX 2e (0.3.4)
>> > > ===================================================
>> > > prompt: default template used in programlisting or screen
>> > > prompt: default template used in programlisting or screen
>> > > prompt: default template used in programlisting or screen
>> > > [...]
>> > > Build cygwin-ug-net.pdf
>> > > pdflatex failed
>> > > cygwin-ug-net.tex:358: Undefined control sequence \Cygwin.
>> > > cygwin-ug-net.tex:358: leading text: \nolinkurl{C:\Cygwin\bin\cygwin1.dll}
>> > > cygwin-ug-net.tex:358: Undefined control sequence \bin.
>> > > cygwin-ug-net.tex:358: leading text: \nolinkurl{C:\Cygwin\bin\cygwin1.dll}
>> > > cygwin-ug-net.tex:358: Undefined control sequence \cygwin.
>> > > cygwin-ug-net.tex:358: leading text: \nolinkurl{C:\Cygwin\bin\cygwin1.dll}
>> > > cygwin-ug-net.tex:359: Undefined control sequence \Cygwin.
>> > > cygwin-ug-net.tex:359: leading text: that the root path is \nolinkurl{C:\Cygwin}
>> > > cygwin-ug-net.tex:360: Undefined control sequence \Cygwin.
>> > > cygwin-ug-net.tex:360: leading text: ...} file in \nolinkurl{C:\Cygwin\etc\fstab}
>> > > [...]
>> > > Unexpected error occured
>> > > Error: pdflatex compilation failed
>> > >
>> > > All the error message lead to the backslash as a character being
>> > > interpreted as a special character suddenly. This wasn't the case
>> > > before and, I believe, you probably don't see this when creating
>> > > the docs under Cygwin.
>> >
>> > To be more exact: This affects *only* backslash sequences in the
>> > <filename>...</filename> bracket.
>> >
>> > This is ok:
>> >
>> > <screen>
>> > \\server\share\...
>> > </screen>
>> >
>> > This bombs:
>> >
>> > <filename>\\server\share\foo</filename>
>
>This is really getting annoying. If I use '\\', the generated HTML
>docs will retain the double backslashes, thus making the output
>incorrect. If I try to use the HTML numeric character reference
>\ instead, it works for HTML again but not for PDF, which gets
>the character converted to a backslash again, producing the same
>errors as outlined in my OP.
>
>I have no idea how to fix this. If we can't get this fixed we will
>have an old PDF version of the docs online.
>
>
>Corinna
>
>--
>Corinna Vinschen Please, send mails regarding Cygwin to
>Cygwin Maintainer cygwin AT cygwin DOT com
>Red Hat
>