[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] exporting drawers: odt versus LaTeX
From: |
Nicolas Goaziou |
Subject: |
Re: [O] exporting drawers: odt versus LaTeX |
Date: |
Tue, 24 Apr 2018 09:36:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
Eric S Fraga <address@hidden> 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
> ,* testing
> This is the first paragraph.
> :test:
> This is a test.
> :END:
> #+end_src
To convince yourself, you could put point at the beginning of the first
paragraph and evaluate
(goto-char (org-element-property :end (org-element-at-point)))
> generates
>
> \section{testing}
> \label{sec:org499dcbc}
> This is the first paragraph.
> This is a test.
> \end{document}
>
> and this is what I want as I can put a blank line before the start of
> the drawer should I want a new paragraph.
Again, you are confused because LaTeX treats blank lines specially. The
"latex" back-end preserves blank lines from the original file. So in
this case, the absence of blank lines makes it think there is a single
paragraph. However, it wasn't the case in the source document.
Regards,
--
Nicolas Goaziou 0x80A93738
- [O] exporting drawers: odt versus LaTeX, Eric S Fraga, 2018/04/23
- Re: [O] exporting drawers: odt versus LaTeX, Nicolas Goaziou, 2018/04/23
- Re: [O] exporting drawers: odt versus LaTeX, Eric S Fraga, 2018/04/24
- Re: [O] exporting drawers: odt versus LaTeX,
Nicolas Goaziou <=
- Re: [O] exporting drawers: odt versus LaTeX, Eric S Fraga, 2018/04/24
- Re: [O] exporting drawers: odt versus LaTeX, Nicolas Goaziou, 2018/04/24
- Re: [O] exporting drawers: odt versus LaTeX, Eric S Fraga, 2018/04/25
- Re: [O] exporting drawers: odt versus LaTeX, Nicolas Goaziou, 2018/04/30
- Re: [O] exporting drawers: odt versus LaTeX, Eric S Fraga, 2018/04/30