Re: [O] The "new" html exporter

2014-01-27 Thread Christian Moe


> Benny Simonsen  writes:
>> #+HTML-HEAD:, but does change anything.

You have to use an underscore, not a hyphen. Maybe that explains why
nothing happened?

Yours,
Christian



Re: [O] The "new" html exporter

2014-01-27 Thread Benny Simonsen
Thank you! That was the hints I need

#+HTML_HEAD_EXTRA and @@html:@@ was what I was looking for.

I will dig more into the manual :)

/Benny



Re: [O] The "new" html exporter

2014-01-27 Thread Nick Dokos
Benny Simonsen  writes:

> Hi
>
> I have upgraded to org-mode, but from release_8.0 the old
> publishing-function org-publish-org-to-html have been replaced by
> org-html-publish-to-html.
>
> This gives me a few issues:
>
> My #+STYLE:  are ignored. I have tried to replace it with
> #+HTML-HEAD:, but does change anything.
>

Post an ECM (a minimal example exhibiting the fault).

> I use the :html-head feature in org-publish-project-alist, but would
> also like to append some HTML HEAD in the org files - is this not
> possible any more?
>

Maybe you need

#+HTML_HEAD_EXTRA: 

?? See sec. 12.6.10, CSS support, in the manual.

> Another issue:
> I have some macros like
> #+MACRO: TstMacro @Bold macro@
>
> But this is encoded to @Bold macro@
>
> How do i escape the < and > to re-enable raw HTML in macros?
>

See sec.12.6.4, Quoting HTML tags, in the manual. This seems to
work:

--8<---cut here---start->8---
#+MACRO: tst @@html:@@$1@@html:@@

* Use the macro

{{{tst(this)}}}
--8<---cut here---end--->8---

> Are there other documentation for the "new" exporter than
> http://orgmode.org/worg/org-8.0.html?
>

The 8.x manual describes the new exporter.

> I hope that one you can point me into the right direction.
>

Nick





[O] The "new" html exporter

2014-01-27 Thread Benny Simonsen
Hi

I have upgraded to org-mode, but from release_8.0 the old
publishing-function org-publish-org-to-html have been replaced by
org-html-publish-to-html.

This gives me a few issues:

My #+STYLE:  are ignored. I have tried to replace it with
#+HTML-HEAD:, but does change anything.

I use the :html-head feature in org-publish-project-alist, but would
also like to append some HTML HEAD in the org files - is this not
possible any more?

Another issue:
I have some macros like
#+MACRO: TstMacro @Bold macro@

But this is encoded to @Bold macro@

How do i escape the < and > to re-enable raw HTML in macros?

Are there other documentation for the "new" exporter than
http://orgmode.org/worg/org-8.0.html?

I hope that one you can point me into the right direction.

Benny