Add scripts.

This commit is contained in:
Hyperling 2024-03-06 14:17:03 -07:00
parent 47fc58cea8
commit 06884e1ea3
2 changed files with 24 additions and 0 deletions

18
convert.sh Executable file
View File

@ -0,0 +1,18 @@
#!/bin/bash
# 2023-03-06 Hyperling
# PanDoc Usage: https://pandoc.org/MANUAL.html#general-writer-options
date
rm -v ebook.pdf
pandoc ebook.md \
-s --columns 200 --toc --toc-depth=3 -N \
-o ebook.pdf
status=$?
echo "Completed with status '$status'."
date
exit $status

6
install.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# 2024-03-06 Hyperling
sudo apt install pandoc texlive-latex-base texlive-fonts-recommended texlive-extra-utils texlive-latex-extra
exit 0