Sorry, should have said, this is with pandoc 1.19.2.1.
Emma

On Tuesday, 3 October 2017 10:36:44 UTC+1, Emma Cliffe wrote:

Morning,

I am having trouble getting pandoc to convert underbrace either into Word or out of Word. I wondered if there is either something I am doing wrong, whether this is a known problem (I can't find a report) or if there is a work round for converting into Word.

If I try to convert:
\[
\underbrace{xxx\ldots xx}_n
\]
for instance then what I get in Word (linear format) is:
((xxx…xx)┬⏟)┬n
which does not render as a stretched underbrace.

I would expect to get:
⏟(xxx…xx)┬n
which is typed directly into Word as \underbrace(xxx\ldots xx)_n (then space to trigger). You get the same linear interpretation if you use the mouse to create the structure.

The above is the direction I am interested in. I am actually converting from MathML and see the same behaviour as in the cut down test of md or tex to docx I have explained above.

For completeness I tried to convert in the other direction. Starting from the above structure in Word I end up with:
\[\underset{n}{}\]
which has not only lost the xxx...xx but underbrace has become underset which is not the same thing.

Does anyone know anything more about this?

Many thanks,
Emma

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a72df1c2-3855-4d16-a972-9ce3ab5bfa6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.