From: Christian Moe <mail@christianmoe.com>
To: Adrian <ajft@ajft.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: MACRO and HTML escapes and migration to org-mode 8
Date: Tue, 02 Apr 2013 13:33:44 +0200 [thread overview]
Message-ID: <m27gklp3on.fsf@christianmoe.com> (raw)
In-Reply-To: <kgrbo9xtddz.fsf@smtp.gmail.com>
Hi, Adrian,
The fine manual is not yet up to date with the new exporter, so when you're
bitten, check http://orgmode.org/worg/org-8.0.html.
The "@" html-tag quoting has been replaced with a generalized "export
snippets" syntax (currently described at
http://orgmode.org/worg/org-8.0.html#sec-8-1).
This works:
#+MACRO: datetime @@html:<span class="datetime" title="$1">$2</span>@@
Yours,
Christian
Adrian writes:
> I've finally bitten the bullet and tried to get my org-mode export
> working with the new export mechanisms, so far so good.
>
> My current sticking point is with my use of #+MACRO and "@" escapes in
> them -- they used to work in the old version of org-mode, in the current
> one I get them quoted verbatim into the HTML output with text like
>
> @<span blah blah >text@</span>
>
> I must be missing the key part of TFM, since section 12.5.3 seems to say
> that "@" still escapes simple HTML tags. I've got a header file that
> includes the line:
>
> #+MACRO: datetime @<span class="datetime" title="$1">$2@</span>
>
> This is then included in the org-mode files with
>
> #+SETUPFILE: ~/path/macros.inc
>
> Then in the text I have entries such as
> {{{datetime(2013-04-01,yesterday)}}} -- and it all used to work.
next prev parent reply other threads:[~2013-04-02 11:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-02 10:50 MACRO and HTML escapes and migration to org-mode 8 Adrian
2013-04-02 11:33 ` Christian Moe [this message]
2013-04-04 10:40 ` Adrian Tritschler
2013-04-04 10: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=m27gklp3on.fsf@christianmoe.com \
--to=mail@christianmoe.com \
--cc=ajft@ajft.org \
--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).