aboutsummaryrefslogtreecommitdiff
path: root/modules/org-export-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-11 15:56:10 -0500
committerCraig Jennings <c@cjennings.net>2026-07-11 15:56:10 -0500
commitee1108e6f87ed347a87bc2e6db11419a00aa7877 (patch)
treeb9e59321c7dec966bcbac0cf2bdc717b22edc5ee /modules/org-export-config.el
parent0f03364c1f61d4f1602337771dec0455f9afe611 (diff)
downloaddotemacs-ee1108e6f87ed347a87bc2e6db11419a00aa7877.tar.gz
dotemacs-ee1108e6f87ed347a87bc2e6db11419a00aa7877.zip
refactor(org-export): delete dead ox-texinfo block, relocate footnote setting
The ox-texinfo block could never run: :defer t with no autoload trigger, and absent from the dolist that force-requires the other backends. So its :config never fired, and Texinfo export was unavailable despite the commentary advertising it. I deleted the block and dropped the Texinfo line from the commentary. The commentary also claimed subtree default scope while the code sets 'buffer, so I fixed that too. I moved org-html-footnote-separator out of org-babel-config, where it sat as a stray ox-html setting, into ox-html's own :config. ox-html loads before any HTML export reads the value, so the timing is unchanged.
Diffstat (limited to 'modules/org-export-config.el')
-rw-r--r--modules/org-export-config.el16
1 files changed, 3 insertions, 13 deletions
diff --git a/modules/org-export-config.el b/modules/org-export-config.el
index 5a6f09fc..c3d3294c 100644
--- a/modules/org-export-config.el
+++ b/modules/org-export-config.el
@@ -20,7 +20,6 @@
;; - HTML: Web publishing with HTML5 support
;; - Markdown: README files and web content
;; - ODT: Office documents for LibreOffice/MS Word
-;; - Texinfo: GNU documentation and Info files
;;
;; Extended via Pandoc:
;; - Additional formats: DOCX, self-contained HTML5
@@ -28,7 +27,7 @@
;;
;; Key features:
;; - UTF-8 encoding enforced across all backends
-;; - Subtree export as default scope
+;; - Buffer export as default scope
;;
;; Note: reveal.js presentations are handled by org-reveal-config.el (C-; p)
;;
@@ -68,17 +67,8 @@
:config
(setq org-html-postamble nil)
(setq org-html-html5-fancy t)
- (setq org-html-head-include-default-style nil))
-
-
-(use-package ox-texinfo
- :ensure nil ; Built into Org
- :defer t
- :after ox
- :config
- (setq org-texinfo-coding-system 'utf-8)
- (setq org-texinfo-default-class "info")
- (add-to-list 'org-export-backends 'texinfo))
+ (setq org-html-head-include-default-style nil)
+ (setq org-html-footnote-separator "")) ;; no separator between adjacent footnote refs
(use-package ox-pandoc
:defer t