some more tidying up

This commit is contained in:
Mateus Rodrigues
2026-07-10 18:15:18 +01:00
parent 48d7cbf15f
commit e06fd84dff
2 changed files with 36 additions and 52 deletions

View File

@@ -7,44 +7,34 @@
org-src-fontify-natively t
org-src-tab-acts-natively t
org-hide-emphasis-markers t
org-babel-python-command "python3")
org-babel-python-command "python3"
;; default apps to open files with org-mode
org-file-apps '((auto-mode . emacs)
("\\.mm\\'" . default)
("\\.pdf\\'" . "emacsclient %s")
("\\.djvu\\'" . "djview %s"))
;; define sequence of TODO keywords
org-todo-keywords '((sequence "TODO" "IN PROGRESS" "|" "DONE"))
;; Use biber to process bibtex
org-latex-pdf-process '("xelatex -interaction nonstopmode -output-directory %o %f"
"biber %b"
"xelatex -interaction nonstopmode -output-directory %o %f"
"xelatex -interaction nonstopmode -output-directory %o %f")
;; org-capture templates
org-capture-templates '(("l" "Library" entry (file "~/library/index.org")
"* %A %^g\n %^{Author}p\n %^{Edition}p\n %^{Format}p")
("m" "Albums" entry (file "~/repos/listas/music.org")
"* %? %^g\n %^{Autor}p\n %^{Ano}p\n %^{Colecionado}p")
("n" "Quick notes" item (file "~/org/quick.org"))))
;; load languages babel
(org-babel-do-load-languages
'org-babel-load-languages
'((C . t)
(js . t)
(emacs-lisp . t)
;(eukleides . t) TODO search for ob-eukleides
;; (eukleides . t) TODO search for ob-eukleides
(haskell . t)
(scheme . t)
(shell . t)
(python . t)
(plantuml . t)))
;; default apps to open files with org-mode
(setq org-file-apps
'((auto-mode . emacs)
("\\.mm\\'" . default)
("\\.pdf\\'" . "emacsclient %s")
("\\.djvu\\'" . "djview %s")))
;; define sequence of TODO keywords
(setq org-todo-keywords
'((sequence "TODO" "IN PROGRESS" "|" "DONE")))
;; Use biber to process bibtex
(setq org-latex-pdf-process
'("xelatex -interaction nonstopmode -output-directory %o %f"
"biber %b"
"xelatex -interaction nonstopmode -output-directory %o %f"
"xelatex -interaction nonstopmode -output-directory %o %f"))
;; org-capture templates
(setq org-capture-templates
'(("l" "Library" entry (file "~/library/index.org")
"* %A %^g\n %^{Author}p\n %^{Edition}p\n %^{Format}p")
("m" "Albums" entry (file "~/repos/listas/music.org")
"* %? %^g\n %^{Autor}p\n %^{Ano}p\n %^{Colecionado}p")
("n" "Quick notes" item (file "~/org/quick.org"))))