Re: [O] Carriage return in macro

2013-08-31 Thread Jambunathan K
Tim wiskey5al...@gmail.com writes: At Mon, 26 Aug 2013 12:16:53 +0200, Nicolas Goaziou wrote: 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,

Re: [O] Carriage return in macro

2013-08-31 Thread Jambunathan K
Nicolas In the context of the example below (i.e., the way #+ATTR_ODT are used /within/ the list) is it fair to say this: A #+ATTR_ODT: can be attached only to a plain-list - Visually they come before the first item of the top-level list or a nested list. Using an #+ATTR_ODT line

Re: [O] Carriage return in macro

2013-08-31 Thread Nicolas Goaziou
Hello, Jambunathan K kjambunat...@gmail.com writes: In the context of the example below (i.e., the way #+ATTR_ODT are used /within/ the list) is it fair to say this: A #+ATTR_ODT: can be attached only to a plain-list - Visually they come before the first item of the top-level list

Re: [O] Carriage return in macro

2013-08-27 Thread Tim
At Mon, 26 Aug 2013 12:16:53 +0200, Nicolas Goaziou wrote: 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

Re: [O] Carriage return in macro

2013-08-27 Thread Nicolas Goaziou
Hello, Tim wiskey5al...@gmail.com writes: If I put several lines into an #+BEGIN_ODT..#+END_ODT block, all whitespace formating is lost. A list like - List one - List two - List three becomes - List one - List two - List three I don't quite understand. You are expected to put valid

Re: [O] Carriage return in macro

2013-08-26 Thread Nicolas Goaziou
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

[O] Carriage return in macro

2013-08-23 Thread Timothy Aldrich
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