1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-08-17 10:51:44 +02:00
qmckl/src/create_doc.sh

23 lines
415 B
Bash
Raw Normal View History

2020-10-22 01:24:14 +02:00
#!/bin/bash
# Tangle org files
emacsclient -a "" \
2020-10-27 17:24:44 +01:00
--socket-name=org_to_code \
--eval "(load-file \"config.el\")"
2020-10-22 01:24:14 +02:00
for INPUT in $@ ; do
echo $INPUT
emacsclient \
--no-wait \
--socket-name=org_to_code \
--eval "(find-file \"$INPUT\")" \
--eval "(org-html-export-to-html)"
done
emacsclient \
--no-wait \
--socket-name=org_to_code \
--eval '(kill-emacs)'