Hi,
> When I ran into the same question some time ago I tried that,
> but found that the \verbatim was interpreted to0 literally, so
> that the \end{code} does not terminate it. Could you give a
> complete short example that works for you?
>
> My own solution was to copy the definition of verbat
Hi,
Since I sent this to the haskell list in the first place,
I'd better let everyone know that it all worked out.
> Hmm, there were no problems in simply doing so.
Ok, I've cut your example down a bit (just from a
minimalist tendency). The complete modified code is ...
\documentclass{report
Yo,
Steffen Mazanek wrote:
> I do Literate Programming this way:
> At first I define a Latex environment "code" as "verbatim"
> e.g. so: \newenvironment{code}{\footnotesize\verbatim}{\endverbatim\normalsize}
When I ran into the same question some time ago I tried that,
but found that the \verbat
Hello.
I do Literate Programming this way:
At first I define a Latex environment "code" as "verbatim"
e.g. so: \newenvironment{code}{\footnotesize\verbatim}{\endverbatim\normalsize}
This environment is understood by the Haskell compilers.
All my modules are own documents concluded in the main tex-
I am planning to write a small project in Haskell and stumbled upon some
text that mentioned literate Haskell. Is there any good tutorial on how to
write literate Haskell?
I know that I could take any tutorial on latex and use that, but that's
not what I am after. What I want is more like a base d