* [PATCH] Add \asciicirc entity
@ 2012-05-29 2:54 Mark E. Shoulson
2012-05-29 6:28 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Mark E. Shoulson @ 2012-05-29 2:54 UTC (permalink / raw)
To: org-mode mailing list
[-- Attachment #1: Type: text/html, Size: 833 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-asciicirc-entity.patch --]
[-- Type: text/x-patch; name="0001-Add-asciicirc-entity.patch", Size: 1371 bytes --]
From deebb683e8d46a87247aa17c0fad8bef7b7b14a3 Mon Sep 17 00:00:00 2001
From: Mark Shoulson <mark@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" "\\^{}" 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Add \asciicirc entity
2012-05-29 2:54 [PATCH] Add \asciicirc entity Mark E. Shoulson
@ 2012-05-29 6:28 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2012-05-29 6:28 UTC (permalink / raw)
To: Mark E. Shoulson; +Cc: org-mode mailing list
Hello,
"Mark E. Shoulson" <mark@kli.org> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-29 6:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 2:54 [PATCH] Add \asciicirc entity Mark E. Shoulson
2012-05-29 6:28 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).