aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
AgeCommit message (Collapse)AuthorFilesLines
2012-07-25Moved ParseRaw from ParserState to ReaderOptions.John MacFarlane4-13/+16
2012-07-25Options -> ReaderOptions.John MacFarlane3-13/+13
Better to keep reader and writer options separate.
2012-07-25Put smart, strict in separate options field in state.John MacFarlane3-13/+19
This is the beginning of a larger transition that will make Options, not ParserState, the parameter of the read functions. (Options will also be used in writers, in place of WriterOptions.) Next step is to remove strict, replacing it with granular tests for different extensions.
2012-07-24HTML reader: Fixed bug in htmlBalanced.John MacFarlane1-2/+1
This caused hangs in parsing certain markdown input using --strict.
2012-07-24Don't require strict HTML blocks to begin at left margin.John MacFarlane1-3/+1
Technically this is required, according to the mardkown syntax document, but Markdown.pl and other markdown processors are more liberal.
2012-07-24Use catch from Control.Exception to avoid warnings.John MacFarlane1-2/+4
2012-07-24Small fix to fix: Allow blank lines btw table and caption.John MacFarlane1-0/+1
2012-07-24Fixed performance improvement to tables.John MacFarlane1-1/+1
2012-07-24More performance improvements on pipe tables.John MacFarlane1-2/+1
2012-07-24Refactored table parsers, captions now not part of core tableWith.John MacFarlane2-11/+17
2012-07-24Slight improvement to performance for pipe tables.John MacFarlane1-11/+16
Still, pipe tables are a huge performance drag. One benchmark: With pipe tables, 1.25 sec (including this fix). without pipe tables, 1.05 sec.
2012-07-22Revised code for pipe tables.John MacFarlane1-5/+51
* All tables now require at least one body row. * Renamed from 'extra' to 'pipe' tables. * Moved functions from Parsing to Readers.Markdown. * Cleaned up code; revised to parse in one pass rather than parsing a raw string, splitting it, and parsing the components. * Allow pipe tables without pipes on the ends (as PHP Markdown Extra does).
2012-07-22Merge pull request #510 from mytskine/markdown-extraJohn MacFarlane1-0/+5
Markdown extra tables [part of the multi-markdown syntax for tables]
2012-07-20Use Parser as type synonym for Parsec.John MacFarlane5-305/+305
2012-07-20Text.Pandoc.Parsing: Export all Parsec functions used in pandoc code.John MacFarlane5-7/+1
No other module directly imports Parsec. This will make it easier to change the parsing backend in the future, if we want to.
2012-07-20Use Text.Parsec instead of Text.ParserCombinators.Parsec.John MacFarlane5-317/+317
2012-07-16Don't recognize inline-markup starts inside words.John MacFarlane1-8/+17
For example, "2*2 = 4*1" should not contain an emphasized section. Added test case for "Literal symbols". Closes #569.
2012-07-13Textile reader: properly handle links with surrounding brackets.John MacFarlane1-3/+16
Square brackets need to be used when the link isn't surrounded by spaces or punctuation, or when the URL ending may be ambiguous. Closes #564.
2012-06-26Docbook reader: Added support for "bold" emphasis.John MacFarlane1-0/+1
Thanks to mb21.
2012-06-04Markdown reader: Added cf. and cp. to list of likely abbreviations.John MacFarlane1-1/+1
2012-05-29Textile reader: fix for `<notextile>` and `==`.paul.rivier1-10/+3
Closes #517.
2012-05-29RST reader: handle figures.John MacFarlane1-0/+15
Closes #522.
2012-05-29Added a couple needed trys to textile reader.John MacFarlane1-2/+2
2012-05-22LaTeX reader: Support `\centerline`.John MacFarlane1-0/+1
2012-05-12DocBook: support segmentedlist.John MacFarlane1-4/+17
2012-05-12DocBook reader: Support simplelist, member.John MacFarlane1-3/+5
2012-05-12Don't include non-language classes for code blocks.John MacFarlane1-6/+6
2012-05-12DocBook reader: Recognize example as block element.John MacFarlane1-1/+1
2012-05-12DocBook reader: Promote level 0 headers to 1 even if dbBook not set.John MacFarlane1-1/+1
2012-05-12DocBook reader: Support bridgehead.John MacFarlane1-2/+3
2012-05-12DocBook reader: only use language classes for inline code.John MacFarlane1-18/+18
2012-05-12DocBook reader: Better handling tags that can have inline or block content.John MacFarlane1-10/+10
2012-05-12DocBook reader: computeroutput is an inline tag, not block.John MacFarlane1-2/+2
2012-05-11LaTeX reader: Allow skipping of unknown block commands in `\author` section.John MacFarlane1-1/+3
Closes #505, which was a problem with `\vspace{10pt}` inside `\author`.
2012-05-11DocBook reader: Support bibliomixed tag.John MacFarlane1-1/+2
2012-05-11DocBook reader: Support link tag with no content.John MacFarlane1-4/+7
2012-05-11DocBook reader: print ? for xref tag.John MacFarlane1-0/+1
2012-05-11DocBook reader: Support uri tag.John MacFarlane1-1/+2
2012-05-11DocBook reader: Use ALLCAPS for unknown entities.John MacFarlane1-7/+6
2012-05-11DocBook reader. Handle block elements inside paragraphs.John MacFarlane1-5/+29
2012-05-10DocBook reader: support more elements.John MacFarlane1-13/+30
2012-05-10DocBook reader: Implemented glossary, simplified sect.John MacFarlane1-31/+34
2012-05-10DocBook reader: Skip index.John MacFarlane1-5/+6
2012-05-10DocBook reader: Skip toc tags.John MacFarlane1-11/+12
2012-05-10DocBook reader: Supported bibliography, bibliodiv.John MacFarlane1-8/+16
2012-05-10DocBook reader: Support language attribute on inline code.John MacFarlane1-17/+23
2012-05-10DocBook reader: Support language attribute in programlisting.John MacFarlane1-4/+10
2012-05-10DocBook reader: areaspec, area, areasetJohn MacFarlane1-3/+6
2012-05-10DocBook reader: Support prompt, parameter.John MacFarlane1-2/+4
2012-05-10DocBook reader: Support 'optional' tag.John MacFarlane1-2/+5