aboutsummaryrefslogtreecommitdiff
path: root/src/Text
AgeCommit message (Collapse)AuthorFilesLines
2012-09-13MediaWiki reader: Parse templates etc. as raw mediawiki.John MacFarlane1-4/+10
They can be postprocessed with a pandoc script.
2012-09-13MediaWiki reader: Improved efficiency with raw html tags.John MacFarlane1-78/+59
Parse one tag, then use a case statement.
2012-09-13EPUB writer: Use ch001, ch002, etc. for chapter filenames.John MacFarlane1-5/+12
This improves sorting of chapters in some readers, which apparently sort ch2 after ch10. Closes #610.
2012-09-12MediaWiki reader: Added comment.John MacFarlane1-0/+2
2012-09-12MediaWiki reader: preformatted blocks and tests.John MacFarlane1-11/+28
2012-09-12MediaWiki reader: Support `<math>` tag.John MacFarlane1-1/+4
2012-09-12Added tests for mediawiki lists.John MacFarlane1-2/+3
2012-09-12More mediawiki reader tests.John MacFarlane1-7/+1
2012-09-12Added some tests for mediawiki reader.John MacFarlane1-4/+0
2012-09-12MediaWiki reader: Updated todo comments.John MacFarlane1-8/+12
2012-09-12MediaWiki reader: Support `<syntaxhighlight>` tag.John MacFarlane1-3/+13
2012-09-12HTML writer: Don't print `<dt>` unless term is non-empty.John MacFarlane1-1/+3
2012-09-12MediaWiki reader: Properly handle :, ::, :::...John MacFarlane1-6/+6
2012-09-12MediaWiki reader: Handle def lists without terms (: lines).John MacFarlane1-1/+2
2012-09-12MediaWiki reader: Improvements to list parsing and HTML tag handling.John MacFarlane1-2/+16
2012-09-12MediaWiki reader: Support skipped level in lists.John MacFarlane1-2/+18
For example: # one # two ### skip! ### skip
2012-09-12MediaWiki reader: Fixed charsInTags parser to use innerText.John MacFarlane1-3/+1
2012-09-12Minor fixes to MediaWiki reader.John MacFarlane1-2/+2
2012-09-12Added basic mediawiki reader.John MacFarlane3-2/+314
Text.Pandoc.Readers.MediaWiki module, tests/mediawiki-reader.{txt,native}.
2012-09-12Export 'nested' in Parsing.John MacFarlane2-12/+13
2012-09-12Text.Pandoc.Parsing: Handle trailing slash in 'uri'.John MacFarlane1-2/+3
2012-09-12HTML writer: Improve line breaks with `<dd>` tags.John MacFarlane1-1/+2
We now put a newline between `</dd>` and `<dd>` when there are multiple definitions.
2012-09-09LaTeX reader: Better error messages for environments.John MacFarlane1-1/+3
Now it should tell you that it was looking for \end{env}, instead of giving "unknown parse error."
2012-09-09LaTeX reader: guard against "begin"/"end" in blockCommand.John MacFarlane1-0/+1
2012-09-09LaTeX reader: Guard against "begin", "end" in inlineCommand.John MacFarlane1-2/+1
Removed these from list of inline commands.
2012-09-09HTML reader: Handle nested `<q>` tags properly.John MacFarlane1-1/+9
2012-09-09Parsing: Generalized type of withQuoteContext.John MacFarlane1-2/+2
2012-09-09HTML reader: Parse <q> as Quoted DoubleQuote.John MacFarlane1-0/+4
2012-09-08RST reader: Allow dashes as separator in simple tables.John MacFarlane1-1/+1
Closes #555.
2012-09-06LaTeX reader: Support obeylines environment.John MacFarlane1-0/+3
Closes #604.
2012-09-06LaTeX reader: Use curly quotes for bare straight quotes.John MacFarlane1-13/+9
2012-09-06LaTeX reader: Fixed parsing of paragraphs beginning with a group.John MacFarlane1-1/+1
Previously a paragraph beginning ``` {``}hello{''} ``` would be parsed as two paragraphs. Closes #606.
2012-09-06Textile reader: Improved speed of hyphenedWords.John MacFarlane1-4/+6
This speeds up the textile reader by about a factor of 4. But the reader is still very slow, compared to others readers.
2012-09-06Removed obsolete comment.John MacFarlane1-1/+0
2012-09-06Fixed footnotes bug in textile.John MacFarlane1-2/+3
This affected notes occuring before punctuation, e.g. `foo[1].`. Closes #518.
2012-09-06Made --id-prefix work in DocBook as well as HTML.John MacFarlane1-1/+1
Closes #607.
2012-09-05Docx writer: Fixed bug with nested lists.John MacFarlane1-20/+19
Previously a list like 1. one - a - b 2. two would come out with a bullet instead of "2." Thanks to Russell Allen for reporting the bug.
2012-09-04LaTeX reader: Handle \slash command.John MacFarlane1-0/+1
Closes #605.
2012-08-29Allow any char but ':' in names of field lists in RST readerDenis Laxalde1-1/+1
2012-08-29Fix RST reader for field lists items with body beginning after a new lineDenis Laxalde1-1/+1
2012-08-25EPUB: Use title instead of "Title Page" in contents.John MacFarlane1-1/+1
Otherwise we have a hard-coded English string, which looks strange in ebooks written in other languages. Using the title for this entry seems a good solution. Closes #572.
2012-08-23Merge commit 'd25656571a4662a4e67b195daed69e77d80c4c2c'John MacFarlane1-2/+21
Conflicts: src/Text/Pandoc/Writers/ODT.hs
2012-08-23Don't strip meta and link elements in epub metadata.John MacFarlane1-3/+5
Per http://idpf.org/epub/30/spec/epub30-publications.html#sec-metadata-elem, a metadata element can contain not just Dublin Core elements but also meta and link elements, but Pandoc currently strips those out. Patch from aberrancy. Closes #589.
2012-08-21Implemented Ext_backtick_code_blocks.John MacFarlane3-21/+39
This is the variant github prefers.
2012-08-21Added Ext_fenced_code_attributes.John MacFarlane3-6/+12
2012-08-21Changed nomenclature, delimited -> fenced code blocks.John MacFarlane3-9/+9
2012-08-19Added Ext_abbrevations for PHP markdown style abbreviation keys.John MacFarlane2-4/+16
Note: pandoc does not have an abbreviation element (yet) and so currently when this extension is enabled, it just causes pandoc to skip the abbrevation keys.
2012-08-18Man writer: Escape - as \-.John MacFarlane1-1/+1
Unescaped -'s become hyphens, while \-'s are left as ascii minus signs. That is preferable for use with command-line options. See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html. Thanks to Andrea Bolognani for bringing the issue to our attention.
2012-08-17Docx line breaks: Use w:cr in w:r instead of w:br.John MacFarlane1-5/+6
This seems to fix a problem viewing pandoc-generated docx files in LibreOffice.
2012-08-16Added comments in Options.John MacFarlane1-38/+40