From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: latex wrap Date: Wed, 1 Jul 2009 11:46:33 +0200 Message-ID: <8ACB8FFD-8054-4023-862C-EE867C4AF8CF@gmail.com> References: <30a87b20906261413g66d3b5axe0086670e9d235f@mail.gmail.com> <4A4AAAED.5070701@arcor.de> <4A4B1C4B.2000605@arcor.de> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLwOq-0000bG-AP for emacs-orgmode@gnu.org; Wed, 01 Jul 2009 05:46:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLwOl-0000Xw-1F for emacs-orgmode@gnu.org; Wed, 01 Jul 2009 05:46:43 -0400 Received: from [199.232.76.173] (port=39207 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLwOk-0000Xp-Nb for emacs-orgmode@gnu.org; Wed, 01 Jul 2009 05:46:38 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:44190) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLwOk-0001p6-75 for emacs-orgmode@gnu.org; Wed, 01 Jul 2009 05:46:38 -0400 Received: by ewy4 with SMTP id 4so965073ewy.42 for ; Wed, 01 Jul 2009 02:46:36 -0700 (PDT) In-Reply-To: <4A4B1C4B.2000605@arcor.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Patrick Bahr Cc: hello world , emacs-orgmode@gnu.org As I said, the only fix is then rewriting the paragraph and wrapping code. I have put it on my list, but this is not going to happen soon. - Carsten On Jul 1, 2009, at 10:20 AM, Patrick Bahr wrote: > Hello Carsten, > > On 01.07.2009 08:56 Carsten Dominik wrote: > >> Another work-around would be >> >> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam >> nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam >> erat, >> sed diam voluptua. At vero eos et accusam et justo duo dolores et ea >> rebum. >> # >> \[ >> a^2 + b^ = c^2 >> \] >> # >> Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum >> dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing >> elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore >> magna aliquyam erat, sed diam voluptua. At vero eos et accusam et >> justo duo dolores et ea rebum. > > > Nice idea. This kind of works. Unfortunately, if the paragraph is > indented the > hashes still have to be at column zero: > > ------------------------------------------------------------------------- > Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed > diam nonumy eirmod tempor invidunt ut labore et dolore magna > aliquyam erat, sed diam voluptua. At vero eos et accusam et > justo duo dolores et ea rebum. > # > \[ > a^2 + b^ = c^2 > \] > # > Stet clita kasd gubergren, no sea takimata sanctus est Lorem > ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur > sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut > labore et dolore magna aliquyam erat, sed diam voluptua. At vero > eos et accusam et justo duo dolores et ea rebum. > ------------------------------------------------------------------------- > > This is still OK and for the upper part of the paragraph M-q works > well. > However, hitting M-q in the lower part yields: > > ------------------------------------------------------------------------- > Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed > diam nonumy eirmod tempor invidunt ut labore et dolore magna > aliquyam erat, sed diam voluptua. At vero eos et accusam et > justo duo dolores et ea rebum. > # > \[ > a^2 + b^ = c^2 > \] > # Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum > dolor sit amet. Lorem ipsum dolor sit amet, consetetur > sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut > labore et dolore magna aliquyam erat, sed diam voluptua. At vero > eos et accusam et justo duo dolores et ea rebum. > ------------------------------------------------------------------------- > > This is a problem itself. Text sneaking into a comment line upon > hitting M-q is > not an expected behaviour -- at least not for me. > > So the only acceptable workaround I know is to insert blank lines > before using > M-q and to remove them afterwards. > > Cheers, > Patrick >