Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
LaTeX
values pretty printer.
Still experimental. Give it a try and send us your feedback! :)
LaTeX
pretty printer
prettyLaTeX :: LaTeX -> String Source
Pretty print a LaTeX
value. It produces a more human-friendly output than render
.
This function should be used only for debugging purposes since it may change
the semantics of the input in order to create a prettier output.
In other words, running a LaTeX compiler in the output file of renderFile fp l
may
produce a different document than running it in the output of writeFile fp (prettyLaTeX l)
.
You should use renderFile
unless you really need to read the LaTeX file.