unofficial mirror of emacs-orgmode@gnu.org
 help / color / mirror / code / Atom feed
* bug with macro expansion after underscore (subscript)
@ 2021-01-05 14:10 Dauer, Michael
  2021-04-01 15:33 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Dauer, Michael @ 2021-01-05 14:10 UTC (permalink / raw)
  To: emacs-orgmode

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

Hi,

I cannot expand a macro after underscore, as the following sample shows in
detail:

#+macro: xxx A
* macro bug
_{{{xxx}}}
a _{{{xxx}}}
a_{{{xxx}}}
a^{{{xxx}}}
a{{{xxx}}}
a_A

generates:

_A
a _A
a_{{{xxx}}}
a^{{{xxx}}}
aA
a_A

thx
m

[-- Attachment #2: Type: text/html, Size: 449 bytes --]

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

* Re: bug with macro expansion after underscore (subscript)
  2021-01-05 14:10 bug with macro expansion after underscore (subscript) Dauer, Michael
@ 2021-04-01 15:33 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-04-01 15:33 UTC (permalink / raw)
  To: Dauer, Michael; +Cc: emacs-orgmode

Hello,

"Dauer, Michael" <michael.dauer@smartpm.com> writes:

> I cannot expand a macro after underscore, as the following sample shows in
> detail:
>
> #+macro: xxx A
> * macro bug

> a _{{{xxx}}}
> a_{{{xxx}}}

The first pair of braces belongs to the sup/superscript syntax, as in
a_{foo}. IOW, you need a fourth pair of braces in this case.

Regards,
-- 
Nicolas Goaziou


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

end of thread, other threads:[~2021-04-01 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 14:10 bug with macro expansion after underscore (subscript) Dauer, Michael
2021-04-01 15:33 ` Nicolas Goaziou

unofficial mirror of emacs-orgmode@gnu.org

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/orgmode/0 orgmode/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 orgmode orgmode/ https://yhetil.org/orgmode \
		emacs-orgmode@gnu.org
	public-inbox-index orgmode

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


code repositories for project(s) associated with this inbox:

	orgmode.git.git (no URL configured)

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git