From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: org-slidy and other HTML slideshows in org 8.x? Date: Thu, 24 Oct 2013 12:04:19 -0400 Message-ID: <6ae67700784bd483c4ad4be27cb9f8ef@mail.rickster.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_62c721aac8e2220c88c455bf17165e08" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZNOb-00068D-Ua for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 12:04:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZNOV-0001Ni-ND for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 12:04:25 -0400 Received: from [204.62.15.78] (port=57188 helo=mail.rickster.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZNOV-0001NZ-JW for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 12:04:19 -0400 In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jay Dixit Cc: emacs-orgmode@gnu.org --=_62c721aac8e2220c88c455bf17165e08 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 2013-10-23 23:12, Jay Dixit wrote: > Hey everyone, >=20 > I'm trying to use=C2=A0Dov Grobgeld's org-slidy > (https://github.com/dov/org-slidy [1]) to create HTML-based slideshows > using org-mode, but it doesn't seem to be working. I'm not sure, but I > suspect this is because the syntax for org's HTML export may have > changed?=C2=A0 >=20 Attached is a quick hack --- ox-slidy.el, an org 8 exporter which=20 inherits from ox-s5. It has a lot of stuff hardcoded that should be variables, but it works. rick --=_62c721aac8e2220c88c455bf17165e08 Content-Transfer-Encoding: base64 Content-Type: text/x-lisp; name=ox-slidy.el Content-Disposition: attachment; filename=ox-slidy.el; size=6097 KHJlcXVpcmUgJ294LXM1KQoob3JnLWV4cG9ydC1kZWZpbmUtZGVyaXZlZC1iYWNrZW5kICdzbGlk eSAnczUKICA6bWVudS1lbnRyeQogICcoP1MgIkV4cG9ydCB0byBTTElEWSBIVE1MIFByZXNlbnRh dGlvbiIKICAgICAgICgoP0ggIlRvIHRlbXBvcmFyeSBidWZmZXIiIG9yZy1zbGlkeS1leHBvcnQt YXMtaHRtbCkKCSg/aCAiVG8gZmlsZSIgb3JnLXNsaWR5LWV4cG9ydC10by1odG1sKQoJKD9vICJU byBmaWxlIGFuZCBvcGVuIgoJICAgIChsYW1iZGEgKGEgcyB2IGIpCgkgICAgICAoaWYgYSAob3Jn LXNsaWR5LWV4cG9ydC10by1odG1sIHQgcyB2IGIpCgkJKG9yZy1vcGVuLWZpbGUgKG9yZy1zbGlk eS1leHBvcnQtdG8taHRtbCBuaWwgcyB2IGIpKSkpKSkpCiAgOm9wdGlvbnMtYWxpc3QKICAnKCg6 aHRtbC1saW5rLWhvbWUgIkhUTUxfTElOS19IT01FIiBuaWwgbmlsKQogICAgKDpodG1sLWxpbmst dXAgIkhUTUxfTElOS19VUCIgbmlsIG5pbCkKICAgICg6c2xpZHktYmFja2dyb3VuZCAiU0xJRFlf QkFDS0dST1VORCIgbmlsIG9yZy1zbGlkeS1iYWNrZ3JvdW5kIG5ld2xpbmUpCiAgICAoOmh0bWwt aGVhZC1pbmNsdWRlLWRlZmF1bHQtc3R5bGUgIkhUTUxfSU5DTFVERV9ERUZBVUxUX1NUWUxFIiBu aWwgbmlsKQogICAgKDpodG1sLWhlYWQtaW5jbHVkZS1zY3JpcHRzICJIVE1MX0lOQ0xVREVfU0NS SVBUUyIgbmlsIG5pbCkpCiAgOnRyYW5zbGF0ZS1hbGlzdAogICcoKHRlbXBsYXRlIC4gb3JnLXNs aWR5LXRlbXBsYXRlKSkpCgooZ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