From d5f6421e44fcb80d734725eb7a951b0fb95aff53 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 27 Jun 2024 06:30:36 +0100 Subject: [PATCH] org-mode require "{}" for rendering/exporting sub- and super-script --- dictionary | 4 +++- init.el | 10 +++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dictionary b/dictionary index 85eb694..9422baa 100644 --- a/dictionary +++ b/dictionary @@ -35,4 +35,6 @@ cxsfit divspec et github -nixpkgs +iterable +iterables +nixpkgs \ No newline at end of file diff --git a/init.el b/init.el index fef5e06..cd5f99c 100644 --- a/init.el +++ b/init.el @@ -398,7 +398,8 @@ (org-directory "~/Documents/org") (org-default-notes-file (expand-file-name "notes.org" org-directory)) (org-archive-location "::* Archived Tasks") - (org-hide-emphasis-markers nil) + (org-hide-emphasis-markers t) + (org-use-sub-superscripts '{}) (org-pretty-entities t) (org-pretty-entities-include-sub-superscripts t) (org-fontify-done-headline t) @@ -416,6 +417,11 @@ (item . nil) (table . t)))) +(use-package ox + :after org + :custom + (org-export-with-sub-superscripts org-use-sub-superscripts)) + (use-package org-faces :after org :config @@ -485,8 +491,6 @@ ) ) - - (use-package org-capture :after org :bind