emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: how to export to HTML using old-style numbered div ID's?
Date: Tue, 07 Mar 2017 00:03:02 -0500	[thread overview]
Message-ID: <87d1dtznjt.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: CAE+_6TxTQ+pcmU1hsC1iizXULePu+RpkN1n494Y+nwZq_aHdyA@mail.gmail.com

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

  reply	other threads:[~2017-03-07  5:05 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 [this message]
2017-03-07  7:55   ` Nicolas Goaziou
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=87d1dtznjt.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).