feat: copying pdf and newline handling added to script

main
Yandrik 2 years ago
parent 64f86314bf
commit 0efddc3457

@ -15,6 +15,9 @@ cd workdir
echo "Generating modified Markdown file..."
#prefix every \ with a \
sed -i -e 's/\\\\ *$/\\\\\\\\/g' "$NEWNAME"
# prefix every _ with an \
sed -i -e 's/_/\\_/g' "$NEWNAME"
@ -46,5 +49,6 @@ tlmgr install markdown
echo "Building PDF..."
pdflatex -synctex=1 -interaction=nonstopmode --shell-escape file.tex
echo "Done."
okular file.pdf
cp *.pdf ..
echo "Done."
Loading…
Cancel
Save