emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "Albert Z. Wang" <azw@fastmail.fm>
Cc: emacs-orgmode@gnu.org
Subject: Re: fill paragraph: math and latex environments
Date: Mon, 17 Sep 2012 21:16:18 +0200	[thread overview]
Message-ID: <878vc8h33x.fsf@gmail.com> (raw)
In-Reply-To: <87mx0osk29.fsf@gmail.com> (Albert Z. Wang's message of "Mon, 17 Sep 2012 12:14:38 -0400")

Hello,

azw@fastmail.fm (Albert Z. Wang) writes:

> I've just recently been having an issue I was wondering if anybody
> could help with, namely, that fill-paragraph does not seem to work as
> expected.
>
> For display math equations delimited as
> \[
> a^2 + b^2 = c^2
> \]
> the equation gets folded inline -- seems to work fine with explicit
> environments though ( \begin{equation*}...\end{equation*} ).  Has
> anybody else experienced this?  Tweaking paragraph-start and
> paragraph-separate do not seem to be doing the trick...

Yes, \[...\] constructs are considered as inline objects (they belong to
a paragraph, so they will be filled along with the paragraph). On the
other hand, \begin{equation*} environments are full-fledged elements:
they do not belong to a paragraph and are not filled.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2012-09-17 19:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 16:14 fill paragraph: math and latex environments Albert Z. Wang
2012-09-17 19:16 ` Nicolas Goaziou [this message]
2012-09-18  0:37   ` Albert Z. Wang
2012-09-19 13:03     ` Nicolas Goaziou
2013-07-01 21:45       ` Paul Stansell
2013-07-02 17:16         ` Nicolas Goaziou
2013-07-03 14:38           ` Paul Stansell
2013-07-03 19:50             ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878vc8h33x.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=azw@fastmail.fm \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).