[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: Nicolas Goaziou
Subject: Re: [O] how to export to HTML using old-style numbered div ID's?
Date: Tue, 07 Mar 2017 08:55:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)


Nick Dokos <address@hidden> writes:

> 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,

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

This is not possible. I suggest to report it as a bug to
org-html-slideshow developers so they can update it.


Nicolas Goaziou

reply via email to

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