dblatex fails to escape backslashes

Simon Marlow marlowsd at gmail.com
Fri Mar 26 07:38:55 EDT 2010


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


More information about the Glasgow-haskell-users mailing list