Re: [O] [PATCH] Add \asciicirc entity

2012-05-28 Thread Nicolas Goaziou
Hello,

"Mark E. Shoulson"  writes:

> 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.)

I have applied the patch. Thank you.


Regards,

-- 
Nicolas Goaziou



[O] [PATCH] Add \asciicirc entity

2012-05-28 Thread Mark E. Shoulson

  
  
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 
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" "\\^{}" nil "ˆ" "^" "^" "ˆ")
 ("vert" "\\vert{}" t "|" "|" "|" "|")
 ("brvbar" "\\textbrokenbar{}" nil "¦" "|" "¦" "¦")
 ("sect" "\\S" nil "§" "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" "\\textdaggerdbl{}" nil "‡" "[doubledagger]" "[doubledagger]" "‡")
 
-- 
1.7.7.6