Skip to content

Commit f275d73

Browse files
committed
Small fixes
1 parent 4cc0a16 commit f275d73

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

pdf/Acrobat/chapter_7.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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" 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>
1+
<?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="47"/><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>

pdf/HOW_TO_CREATE_PDF.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Printing to PDF
2121
* Run `./parse.js` again.
2222
* Open `index.html` in text editor and first remove element `<p><br></p>` before the `<h1>Libraries</h1>`.
2323
* Then replace the footer and last three `<br>` elements with contents of `pdf/index_for_pdf_print.html` file.
24-
* 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>`.
24+
* Change all links in text to normal text and optionally add a page number in brackets like that: '(p. <num>)'. Links can be found with this regex: `<strong>.*a href.*</strong>`.
2525
* Save and open `index.html` in Chrome.
2626
* 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.
2727
* Change lightness (L) percentage to:
@@ -44,9 +44,7 @@ Adding headers and footers to PDF (the same for both files)
4444
* 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.
4545
* 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.
4646
* Set title and author by selecting 'File/Properties...'.
47-
* Save.
48-
* Open file in Preview.
49-
* Select 'Export as PDF...' (This fixes the error message about Menlo font encoding, that would otherwise show every time the file is opened on Windows with Adobe reader).
47+
* Save in Adobe, Optimized format.
5048

5149
Printing the PDF
5250
----------------

0 commit comments

Comments
 (0)