dblatex fails to escape backslashes

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/glasgow-haskell-users@haskell.org/msg17198.html -- Thanos Tsouanas http://mpla.math.uoa.gr/~thanos/

On 24/03/2010 22:04, Thanos Tsouanas wrote:
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?
My dblatex here reports that it is version 0.2.8, and on our Windows build machine I have 0.2.7. I'm afraid I know nothing about dblatex at all, so any progress you can make on this would be useful. Cheers, Simon

On Fri, Mar 26, 2010 at 11:38:55AM +0000, Simon Marlow wrote:
On 24/03/2010 22:04, Thanos Tsouanas wrote:
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.)
My dblatex here reports that it is version 0.2.8, and on our Windows build machine I have 0.2.7. I'm afraid I know nothing about dblatex at all, so any progress you can make on this would be useful.
I have dblatex version 0.2.9-3 on Debian/Linux, and dblatex version 0.2.10 on Windows (cygwin). Thanks Ian
participants (3)
-
Ian Lynagh
-
Simon Marlow
-
Thanos Tsouanas