[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problem with org-export--delete-comments
From: |
Andreas Leha |
Subject: |
Re: [O] Problem with org-export--delete-comments |
Date: |
Thu, 17 Dec 2015 22:12:32 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) |
Hi Nicolas and Ethan,
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Ethan Ligon <address@hidden> writes:
>
>> I've long used the following construction for displayed equations in org
>> #
>> \[
>> u_i(c)=p_i\lambda
>> \]
>> #
>> which (i) gives nice space for reading equations in the org-source, and
>> (ii) nicely protects the display equation from (fill-paragraph) and
>> friends.
>>
>> However, exporting with this construction *stopped* working after commit
>> 53a4209; what happens now is that ox.el replaces the # with a blank line,
>> breaking my single paragraph into three.
>
> I see only one paragraph above. Could you elaborate a bit?
I think the problem is in the exported latex file rather than in the org
document. While the org document indeed has one paragraph the exported
latex file does not. I can reproduce this.
With this org document:
--8<---------------cut here---------------start------------->8---
* Test
I've long used the following construction for displayed equations in org
#
\[
u_i(c)=p_i\lambda
\]
#
which (i) gives nice space for reading equations in the org-source, and
(ii) nicely protects the display equation from (fill-paragraph) and
friends.
--8<---------------cut here---------------end--------------->8---
I get this latex doc (relevant part only):
--8<---------------cut here---------------start------------->8---
\section{Test}
\label{sec:orgheadline1}
I've long used the following construction for displayed equations in org
\[
u_i(c)=p_i\lambda
\]
which (i) gives nice space for reading equations in the org-source, and
(ii) nicely protects the display equation from (fill-paragraph) and
friends.
--8<---------------cut here---------------end--------------->8---
I agree that the paragraph should not be broken in the exported
document. There are also other use cases for comments inside
paragraphs.
[ ... ]
Regards,
Andreas