Skip to content

Commit 608f8ec

Browse files
author
Clément
committed
Adding some info to tex output.
1 parent 8bbf4b2 commit 608f8ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

md_version/makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ tex: main.md
3939
@pandoc $(PANDOC_OPTIONS) -s $< -o main.tex
4040
@mkdir -p ../tex_version/
4141
@cp -r main.tex fonts/ references/ pictures/ pdf/ code/ ../tex_version/
42+
sed -i '1i % !TeX program = xelatex\n% !BIB program = biber\n\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% Welcome! Do not anything until "%%% To be filled %" %\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n' ../tex_version/main.tex
4243
@echo "Your .tex version is available at ../tex_version/. Compile with latexmk -pdf -xelatex main.tex"
4344

4445
# This recipe checks that the md and tex version produce identical pdfs.

0 commit comments

Comments
 (0)