[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] The "c" Org macro
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [RFC] The "c" Org macro |
Date: |
Mon, 22 May 2017 07:58:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Kaushal Modi <address@hidden> writes:
> Thanks. I tried it out and it works great, except for one issue I came
> across.
Thank you for the feedback.
> If the n macro is at the BOL, followed by a period, the counter value
> resets to 1 even when that macro is specifying the counter value.
> Foo
> {{{n(a, 7463)}}}.
Even though it is surprising, this is not an issue. The thing is macros
are expanded at the very beginning of the export process, even before
the document is parsed. At this point, the example above is properly
expanded to
7463.
However, this is then parsed as the first numbered item of a plain list,
which is then exported as
1.
IOW, there is not much we can do. You may want to insert a zero-width
space between the macro and the dot.
Regards,
--
Nicolas Goaziou 0x80A93738
- Re: [O] [RFC] The "c" Org macro, (continued)
- Message not available
- Re: [O] [RFC] The "c" Org macro, Eric S Fraga, 2017/05/11
- Re: [O] [RFC] The "c" Org macro, Nicolas Goaziou, 2017/05/21
- Re: [O] [RFC] The "c" Org macro, Kaushal Modi, 2017/05/21
- Re: [O] [RFC] The "c" Org macro,
Nicolas Goaziou <=
- Re: [O] [RFC] The "c" Org macro, Kaushal Modi, 2017/05/22
- Re: [O] [RFC] The "c" Org macro, Nicolas Goaziou, 2017/05/22
- Re: [O] [RFC] The "c" Org macro, Kaushal Modi, 2017/05/22
- Re: [O] [RFC] The "c" Org macro, Kaushal Modi, 2017/05/22
- Re: [O] [RFC] The "c" Org macro, Nicolas Goaziou, 2017/05/22
- Re: [O] [RFC] The "c" Org macro, Kaushal Modi, 2017/05/22
- Re: [O] [RFC] The "c" Org macro, Nicolas Goaziou, 2017/05/25
- Re: [O] [RFC] The "c" Org macro, Kaushal Modi, 2017/05/25
- Message not available
- Re: [O] [RFC] The "c" Org macro, Eric S Fraga, 2017/05/22
Re: [O] [RFC] The "c" Org macro, Robert Horn, 2017/05/08