Module HTML.LaTeX

This library contains operation to transform HTML documents into LaTeX string.

Author: Michael Hanus

Version: October 2017

Summary of exported operations:

showLatexExps :: [HtmlExp] -> String   
Transforms HTML expressions into LaTeX string representation.
showLatexExp :: HtmlExp -> String   
Transforms an HTML expression into LaTeX string representation.
htmlSpecialChars2tex :: String -> String   
Convert special HTML characters into their LaTeX representation, if necessary.
showLatexDoc :: [HtmlExp] -> String   
Transforms HTML expressions into a string representation of a complete LaTeX document.
showLatexDocWithPackages :: [HtmlExp] -> [String] -> String   
Transforms HTML expressions into a string representation of a complete LaTeX document.
showLatexDocs :: [[HtmlExp]] -> String   
Transforms a list of HTML expressions into a string representation of a complete LaTeX document where each list entry appears on a separate page.
showLatexDocsWithPackages :: [[HtmlExp]] -> [String] -> String   
Transforms a list of HTML expressions into a string representation of a complete LaTeX document where each list entry appears on a separate page.
germanLatexDoc :: [HtmlExp] -> String   
show german latex document

Exported operations:

showLatexExps :: [HtmlExp] -> String   

Transforms HTML expressions into LaTeX string representation.

showLatexExp :: HtmlExp -> String   

Transforms an HTML expression into LaTeX string representation.

htmlSpecialChars2tex :: String -> String   

Convert special HTML characters into their LaTeX representation, if necessary.

showLatexDoc :: [HtmlExp] -> String   

Transforms HTML expressions into a string representation of a complete LaTeX document.

showLatexDocWithPackages :: [HtmlExp] -> [String] -> String   

Transforms HTML expressions into a string representation of a complete LaTeX document. The variable "packages" holds the packages to add to the latex document e.g. "ngerman"

showLatexDocs :: [[HtmlExp]] -> String   

Transforms a list of HTML expressions into a string representation of a complete LaTeX document where each list entry appears on a separate page.

showLatexDocsWithPackages :: [[HtmlExp]] -> [String] -> String   

Transforms a list of HTML expressions into a string representation of a complete LaTeX document where each list entry appears on a separate page. The variable "packages" holds the packages to add to the latex document (e.g., "ngerman").

germanLatexDoc :: [HtmlExp] -> String   

show german latex document