dblatex fails to escape backslashes

Thanos Tsouanas thanos at sians.org
Wed Mar 24 18:04:03 EDT 2010


Hello list.

I'm trying to compile ghc 6.12.1, but the documentation part fails because
dblatex can't escape all the backslashes that it should.  (I've tried
dblatex-2.10, -2.11 and -2.12.)

A similar problem has been discussed earlier [1], but even with Christiaan's
suggested solution it  fails at Cabal:

"/home/thanos/local/bin/dblatex"  libraries/Cabal/doc/Cabal.xml --ps
-o libraries/Cabal/doc/Cabal.ps
/home/thanos/local/lib/python2.6/site-packages/dbtexmf/dblatex/grubber/util.py:8:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Build the book set list...
Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.2.12)
===================================================
No template matches subtitle in article.
Build Cabal.ps
This is pdfTeX, Version 3.1415926-1.40.10 (PuffTeX-2009)
entering extended mode
latex failed
Cabal.tex:1747: Undefined control sequence \Program.
Cabal.tex:1747: leading text:  \nolinkurl{C:\Program}
Cabal.tex:1978: Undefined control sequence \Program.
Cabal.tex:1978: leading text: }
Cabal.tex:1978: Undefined control sequence \Haskell.
Cabal.tex:1978: leading text: }
Cabal.tex:1986: Undefined control sequence \Documents.
Cabal.tex:1986: leading text: }
Cabal.tex:1986: Undefined control sequence \user.
Cabal.tex:1986: leading text: }
Cabal.tex:1986: Undefined control sequence \Application.
Cabal.tex:1986: leading text: }
Cabal.tex:1986: Undefined control sequence \cabal.
Cabal.tex:1986: leading text: }
Cabal.tex:2035: Undefined control sequence \Program.
Cabal.tex:2035: leading text: }
Cabal.tex:2035: Undefined control sequence \Haskell.
Cabal.tex:2035: leading text: }
Unexpected error occured

What version of dblatex and what tweeks have you people used to actually build
the documentation successfully?

(Please note, that the error is not breaking the process of make.
make continues it's job ignoring this error.)

[1] http://www.mail-archive.com/[email protected]/msg17198.html

-- 
Thanos Tsouanas
http://mpla.math.uoa.gr/~thanos/


More information about the Glasgow-haskell-users mailing list