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 via email to