Update PDF generation
This commit is contained in:
parent
0feef9cc9e
commit
4528100248
|
@ -1,4 +1,6 @@
|
|||
_site/
|
||||
preserves.pdf
|
||||
preserves-binary.pdf
|
||||
preserves-schema.pdf
|
||||
preserves-text.pdf
|
||||
preserves.pdf
|
||||
scratch/
|
||||
|
|
4
Makefile
4
Makefile
|
@ -1,6 +1,6 @@
|
|||
__ignored__ := $(shell ./setup.sh)
|
||||
|
||||
PDFS=preserves.pdf preserves-schema.pdf
|
||||
PDFS=preserves.pdf preserves-text.pdf preserves-binary.pdf preserves-schema.pdf
|
||||
|
||||
all: $(PDFS)
|
||||
|
||||
|
@ -9,7 +9,7 @@ clean:
|
|||
|
||||
%.pdf: %.md preserves.css
|
||||
google-chrome --headless --disable-gpu --print-to-pdf=$@ \
|
||||
http://localhost:4000/preserves/$*.html
|
||||
http://localhost:4000/$*.html
|
||||
|
||||
test-all:
|
||||
make -C tests
|
||||
|
|
|
@ -15,7 +15,6 @@ body {
|
|||
@page { size: letter; margin: 4rem 0rem 4.333rem 0rem; }
|
||||
body { margin-left: 4.5rem; margin-right: 4.5rem; font-size: 10.5pt; }
|
||||
h1, h2 { page-break-before: always; margin-top: 0; }
|
||||
h1:first-of-type, h2:first-of-type { page-break-before: auto; }
|
||||
hr+* { page-break-before: always; margin-top: 0; }
|
||||
hr { display: none; }
|
||||
}
|
||||
|
|
|
@ -273,8 +273,6 @@ encodes to
|
|||
For more detail on Racket's representations of record labels, see
|
||||
[the Racket documentation for `make-prefab-struct`](http://docs.racket-lang.org/reference/structutils.html#%28def._%28%28quote._~23~25kernel%29._make-prefab-struct%29%29).
|
||||
|
||||
---
|
||||
|
||||
### JSON examples.
|
||||
|
||||
Preserves text syntax is a superset of JSON, so the examples from [RFC
|
||||
|
|
Loading…
Reference in New Issue