aboutsummaryrefslogtreecommitdiff
path: root/src/Text
AgeCommit message (Collapse)AuthorFilesLines
2012-07-20Use Parser as type synonym for Parsec.John MacFarlane10-322/+324
2012-07-20Text.Pandoc.Parsing: Export all Parsec functions used in pandoc code.John MacFarlane10-14/+57
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 MacFarlane10-442/+442
2012-07-19Provide Data.Default instances for ParserState and WriterOptions.John MacFarlane3-3/+14
Now you can use def (which is re-exported by Text.Pandoc) instead of defaultParserState or defaultWriterOptions. For now, these are still defined too, so existing code need not change. Closes #546.
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-13Set ODT title propertyArlo O'Keeffe1-3/+21
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-07-11HTML writer: Put mathjax in span with class "math".John MacFarlane1-1/+1
Closes #562.
2012-06-30Pretty: Added wide punctuation range to charWidth.John MacFarlane1-1/+3
Fixes bug with Chinese commas in tables.
2012-06-29Changed macro parser so it returns raw macro if stateApplyMacros false.John MacFarlane1-5/+8
Closes #554.
2012-06-28SelfContained: Fix handling of absolute URLs in css imports.John MacFarlane1-1/+5
Also allow single-quoted values. Closes #535.
2012-06-28Added webm to mime types. Closes #543.John MacFarlane1-0/+1
2012-06-27ConTeXt writer: don't escape `&`,`^`,`<`,`>`.John MacFarlane1-6/+2
Simplified escapes for `}` and `{` to `\{` and `\}`. Thanks to Aditya Mahajan.
2012-06-27MediaWiki writer: Avoid extra blank lines after sublists.John MacFarlane1-3/+6
Thanks to Gavin Beatty.
2012-06-26Don't escape `_` as `\letterunderscore{}` in ConTeXt.John MacFarlane1-1/+0
2012-06-26Docbook reader: Added support for "bold" emphasis.John MacFarlane1-0/+1
Thanks to mb21.
2012-06-25Don't generate empty H1 after hrule slide breaks.John MacFarlane3-5/+11
We now use a slide-level header with contents [Str "\0"] to mark an hrule break. This avoids creation of an empty H1 in these contexts. Closes #484.
2012-06-25Test for base 4.4.0 instead of 4.5.0 for argument/filename encoding.John MacFarlane1-2/+2
2012-06-24Don't encode/decode file paths if base >= 4.5.John MacFarlane1-6/+16
Prior to base 4.5 (and perhaps earlier - check), filepaths and command line arguments were treated as unencoded lists of bytes, not unicode strings, so we had to work around that by encoding and decoding them. This commit adds CPP checks for base 4.5 that disable the encoding/decoding. Fixes a bug with multilingual filenames when pandoc was compiled with ghc 7.4. Closes #540.
2012-06-08Fixed shadowing warning.John MacFarlane1-1/+1
2012-06-08Biblio: Workaround broken toCapital in citeproc-0.3.4.John MacFarlane1-2/+10
2012-06-05Biblio: Add comma to beginning of bare suffix, e.g. @item1 [50].John MacFarlane1-2/+10
Motivation: @item1 [50] should be as close as possible to [@item1, 50].
2012-06-04Markdown reader: Added cf. and cp. to list of likely abbreviations.John MacFarlane1-1/+1
2012-06-03Fixed `--incremental` behavior for Beamer.John MacFarlane1-1/+1
When `--incremental` is used, lists inside block quotes should appear all at once (as in HTML).
2012-06-01Simplified bullet characters so they work with Word 2007.John MacFarlane1-7/+7
Closes #520.
2012-06-01LaTeX writer: Ensure newline after Verbatim at end of footnote.John MacFarlane1-1/+4
This fixes a regression. Also added a test for this.
2012-05-31Escape `%` as `\letterpercent{}` not `\letterpercent ` in ConTeXt.John MacFarlane1-1/+1
2012-05-30Merge pull request #521 from jonassmedegaard/masterJohn MacFarlane4-2/+5
Slidy lang support, and new Slideous writer
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-29Org writer: Add space before language name.John MacFarlane1-3/+3
Closes #523.
2012-05-29Added a couple needed trys to textile reader.John MacFarlane1-2/+2
2012-05-29ConTeXt writer: ensure space after `\stopformula`.John MacFarlane1-1/+1
2012-05-24Add support for Slideous output.Jonas Smedegaard4-2/+5
2012-05-23Massively simplified Text.Pandoc.Biblio.John MacFarlane1-84/+44
Fixed a bug with citations in notes and captions. We now handle note citations by inserting notes at the beginning, and removing notes within notes later.
2012-05-22LaTeX reader: Support `\centerline`.John MacFarlane1-0/+1
2012-05-19Markdown Use a nonzero space to prevent false recognition of list marker.John MacFarlane1-1/+1
This addresses #516, but in a rather hackish way. There ought to be a better solution.
2012-05-17Added 'zenburn' highlight style from highlighting-kate.John MacFarlane1-0/+1
Depend on h-k 0.5.0.6.
2012-05-16Markdown writer: Improved definition lists.John MacFarlane1-2/+2
* Use `:` form instead of `~`, for better compatibility with other markdown implementations. * Don't wrap the term, because it breaks definition lists.
2012-05-14LaTeX writer: More consistent interblock spacing.John MacFarlane1-24/+18
2012-05-13LaTeX reader: ensure we don't have extra blank lines at ends of cells.John MacFarlane1-1/+1
This can cause LaTeX errors, as they are interpreted as new paragraphs.
2012-05-12Export readDocBook in Text.Pandoc.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