emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ethan Ligon <ligon@berkeley.edu>
To: emacs-orgmode@gnu.org
Subject: Re: [RFC] Change \[..\] and $$...$$ into elements
Date: Fri, 22 Jan 2016 19:32:45 +0000 (UTC)	[thread overview]
Message-ID: <loom.20160122T202637-974@post.gmane.org> (raw)
In-Reply-To: 874me6exfj.fsf@gmx.us

Rasmus <rasmus <at> gmx.us> writes:

> 
> Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:
> 
> > Hello,
> >
> > Rasmus <rasmus <at> gmx.us> writes:
> >
> >> What's wrong with equation (potentially coupled with mathtools for
> >> handling numbering automatically)?  Is it worth breaking old documents
> >> (irrespective of org-lint) for this inconvenience?
> >
> > Actually, the idea behind this patch is to mimic the expected LaTeX
> > behaviour,i.e., treat \[..\] as an equivalent
> > to \begin{equation*}...\end{equation*}.
> >
> > This was requested at least once before, so I guess it may make sense 
to
> > follow the path of least surprise.
> 
> And I'm saying that people should just write:
> 
>      #+latex_header: \usepackage{mathtools} \mathtoolsset{showonlyrefs}
>      aaa
>      \begin{equation}
>      bbb
>      \end{equation}
>      ccc
> 
> Org isn't LaTeX and there’s no difference in the output from \[⋯\]
> and \begin{equation*}⋯\end{equation*} or the above.
> 
> Nonetheless, I don't feel strongly about the (non)issue so if this
> behavior is better, somehow, go for it.
> 
> Rasmus
> 

At the risk of sounding flip, I've gotta say that the question of whether
#+begin_example
aaa
\[
bbb
\]
ccc
#+end_example

is "somehow better" than

#+begin_example
#+latex_header: \usepackage{mathtools} \mathtoolsset{showonlyrefs}
aaa
\begin{equation}
bbb
\end{equation}
ccc
#+end_example

sort of answers itself.  It's not so much that we must make Org mimic 
LaTeX; it's that people actually use Org to compose documents with 
equations, and making this easier and simpler is a good thing.

-Ethan

      reply	other threads:[~2016-01-22 19:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-26 13:56 [RFC] Change \[..\] and $$...$$ into elements Nicolas Goaziou
2015-12-29 20:25 ` Ethan Ligon
2015-12-30 10:45   ` Rasmus
2016-01-21  9:30     ` Nicolas Goaziou
2016-01-21 15:58       ` Rasmus
2016-01-22 19:32         ` Ethan Ligon [this message]

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=loom.20160122T202637-974@post.gmane.org \
    --to=ligon@berkeley.edu \
    --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).