Archived
1
0
Fork 0

ORG Mode: Export Exclud Tag

This commit is contained in:
J. Elfring 2023-03-06 22:17:07 +01:00
parent 142ee5c5a9
commit 140222d74b

View file

@ -100,6 +100,7 @@
;; Setup a beautiful export ;; Setup a beautiful export
(setq org-export-default-language "de") (setq org-export-default-language "de")
(setq org-export-with-toc nil) (setq org-export-with-toc nil)
(setq org-export-exclude-tags '("noexport" "tCLOSED"))
(setq org-export-with-tasks '("TODO" "DONE" "BACKLOG")) (setq org-export-with-tasks '("TODO" "DONE" "BACKLOG"))
(setq org-latex-default-class "je-article") (setq org-latex-default-class "je-article")
(add-to-list 'org-latex-packages-alist '("AUTO" "babel" nil)) (add-to-list 'org-latex-packages-alist '("AUTO" "babel" nil))
@ -142,7 +143,11 @@
('done "teal")) ('done "teal"))
todo)) todo))
text text
)) (and tags
(format "\\hfill{}\\textsc{%s}"
(mapconcat #'org-latex--protect-text tags ":")
))))
(setq org-latex-format-headline-function 'je-org-latex-format-headline-function)) (setq org-latex-format-headline-function 'je-org-latex-format-headline-function))
;; Use the internal latex viewer ;; Use the internal latex viewer