[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how to export to HTML using old-style numbered div ID's?

From: Nick Dokos
Subject: Re: [O] how to export to HTML using old-style numbered div ID's?
Date: Tue, 07 Mar 2017 00:03:02 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Peter Salazar <address@hidden> 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:
> <div id="outline-container-sec-1-2" class="outline-3">
> <div class="outline-text-3" id="text-1-2">
> As you know, the new 8.x org-mode HTML exporter generates this instead:
>  <div id="outline-container-org42e1e05" class="outline-3">
>  <div class="outline-text-3" id="text-org42e1e05">
> 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...)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]