Makefile to replace both shell scripts

This commit is contained in:
terris Station 2019-12-09 18:19:01 -05:00
parent 2500d1dfbf
commit aa411d01dd
5 changed files with 1 additions and 17 deletions

View File

@ -33,7 +33,7 @@ DEVELOPMENT MAP:
* Identify templates for inclusion in project
* Modify templates to follow editing conventions (markdown \includes, etc.)
* get them working & then use githooks to streamline testing during development.
* Begin work on makefiles
* Begin work on makefiles `[/]`
* Begin work on other output formats using pandoc - ebook formats, html formats(will need css magics)

View File

@ -1,9 +0,0 @@
#!/bin/bash
#This assumes you have some latex framework such as miktex or mactex or somesuch that uses xelatex as well as pandoc to convert markdown to latex
find . -iname *.md -exec ./md2tex.sh {} \;
latexmk -c
latexmk -pdf -e '$pdflatex=q/xelatex %O %S/' ebook.tex
#latexmk -pdf -e '$pdflatex=q/xelatex %O %S/' -outdir=outputs ebook.tex
# the -outdir option sets $outdir as well as $auxdir to be the outputs directory, except in miktex...so this will put auxiliary files in the output directory.
# the contents of the outputs directory can be safely deleted, as they will be generated each time this script is run.
#latexmk -pdf -e '$pdflatex=q/xelatex %O %S/' -outdir=outputs -auxdir=auxfiles ebook.tex

Binary file not shown.

View File

@ -1,2 +1 @@
\lipsum[5-12]

View File

@ -1,6 +0,0 @@
#!/bin/bash
#pandoc --natbib "$1" -o "$1".tex
#pandoc -f markdown+emoji --biblatex "$1" -o "$1".tex
pandoc --biblatex "$1" -o "$1".tex
echo "$1.tex created"