Hello, Rasmus <ras...@gmx.us> writes:
> Marko Schütz Schmuck <markoschu...@web.de> writes: > >> the new exporter does not seem to handle \begin/\end inside \( ... \). >> >> If the org file contains >> >> \(f = >> \begin{cases} >> t & 1\\ >> f & 2\\ >> \end{cases} >> \) > > This will also work: > > \(f = \begin{cases} > t & 1\\ > f & 2\\ > \end{cases}\) > > > Technically, I think what happens is that latex-fragments are "objects" in > the lingo of org-element whereas environments are elements. If you run > (org-element-latex-fragment-parser) at "\(f" it is indeed interpret > correctly as a latex-fragment. Yet, the nested environment is recognized > as a latex-environment and it seems the former can't "hold" the latter. > Why the above work is because a latex-environment starts on its own line > (cf. org-element--latex-begin-environment). That's correct. Elements bind stronger than objects. > Nicolas will be able to tell if this is a feature or a bug. This is per Org syntax. Regards, -- Nicolas Goaziou