Module HTML.LaTeX

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

Author: Michael Hanus

Version: October 2020

Summary of exported operations:

showLatexExps :: [BaseHtml] -> String  Deterministic 
Transforms HTML expressions into LaTeX string representation.
showLatexExp :: BaseHtml -> String  Deterministic 
Transforms an HTML expression into LaTeX string representation.
htmlSpecialChars2tex :: String -> String  Deterministic 
Convert special HTML characters into their LaTeX representation, if necessary.
showLatexDoc :: [BaseHtml] -> String  Deterministic 
Transforms HTML expressions into a string representation of a complete LaTeX document.
showLatexDocWithPackages :: [BaseHtml] -> [String] -> String  Deterministic 
Transforms HTML expressions into a string representation of a complete LaTeX document.
showLatexDocs :: [[BaseHtml]] -> String  Deterministic 
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 :: [[BaseHtml]] -> [String] -> String  Deterministic 
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 :: [BaseHtml] -> String  Deterministic 
show german latex document

Exported operations:

showLatexExps :: [BaseHtml] -> String  Deterministic 

Transforms HTML expressions into LaTeX string representation.

showLatexExp :: BaseHtml -> String  Deterministic 

Transforms an HTML expression into LaTeX string representation.

Further infos:
  • partially defined

htmlSpecialChars2tex :: String -> String  Deterministic 

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

Further infos:
  • partially defined

showLatexDoc :: [BaseHtml] -> String  Deterministic 

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

showLatexDocWithPackages :: [BaseHtml] -> [String] -> String  Deterministic 

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 :: [[BaseHtml]] -> String  Deterministic 

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 :: [[BaseHtml]] -> [String] -> String  Deterministic 

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 :: [BaseHtml] -> String  Deterministic 

show german latex document