emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Should comments break paragraphs?


From: Eric S Fraga
Subject: Re: [O] Should comments break paragraphs?
Date: Tue, 16 Jul 2013 18:08:36 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Andreas Leha <address@hidden> writes:
>
>> In that case, I guess some confusion might come from LaTeX, for example,
>> where also the newline is ignored by the comment, s.t. in LaTeX 
>> ,----
>> | Some text
>> | % comment
>> | Some other text
>> `----
>> is interpreted as
>> ,----
>> | Some text
>> | Some other text
>> `----
>
> Comparing Org and LaTeX is like comparing apples and oranges: it can
> only lead to false assumptions and cloud thinking.

True but the original three lines (text, comment, text) gets exported
differently to LaTeX and to HTML.  The former results in one paragraph;
the latter in two.  So even though you may treat the two text lines as
separate elements in the parser, the LaTeX output is as if they were one
element as there is no blank line between them (LaTeX's paragraph
separator).

But I'm happy with how things are!  I export to LaTeX mostly and
comments basically act as inline comments when they sit between two
normal paragraphs. 

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.0.5-337-g9f3bed




reply via email to

[Prev in Thread] Current Thread [Next in Thread]