Index of /markup-tools

[ICO]NameLast modifiedSizeDescription

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

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...

Links still broken in corner cases