From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yujie Wen Subject: Re: Export Org-mode content to Reveal.js presentations Date: Wed, 15 May 2013 21:35:56 +0800 Message-ID: References: <518C0A1C.4080409@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdca61858867804dcc1d438 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ucc00-0006DE-IO for emacs-orgmode@gnu.org; Wed, 15 May 2013 09:44:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ucbzw-0000D6-Fm for emacs-orgmode@gnu.org; Wed, 15 May 2013 09:44:08 -0400 Received: from mail-ie0-x22c.google.com ([2607:f8b0:4001:c03::22c]:64228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ucbzw-0000Cj-6m for emacs-orgmode@gnu.org; Wed, 15 May 2013 09:44:04 -0400 Received: by mail-ie0-f172.google.com with SMTP id 16so3659665iea.17 for ; Wed, 15 May 2013 06:44:03 -0700 (PDT) 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: "Julian M. Burgos" Cc: Orgmode Mailing List --047d7bdca61858867804dcc1d438 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Julian, It seems the URL is wrong. Please see my comments below. Let me know if there is still problem. Regards, Yujie 2013/5/15 Julian M. Burgos > Hi Yujie, > > Thanks for the exporter! I am still a bit confused though (seems my > natural state). Let say I downloaded reveal.js and placed it on my home > directory (I am using Linux), so that the path to reveal.js is the > following: > > /home/julian/.reveal/js/reveal.js > > so then I should add to my .emacs file > > (setq org-reveal-root "file:////home/julian/.reveal/js/reveal.js") It should be three slashes ('/'), not four. Please try: (setq org-reveal-root "file:///home/julian/.reveal/js/reveal.js") > > and with this I should be able to do C-c C-e R R and export to reveal, > regardless of the location of the org file, right? But it is not > working, so obviously I am doing something wrong. I get a "regular" > HTML file instead. Any ideas? > > Many thanks, > > Julian > > Yujie Wen writes: > > > Hi, Gary, > > > > You are right. For absolute path to reveal.js, the org-reveal-root > should > > be set in URL form, "file:///path_to_reveal.js". > > > > I will update the document to make it clear. Thanks for your > suggestion. > > > > Regards, > > Yujie > > > > > > 2013/5/15 Gary Oberbrunner > > > >> Just want to say I just set this up, and it's great! Easy to work wit= h, > >> and my first org-mode presentation was live in under 10 min. One mino= r > >> nit: on my Windows machine, I had to set org-reveal-root to a file:/// > URL, > >> not a filesystem path. Otherwise the presentation wouldn't load. > >> > >> > >> On Thu, May 9, 2013 at 4:42 PM, Simon Thum wrote: > >> > >>> Hi Yujie, > >>> > >>> thanks for your great work! I just have had my first important > reveal.js > >>> presentation, and wished I had an org-mode exporter while I was > hand-coding > >>> the presentation. > >>> > >>> Next time It'll be easier no doubt. > >>> > >>> Cheers, > >>> > >>> Simon > >>> > >>> > >>> On 05/03/2013 02:48 PM, Yujie Wen wrote: > >>> > >>>> Hi, > >>>> > >>>> I'd like to introduce a new Org-Mode exporter, Org-reveal, that > >>>> exports Org-mode contents to Reveaj.js presentations. > >>>> > >>>> Reveal.js is a web-based presentation framework, with beautiful 3= -D > >>>> effects and 2-D slides arrangements. The original sample illustratio= n > >>>> can be found at http://lab.hakim.se/reveal-js/**#/< > http://lab.hakim.se/reveal-js/#/> > >>>> . > >>>> > >>>> With Org-reveal, you can easily exports your Org documents to > >>>> Reveal.js presentations. A sample presentation created by Org-reveal > can > >>>> be found at http://naga-eda.org/home/**yujie/org-reveal/< > http://naga-eda.org/home/yujie/org-reveal/> > >>>> . > >>>> > >>>> Org-reveal is hosted on https://github.com/yjwen/org-**reveal< > https://github.com/yjwen/org-reveal>. > >>>> Should > >>>> you have any suggestion or bug-report, please contact me yjwen.ty AT > >>>> gmail DOT com. > >>>> > >>>> Thanks and regards, > >>>> Yujie > >>>> > >>>> > >>> > >>> > >> > >> > >> -- > >> Gary > >> > > > -- > Julian Mariano Burgos, PhD > Hafranns=F3knastofnunin/Marine Research Institute > Sk=FAlagata 4, 121 Reykjav=EDk, Iceland > S=EDmi/Telephone : +354-5752037 > Br=E9fs=EDmi/Telefax: +354-5752001 > Netfang/Email: julian@hafro.is > --047d7bdca61858867804dcc1d438 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi, Julian,

= =A0 It seems the URL is wrong. Please see my comments below.

= =A0 Let me know if there is still problem.

Regards,
Y= ujie


2013/5/15 Julian M. Burgos <julian@hafro.is>
Hi Yujie,

Thanks for the exporter! =A0I am still a bit confused though (seems my
natural state). =A0Let say I downloaded reveal.js and placed it on my home<= br> directory (I am using Linux), so that the path to reveal.js is the
following:

/home/julian/.reveal/js/reveal.js

so then I should add to my .emacs file

(setq org-reveal-root "file:////home/julian/.reveal/js/reveal.js"= )=A0
It should be three slashes ('/'), not four. P= lease try:
(setq org-reveal-root "file:///home/julian/.r= eveal/js/reveal.js")

and with this I should be able to do C-c C-e R R and export to reveal,
regardless of the location of the org file, right? =A0But it is not
working, so obviously I am doing something wrong. =A0I get a "regular&= quot;
HTML file instead. =A0Any ideas?

Many thanks,

Julian

Yujie Wen writes:

> Hi, Gary,
>
> =A0 You are right. For absolute path to reveal.js, the org-reveal-root= should
> be set in URL form, "file:///path_to_reveal.js".
>
> =A0 I will update the document to make it clear. Thanks for your sugge= stion.
>
> Regards,
> Yujie
>
>
> 2013/5/15 Gary Oberbrunner <garyo@oberbrunner.com>
>
>> Just want to say I just set this up, and it's great! =A0Easy t= o work with,
>> and my first org-mode presentation was live in under 10 min. =A0On= e minor
>> nit: on my Windows machine, I had to set org-reveal-root to a file= :/// URL,
>> not a filesystem path. =A0Otherwise the presentation wouldn't = load.
>>
>>
>> On Thu, May 9, 2013 at 4:42 PM, Simon Thum <simon.thum@gmx.de> wrote:
>>
>>> Hi Yujie,
>>>
>>> thanks for your great work! I just have had my first important= reveal.js
>>> presentation, and wished I had an org-mode exporter while I wa= s hand-coding
>>> the presentation.
>>>
>>> Next time It'll be easier no doubt.
>>>
>>> Cheers,
>>>
>>> Simon
>>>
>>>
>>> On 05/03/2013 02:48 PM, Yujie Wen wrote:
>>>
>>>> Hi,
>>>>
>>>> =A0 =A0I'd like to introduce a new Org-Mode exporter, = Org-reveal, that
>>>> exports Org-mode contents to Reveaj.js presentations.
>>>>
>>>> =A0 =A0Reveal.js is a web-based presentation framework, wi= th beautiful 3-D
>>>> effects and 2-D slides arrangements. The original sample i= llustration
>>>> can be found at http://lab.hakim.se/reveal-js/**#/&l= t;http://lab= .hakim.se/reveal-js/#/>
>>>> .
>>>>
>>>> =A0 =A0With Org-reveal, you can easily exports your Org do= cuments to
>>>> Reveal.js presentations. A sample presentation created by = Org-reveal can
>>>> be found at http://naga-eda.org/home/**yujie/org-rev= eal/<http://naga-eda.org/home/yujie/org-reveal/>
>>>> .
>>>>
>>>> =A0 =A0Org-reveal is hosted on https://github.com/yjwen/org-**rev= eal<https://github.com/yjwen/org-reveal>.
>>>> Should
>>>> you have any suggestion or bug-report, please contact me y= jwen.ty AT
>>>> gmail DOT com.
>>>>
>>>> Thanks and regards,
>>>> Yujie
>>>>
>>>>
>>>
>>>
>>
>>
>> --
>> Gary
>>


--
Julian Mariano Burgos, PhD
Hafranns=F3knastofnunin/Marine Research Institute
Sk=FAlagata 4, 121 Reykjav=EDk, Iceland
S=EDmi/Telephone : +354-5752037
Br=E9fs=EDmi/Telefax: =A0+354-5752001
Netfang/Email: julian@hafro.is

--047d7bdca61858867804dcc1d438--