Hello,

Timothy Aldrich <wiskey5al...@gmail.com> writes:

> 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 ?

No, there isn't. Macros target small substitutions.

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

What do you mean? I don't know odt exporter very well, but contents of
the block should be included as-is.


Regards,

-- 
Nicolas Goaziou

Reply via email to