mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2025-01-18 02:40:10 +00:00
Travis: no -i
option for sed
because it needs a special parameter on macOS but not on other systems.
This commit is contained in:
parent
46466829aa
commit
b18db6b69f
@ -31,11 +31,9 @@ pdftoppm -r 150 -png "without-listings/without-listings.pdf" > "without-listings
|
||||
pandoc "green-titlepage/green-titlepage.md" -o "green-titlepage/green-titlepage.pdf" --from markdown --template "../eisvogel.latex" --listings
|
||||
pdftoppm -r 150 -png "green-titlepage/green-titlepage.pdf" > "green-titlepage/green-titlepage.png"
|
||||
|
||||
# create a new template file for typesetting books
|
||||
cp "../eisvogel.tex" "../eisvogel-book.latex"
|
||||
|
||||
# replace the document class `scrartcl` with `scrbook
|
||||
sed -i '' 's/scrartcl/scrbook/g' "../eisvogel-book.latex"
|
||||
sed 's/scrartcl/scrbook/g' <"../eisvogel.latex" >"../eisvogel-book.latex"
|
||||
|
||||
pandoc "book/book.md" -o "book/book.pdf" --from markdown --template "../eisvogel-book.latex" --listings -V classoption=oneside --top-level-division=chapter
|
||||
pdftoppm -r 150 -png "book/book.pdf" > "book/book.png"
|
Loading…
Reference in New Issue
Block a user