emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Font highlighting with in-line latex math broken [9.4 (9.4-dist)]
@ 2020-11-25 19:32 Edmund Christian Herenz
  2020-11-25 19:50 ` Edmund Christian Herenz
  0 siblings, 1 reply; 3+ messages in thread
From: Edmund Christian Herenz @ 2020-11-25 19:32 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

In AucTeX inserting

   $1\times10^{-18}$erg\,s\,cm$^{-2}$

Will correctly highlight $1\times10^{-18}$ and $^{-2}$ as math.
However, in org mode I get erg\,s\,cm highlighted.

This is only cosmetical, but a bit annoying.

With best regards,
Christian Herenz


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

* Re: Bug: Font highlighting with in-line latex math broken [9.4 (9.4-dist)]
  2020-11-25 19:32 Bug: Font highlighting with in-line latex math broken [9.4 (9.4-dist)] Edmund Christian Herenz
@ 2020-11-25 19:50 ` Edmund Christian Herenz
  2020-11-26  2:49   ` Vladimir Lomov
  0 siblings, 1 reply; 3+ messages in thread
From: Edmund Christian Herenz @ 2020-11-25 19:50 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

me again...

On Wed, Nov 25, 2020 at 04:32:28PM -0300, Edmund Christian Herenz wrote:
> This is only cosmetical, but a bit annoying.

Ah, and while we are at it

Entering a line break in $math
mode$ is also valid and should not break the font highlighting.

CH.



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

* Re: Bug: Font highlighting with in-line latex math broken [9.4 (9.4-dist)]
  2020-11-25 19:50 ` Edmund Christian Herenz
@ 2020-11-26  2:49   ` Vladimir Lomov
  0 siblings, 0 replies; 3+ messages in thread
From: Vladimir Lomov @ 2020-11-26  2:49 UTC (permalink / raw)
  To: Edmund Christian Herenz; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

Hello,
** Edmund Christian Herenz <eherenz@eso.org> [2020-11-25 16:50:46 -0300]:

> Hi,

> me again...

> On Wed, Nov 25, 2020 at 04:32:28PM -0300, Edmund Christian Herenz wrote:
>> This is only cosmetical, but a bit annoying.

> Ah, and while we are at it

> Entering a line break in $math
> mode$ is also valid and should not break the font highlighting.

Did you try to use \(y=\sin(x)\) instead of $y=\sin(x)$ ?

> CH.

---
WBR, Vladimir Lomov

-- 
Virtue is not left to stand alone.  He who practices it will have neighbors.
		-- Confucius

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2020-11-26  2:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 19:32 Bug: Font highlighting with in-line latex math broken [9.4 (9.4-dist)] Edmund Christian Herenz
2020-11-25 19:50 ` Edmund Christian Herenz
2020-11-26  2:49   ` Vladimir Lomov

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