emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Varius Various <varius.study@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: BUG: preview latex with split environment
Date: Sun, 10 Apr 2016 21:51:10 +0200	[thread overview]
Message-ID: <86inzpdyz5.fsf@yvor.org> (raw)


Andreas Leha <address@hidden> writes:
>Nicolas Goaziou <address@hidden> writes:
>> Hello,
>>
>> Andreas Leha <address@hidden> writes:
>>
>>> I open this file:
>>>
>>> #+TITLE: Test amsmath's split
>>>
>>> * Some equation
>>> with some split expression, e.g.
>>> \begin{equation}
>>>   \begin{split}
>>>     w \cdot x + b &= 1, \text{ and}\\
>>>     w \cdot x + b &= -1
>>>   \end{split}
>>> \end{equation}
>>>
>>> To reproduce try to org-toggle-latex-fragment (C-c C-x C-l) on that
>>> latex expression.
>>
>> This should be fixed in master. Thank you for reporting it.
>>
>
>I can confirm this is fixed in my use case.
>
>Thank you very much!  That'll save me several LaTeX compilation cycles.

I have no problem with Andreas' example, but it fails in my case, where
"&" symbols are at the beginning of a line:

\begin{equation}
 \begin{split}
 (a - b) + c &= (a + (-b)) + c\\
  &= a + (-b + c)\\
  &= a + (c - b)\\
  &= (a + c) - b\text{.}
 \end{split}
\end{equation}

             reply	other threads:[~2016-04-10 19:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-10 19:51 Varius Various [this message]
2016-04-10 23:05 ` BUG: preview latex with split environment Varius Various
  -- strict thread matches above, loose matches on Subject: below --
2014-10-28 15:02 Andreas Leha
2014-10-28 15:23 ` Rasmus
2014-10-28 17:42   ` Andreas Leha
2014-10-28 22:58     ` Nicolas Goaziou
2014-10-29 10:12       ` Andreas Leha

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=86inzpdyz5.fsf@yvor.org \
    --to=varius.study@gmail.com \
    --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).