[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: org-html-export-as-html changes numbered sections to number one
From: |
Kyle Meyer |
Subject: |
Re: Bug: org-html-export-as-html changes numbered sections to number one exclusively [9.3.7 (9.3.7-elpa @ /home/dalanicolai/.my_emacs.d/elpa/org-20200602/)] |
Date: |
Sat, 04 Jul 2020 21:10:06 -0400 |
dalanicolai@gmail.com writes:
> WHAT HAPPENS:
>
> When exporting a simple org-buffer, org-html-export-as-html, containing
> text as follows:
>
> 1. hello
> bye
>
> 2. ola
> ciao
>
> Then the numbers get changed to 1's exclusively, so that the html file
> is rendered in the browser as follows:
[...]
> EXPECTED TO HAPPEN:
>
> Numbers get exported to 1, 2 etc.
I believe you'll see the same thing across different export backends.
Due the indentation level of "bye", your example has two separate
ordered lists. If you want to force another start value for a list, you
can add [@N] to the item (e.g., "2. [@2] ola").