Per prior emails, added \asciicirc entity in org-entities.el, to expand to ascii "^" character, or \textasciicirc in LaTeX.  Also fixed bug a few lines earlier, wherein \circ (org entity) would expand to \circ (latex entity) in LaTeX export, even though the former indicates a circumflex accent and the latter a small *circle*.  (The expansion to ˆ (html entity) is correct.)


~mark


>From deebb683e8d46a87247aa17c0fad8bef7b7b14a3 Mon Sep 17 00:00:00 2001
From: Mark Shoulson <m...@kli.org>
Date: Mon, 28 May 2012 22:48:07 -0400
Subject: [PATCH] Add \asciicirc entity

* org-entities.el (org-entities): Added \asciicirc entity for ^;
  also fixed \circ expansion in latex.

TINYCHANGE
---
 lisp/org-entities.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/org-entities.el b/lisp/org-entities.el
index fce3b68..b1c8ad4 100644
--- a/lisp/org-entities.el
+++ b/lisp/org-entities.el
@@ -252,7 +252,7 @@ loaded, add these packages to `org-export-latex-packages-alist'."
 
     "* Other"
     "** Misc. (often used)"
-    ("circ" "\\circ" t "&circ;" "^" "^" "ˆ")
+    ("circ" "\\^{}" nil "&circ;" "^" "^" "ˆ")
     ("vert" "\\vert{}" t "&#124;" "|" "|" "|")
     ("brvbar" "\\textbrokenbar{}" nil "&brvbar;" "|" "¦" "¦")
     ("sect" "\\S" nil "&sect;" "paragraph" "§" "§")
@@ -264,6 +264,7 @@ loaded, add these packages to `org-export-latex-packages-alist'."
     ("plus" "+" nil "+" "+" "+" "+")
     ("under" "\\_" nil "_" "_" "_" "_")
     ("equal" "=" nil "=" "=" "=" "=")
+    ("asciicirc" "\\textasciicircum{}" nil "^" "^" "^" "^")
     ("dagger" "\\textdagger{}" nil "&dagger;" "[dagger]" "[dagger]" "†")
     ("Dagger" "\\textdaggerdbl{}" nil "&Dagger;" "[doubledagger]" "[doubledagger]" "‡")
 
-- 
1.7.7.6

Reply via email to