diff options
| author | M. Yas. Davoodeh <30480116+Davoodeh@users.noreply.github.com> | 2020-11-10 00:33:38 +0330 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-09 16:03:38 -0500 |
| commit | be8ff717b176d281e954329c3dfdb1f508531e25 (patch) | |
| tree | 450f50ec157de70fefddf0e782e2ab1622d8cd6b /.local | |
| parent | ea4252ee5d28e3cbd7e9bb6e65a82082dff9180f (diff) | |
| download | eibhear-be8ff717b176d281e954329c3dfdb1f508531e25.tar.gz eibhear-be8ff717b176d281e954329c3dfdb1f508531e25.tar.zst eibhear-be8ff717b176d281e954329c3dfdb1f508531e25.zip | |
Use Emacs to compile org files (#839)
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/compiler | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/compiler b/.local/bin/compiler index d50c393..ff76add 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -49,6 +49,6 @@ case "$ext" in scad) openscad -o "$base".stl "$file" ;; sent) setsid -f sent "$file" 2>/dev/null ;; tex) textype "$file" ;; - org) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;; + org) emacs "$file" --batch -u "$USER" -f org-latex-export-to-pdf ;; *) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;; esac |
