Re: [O] ox-reveal cannot export

2014-08-08 Thread Yujie Wen
Hi,

  I've switched org-reveal's code to follow ox-html's changes. Since
ox-html is changing, I've committed my codes to devel branch.

  Please pull the devel branch and try the fixes.

  Please let me if there are any issue. Thanks.

Regards,
Yujie


2014-08-07 20:22 GMT+08:00 Nicolas Goaziou :

> Hello,
>
> Nick Dokos  writes:
>
> > Tyler van Hensbergen  writes:
> >
> >> Robert Eckl  gmx.de> writes:
> >>
> >>> While exporting to reveal i get
> >>>
> >>>   Symbol's function definition is void:
> org-html-format-headline--wrap
> >>>
> >>> What i'm missing?
> >>
> >>
> >> That function's name was changed. I made a temporary fix on
> >> a forked branch on github and submitted a pull request
> >> today (warning I'm new to elisp so I may have missed
> >> something).
> >>
> >> https://github.com/yjwen/org-reveal/pull/69
> >>
> >> Not sure if it fixes everything but it is working for me know
> >> and I am no longer receiving that error.
> >>
> >
> > I haven't read things carefully, so take this with a large grain
> > of salt, but I think it should read:
> >
> >  ...
> >(full-text (org-html-headline headline contents info)))
> >  ...
> >
> > instead of passing a nil for contents.
>
> It should not use `org-html-headline' anyway, as there is no guarantee
> that this is the right function for headlines.
>
> To "export like html back-end", there are `org-export-data-with-backend'
> and `org-export-with-backend' functions, which doesn't require to know
> the original function.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>
>


Re: [O] ox-reveal cannot export

2014-08-07 Thread Nicolas Goaziou
Hello,

Nick Dokos  writes:

> Tyler van Hensbergen  writes:
>
>> Robert Eckl  gmx.de> writes:
>>
>>> While exporting to reveal i get 
>>> 
>>>   Symbol's function definition is void: org-html-format-headline--wrap
>>> 
>>> What i'm missing?
>>
>>
>> That function's name was changed. I made a temporary fix on
>> a forked branch on github and submitted a pull request
>> today (warning I'm new to elisp so I may have missed
>> something).
>>
>> https://github.com/yjwen/org-reveal/pull/69
>>
>> Not sure if it fixes everything but it is working for me know
>> and I am no longer receiving that error.
>>
>
> I haven't read things carefully, so take this with a large grain
> of salt, but I think it should read:
>
>  ...
>(full-text (org-html-headline headline contents info)))
>  ...
>
> instead of passing a nil for contents.

It should not use `org-html-headline' anyway, as there is no guarantee
that this is the right function for headlines.

To "export like html back-end", there are `org-export-data-with-backend'
and `org-export-with-backend' functions, which doesn't require to know
the original function.


Regards,

-- 
Nicolas Goaziou



Re: [O] ox-reveal cannot export

2014-08-07 Thread Nick Dokos
Tyler van Hensbergen  writes:

> Robert Eckl  gmx.de> writes:
>
>> While exporting to reveal i get 
>> 
>>   Symbol's function definition is void: org-html-format-headline--wrap
>> 
>> What i'm missing?
>
>
> That function's name was changed. I made a temporary fix on
> a forked branch on github and submitted a pull request
> today (warning I'm new to elisp so I may have missed
> something).
>
> https://github.com/yjwen/org-reveal/pull/69
>
> Not sure if it fixes everything but it is working for me know
> and I am no longer receiving that error.
>

I haven't read things carefully, so take this with a large grain
of salt, but I think it should read:

 ...
 (full-text (org-html-headline headline contents info)))
 ...

instead of passing a nil for contents.

-- 
Nick




Re: [O] ox-reveal cannot export

2014-08-07 Thread Tyler van Hensbergen
Robert Eckl  gmx.de> writes:

> While exporting to reveal i get 
> 
>   Symbol's function definition is void: org-html-format-headline--wrap
> 
> What i'm missing?


That function's name was changed. I made a temporary fix on
a forked branch on github and submitted a pull request
today (warning I'm new to elisp so I may have missed
something).

https://github.com/yjwen/org-reveal/pull/69

Not sure if it fixes everything but it is working for me know
and I am no longer receiving that error.





Re: [O] ox-reveal cannot export

2014-08-05 Thread Nick Dokos
Robert Eckl  writes:

> Hi,
>
> after a long time i recently played with ox-reveal (with
> org-mode release_8.3beta-167-g003edd) 
>
> While exporting to reveal i get 
>
>   Symbol's function definition is void: org-html-format-headline--wrap
>
> What i'm missing?
>

Well, you are missing that function :-)

Nicolas removed it in commit c9ca0b6df86de13a5302b5a3c955fb2fb1023d36 a
couple of days ago.  It's still in the maint branch, so you might want
to switch to that in the meantime, if you want to continue experimenting
with the reveal exporter.

Nick






[O] ox-reveal cannot export

2014-08-05 Thread Robert Eckl
Hi,

after a long time i recently played with ox-reveal (with
org-mode release_8.3beta-167-g003edd) 

While exporting to reveal i get 

  Symbol's function definition is void: org-html-format-headline--wrap

What i'm missing?

Regards,
Robert