From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: how to export to HTML using old-style numbered div ID's? Date: Tue, 07 Mar 2017 08:55:06 +0100 Message-ID: <877f414j39.fsf@nicolasgoaziou.fr> References: <87d1dtznjt.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cl9xh-0002zs-8x for emacs-orgmode@gnu.org; Tue, 07 Mar 2017 02:55:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cl9xd-0007FJ-D4 for emacs-orgmode@gnu.org; Tue, 07 Mar 2017 02:55:13 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60654) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cl9xd-0007Ec-6N for emacs-orgmode@gnu.org; Tue, 07 Mar 2017 02:55:09 -0500 In-Reply-To: <87d1dtznjt.fsf@alphaville.usersys.redhat.com> (Nick Dokos's message of "Tue, 07 Mar 2017 00:03:02 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nick Dokos Cc: emacs-orgmode@gnu.org Hello, Nick Dokos writes: > Peter Salazar writes: > >> Hi everyone, >> >> I figured out that the problem I've been having with >> org-html-slideshow >> (https://github.com/relevance/org-html-slideshow)=C2=A0is that it relies >> on the old-style numbered anchors that org-mode used to generate for >> div ID's in HTML export=E2=80=94the ones that looked like "sec-1-2". >> >> Example: >> >>
>>
>> >> As you know, the new 8.x org-mode HTML exporter generates this instead: >> >> =C2=A0
>> =C2=A0
>> >> This output confuses org-html-slideshow, preventing it from >> correctly advancing the slides in the presenter view.=C2=A0 >> >> Does anyone know how can I direct org-mode 8.x to generate div tags >> with the old-style numbered anchors like it used to? > > The LaTeX exporter *does* have such a capability, through the > variable org-latex-prefer-user-labels, Not exactly. The variable above allows overriding the default naming scheme whenever the user provides additional information. However, AFAIU, the OP wants to alter the default scheme, without any user interaction. This is not possible. I suggest to report it as a bug to org-html-slideshow developers so they can update it. Regards, --=20 Nicolas Goaziou