"Tom Alexander" <t...@fizz.buzz> writes: > It seems that COUNTER-SET[1] is not being honored when exporting to utf-8 for > alphabetical lists even though it is honored for numeric lists. When > exporting to html, COUNTER-SET is honored for both. > > Test document: > ``` > # An ordered list starting at 3 > 1. [@3] foo > > > # An ordered list starting at 1 > m. bar > > > # An ordered list starting at 11 > m. [@k] baz > ``` > ... > But when exporting to utf-8 you get: (whitespace removed again) > ``` > 3. foo > m. bar > m. baz > ``` > > Whereas I would expect: (whitespace removed again) > ``` > 3. foo > m. bar > k. baz > ```
Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=26f1cb77a However, what we do for alphabetical bullets on export is slightly different: 3. foo 1. bar 11. baz Other export backends do not preserve alphabetical bullets. Numbers are always used. > On a slightly related note: it seems the COUNTER-SET[1] allows single-letter > values even when org-list-allow-alphabetical is nil. I don't think that is > going to hurt anyone but I figured I should mention it in case its a bug > (test doc: `1. [@k] foo` is a plain list starting at 11 even when > org-list-allow-alphabetical is nil). > > [1] https://orgmode.org/worg/org-syntax.html#Items org-syntax.html#Items describes what the parser does (`org-element-item-parser'). `org-list-allow-alphabetical' should be changed to t in future and obsoleted. We aim to reduce config-dependent Org syntax in the long term. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>