File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ tex: main.md
43
43
@echo " Your .tex version is available at ../tex_version/. Compile with latexmk -pdf -xelatex main.tex"
44
44
45
45
# This recipe checks that the md and tex version produce identical pdfs.
46
- check : | tex main.pdf
47
- @cd ../tex_version/
48
- @latexmk -pdf -silent -xelatex main.tex
49
- @cmp --silent main.pdf ../md_version/main.pdf && echo ' ### SUCCESS: Files Are Identical! ###' || echo ' ### WARNING: Files Are Different! ###'
46
+ # Requires to place compare-pdfs.sh in root folder,
47
+ # script available at https://github.com/iSimsi/compare-pdfs
48
+ check : tex main.pdf
49
+ latexmk -cd -pdf -silent -xelatex ../tex_version/main.tex
50
+ cd ../ && ./compare-pdfs.sh md_version/main.pdf tex_version/main.pdf
51
+
You can’t perform that action at this time.
0 commit comments