emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] org-entitites aren't translated when in LaTeX fragments
@ 2015-03-15 19:56 Brice Waegenire
  2015-03-15 20:38 ` Rasmus
  0 siblings, 1 reply; 2+ messages in thread
From: Brice Waegenire @ 2015-03-15 19:56 UTC (permalink / raw)
  To: emacs-orgmode

org-entitites aren't translated when used in a LaTeX fragment.

For example when exporting $a = by(t) \rarr y(t+1) = by^{2}(t)$ to
HTML I get \(a = by(t) \rarr y(t+1) = by^{2}(t)\) whereas I should get
\(a = by(t) \rightarrow y(t+1) = by^{2}(t)\).
\rarr isn't translated to \rightarrow witch make MathJax unhappy:
Undefined control sequence \rarr

Looks like this bug as been reported in 2010
(http://thread.gmane.org/gmane.emacs.orgmode/22628/) but hasn't been
fixed yet.

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

* Re: [bug] org-entitites aren't translated when in LaTeX fragments
  2015-03-15 19:56 [bug] org-entitites aren't translated when in LaTeX fragments Brice Waegenire
@ 2015-03-15 20:38 ` Rasmus
  0 siblings, 0 replies; 2+ messages in thread
From: Rasmus @ 2015-03-15 20:38 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Brice Waegenire <brice.wge@gmail.com> writes:

> org-entitites aren't translated when used in a LaTeX fragment.

Thank you for your report.

This is a feature as a latex fragment is a 'latex-fragment' and not an
'entity' (in a org-element sense).  To understand why consider \check.  As
an entity it's a ✓, but in LaTeX math this is a v on top of another
character.

—Rasmus

-- 
I hear there's rumors on the, uh, Internets. . .

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

end of thread, other threads:[~2015-03-15 20:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-15 19:56 [bug] org-entitites aren't translated when in LaTeX fragments Brice Waegenire
2015-03-15 20:38 ` Rasmus

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