Skip to content

dblatex can't build docs; fix included.

Currently, on my Fedora 17 system, the following occurs when you try to build the docs:

pdflatex failed
users_guide.tex:1030: Undefined control sequence \Documents.
users_guide.tex:1030: leading text: }
users_guide.tex:1030: Undefined control sequence \user.
users_guide.tex:1030: leading text: }
users_guide.tex:3719: Undefined control sequence \Person.
users_guide.tex:3719: leading text:       or \nolinkurl{Data\Person.hs}
users_guide.tex:6016: Undefined control sequence \Documents.
users_guide.tex:6016: leading text: ...ts~And~Settings\user\ghc\package.conf.d}
users_guide.tex:6016: Undefined control sequence \user.
users_guide.tex:6016: leading text: ...ts~And~Settings\user\ghc\package.conf.d}
users_guide.tex:6016: Undefined control sequence \ghc.
users_guide.tex:6016: leading text: ...ts~And~Settings\user\ghc\package.conf.d}
users_guide.tex:6016: Undefined control sequence \package.
users_guide.tex:6016: leading text: ...ts~And~Settings\user\ghc\package.conf.d}
users_guide.tex:29016: Undefined control sequence \cygwin.
users_guide.tex:29016: leading text: \nolinkurl{/} is \nolinkurl{C:\cygwin\ }
users_guide.tex:29022: Undefined control sequence \cygwin.
users_guide.tex:29022: leading text: system (probably \nolinkurl{C:\cygwin\bin}
users_guide.tex:29022: Undefined control sequence \bin.
users_guide.tex:29022: leading text: system (probably \nolinkurl{C:\cygwin\bin}
users_guide.tex:29022: Undefined control sequence \cygwin.
users_guide.tex:29022: leading text: ...} and \nolinkurl{C:\cygwin\usr\include}
users_guide.tex:29022: Undefined control sequence \usr.
users_guide.tex:29022: leading text: ...} and \nolinkurl{C:\cygwin\usr\include}
users_guide.tex:29022: Incomplete \iffalse; all text was ignored after line 29022.
users_guide.tex: Emergency stop.
Unexpected error occured

This is easily fixed like so:

DBLATEX_OPTS="-P 'filename.as.url=0'" make

makes it work.

see http://dblatex.sourceforge.net/doc/manual/sec-param-value.html and http://dblatex.sourceforge.net/doc/manual/filename.as.url.html for an explanation; if you leave it as url style, dblatex leaves \ , as in "C:\Documents And Settings", in there literally, and I didn't want to hack dblatex, and this fixes the problem.

No idea where to put this in the makefiles or whatever to solve it for real, sorry.

It may be the case, probably *is* the case in fact, that a newer dblatex fixes this, but I doubt very much that y'all rely on this feature anyways, and not building on the latest Fedora is kind of unfortunate.

-Robin

Trac metadata
Trac field Value
Version 7.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information