diff --git a/pdf/README.md b/pdf/README.md index f316bc7..c79b529 100644 --- a/pdf/README.md +++ b/pdf/README.md @@ -7,7 +7,6 @@ Setup ----- * Install Adobe Acrobat Pro DC. * Copy headers and footers from `pdf/acrobat/` folder to `/Users//Library/Preferences/Adobe/Acrobat/DC/HeaderFooter/`. -* Run `./parse.js` and commit changes. Printing to PDF @@ -16,7 +15,7 @@ Printing to PDF * Open `index.html` in text editor and first remove element `


` before the `

Libraries

`. * Then replace the index and footer with contents of `pdf/index_for_pdf.html` file and save. * Disable internet connection and open the file in Chromium version 108.0.5328.0 (later versions will render the site incorrectly after index is added) with 'Cache killer' extension enabled. -* Right click on the border of the site and select inspect. Select `` element under 'Elements' tab and change top margin from 16 to 5 in 'Styles' tab. +* Right click on the border of the site and select inspect. Select `` element under 'Elements' tab and change top margin from 16 to 0 and top padding from 16 to 5 in 'Styles' tab. * Change brightness of comments by right clicking on one of 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. Change lightness (L) percentage to 77%. * Change the brightness of text to 13%. * Select 'Print...' with destination 'Save as PDF', paper size 'A4', 'Default' margins (top 10mm, right 9.5mm, bottom 8mm and left 10mm), 'Default' scale and no headers and footers and save (the document should be 51 pages long with last page empty). @@ -28,7 +27,7 @@ Printing to PDF * Open `index.html` in text editor and first remove element `


` before the `

Libraries

`. * Then replace the index and footer with contents of `pdf/index_for_pdf_print.html` file and save. * Disable internet connection and open the file in Chromium version 108.0.5328.0 (later versions will render the site incorrectly after index is added) with 'Cache killer' extension enabled. -* Right click on the border of the site and select inspect. Select `` element under 'Elements' tab and change top margin from 16 to 5 in 'Styles' tab. +* Right click on the border of the site and select inspect. Select `` element under 'Elements' tab and change top margin from 16 to 0 and top padding from 16 to 5 in 'Styles' tab. * 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. * Change lightness (L) percentage to: * 0% for the text.