Compare commits
7 Commits
7bdff6db23
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 4783869e7a | |||
| 8d847714cf | |||
| fe49d23a28 | |||
| 64a96259bc | |||
| fd28e35148 | |||
| 48963077f3 | |||
| aa2367961f |
26
convert.sh
26
convert.sh
@@ -8,27 +8,37 @@ cd $DIR
|
||||
date
|
||||
|
||||
ebook="HyperlingsHealthProtocol.pdf"
|
||||
book="HyperlingsHealthProtocol-book.pdf"
|
||||
booklet="HyperlingsHealthProtocol-booklet-default.pdf"
|
||||
rotated="HyperlingsHealthProtocol-booklet-rotated.pdf"
|
||||
|
||||
if [[ -e $ebook ]]; then
|
||||
echo -n "Old: "
|
||||
du -h $ebook
|
||||
rm -v $ebook
|
||||
if [[ -e "$ebook" ]]; then
|
||||
echo "Old: "
|
||||
du -h *.pdf
|
||||
rm -v *.pdf
|
||||
fi
|
||||
|
||||
cp ebook.md /tmp/
|
||||
sed -i "s/{REVISION_DATE}/`date +'%Y-%m-%d'`/g" /tmp/ebook.md
|
||||
|
||||
echo "*** Creating eBook ***"
|
||||
pandoc /tmp/ebook.md \
|
||||
-s -N --toc --toc-depth=3 \
|
||||
-o $ebook
|
||||
status=$?
|
||||
echo "PDF created with status '$status'."
|
||||
echo "*** Completed eBook ***"
|
||||
|
||||
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: "
|
||||
du -h $ebook
|
||||
echo "New: "
|
||||
du -h *.pdf
|
||||
|
||||
date
|
||||
|
||||
|
||||
14
ebook.md
14
ebook.md
@@ -1,11 +1,15 @@
|
||||
---
|
||||
# Font sizes can only be 10pt-12pt (https://pandoc.org/MANUAL.html#fonts)
|
||||
|
||||
title-meta: "Hyperling's Health Protocol"
|
||||
date-meta: "{REVISION_DATE}"
|
||||
author-meta: 'Chad Michael "HyperVegan" Greenwood'
|
||||
subject: Hyperling\'s Health Protocol by Chad Michael \"HyperVegan\" Greenwood
|
||||
|
||||
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}"
|
||||
|
||||
# Font sizes can only be 10pt-12pt (https://pandoc.org/MANUAL.html#fonts)
|
||||
fontsize: "12pt"
|
||||
geometry: "margin=0.5in"
|
||||
|
||||
@@ -50,11 +54,6 @@ keywords:
|
||||
- veganarchism
|
||||
- sovereign
|
||||
- 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
|
||||
@@ -194,6 +193,7 @@ This is the easiest for people to get right, and many people seem pretty close a
|
||||
- Only water is water. Do not use teas, juices, or other flavored beverages for hydration. Yes, they may help in a pinch, but otherwise should be treated as dietary snacks or supplements.
|
||||
- Drinking a full liter at a time will help stretch the stomach. Spread it across a few minutes if uncomfortable, then over time it becomes easier to do.
|
||||
- Overhydration is real, try not to exceed 1 liter of water per hour unless you know what you're doing.
|
||||
- Shaking and swirling your water helps to oxygenate it, better mimicking natural running water.
|
||||
- Drinking water during or after a meal should not be necessary unless you need to rinse your mouth, you have something in your throat, or the food is somehow too dry to swallow.
|
||||
- In the last case, you should ask yourself why you're eating it.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user