Browse Source

Cleanup

pull/52/head
Jure Šorn 5 years ago
parent
commit
c145c70b6b
4 changed files with 5 additions and 5 deletions
  1. 2
      pdf/Acrobat/chapter_7.xml
  2. 4
      pdf/how_to_create_pdf.md
  3. 2
      pdf/index_for_pdf.html
  4. 2
      pdf/index_for_pdf_print.html

2
pdf/Acrobat/chapter_7.xml

@ -1 +1 @@
<?xml version = "1.0" encoding = "UTF-8" ?><HeaderFooterSettings version = "8.0"><Font name="Menlo" type="TrueType" size="8.0"/><Color r="0.0" g="0.0" b="0.0"/><Margin left="57.6002" right="72.0" top="36.0" bottom="19.4403"/><Appearance fixedprint="0" shrink="0"/><PageRange odd="0" even="1" start="33" end="39"/><Page offset = "0"><PageIndex format="1"/></Page><Date><Month format="1"/>/<Day format="1"/><Year format="0"/></Date><Header><Left></Left><Center></Center><Right></Right></Header><Footer><Left>| Chapter 7: Libraries</Left><Center></Center><Right></Right></Footer></HeaderFooterSettings>
<?xml version = "1.0" encoding = "UTF-8" ?><HeaderFooterSettings version = "8.0"><Font name="Menlo" type="TrueType" size="8.0"/><Color r="0.0" b="0.0" g="0.0"/><Margin left="57.6002" right="72.0" top="36.0" bottom="19.4403"/><Appearance fixedprint="0" shrink="0"/><PageRange odd="0" even="1" start="33" end="41"/><Page offset = "0"><PageIndex format="1"/></Page><Date><Month format="1"/>/<Day format="1"/><Year format="0"/></Date><Header><Left></Left><Center></Center><Right></Right></Header><Footer><Left>| Chapter 7: Libraries</Left><Center></Center><Right></Right></Footer></HeaderFooterSettings>

4
pdf/how_to_create_pdf.md

@ -20,9 +20,9 @@ Printing to PDF
### PDF optimized for laser color printing
* Run `./parse.js` again.
* Open `index.html` in text editor and first remove element `<p><br></p>` before the `<h1>Libraries</h1>`.
* Then replace the footer and last three `<br>` elements with contents of `pdf/index_for_pdf_print.html` file and save.
* Then replace the footer and last three `<br>` elements with contents of `pdf/index_for_pdf_print.html` file.
* Change all links in text to normal text and optionally add a page number after '(p. <num>)'. Links can be found with this regex: `<strong>.*a href.*</strong>`.
* Open `index.html` in Chrome.
* 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.
* Change lightness (L) percentage to:
* 0% for the text.

2
pdf/index_for_pdf.html

@ -95,7 +95,7 @@
<strong>numpy module, <a href="#numpy">37</a>-<a href="#indexing">38</a></strong> </p>
<h3 id="o">O</h3>
<p><strong>open function, <a href="#open">22</a>-<a href="#file">23</a></strong><br>
<strong>operator module, <a href="#partial">12</a>, <a href="#operator">31</a></strong><br>
<strong>operator module, <a href="#operator">31</a></strong><br>
<strong>os commands, <a href="#oscommands">24</a>-<a href="#shellcommands">25</a></strong><br>
<strong>os module, <a href="#path">23</a>, <a href="#oscommands">24</a>-<a href="#shellcommands">25</a></strong> </p>
<h3 id="p">P</h3>

2
pdf/index_for_pdf_print.html

@ -95,7 +95,7 @@
<strong>numpy module, 37-38</strong> </p>
<h3 id="o">O</h3>
<p><strong>open function, 22-23</strong><br>
<strong>operator module, 12, 31</strong><br>
<strong>operator module, 31</strong><br>
<strong>os commands, 24-25</strong><br>
<strong>os module, 23, 24-25</strong> </p>
<h3 id="p">P</h3>

Loading…
Cancel
Save