<commit_before>RSYNC=$(shell pwd)/sync.sh
remoteuser=rjhala
remotedir=/home/rjhala/public_html/liquid/book
remotehost=goto.ucsd.edu

LIQUIDCLIENT=../liquid-client
INDEXER=filters/Toc.hs

METATEMPLATE=templates/pagemeta.template
INDEXTEMPLATE=templates/index.template
PREAMBLE=templates/preamble.lhs
BIB=templates/bib.lhs

# generated
PAGETEMPLATE=dist/page.template
LINKS=dist/links.txt
INDEX=dist/index.lhs


##############################################

PANDOCPDF=pandoc \
	--highlight-style=tango \
	--from=markdown+lhs \
	--biblio templates/sw.bib \
	--chapters \
	--latex-engine=pdflatex \
	--template=templates/default.latex \
	--filter filters/Figures.hs \
	--filter filters/Latex.hs

PANDOCHTML=pandoc \
     --from=markdown+lhs \
	 --to=html5 \
     -s --mathjax \
	 --standalone \
     --parse-raw \
	 --mathjax \
	 --toc \
	 --section-divs \
	 --filter $(LIQUIDCLIENT)/templates/codeblock.hs \
	 --filter filters/Figures.hs \
	 --filter filters/Html.hs \
	 --variable=notitle \
	 --highlight-style=tango

PANDOCT=pandoc --from=markdown --to=html --standalone

####################################################################

lhsObjects  := $(wildcard src/*.lhs)<commit_msg>Fixed lhsObjects in Makefile to be sorted<commit_after>RSYNC=$(shell pwd)/sync.sh
remoteuser=rjhala
remotedir=/home/rjhala/public_html/liquid/book
remotehost=goto.ucsd.edu

LIQUIDCLIENT=../liquid-client
INDEXER=filters/Toc.hs

METATEMPLATE=templates/pagemeta.template
INDEXTEMPLATE=templates/index.template
PREAMBLE=templates/preamble.lhs
BIB=templates/bib.lhs

# generated
PAGETEMPLATE=dist/page.template
LINKS=dist/links.txt
INDEX=dist/index.lhs


##############################################

PANDOCPDF=pandoc \
	--highlight-style=tango \
	--from=markdown+lhs \
	--biblio templates/sw.bib \
	--chapters \
	--latex-engine=pdflatex \
	--template=templates/default.latex \
	--filter filters/Figures.hs \
	--filter filters/Latex.hs

PANDOCHTML=pandoc \
     --from=markdown+lhs \
	 --to=html5 \
     -s --mathjax \
	 --standalone \
     --parse-raw \
	 --mathjax \
	 --toc \
	 --section-divs \
	 --filter $(LIQUIDCLIENT)/templates/codeblock.hs \
	 --filter filters/Figures.hs \
	 --filter filters/Html.hs \
	 --variable=notitle \
	 --highlight-style=tango

PANDOCT=pandoc --from=markdown --to=html --standalone

####################################################################

lhsObjects  := $(sort $(wildcard src/*.lhs))
{'fraction_non_alphanumeric': 0.23200992555831265, 'fraction_numerical': 0.0008271298593879239, 'mean_word_length': 3.743137254901961, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5761390', 'n_tokens_mistral': 914, 'n_tokens_neox': 840, 'n_words': 110}