Org-mode mailing list
 help / color / mirror / 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

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git