[Haskell-cafe] Literate Haskell source files. How do I turn them into something I can read?

minh thu noteed at gmail.com
Sun Jan 7 18:14:03 EST 2007


<snip>
> interactive mode.  Here's some sample output:
>
> =====8<=====
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
> entering extended mode
> (./CgCon.lhs
> LaTeX2e <2003/12/01>
> Babel <v3.8d> and hyphenation patterns for american, french, german,
> ngerman, b
> ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
> esperanto, e
> stonian, finnish, greek, icelandic, irish, italian, latin, magyar,
> norsk, polis
> h, portuges, romanian, russian, serbian, slovak, slovene, spanish,
> swedish, tur
> kish, ukrainian, nohyphenation, loaded.
> ! Undefined control sequence.
> l.4 \section
>             [CgCon]{Code generation for constructors}
> ?

Hi,

latex is ennoyed by the \section (the line breaks after the problem in
latex's error message).
And, seeing l.4, which means line number 4, I think you tried to run
latex on one particular file, not the main one. The main one begins
(after some comments I guess) with \documentclass.

Cheers,
mt


More information about the Haskell-Cafe mailing list