adding the print making steps!
This commit is contained in:
parent
628fae199a
commit
0f8d61b228
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
output/
|
||||||
|
output/*
|
||||||
|
print/
|
||||||
|
print/*
|
17
Makefile
17
Makefile
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
6
themes/basic/static/css/print.css
Normal file
6
themes/basic/static/css/print.css
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
@page{
|
||||||
|
size:A4;
|
||||||
|
margin:10mm;
|
||||||
|
background-color:pink;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user