From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: Re: how to export to HTML using old-style numbered div ID's? Date: Wed, 8 Mar 2017 01:11:17 -0500 Message-ID: References: <87d1dtznjt.fsf@alphaville.usersys.redhat.com> <877f414j39.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045f509024ba10054a31ff64 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clUok-0003EB-MN for emacs-orgmode@gnu.org; Wed, 08 Mar 2017 01:11:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clUoj-00057T-0o for emacs-orgmode@gnu.org; Wed, 08 Mar 2017 01:11:22 -0500 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:34534) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1clUoi-000572-Mk for emacs-orgmode@gnu.org; Wed, 08 Mar 2017 01:11:20 -0500 Received: by mail-wr0-x22d.google.com with SMTP id l37so16049385wrc.1 for ; Tue, 07 Mar 2017 22:11:18 -0800 (PST) In-Reply-To: <877f414j39.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Nick Dokos , org-mode --f403045f509024ba10054a31ff64 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 wrote: > Hello, > > Nick Dokos writes: > > > Peter Salazar 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=E2=80=94the ones that looked like "sec-1-2". > >> > >> Example: > >> > >>
> >>
> >> > >> As you know, the new 8.x org-mode HTML exporter generates this instead= : > >> > >>
> >>
> >> > >> 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 > > --f403045f509024ba10054a31ff64 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you so much for the responses! In fact I did try fil= ing a bug report to the org-html-slideshow developers, but the project is n= o longer under active development and I never heard back.=C2=A0

Fortunately, I was able to convince a friend who's a Cloju= reScript expert to take a look. He forked the org-html-slideshow=C2=A0proje= ct and updated the code to be compatible with the new org-mode export, as w= ell as adding a bunch of extra features like a play/pause keystroke for HTM= L5 videos and YouTube videos.=C2=A0

So if anyone&#= 39;s interested in HTML presentations, a new and improved version of org-ht= ml-slideshow=C2=A0that's compatible with org-mode 9.x is available at:<= /div>

Thanks every= one!=C2=A0



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-htm= l-slideshow)=C2=A0is that it relies
>> on the old-style numbered anchors that org-mode used to generate f= or
>> div ID's in HTML export=E2=80=94the ones that looked like &quo= t;sec-1-2".
>>
>> Example:
>>
>> <div id=3D"outline-container-sec-1-2" class=3D"o= utline-3">
>> <div class=3D"outline-text-3" id=3D"text-1-2&quo= t;>
>>
>> As you know, the new 8.x org-mode HTML exporter generates this ins= tead:
>>
>> =C2=A0<div id=3D"outline-container-org42e1e05" c= lass=3D"outline-3">
>> =C2=A0<div class=3D"outline-text-3" id=3D"text-o= rg42e1e05">
>>
>> This output confuses org-html-slideshow, preventing it from
>> correctly advancing the slides in the presenter view.=C2=A0
>>
>> Does anyone know how can I direct org-mode 8.x to generate div tag= s
>> 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


--f403045f509024ba10054a31ff64--