emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to export to HTML using old-style numbered div ID's?
Date: Tue, 07 Mar 2017 08:55:06 +0100	[thread overview]
Message-ID: <877f414j39.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87d1dtznjt.fsf@alphaville.usersys.redhat.com> (Nick Dokos's message of "Tue, 07 Mar 2017 00:03:02 -0500")

Hello,

Nick Dokos <ndokos@gmail.com> writes:

> Peter Salazar <cycleofsong@gmail.com> 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
interaction.

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


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-03-07  7:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-07  4:27 how to export to HTML using old-style numbered div ID's? Peter Salazar
2017-03-07  5:03 ` Nick Dokos
2017-03-07  7:55   ` Nicolas Goaziou [this message]
2017-03-08  6:11     ` Peter Salazar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877f414j39.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).