Index of /markup-tools

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]Blockquote.lhs2018-03-16 17:45 1.2K 
[TXT]Boldstar.lhs2018-03-12 16:21 152  
[TXT]Codeblock.lhs2018-03-16 17:46 686  
[TXT]Delimiters.lhs2018-03-16 17:51 566  
[TXT]Emph.lhs2018-03-15 09:31 203  
[TXT]Entities.lhs2018-03-21 15:56 244  
[TXT]Fixlatexchars.lhs2018-03-15 15:55 585  
[TXT]Fixquotes.lhs2018-03-21 15:56 181  
[TXT]Headfoot.hs2018-03-21 14:50 1.9K 
[TXT]Headings.lhs2018-03-13 15:50 692  
[TXT]Htmltags.lhs2018-03-20 10:12 3.2K 
[TXT]Inlinecode.lhs2018-03-16 17:48 390  
[TXT]Latextags.lhs2018-03-18 20:03 2.1K 
[TXT]List.lhs2018-03-18 21:56 801  
[TXT]Para.lhs2018-03-15 09:00 1.4K 
[TXT]Process.lhs2018-03-15 12:01 1.2K 
[TXT]Puncs.lhs2018-03-13 12:02 174  
[TXT]README.html2018-03-21 14:48 2.1K 
[   ]README.pdf2018-03-21 14:49 23K 
[TXT]README.tex2018-03-21 14:49 1.9K 
[TXT]README.txt2018-03-21 16:29 1.0K 
[TXT]Rogerlins.lhs2018-03-18 21:10 2.1K 
[TXT]Singleinv.lhs2018-03-21 16:12 1.0K 
[TXT]Sortinv.lhs2018-03-16 15:24 149  
[TXT]Sorttags.lhs2018-03-16 16:00 1.4K 
[TXT]Stripdelims.lhs2018-03-12 16:28 202  
[TXT]Uninv.lhs2018-03-15 09:31 248  
[TXT]Url.lhs2018-03-21 16:51 2.9K 
[   ]VERSION2018-03-21 14:43 9  
[TXT]hat.lhs2018-03-21 15:54 3.5K 

hat: haskell asciidoc transformer

hat: haskell asciidoc transformer

Creates html and LaTeX files from (a small subset of) asciidoc.

The idea for for Process.lhs came from:

http://daniel-levin.github.io/2015/01/19/primitive-state-machine-in-haskell.html

Supported asciidoc

Fancy quotes (single and double) automatically generated in both LaTeX and html output.

Requirements

All the haskell libraries listed in import statements, namely:

Codec.Binary.Base64.String
Data.List
Data.List.Split
Data.String.Here
Data.String.Utils
System.Environment

The LaTeX preamble includes \usepackage{fontspec} and \setmainfont{STIX Two Text}.

So XeLaTeX or LuaLaTeX will be needed to compile to PDF.

These above lines could be removed and \usepackage{times} or similar used instead.

TODO

Nested lists (maybe), ... let's see...