emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: dalanicolai@gmail.com
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87mu4ekbrl.fsf@kyleam.com> (raw)
In-Reply-To: <eca6cb37f90dbf1485456f9c0783371bd429c8b2.camel@gmail.com>

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").


      reply	other threads:[~2020-07-05  1:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-04 16:14 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/)] dalanicolai
2020-07-05  1:10 ` Kyle Meyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mu4ekbrl.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=dalanicolai@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).