From: Adrian <ajft@ajft.org>
To: emacs-orgmode@gnu.org
Subject: MACRO and HTML escapes and migration to org-mode 8
Date: Tue, 02 Apr 2013 21:50:32 +1100 [thread overview]
Message-ID: <kgrbo9xtddz.fsf@smtp.gmail.com> (raw)
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.
--
Adrian Tritschler mailto:ajft@ajft.org
Latitude 38°S, Longitude 145°E, Altitude 50m, Shoe size 44
---------------------------------------------------------------
next reply other threads:[~2013-04-02 10:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-02 10:50 Adrian [this message]
2013-04-02 11:33 ` MACRO and HTML escapes and migration to org-mode 8 Christian Moe
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=kgrbo9xtddz.fsf@smtp.gmail.com \
--to=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).