From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mark E. Shoulson" Subject: [PATCH] Add \asciicirc entity Date: Mon, 28 May 2012 22:54:08 -0400 Message-ID: <4FC43A50.8030607@kli.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070703040004080907070605" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZCZa-0003Q1-MJ for emacs-orgmode@gnu.org; Mon, 28 May 2012 22:54:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZCZY-0006b8-Pl for emacs-orgmode@gnu.org; Mon, 28 May 2012 22:54:14 -0400 Received: from pi.meson.org ([96.56.207.26]:50267) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SZCZY-0006b1-KU for emacs-orgmode@gnu.org; Mon, 28 May 2012 22:54:12 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list This is a multi-part message in MIME format. --------------070703040004080907070605 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit

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 &circ; (html entity) is correct.)


~mark


--------------070703040004080907070605 Content-Type: text/x-patch; name="0001-Add-asciicirc-entity.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-Add-asciicirc-entity.patch" >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 --------------070703040004080907070605--