<commit_before>MDFILES=titlepage.md Introduction.md ROOT_as_calculator.md \
	your_first_ROOT_macro.md graphs.md histograms.md \
	functions_and_parameter_estimation.md filio.md \
	concludingRemarks.md 

OPTIONS=-s -S -f markdown --toc --chapters --number-sections
OPTIONSHTML=-c css/github.css --mathjax

all: pdf html tex

pdf: *.md
	pandoc $(OPTIONS) $(MDFILES) -o primer.pdf

html: *.md
	pandoc $(OPTIONS) $(OPTIONSHTML) -t html $(MDFILES) -o primer.html

tex: *.md
	pandoc $(OPTIONS) -t latex $(MDFILES) -o primer.tex

clean:
	rm -f primer.pdf primer.html primer.tex
<commit_msg>add epub option.<commit_after>MDFILES=titlepage.md Introduction.md ROOT_as_calculator.md \
	your_first_ROOT_macro.md graphs.md histograms.md \
	functions_and_parameter_estimation.md filio.md \
	concludingRemarks.md 

OPTIONS=-s -S -f markdown --toc --chapters --number-sections
OPTIONSHTML=-H css/github.css --mathjax
OPTIONSEPUB=--mathml

.PHONY: pdf html tex epub

all: pdf html tex epub

pdf: $(MDFILES)
	pandoc $(OPTIONS) $(MDFILES) -o primer.pdf

html: $(MDFILES)
	pandoc $(OPTIONS) $(OPTIONSHTML) -t html $(MDFILES) -o primer.html

tex: $(MDFILES)
	pandoc $(OPTIONS) -t latex $(MDFILES) -o primer.tex

epub: $(MDFILES) metadata.xml title.txt
	pandoc $(OPTIONS) $(OPTIONSEPUB) --epub-metadata=metadata.xml title.txt \
	   $(MDFILES) -o primer.epub

clean:
	rm -f primer.pdf primer.html primer.tex primer.epub

{'fraction_non_alphanumeric': 0.1346704871060172, 'fraction_numerical': 0.0, 'mean_word_length': 4.154981549815498, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6308317', 'n_tokens_mistral': 555, 'n_tokens_neox': 523, 'n_words': 132}