diff --git a/create_book.sh b/create_book.sh index a9349c6..b22ee8a 100644 --- a/create_book.sh +++ b/create_book.sh @@ -3,7 +3,7 @@ today=`date '+%B_%dth_%Y'`; filename="TD;DR_$today" echo $filename; -pandoc /home/xpub/www/html/tl-dr/book.html -o /home/xpub/www/html/tl-dr/logged_book.epub -c print.css --metadata title=$filename --epub-cover-image=cover.jpg --epub-embed-font='fonts/Cascadia/ttf/CascadiaCode-Light.ttf' --epub-embed-font='fonts/Ductus/DuctusRegular.woff' +pandoc /home/xpub/www/html/tl-dr/book.html -o /home/xpub/www/html/tl-dr/logged_book.epub -c print.css --metadata title=$filename --epub-cover-image=cover.jpg --epub-embed-font='fonts/Cascadia/ttf/CascadiaCode-Light.ttf' --epub-embed-font='fonts/Ductus/DuctusRegular.otf' cp /home/xpub/www/html/tl-dr/logged_book.epub /home/xpub/www/html/tl-dr/log-books/$filename.epub echo "did the overwrite" -ls log-books > /home/xpub/www/html/tl-dr/log-books/all.txt \ No newline at end of file +ls log-books > /home/xpub/www/html/tl-dr/log-books/all.txt diff --git a/log-books/all.txt b/log-books/all.txt index 891f390..382ed87 100644 --- a/log-books/all.txt +++ b/log-books/all.txt @@ -1,17 +1 @@ all.txt -log_2024-03-25_162717.epub -log_2024-03-25_162734.epub -log_2024-03-25_163412.epub -log_2024-03-25_170707.epub -log_2024-03-25_170802.epub -log_2024-03-25_170901.epub -log_2024-03-25_171001.epub -log_2024-03-25_171101.epub -log_2024-03-25_172728.epub -log_2024-03-25_172758.epub -log_2024-03-25_180001.epub -log_2024-03-25_180106.epub -log_2024-03-25_180117.epub -log_2024-03-25_180817.epub -log_2024-03-25_181225.epub -log_2024-03-25_182616.epub diff --git a/logged_book.epub b/logged_book.epub index 4a7be4c..8c276e9 100644 Binary files a/logged_book.epub and b/logged_book.epub differ diff --git a/print.css b/print.css index a3184e3..8cb8c4f 100644 --- a/print.css +++ b/print.css @@ -2,7 +2,7 @@ font-family: DuctusRegular; font-style: normal; font-weight: normal; - src: url("../fonts/DuctusRegular.woff"); + src: url("../fonts/DuctusRegular.otf"); } @font-face { font-family: "CascadiaCode VTT"; @@ -42,6 +42,8 @@ mark { display: block; padding-left: 0.5cm; font-family: "DuctusRegular"; + margin-bottom: 1cm; + margin-right: 1cm; } h1, @@ -53,4 +55,10 @@ h6 { font-family: "DuctusRegular"; text-align: left; text-justify: none; + font-size: 20pt; +} +p{ + margin-bottom: 1cm; + font-family: "CascadiaCode VTT"; + font-size: 10pt; }