From bcbfa2231cc91910e50e618fd349e641e2cdd251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 4 Aug 2023 16:05:57 +0200 Subject: [PATCH 001/360] pdf/README --- pdf/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pdf/README.md b/pdf/README.md index a6502efe3..f316bc775 100644 --- a/pdf/README.md +++ b/pdf/README.md @@ -46,7 +46,7 @@ Adding headers and footers to PDF (the same for both files) ----------------------------------------------------------- * Open the PDF file in Adobe Acrobat Pro DC. * Select 'Organize Pages'. -* Right click on one of the pages and select 'Crop Pages...'. +* Right click the second page and select 'Crop Pages...'. * Select units: 'Inches'. * In 'Change page size' section select 'A4' for 'Page Sizes' and set 'XOffset' to '0.1 in'. Then click on 'YOffset' input field, so the x offset gets registered. Select page range 'All' and click OK. * Select 'Edit PDF' tab and add headers and footers by clicking 'Header & Footer' button, selecting a preset from 'Saved Settings' dropdown menu and clicking ok. Repeat the process for each preset. (If presets get lost, the font and the margins are as follow: Borders: left-line: 0.6, left-text: 0.8, top-line: 11.4, bottom-text: 0.27, right-text-odd: 0.57, font-name: menlo, font-size: 8.) @@ -56,6 +56,11 @@ Adding headers and footers to PDF (the same for both files) * Run 'Save as' again, this time in 'Adobe PDF Files, Optimized', so that Menlo font error gets fixed. +Compressing +----------- +* Compress the two files together with HOW_TO_PRINT.txt instruction file that contains the instructions from the next section using: `zip 'Comprehensive Python Cheatsheet.zip' 'Comprehensive Python Cheatsheet.pdf' 'Comprehensive Python Cheatsheet (optimized for printing).pdf' 'HOW_TO_PRINT.txt'`. + + Printing the PDF ---------------- * Open the PDF that was optimized for printing in Chrome and print on A4 on both sides with default margins, scale 98% and no headers and footers. From ab14d49924ff3afa84533a5e8f0586554ad5e62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 4 Aug 2023 16:11:42 +0200 Subject: [PATCH 002/360] FAQ --- index.html | 4 ++-- web/faq.html | 12 ++---------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index ce9631287..9fab83d30 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
- +
@@ -2930,7 +2930,7 @@

Format