Add scripts.
This commit is contained in:
18
convert.sh
Executable file
18
convert.sh
Executable 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
6
install.sh
Executable 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
|
Reference in New Issue
Block a user