all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* MACRO and HTML escapes and migration to org-mode 8
@ 2013-04-02 10:50 Adrian
  2013-04-02 11:33 ` Christian Moe
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian @ 2013-04-02 10:50 UTC (permalink / raw
  To: emacs-orgmode

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

@&ltspan blah blah >text@&lt/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
---------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-04 10:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-02 10:50 MACRO and HTML escapes and migration to org-mode 8 Adrian
2013-04-02 11:33 ` Christian Moe
2013-04-04 10:40   ` Adrian Tritschler
2013-04-04 10:47     ` Christian Moe

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.