Skip to content

Commit

Permalink
[fix](build): PDF(just the basics) (#126)
Browse files Browse the repository at this point in the history
Signed-off-by: Ralph Hightower <[email protected]>
  • Loading branch information
RalphHightower authored Jan 8, 2025
1 parent ea3d64d commit 03cda0f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ jobs:
echo $f # debug
FILE_NAME=$(basename "$f" | sed 's/.md//g')
echo $FILE_NAME # debug
pandoc --standalone \ # --template styles/chmduquesne.tex \
--from markdown --to context \
--variable papersize=letter \
--verbose \ # debug
--output output/${FILE_NAME}.tex $f
mtxrun --path=output --result=${FILE_NAME}.pdf --script context ${FILE_NAME}.tex
# pandoc --standalone \ # --template styles/chmduquesne.tex \
# --from markdown --to context \
# --variable papersize=letter \
# --verbose \ # debug
# --output output/${FILE_NAME}.tex $f
# mtxrun --path=output --result=${FILE_NAME}.pdf --script context ${FILE_NAME}.tex
pandoc --standalone --from markdown --to pdf --output output/${FILE_NAME}.pdf $f
git add ${FILE_NAME}.pdf
done
Expand Down

0 comments on commit 03cda0f

Please sign in to comment.