From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id RMtMJ5YoAV/XGgAA0tVLHw (envelope-from ) for ; Sun, 05 Jul 2020 01:10:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8MiDIpYoAV85FwAAbx9fmQ (envelope-from ) for ; Sun, 05 Jul 2020 01:10:46 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2F94A9403D5 for ; Sun, 5 Jul 2020 01:10:45 +0000 (UTC) Received: from localhost ([::1]:54060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrtB5-0001xi-4a for larch@yhetil.org; Sat, 04 Jul 2020 21:10:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrtAg-0001wt-2z for emacs-orgmode@gnu.org; Sat, 04 Jul 2020 21:10:18 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:53149) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrtAd-00062d-Fi for emacs-orgmode@gnu.org; Sat, 04 Jul 2020 21:10:17 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 319AEE05FC; Sat, 4 Jul 2020 21:10:11 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=x3m0GiFbyDj/2JWlcoanem2kwIo=; b=DNmZQo T5wC6Z1ag+5pwJ6c22aTMugNZRadF7p3143SHGWW05E0Flfa7juPm3PykHxYvgcm SUz8B2QBRXczKvqtvqg/NOzpZQh7S1ikQRyjGpA8gFQKBUfOn7XkoOOWPw80cMdt RjFj392ks76Wr6+STY2mZbkR09OmRBeZYf9yE= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 1D10FE05FB; Sat, 4 Jul 2020 21:10:11 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=TMlRlQ9t6tlFUCZiltXBOV8tRQtdd3IxhcTuhtcvmu8=; b=DlXz8soVwmZ++gTeLi9DG6w4aiky8H5dU5/UmzImvf7f8dBVWxZRMRhIeLvlpgn20SqZf5mwj9bv72lDhHYlrY2NO+g5lkF9GRY0vQ6NOJ3daceKj3LeRBS3+7QNXOfNbHVeV8oTUw3dAHkvm+HK0Mvcvkdn+2GOcBmcWc37tXs= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 82A60E05FA; Sat, 4 Jul 2020 21:10:08 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: dalanicolai@gmail.com 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/)] In-Reply-To: References: Date: Sat, 04 Jul 2020 21:10:06 -0400 Message-ID: <87mu4ekbrl.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 449A962E-BE5C-11EA-962B-B0405B776F7B-24757444!pb-smtp20.pobox.com Received-SPF: pass client-ip=173.228.157.52; envelope-from=kyle@kyleam.com; helo=pb-smtp20.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/04 21:10:11 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=DNmZQo T; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=DlXz8soV; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.29 X-TUID: KeGyy0pwm/RG 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").