demydd / pandoc

Automatically exported from code.google.com/p/pandoc
0 stars 0 forks source link

Make the LaTeX reader recognise amsmath's eqnarray-like modes #103

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, the LaTeX reader recognises the following as math modes:
displaymath, displaymath*, eqnarray, eqnarray* (all part of old LaTeX,
except displaymath* which doesn't exist), equation, equation* (part of
AMS-TeX).

It would be good to (remove displaymath* and) recognise all the amsmath
environments that are alternatives to eqnarray, namely

equation, equation*, gather, gather*, gathered, multline, multline*: No \&s
align, align*, alignat, alignat*, aligned, alignedat, split: Take \&s

I've attached a patch that does this, and Pandoc with this change has been
tested to compile and work correctly on a file containing a few align and
align* environments.

Original issue reported on code.google.com by shreevat...@gmail.com on 8 Nov 2008 at 12:58

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry for the noise, but this is a simple patch! Could this be reviewed and 
fixed?

Original comment by shreevat...@gmail.com on 29 May 2009 at 4:23

GoogleCodeExporter commented 8 years ago
Fixed in r1577. Thanks for the patch, and sorry for the long (and completely
unnecessary) delay!

Original comment by fiddloso...@gmail.com on 3 Jun 2009 at 8:27

GoogleCodeExporter commented 8 years ago

Original comment by fiddloso...@gmail.com on 27 Jun 2009 at 3:54