Re: [O] exporting drawers: odt versus LaTeX

2018-04-30 Thread Eric S Fraga
On Monday, 30 Apr 2018 at 13:46, Nicolas Goaziou wrote: > Eric S Fraga writes: > >> Yes, I understand. I am definitely not disagreeing about how org parses >> the elements, simply how it exports them. > > Then we agree on this point. Yes! > Export is different because, well, target languages a

Re: [O] exporting drawers: odt versus LaTeX

2018-04-30 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > Yes, I understand. I am definitely not disagreeing about how org parses > the elements, simply how it exports them. Then we agree on this point. Export is different because, well, target languages are also different... Since empty lines are preserved upon expor

Re: [O] exporting drawers: odt versus LaTeX

2018-04-24 Thread Eric S Fraga
On Tuesday, 24 Apr 2018 at 23:43, Nicolas Goaziou wrote: > Eric S Fraga writes: > >> We may have to agree to disagree here. > > I'm not sure what we have to agree to disagree on. :-) I think simply that the outcome on export is qualitatively different depending on target: for LaTeX, the drawer

Re: [O] exporting drawers: odt versus LaTeX

2018-04-24 Thread Nicolas Goaziou
Eric S Fraga writes: > We may have to agree to disagree here. I'm not sure what we have to agree to disagree on. I'm just describing how the Org syntax works. This is documented at . For the record, p1 :drawer: p2 :end: p3 is seen as

Re: [O] exporting drawers: odt versus LaTeX

2018-04-24 Thread Eric S Fraga
On Tuesday, 24 Apr 2018 at 09:36, Nicolas Goaziou wrote: > Hello, > > Eric S Fraga writes: > >> this is not quite true; in LaTeX, a blank line (\n\n) indicates a >> paragraph but org does not treat a drawer as starting a paragraph. > > Of course it does. Drawers contains paragraphs, not the opposi

Re: [O] exporting drawers: odt versus LaTeX

2018-04-24 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > this is not quite true; in LaTeX, a blank line (\n\n) indicates a > paragraph but org does not treat a drawer as starting a paragraph. Of course it does. Drawers contains paragraphs, not the opposite way. > E.g. > > #+begin_src org > ,#+options: d:test > ,* te

Re: [O] exporting drawers: odt versus LaTeX

2018-04-23 Thread Eric S Fraga
On Monday, 23 Apr 2018 at 23:26, Nicolas Goaziou wrote: > Hello, > > Eric S Fraga writes: > >> I've gone through the code but cannot determine where this is done and >> why the ODT export target is treated differently to the LaTeX one. > > Both are treated similarly, really. The difference comes f

Re: [O] exporting drawers: odt versus LaTeX

2018-04-23 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > I've gone through the code but cannot determine where this is done and > why the ODT export target is treated differently to the LaTeX one. Both are treated similarly, really. The difference comes from the fact that LaTeX has no markup for paragraph. Therefore,

[O] exporting drawers: odt versus LaTeX

2018-04-23 Thread Eric S Fraga
Hello all, when I export a drawer to LaTeX, the output from org-latex-format-drawer-function, which I can re-define, is inserted directly into the LaTeX document. In particular, it is not considered a different paragraph by default. When I export to odt, the content text passed to the org-odt-fo