From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: how to export to HTML using old-style numbered div ID's? Date: Tue, 07 Mar 2017 00:03:02 -0500 Message-ID: <87d1dtznjt.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cl7IR-0002cq-Gp for emacs-orgmode@gnu.org; Tue, 07 Mar 2017 00:05:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cl7HE-0003kS-Aa for emacs-orgmode@gnu.org; Tue, 07 Mar 2017 00:04:27 -0500 Received: from [195.159.176.226] (port=42245 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cl7HE-0003gA-05 for emacs-orgmode@gnu.org; Tue, 07 Mar 2017 00:03:12 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cl7H4-0007F0-5z for emacs-orgmode@gnu.org; Tue, 07 Mar 2017 06:03:02 +0100 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: emacs-orgmode@gnu.org 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) is that it relies > on the old-style numbered anchors that org-mode used to generate for > div ID's in HTML export—the ones that looked like "sec-1-2". > > Example: > >
>
> > As you know, the new 8.x org-mode HTML exporter generates this instead: > >  
>  
> > This output confuses org-html-slideshow, preventing it from > correctly advancing the slides in the presenter view.  > > 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, but I don't think there is a similar capability in the HTML exporter (although Nicolas has expressed his willingness to accept a patch that implements it, IIRC - hint, hint...) -- Nick