Removed original pdf, and added a Makefile for cross-compilation of the sequenced markdown doc to various formats. The original pdf had to be removed as it would be deleted by make clean.

This commit is contained in:
Larry Du 2021-03-30 10:04:04 -07:00
parent ccb72f917e
commit 0864c86253
3 changed files with 68 additions and 0 deletions

52
.gitignore vendored Normal file
View File

@ -0,0 +1,52 @@
# Ignore EMACS flycheck and Tex files
__latexindent_temp.tex
.DS_Store
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*
# Org-mode
.org-id-locations
*_archive
# flymake-mode
*_flymake.*
# eshell files
/eshell/history
/eshell/lastdir
# elpa packages
/elpa/
# reftex files
*.rel
# AUCTeX auto folder
/auto/
# cask packages
.cask/
dist/
# Flycheck
flycheck_*.el
# server auth directory
/server/
# projectiles files
.projectile
# directory configuration
.dir-locals.el
# network security
/network-security.data

16
Makefile Normal file
View File

@ -0,0 +1,16 @@
all: sequenced.pdf sequenced.docx sequenced.txt sequenced.html
sequenced.html: sequenced.md style.css
pandoc --standalone -c style.css --from markdown --to html5 -o sequenced.html sequenced.md
sequenced.pdf: sequenced.html
wkhtmltopdf --enable-local-file-access sequenced.html sequenced.pdf
sequenced.docx: sequenced.md
pandoc --from markdown --to docx -o sequenced.docx sequenced.md
sequenced.txt: sequenced.md
pandoc --standalone --from markdown-smart --to plain -o sequenced.txt sequenced.md
clean:
rm -f *.html *.pdf *.docx *.txt