My Emacs configuration
git clone https://git.jamzattack.xyz/emacs.d
Log | Files | Refs | LICENSE

commit ac3b67f2e83dd5705d3293cf9eb320eaad5a35d3
parent 8b542172372faab1ad18b1a9da8cded398b3fd22
Author: Jamie Beardslee <jdb@jamzattack.xyz>
Date:   Thu, 17 Sep 2020 16:57:39 +1200

[org] Allow unicode in pdflatex export

I've found this quite annoying--MUSIC FLAT SIGNs weren't appearing in
my analysis essay, spent a good 10 minutes figuring this out.

Mconfig.org | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/config.org b/config.org @@ -169,7 +169,9 @@ and use [[help:eww][eww]] for html instead of [[help:mhtml-mode][mhtml-mode]]. ;; Quite ugly: (setf (last ...)) doesn't exist, and can't use ;; assoc/alist-get because the package name is the cadr (setf (car (reverse org-latex-default-packages-alist)) - '("hidelinks" "hyperref" nil)) + '("hidelinks" "hyperref" nil) + (car org-latex-default-packages-alist) + '("utf8x" "inputenc" "pdflatex")) (defun org-insert-emacs-help (symbol) "Insert a help link to SYMBOL.