Compare commits
4 Commits
bb4eecebde
...
main
Author | SHA1 | Date | |
---|---|---|---|
54fc4e343c | |||
c3b6980ec2 | |||
3b558a3258 | |||
7da3364297 |
@@ -2,6 +2,9 @@
|
|||||||
# 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="ebook.pdf"
|
ebook="ebook.pdf"
|
||||||
@@ -20,7 +23,7 @@ pandoc /tmp/ebook.md \
|
|||||||
-o $ebook
|
-o $ebook
|
||||||
status=$?
|
status=$?
|
||||||
|
|
||||||
pdfbook2 $ebook
|
pdfbook2 -n $ebook
|
||||||
|
|
||||||
echo "Completed with status '$status'."
|
echo "Completed with status '$status'."
|
||||||
|
|
||||||
|
8
ebook.md
8
ebook.md
@@ -1,16 +1,16 @@
|
|||||||
---
|
---
|
||||||
# Font sizes can only be 10pt-12pt (https://pandoc.org/MANUAL.html#fonts)
|
# Font sizes can only be 10pt-12pt (https://pandoc.org/MANUAL.html#fonts)
|
||||||
fontsize: "11pt"
|
fontsize: "12pt"
|
||||||
geometry: "margin=1in"
|
geometry: "margin=0.5in"
|
||||||
|
|
||||||
#title-meta: "Template Project"
|
#title-meta: "Template Project"
|
||||||
date-meta: "\\date{\\today}"
|
date-meta: "\\date{\\today}"
|
||||||
author-meta: 'Chad Michael Greenwood'
|
author-meta: 'Chad Michael Greenwood'
|
||||||
subject: Template eBook by Chad Michael Greenwood
|
subject: 'Template eBook by Chad Michael Greenwood'
|
||||||
|
|
||||||
title: "Template Project"
|
title: "Template Project"
|
||||||
subtitle: "Example which will be used for future eBook repositories."
|
subtitle: "Example which will be used for future eBook repositories."
|
||||||
author: "by `Chad Michael Greenwood`"
|
author: 'by `Chad Michael Greenwood`'
|
||||||
date: "Last Revised {REVISION_DATE}"
|
date: "Last Revised {REVISION_DATE}"
|
||||||
|
|
||||||
keywords:
|
keywords:
|
||||||
|
Reference in New Issue
Block a user