all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Carriage return in macro
@ 2013-08-23 20:04 Timothy Aldrich
  2013-08-26 10:16 ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Timothy Aldrich @ 2013-08-23 20:04 UTC (permalink / raw)
  To: emacs-orgmode

Hello all.

I have a simple macro defined to simplify the inclusion of a style for
odt-export. It looks like this:

#+MACRO: HEADING #+ODT:<text:p style-name="MyHeading">$1</text:p>

and then to add this style to any text within the document, I simply call it
like this:
 
{{{HEADING( A really great headline )}}}

This is all fine... Until I want to apply the same process to a multi-line
section.  I end up with several macro calls , one per line.

{{{BODY(line one of body)}}} {{{BODY(line two of body)}}} {{{BODY(line three
of body)}}} {{{BODY(line four of body)}}}

Is there any way to have carriage returns within the text of the macro ?

I have already tried using the #+BEGIN_ODT...#+END_ODT construct, but that
*really* messes with the format of the text within it.


-Tim

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

end of thread, other threads:[~2013-08-31 12:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-23 20:04 Carriage return in macro Timothy Aldrich
2013-08-26 10:16 ` Nicolas Goaziou
2013-08-27 17:40   ` Tim
2013-08-27 19:06     ` Nicolas Goaziou
2013-08-30 11:05     ` Jambunathan K
2013-08-31  6:41       ` Jambunathan K
2013-08-31 12:38         ` Nicolas Goaziou

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.