emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Salazar <cycleofsong@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Nick Dokos <ndokos@gmail.com>, org-mode <emacs-orgmode@gnu.org>
Subject: Re: how to export to HTML using old-style numbered div ID's?
Date: Wed, 8 Mar 2017 01:11:17 -0500	[thread overview]
Message-ID: <CAE+_6Tz7AJ-gOiYm01+wqZZTkx=kuRvp9O9-9BtohBPHGBer3g@mail.gmail.com> (raw)
In-Reply-To: <877f414j39.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 2396 bytes --]

Thank you so much for the responses! In fact I did try filing a bug report
to the org-html-slideshow developers, but the project is no longer under
active development and I never heard back.

Fortunately, I was able to convince a friend who's a ClojureScript expert
to take a look. He forked the org-html-slideshow project and updated the
code to be compatible with the new org-mode export, as well as adding a
bunch of extra features like a play/pause keystroke for HTML5 videos and
YouTube videos.

So if anyone's interested in HTML presentations, a new and improved version
of org-html-slideshow that's compatible with org-mode 9.x is available at:
https://github.com/aiba/org-html-slideshow.

Thanks everyone!



On Tue, Mar 7, 2017 at 2:55 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

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

[-- Attachment #2: Type: text/html, Size: 3515 bytes --]

      reply	other threads:[~2017-03-08  6:11 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
2017-03-08  6:11     ` Peter Salazar [this message]

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='CAE+_6Tz7AJ-gOiYm01+wqZZTkx=kuRvp9O9-9BtohBPHGBer3g@mail.gmail.com' \
    --to=cycleofsong@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --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).