emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-entities in #+captions
@ 2013-12-25 19:04 Thomas S. Dye
  2013-12-28  9:17 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas S. Dye @ 2013-12-25 19:04 UTC (permalink / raw)
  To: Org-mode

Aloha all,

With this local variable:

# eval:  (add-to-list 'org-entities-user '("amacron" "\\={a}" nil "&#0257" "a" "a" "ā"))

the org-entity \amacron isn't handled inside a caption:

#+caption: *Level assignments in the Kahua 1 and P\amacron{}hinahina detailed study area.*

The caption exports to LaTeX correctly, but it looks a bit weird in the
Org mode buffer.

Is this the expected behavior?

All the best,
Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-entities in #+captions
  2013-12-25 19:04 org-entities in #+captions Thomas S. Dye
@ 2013-12-28  9:17 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-12-28  9:17 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: Org-mode

Hello,

tsd@tsdye.com (Thomas S. Dye) writes:

> With this local variable:
>
> # eval:  (add-to-list 'org-entities-user '("amacron" "\\={a}" nil "&#0257" "a" "a" "ā"))
>
> the org-entity \amacron isn't handled inside a caption:
>
> #+caption: *Level assignments in the Kahua 1 and P\amacron{}hinahina detailed study area.*
>
> The caption exports to LaTeX correctly, but it looks a bit weird in the
> Org mode buffer.
>
> Is this the expected behavior?

More or less, yes.

At the moment, no effort is done in order to fontify objects in captions
(or title). It can probably be done, but I wouldn't bother too much as
fontification needs a big overhaul anyway.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-28  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-25 19:04 org-entities in #+captions Thomas S. Dye
2013-12-28  9:17 ` 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).