Skip to content

Commit 202afa5

Browse files
committed
Updated pdf instructions
1 parent 6358d27 commit 202afa5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pdf/how_to_create_pdf.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ PDF file can also be purchased here: https://transactions.sendowl.com/products/7
55
Setup
66
-----
77
* Install Adobe Acrobat Pro DC.
8-
* Copy headers and footers from 'web/Adobe/' folder to '/Users/<username>/Library/Preferences/Adobe/Acrobat/DC/HeaderFooter/'.
8+
* Copy headers and footers from 'pdf/Adobe/' folder to `/Users/<username>/Library/Preferences/Adobe/Acrobat/DC/HeaderFooter/`.
99
* Change date in header and footer element of 'web/template.html'.
1010
* Run `./parse.js` and commit changes.
1111

1212
Printing to PDF
1313
---------------
1414
### Normal PDF
1515
* Open 'index.html' in text editor and first remove element '<p><br></p>' before the '<h1>Libraries</h1>'.
16-
* Then replace the footer and last three '<br>' elements with contents of 'web/index_for_pdf.html' file and save.
16+
* Then replace the footer and last three '<br>' elements with contents of 'pdf/index_for_pdf.html' file and save.
1717
* Open 'index.html' in Chrome and select 'Print...'.
1818
* Select destination 'Save as PDF', paper size 'A4', margins and scale 'Default' and no headers and footers and save.
1919

2020
### PDF optimized for laser color printing
2121
* Run `./parse.js` again.
2222
* Open 'index.html' in text editor and first remove element '<p><br></p>' before the '<h1>Libraries</h1>'.
23-
* Then replace the footer and last three '<br>' elements with contents of 'web/index_for_pdf_print.html' file and save.
23+
* Then replace the footer and last three '<br>' elements with contents of 'pdf/index_for_pdf_print.html' file and save.
2424
* Change all links in text to normal text. They can be found with this regex: '<strong>.*a href.*</strong>'.
2525
* Open 'index.html' in Chrome.
2626
* Change brightness of elements by right clicking on them and selecting inspect. Then click on the rectangle that represents color and toggle the color space to HSLA by clicking on the button with two vertical arrows.

0 commit comments

Comments
 (0)