renamed prog to begin and added basics for the manual

This commit is contained in:
Felix Brendel
2019-05-15 01:08:44 +02:00
parent 0fb9fbe1ee
commit 5548192dc9
17 changed files with 475 additions and 54 deletions
+17
View File
@@ -0,0 +1,17 @@
echo ================================================
echo Starting Tex Export
echo ================================================
FILENAME=manual
emacsclient -c --frame-parameters="((visibility . nil))" \
-e "(progn (require 'org) (find-file-other-window \"$FILENAME.org\") (org-latex-export-to-latex) (save-buffers-kill-terminal))" || exit 1
echo ================================================
echo Tex Export Finished
echo ================================================
latexmk -Werror -pdf -shell-escape $FILENAME.tex || exit 1
latexmk -c $FILENAME.tex