progs/pprint/README
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 30 Jul 2020 13:50:54 +0100
changeset 742 155426396b5f
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
742
155426396b5f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     1
To obtain pdf via chrome
155426396b5f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     2
155426396b5f 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
155426396b5f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     4
155426396b5f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     5
To autocrop the pdf to the smallest size
155426396b5f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     6
155426396b5f updated
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff changeset
     7
pdf-crop-margins -s -u -p 0 output.pdf