From 202afa5023692b8f8753e66b042bce5ed267dc5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 7 Mar 2020 05:15:51 +0100 Subject: [PATCH] Updated pdf instructions --- pdf/how_to_create_pdf.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pdf/how_to_create_pdf.md b/pdf/how_to_create_pdf.md index f95dca3..a8205aa 100644 --- a/pdf/how_to_create_pdf.md +++ b/pdf/how_to_create_pdf.md @@ -5,7 +5,7 @@ PDF file can also be purchased here: https://transactions.sendowl.com/products/7 Setup ----- * Install Adobe Acrobat Pro DC. -* Copy headers and footers from 'web/Adobe/' folder to '/Users//Library/Preferences/Adobe/Acrobat/DC/HeaderFooter/'. +* Copy headers and footers from 'pdf/Adobe/' folder to `/Users//Library/Preferences/Adobe/Acrobat/DC/HeaderFooter/`. * Change date in header and footer element of 'web/template.html'. * Run `./parse.js` and commit changes. @@ -13,14 +13,14 @@ Printing to PDF --------------- ### Normal PDF * Open 'index.html' in text editor and first remove element '


' before the '

Libraries

'. -* Then replace the footer and last three '
' elements with contents of 'web/index_for_pdf.html' file and save. +* Then replace the footer and last three '
' elements with contents of 'pdf/index_for_pdf.html' file and save. * Open 'index.html' in Chrome and select 'Print...'. * Select destination 'Save as PDF', paper size 'A4', margins and scale 'Default' and no headers and footers and save. ### PDF optimized for laser color printing * Run `./parse.js` again. * Open 'index.html' in text editor and first remove element '


' before the '

Libraries

'. -* Then replace the footer and last three '
' elements with contents of 'web/index_for_pdf_print.html' file and save. +* Then replace the footer and last three '
' elements with contents of 'pdf/index_for_pdf_print.html' file and save. * Change all links in text to normal text. They can be found with this regex: '.*a href.*'. * Open 'index.html' in Chrome. * 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.