Compare commits
	
		
			7 Commits
		
	
	
		
			dd579c8b3e
			...
			20251004-b
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| fd28e35148 | |||
| 48963077f3 | |||
| aa2367961f | |||
| 7bdff6db23 | |||
| 01fc4ac123 | |||
| b393200604 | |||
| d11eca3da4 | 
							
								
								
									
										23
									
								
								convert.sh
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								convert.sh
									
									
									
									
									
								
							| @@ -2,14 +2,20 @@ | |||||||
| # 2024-03-06 Hyperling | # 2024-03-06 Hyperling | ||||||
| # PanDoc Usage: https://pandoc.org/MANUAL.html#general-writer-options | # PanDoc Usage: https://pandoc.org/MANUAL.html#general-writer-options | ||||||
|  |  | ||||||
|  | DIR="$(dirname -- "${BASH_SOURCE[0]}")" | ||||||
|  | cd $DIR | ||||||
|  |  | ||||||
| date | date | ||||||
|  |  | ||||||
| ebook="HyperlingsHealthProtocol.pdf" | ebook="HyperlingsHealthProtocol.pdf" | ||||||
|  | book="HyperlingsHealthProtocol-book.pdf" | ||||||
|  | booklet="HyperlingsHealthProtocol-booklet-default.pdf" | ||||||
|  | rotated="HyperlingsHealthProtocol-booklet-rotated.pdf" | ||||||
|  |  | ||||||
| if [[ -e $ebook ]]; then | if [[ -e *.pdf ]]; then | ||||||
| 	echo -n "Old: " | 	echo -n "Old: " | ||||||
| 	du -h $ebook | 	du -h *.pdf | ||||||
| 	rm -v $ebook | 	rm -v *.pdf | ||||||
| fi | fi | ||||||
|  |  | ||||||
| cp ebook.md /tmp/ | cp ebook.md /tmp/ | ||||||
| @@ -19,13 +25,18 @@ pandoc /tmp/ebook.md \ | |||||||
| 	-s -N --toc --toc-depth=3 \ | 	-s -N --toc --toc-depth=3 \ | ||||||
| 	-o $ebook | 	-o $ebook | ||||||
| status=$? | status=$? | ||||||
|  | echo "PDF created with status '$status'." | ||||||
|  |  | ||||||
| pdfbook2 $ebook | echo "*** Creating Bookets ***" | ||||||
|  | pdfbook2 -n $ebook | ||||||
|  | mv -v $book $booklet | ||||||
|  |  | ||||||
| echo "Completed with status '$status'." | pdfbook2 -ns $ebook | ||||||
|  | mv -v $book $rotated | ||||||
|  | echo "*** Completed Bookets ***" | ||||||
|  |  | ||||||
| echo -n "New: " | echo -n "New: " | ||||||
| du -h $ebook | du -h *.pdf | ||||||
|  |  | ||||||
| date | date | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										23
									
								
								ebook.md
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								ebook.md
									
									
									
									
									
								
							| @@ -1,24 +1,22 @@ | |||||||
| --- | --- | ||||||
| # Font sizes can only be 10pt-12pt (https://pandoc.org/MANUAL.html#fonts) |  | ||||||
|  |  | ||||||
| title-meta: "Hyperling's Health Protocol" | title-meta: "Hyperling's Health Protocol" | ||||||
| date-meta: "{REVISION_DATE}" | date-meta: "{REVISION_DATE}" | ||||||
| author-meta: 'Chad Michael "HyperVegan" Greenwood' | author-meta: 'Chad Michael "HyperVegan" Greenwood' | ||||||
| subject: Hyperling\'s Health Protocol by Chad Michael \"HyperVegan\" Greenwood | subject: Hyperling\'s Health Protocol by Chad Michael \"HyperVegan\" Greenwood | ||||||
|  |  | ||||||
| # Decent but lots of text per single page, pretty menacing to read on a screen. | title: "Hyperling's Health Protocol" | ||||||
| # 10 pages though, and when printed may actually be a reasonable size! | subtitle: "*Health is a lifestyle, not a diet. Align yourself with Nature to receive its blessings.*" | ||||||
| #fontsize: "10pt" | author: "by `Chad Michael \"HyperVegan\" Greenwood`" | ||||||
| #geometry: "margin=1.25in" | date: "Last Revised {REVISION_DATE}" | ||||||
|  |  | ||||||
| # Large font is nice and margins are not gigantic. Sits at a perfect 13 pages. | # Font sizes can only be 10pt-12pt (https://pandoc.org/MANUAL.html#fonts) | ||||||
| # Headers are in weird spots when going all the way down to 1in margins. | fontsize: "12pt" | ||||||
| fontsize: "11pt" | geometry: "margin=0.5in" | ||||||
| geometry: "margin=1in" |  | ||||||
|  |  | ||||||
| keywords: | keywords: | ||||||
|   - ebook |   - ebook | ||||||
|   - hyperling |   - hyperling | ||||||
|  |   - hypervegan | ||||||
|   - health protocol |   - health protocol | ||||||
|   - chad michael greenwood |   - chad michael greenwood | ||||||
|   - freedom |   - freedom | ||||||
| @@ -56,11 +54,6 @@ keywords: | |||||||
|   - veganarchism |   - veganarchism | ||||||
|   - sovereign |   - sovereign | ||||||
|   - sovereignty |   - sovereignty | ||||||
|  |  | ||||||
| title: "Hyperling's Health Protocol" |  | ||||||
| subtitle: "*Health is a lifestyle, not a diet. Align yourself with Nature to receive its blessings.*" |  | ||||||
| author: "by `Chad Michael \"HyperVegan\" Greenwood`" |  | ||||||
| date: "Last Revised {REVISION_DATE}" |  | ||||||
| --- | --- | ||||||
|  |  | ||||||
| ## Disclaimer | ## Disclaimer | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user