aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
AgeCommit message (Collapse)AuthorFilesLines
2012-04-22Added support for mediaobject, inlinemediaobject and captionmb211-6/+26
2012-04-21DocBook reader: Handle blockquote with attribution.John MacFarlane1-2/+11
2012-04-20DocBook reader: Refactored with new function attrValue.John MacFarlane1-12/+13
2012-04-20Stylistic changes to DocBook reader.John MacFarlane1-4/+5
2012-04-20Merge pull request #491 from mb21/patch-1John MacFarlane1-0/+614
Added link, code and info elements to DocBook Reader
2012-04-19Added link, code and info elements to DocBook Reader.mb211-5/+12
2012-04-15LaTeX reader: Make \label and \ref sensitive to --parse-raw.John MacFarlane1-10/+13
IF --parse-raw is selected, these will be parsed as raw latex inlines, rather than bracketed text.
2012-04-15DocBook reader: Added comment with list of docbook tags.John MacFarlane1-1/+478
2012-04-14Implemented abstract, constant, type, etc. in docbook reader.John MacFarlane1-0/+8
2012-04-14Implemented literal tag in docbook reader.John MacFarlane1-0/+1
2012-04-14Implemented quoted in docbook reader.John MacFarlane1-0/+11
2012-04-14Support orderedlist and ulink in docbook reader.John MacFarlane1-1/+6
2012-04-14Removed unneeded clause for "title" in docbook reader.John MacFarlane1-1/+0
2012-04-14Rudimentary support for programlisting in docbook reader.John MacFarlane1-0/+1
2012-04-14Implemented itemizedlist in docbook reader.John MacFarlane1-3/+5
2012-04-14Got metadata working in docbook reader.John MacFarlane1-6/+33
2012-04-14Support superscript, subscript tags in docbook reader.John MacFarlane1-0/+2
2012-04-14Handle blockquote tag in docbook reader.John MacFarlane1-0/+1
2012-04-14Got footnote working in docbook reader.John MacFarlane1-1/+2
2012-04-14Got section and sectN tags working in docbook reader.John MacFarlane1-8/+13
2012-04-14DocBook reader improvements.John MacFarlane1-18/+49
2012-04-14Added skeleton of basic docbook reader.John MacFarlane1-0/+36
2012-04-13Markdown reader: Allow lists as list items.John MacFarlane1-6/+8
So, for example: 1. * x * y 2. * z * w
2012-04-12Markdown: don't recognize references inside delimited code blocks.John MacFarlane1-0/+1
Previously pandoc would produce incorrect results on this: ~~~ [not a link]: /url ~~~ [not a link] because it would recognize "not a link" as a reference link definition on the first pass. This fix causes the first pass to skip delimited code blocks.
2012-04-11Small simplification of blank parser in LaTeX reader.John MacFarlane1-1/+1
2012-04-10LaTeX reader: Parse 'dimension' arguments to unknown commands.John MacFarlane1-6/+13
e.g. `\parindent0pt`
2012-04-10LaTeX reader: Control sequences can't be followed by a letter.John MacFarlane1-1/+1
This fixes a bug where `\begingroup` was parsed as `\begin` followed by `group`.
2012-04-07LaTeX reader: Handle \bgroup, \egroup, \begingroup, \endgroup.John MacFarlane1-3/+13
2012-04-05Textile reader: Implemented literal escapes with `==` and `<notextile>`.John MacFarlane1-1/+19
Closes #473.
2012-03-25Oops! Forgot to munch whitespace / ignore body after directive.Greg Maslov1-1/+4
2012-03-24Add parsing support for the rST default-role directive.Greg Maslov1-3/+31
2012-03-24RST reader: allow :math:`...` even when not followed by blank or \.John MacFarlane1-2/+3
This does not implement the complex rule described at http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules, but it should be good enough for most purposes. Closes #453.
2012-03-24RST reader: '\ ' is null, not escaped space.John MacFarlane1-1/+3
2012-03-19Fixed bug parsing LaTeX tables with one column.John MacFarlane1-10/+14
Thanks to Steven Solie for finding the bug.
2012-03-12fix doc generation failure against haddock-2.10.0Sergei Trofimovich1-2/+2
$ cabal configure --haddock-option=-v3 $ cabal haddock -v3 Creating interface... 100% ( 2 / 2) in 'Text.Pandoc.Readers.Native' Checking module Text.Pandoc.Readers.HTML... Creating interface... 50% ( 4 / 8) in 'Text.Pandoc.Readers.HTML' Checking module Text.Pandoc.Readers.Textile... Creating interface... haddock: internal error: lexical error /usr/bin/haddock returned ExitFailure 1 Patch changes UTF-8 spaces to ASCII spaces. It's a known haddock issue: http://www.haskell.org/pipermail/haskell-cafe/2012-March/099870.html Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-03-10Fixed lstlisting environment in LaTeX reader.John MacFarlane1-1/+1
Closes #443.
2012-02-27Support "minted" as a LaTeX verbatim block.John MacFarlane1-1/+3
Closes #431.
2012-02-25LaTeX reader: correctly handle \^{}.John MacFarlane1-8/+8
2012-02-25LaTeX reader: Fixed accents.John MacFarlane1-28/+67
\~{a}, \c{c}.
2012-02-19LaTeX math environment fixes. Closes #423.John MacFarlane1-8/+8
`aligned` is now used instead of the nonexistent `aligned*`. `multline` instead of the nonexistent `multiline`.
2012-02-17Don't escape `<` in `<style>` tags with `--self-contained`.John MacFarlane1-2/+10
Closes #422: highlighting lost using `--self-contained`.
2012-02-10LaTeX reader: Add ", " to suffix...John MacFarlane1-9/+13
if it doesn't start w space or punctuation. Otherwise we get no space between the year and the suffix in author-date styles.
2012-02-09Made LaTeX parser more robust.John MacFarlane1-22/+26
+ Skip options after block commands. + Correctly handle {\\} in braced. + Added a needed 'try'.
2012-02-09Better handling of raw latex environments in markdown.John MacFarlane1-9/+1
Now \begin{equation} a_1 \end{equation} turns into a raw latex block as expected.
2012-02-08Improvements to markdown attributes syntax (on code blocks).John MacFarlane1-4/+5
(1) Attributes can contain line breaks. (2) Values in key-value attributes can be surrounded by either double or single quotes, or left unquoted if they contain no spaces.
2012-02-08Put LaTeX verse environments in blockquotes.John MacFarlane1-0/+1
2012-02-07Limit nesting of strong/emph.John MacFarlane1-2/+14
This avoids exponential lookahead in parasitic cases, like a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**. Added stateMaxNestingLevel to ParserState. We set this to 6, so you can still have Emph inside Emph, just not indefinitely.
2012-02-07Handle escaped $ in latex math. Closes #186.John MacFarlane1-2/+8
2012-02-06LaTeX reader: use raw latex as fallback for Cites.John MacFarlane1-53/+57
This way you can still get the raw latex back, even if you don't process with citeproc. Previously, cites were not visible at all unless you specified --biblio on the command line and converted them using citeproc, or used --natbib or --biblatex.
2012-02-05Removed module Text.Pandoc.CharacterReferences.John MacFarlane1-3/+3
Moved characterReference parser to Text.Pandoc.Parsing. decodeCharacterReferences is now replaced by fromEntities in Text.Pandoc.XML.