adding the print making steps!

This commit is contained in:
manetta 2020-11-13 17:26:13 +01:00
parent 628fae199a
commit 0f8d61b228
3 changed files with 26 additions and 1 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
output/
output/*
print/
print/*

View File

@ -70,4 +70,19 @@ publish:
"$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS) "$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS)
.PHONY: html help clean regenerate serve serve-global devserver publish .PHONY: html help clean regenerate serve serve-global devserver publish
pdfs:
pandoc --pdf-engine=weasyprint -c themes/basic/static/css/print.css content/text.md -o print/text.pdf
pandoc --pdf-engine=weasyprint -c themes/basic/static/css/print.css content/zabala_warning.md -o print/zabala_warning.pdf

View File

@ -0,0 +1,6 @@
@page{
size:A4;
margin:10mm;
background-color:pink;
}