diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-08-11 07:04:36 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-08-11 07:04:36 +0000 |
commit | c8a56a2864191831e234224eb5638ee53672b314 (patch) | |
tree | bcaa974794c9e815e92bd3d91450cfa05977997c /data | |
parent | b7a9d3206ee8c18228f5b41963d1454e932edbf5 (diff) | |
download | pandoc-c8a56a2864191831e234224eb5638ee53672b314.tar.gz |
Parse raw ConTeXt environments as TeX in markdown reader.
Resolves Issue #73.
Also made some structural changes to parsing of raw LaTeX environments.
Previously there was a special block parser for LaTeX environments.
It returned a Para element containing the raw TeX inline. This has
been removed, and the raw LaTeX environment parser is now used in the
rawLaTeXInline parser. The effect is exactly the same, except that we
can now handle consecutive LaTeX and ConTeXt environments not separated
by spaces. This new flexibility is required by the example in
Issue #73:
\placeformula \startformula
L_{1} = L_{2}
\stopformula
API change: The LaTeX reader now exports rawLaTeXEnvironment' (which
returns a string) rather than rawLaTeXEnvironment (which returns a block
element). This is more likely to be useful in other applications.
Added test cases for raw ConTeXt environments to markdown-reader-more.txt.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1405 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions