Re: [O] [ox-publish] handling of white space in arguments of macros, named arguments?

2013-03-28 Thread Achim Gratz
Am 27.03.2013 17:26, schrieb Nicolas Goaziou: I think all newline characters should be replaced with a whitespace character in macro arguments. Indeed, macro templates are only one line long but unwanted \n could be inserted by paragraph filling in arguments. I'm not sure about that, it would

Re: [O] [ox-publish] handling of white space in arguments of macros, named arguments?

2013-03-28 Thread Stefan Vollmar
Dear Nicolas, On 27.03.2013, at 17:26, Nicolas Goaziou wrote: ... but now the white space around the arguments is no longer stripped and/or other effects cause and in the macro to be exported as lt; etc. This version seems to work fine: {{{mhead-hcard(Dr. Stefan

Re: [O] [ox-publish] handling of white space in arguments of macros, named arguments?

2013-03-28 Thread Nicolas Goaziou
Hello, Achim Gratz strom...@nexgo.de writes: Am 27.03.2013 17:26, schrieb Nicolas Goaziou: I think all newline characters should be replaced with a whitespace character in macro arguments. Indeed, macro templates are only one line long but unwanted \n could be inserted by paragraph filling

Re: [O] [ox-publish] handling of white space in arguments of macros, named arguments?

2013-03-28 Thread Achim Gratz
Am 28.03.2013 17:22, schrieb Nicolas Goaziou: My point is that macro templates have to fit in a single line, no newline character allowed. As a consequence, macro arguments are implicitly expected to fit in a single line. So a newline character in an argument is probably wrong. My point is

Re: [O] [ox-publish] handling of white space in arguments of macros, named arguments?

2013-03-27 Thread Nicolas Goaziou
Hello, Stefan Vollmar voll...@nf.mpg.de writes: However, the second change is caused by our use of MACROs: we find them very helpful for generating HTML content using raw HTML templates with placeholders. This used to work (for generating http://microformats.org/wiki/hcard information) a

[O] [ox-publish] handling of white space in arguments of macros, named arguments?

2013-03-26 Thread Stefan Vollmar
Hallo, I have just upgraded to release_8.0-pre-193-gaa7b1 and found that I needed to change a few things to get the desired results when exporting some of our org files to HTML. Our last changes were also targeted at the new exporter and everything worked fine about a month ago. I found that