From aa13ea52283c7433d498c751229ecfd6da1fe86d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 18 Nov 2020 01:04:07 +0100 Subject: [PATCH] Fixing index --- pdf/HOW_TO_CREATE_PDF.md | 4 ++-- pdf/index_for_pdf.html | 20 ++++++++++---------- pdf/index_for_pdf_print.html | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pdf/HOW_TO_CREATE_PDF.md b/pdf/HOW_TO_CREATE_PDF.md index dc93c39..5d32f83 100644 --- a/pdf/HOW_TO_CREATE_PDF.md +++ b/pdf/HOW_TO_CREATE_PDF.md @@ -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 `pdf/index_for_pdf.html` file and save. +* Then replace the index and footer 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 `pdf/index_for_pdf_print.html` file. +* Then replace the index and footer with contents of `pdf/index_for_pdf_print.html` file. * Change all links in text to normal text and optionally add a page number in brackets like that: '(p. )'. Links can be found with this regex: `.*a href.*`. * Save and 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. diff --git a/pdf/index_for_pdf.html b/pdf/index_for_pdf.html index 9a6acc8..41df90d 100644 --- a/pdf/index_for_pdf.html +++ b/pdf/index_for_pdf.html @@ -23,7 +23,7 @@ callable, 17
class, 4, 14-19, 31-32
closure, 12
-collection, 4, 18
+collection, 4, 18
collections module, 2, 3, 4, 19, 29
combinatorics, 8
command line arguments, 22
@@ -34,7 +34,7 @@ coroutine, 33
counter, 2, 4, 12, 17
csv module, 26, 34, 46
-curses module, 34
+curses module, 33, 34
cython, 49

D

dataclasses module, 12, 15
@@ -47,14 +47,14 @@

enum module, 19-20
enumerate function, 3
eval function, 33
-exceptions, 20-21, 23

+exceptions, 20-21, 23

F

-

files, 23
+

files, 23
filter function, 11
floats, 4, 6, 7
-format, 6-7
-functools module, 11, 12, 13, 16
-futures, 30

+format, 6-7
+functools module, 11, 12, 13, 16
+futures, 30

G

generators, 4, 11
global keyword, 12

@@ -92,14 +92,14 @@ nonlocal keyword, 12
numpy library, 37-38

O

-

open function, 22-23
+

open function, 22-23
operator module, 31
os commands, 24-25
os module, 23, 24-25

P

pandas library, 44
-partial function, 12, 20
-path, 23-24
+partial function, 12, 20
+path, 23-24
pickle module, 25
pillow library, 39
plotting, 34, 47
diff --git a/pdf/index_for_pdf_print.html b/pdf/index_for_pdf_print.html index c7a9749..27063db 100644 --- a/pdf/index_for_pdf_print.html +++ b/pdf/index_for_pdf_print.html @@ -34,7 +34,7 @@ coroutine, 33
counter, 2, 4, 12, 17
csv module, 26, 34, 46
-curses module, 34
+curses module, 33, 34
cython, 49

D

dataclasses module, 12, 15