emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: The "new" html exporter
Date: Mon, 27 Jan 2014 13:26:58 -0500	[thread overview]
Message-ID: <87bnyx1dsd.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: CABFHgZ9AsCr5ANCuC0HRsLcimeJ1+YncR2Y6c+hw07qenOcW9g@mail.gmail.com

Benny Simonsen <benny@slbs.dk> 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: <content> 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 @<b>Bold macro@</b>
>
> But this is encoded to @&lt;b&gt;Bold macro@&lt;/b&gt;
>
> 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:<b>@@$1@@html:</b>@@

* 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

  reply	other threads:[~2014-01-27 18:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-27 18:06 The "new" html exporter Benny Simonsen
2014-01-27 18:26 ` Nick Dokos [this message]
2014-01-27 19:30   ` Benny Simonsen
2014-01-28  7:47   ` Christian Moe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnyx1dsd.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).