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
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,14 @@ 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 `pdf/index_for_pdf.html` file and save.
16
+
* Then replace the index and footer 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 `pdf/index_for_pdf_print.html` file.
23
+
* Then replace the index and footer with contents of `pdf/index_for_pdf_print.html` file.
24
24
* Change all links in text to normal text and optionally add a page number in brackets like that: '(p. <num>)'. Links can be found with this regex: `<strong>.*a href.*</strong>`.
25
25
* Save and 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