> On Oct 20, 2023, at 12:25 PM, Guillaume Dehaene wrote: > > Sorry for my lack of clarity. I'm asking too many questions at the same time and it must be hard to follow. I should have rewritten that last email before sending it. > > 1. My question about aligned. > I see in the code that the typst reader parses typst multilines into this DisplayMath begin{aligned} structure. > Is that how you / the pandoc team has decided to handle multiline math in the future? What would be the alternative? (Short of changing the AST, which is probably out of the question.) > 2. You propose to wrap align. > This is not working on my side, but I might be doing something wrong? > Here are some minimal examples: > ``` > $$ > \begin{align} > x & = 5\\ > y &= 3 > \end{align} > $$ > ``` > parses into latex as (with pandoc test.md --to latex; on pandoc 3.1.8) > ``` > \[ > \begin{align} > x & = 5\\ > y &= 3 > \end{align} > \] > ``` > which fails to compile to pdf (with pandoc test.md --to pdf -o test.pdf You're right. My mistake on this. -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/73813E01-A490-4C3E-8B23-8952A80487DD%40gmail.com.