summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-11-22 12:16:18 -0600
committerSimon Parri <simonparri@ganzeria.com>2025-11-22 12:16:18 -0600
commit0db98706425e3822d0def4e1ae35a1c9ca54e74a (patch)
tree81112288e53c3ca788347a7ae0113d9e7e0a050c
parent3141253b997016096d93a88d0291b4f55ccecc31 (diff)
downloaddotfiles-0db98706425e3822d0def4e1ae35a1c9ca54e74a.tar.gz
dotfiles-0db98706425e3822d0def4e1ae35a1c9ca54e74a.zip
Emacs/Org: Use current face foreground as LaTeX export text color
-rw-r--r--common/.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/.emacs.d/init.el b/common/.emacs.d/init.el
index a0b7678..2350ac2 100644
--- a/common/.emacs.d/init.el
+++ b/common/.emacs.d/init.el
@@ -940,7 +940,8 @@ split."
org-clock-out-remove-zero-time-clocks t
org-tags-exclude-from-inheritance '("ATTACH"))
- (setf (plist-get org-format-latex-options :background) "Transparent")
+ (setf (plist-get org-format-latex-options :background) "Transparent"
+ (plist-get org-format-latex-options :foreground) 'auto)
(add-hook 'org-mode-hook 'variable-pitch-mode)