Skip to content

Commit

Permalink
make fix
Browse files Browse the repository at this point in the history
  • Loading branch information
orensbruli committed Jan 18, 2024
1 parent 83687a1 commit ee9a9a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -280,3 +280,5 @@ build/
*.pdf

*.eps

*.png
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ pdf:
pandoc data.md --pdf-engine xelatex --template $(TEX_TEMPLATE) -o $(TEX) ; \
xelatex -shell-escape -output-driver="xdvipdfmx -z 0" $(TEX) ; \
echo "Compresing PDF..."; \
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -dPrinted=false -sOutputFile=$(PDF) $(RAW_PDF)
gs -sDEVICE=pngalpha -sOutputFile=cover.png -r144 $(RAW_PDF)
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -dPrinted=false -sOutputFile=$(PDF) $(RAW_PDF); \
gs -sDEVICE=png16m -sOutputFile=cover.png -r144 $(RAW_PDF);
cp build/pdf/$(PDF) ./rendered.pdf
cp build/pdf/$(COVER) ./cover.png

Expand Down
Binary file removed img/trophy.png
Binary file not shown.

0 comments on commit ee9a9a6

Please sign in to comment.