progs/pprint/README
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 30 Jul 2020 13:50:54 +0100
changeset 742 b5b5583a3a08
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
742
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
To obtain pdf via chrome
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     3
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --headless --disable-gpu --print-to-pdf index.html
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
To autocrop the pdf to the smallest size
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
b5b5583a3a08 updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     7
pdf-crop-margins -s -u -p 0 output.pdf