You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pdf/how_to_create_pdf.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,22 @@ PDF file can also be purchased here: https://transactions.sendowl.com/products/7
5
5
Setup
6
6
-----
7
7
* 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/`.
9
9
* Change date in header and footer element of 'web/template.html'.
10
10
* Run `./parse.js` and commit changes.
11
11
12
12
Printing to PDF
13
13
---------------
14
14
### Normal PDF
15
15
* 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.
17
17
* Open 'index.html' in Chrome and select 'Print...'.
18
18
* Select destination 'Save as PDF', paper size 'A4', margins and scale 'Default' and no headers and footers and save.
19
19
20
20
### PDF optimized for laser color printing
21
21
* Run `./parse.js` again.
22
22
* 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.
24
24
* Change all links in text to normal text. They can be found with this regex: '<strong>.*a href.*</strong>'.
25
25
* Open 'index.html' in Chrome.
26
26
* 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