Skip to content

Commit 03cda0f

Browse files
[fix](build): PDF(just the basics) (#126)
Signed-off-by: Ralph Hightower <[email protected]>
1 parent ea3d64d commit 03cda0f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/pandoc.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,13 @@ jobs:
3939
echo $f # debug
4040
FILE_NAME=$(basename "$f" | sed 's/.md//g')
4141
echo $FILE_NAME # debug
42-
pandoc --standalone \ # --template styles/chmduquesne.tex \
43-
--from markdown --to context \
44-
--variable papersize=letter \
45-
--verbose \ # debug
46-
--output output/${FILE_NAME}.tex $f
47-
mtxrun --path=output --result=${FILE_NAME}.pdf --script context ${FILE_NAME}.tex
42+
# pandoc --standalone \ # --template styles/chmduquesne.tex \
43+
# --from markdown --to context \
44+
# --variable papersize=letter \
45+
# --verbose \ # debug
46+
# --output output/${FILE_NAME}.tex $f
47+
# mtxrun --path=output --result=${FILE_NAME}.pdf --script context ${FILE_NAME}.tex
48+
pandoc --standalone --from markdown --to pdf --output output/${FILE_NAME}.pdf $f
4849
git add ${FILE_NAME}.pdf
4950
done
5051

0 commit comments

Comments
 (0)