aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-07Smart punctuation: recognize entities.John MacFarlane2-9/+23
Now “Hi” gets parsed as a Quoted DoubleQuote inline.
2010-12-07Rewrote normalizeSpaces (mostly aesthetic reasons).John MacFarlane1-14/+11
2010-12-07Markdown reader: Moved smartPunctuation parser, for slight speed bump.John MacFarlane1-1/+1
2010-12-07Smart punctuation: don't alllow ellipses containing spaces.John MacFarlane2-2/+2
Previously we allowed '. . .', ' . . . ', etc. This caused too many complications, and removed author's flexibility in combining ellipses with spaces and periods.
2010-12-07Moved smartPunctuation from Markdown to Parsing.John MacFarlane4-110/+107
+ Parameterized smartPunctuation on an inline parser. + Handle smartPunctuation in Textile reader.
2010-12-07Textile reader: implemented acronyms, (tm), (r), (c).John MacFarlane3-7/+48
2010-12-07Narrowed a long line in README.John MacFarlane1-2/+2
2010-12-07Improved process to create man page from README.John MacFarlane5-74/+117
Previously it relied on pandoc already being installed. Now it uses dist/package.conf.inplace.
2010-12-07Added Paulo Tanimoto to AUTHORS in markdown2pdf man page.John MacFarlane2-478/+1
2010-12-07Use same options documentation in README and man page.John MacFarlane2-326/+360
Later we will generate the man page from the README.
2010-12-07Fixed bugs in ieee.csl (Andrea Rossato).John MacFarlane1-2/+2
2010-12-07Updated ieee citation test for punctuation-in-quote.John MacFarlane1-2/+2
2010-12-06Markdown reader: better handling of intraword _.John MacFarlane1-3/+5
The 'str' parser now reads internal _'s as part of the string. This prevents pandoc from getting started looking for an emphasized block, which can cause exponential slowdowns in some cases. Resolves Issue #182.
2010-12-06Markdown reader: handle curly quotes better.John MacFarlane4-17/+25
Previously, curly quotes were just parsed literally, leading to problems in some output formats. Now they are parsed as Quoted inlines, if --smart is specified. Resolves Issue #270.
2010-12-05Fix regression: markdown references should be case-insensitive.John MacFarlane5-48/+42
This broke when we added the Key type. We had assumed that the custom case-insensitive Ord instance would ensure case-insensitive matching, but that is not how Data.Map works. * Added a test case for case-insensitivity in markdown-reader-more * Removed old refsMatch from Text.Pandoc.Parsing module; * hid the 'Key' constructor; * dropped the custom Ord and Eq instances, deriving instead; * added fromKey and toKey to convert between Keys and Inline lists; * toKey ensures that keys are case-insensitive, since this is the only way the API provides to construct a Key. Resolves Issue #272.
2010-12-05Documented citations in README.John MacFarlane1-6/+42
2010-12-05Documented fact that you can specify --bibliography repeatedly.John MacFarlane2-2/+4
2010-12-05README: Updated list of code contributors.John MacFarlane1-1/+2
2010-12-05Org writer: Minor changes to documentation header.John MacFarlane1-3/+3
2010-12-05Documented org-mode writer in README, cabal, man pages.John MacFarlane3-15/+21
2010-12-05Merge branch 'punchagan-master'John MacFarlane8-1/+1257
2010-12-05Documented all the formats citeproc/bibutils can handle.John MacFarlane2-5/+35
2010-12-05Added templates/org.template to pandoc.cabal.Puneeth Chaganti1-1/+1
2010-12-04Added tests.Puneeth Chaganti5-1/+961
+ Added tables.org and writer.org to tests. + Added org.template to templates. + Changed RunTests.hs as required. + Minor changes to Org writer.
2010-12-04Added Org-mode writerPuneeth Chaganti4-0/+296
+ Added Text/Pandoc/Writers/Org.hs + Added to pandoc.cabal + Added to pandoc.hs and Text/Pandoc.hs exports.
2010-12-03Updated README and pandoc man page with textile reader.John MacFarlane2-18/+19
2010-12-03Merge branch 'citeproc' into master.John MacFarlane22-303/+1859
Conflicts: src/Text/Pandoc/Definition.hs
2010-12-03Textile reader: temporarily removed smartPunctuation.John MacFarlane1-2/+2
The smartPuncutation parser from the markdown parser was being used, but this creates two problems: * smart punctuation rules are slightly different in textile, for example, a single dash wish space around becomes an En dash. * the following gets parsed as a double quoted string followed by a colon, rather than as a link: "emphasized text":http://my.url.com This needs rethinking.
2010-12-03Textile reader: added hrule parser.John MacFarlane2-1/+14
2010-12-03Textile reader: Turn on smart punctuation by default.John MacFarlane1-2/+2
2010-12-03Textile reader: drop leading, trailing newline in pre block.John MacFarlane2-4/+12
This is consistent with how the other readers work.
2010-12-03Textile reader: modified str to handle acronyms, hyphens.John MacFarlane1-3/+16
* A single hyphen between two word characters is no longer a potential strikeout-starter. * Acronym explanations are dropped.
2010-12-03Use textile reader by default for .textile extension.John MacFarlane1-0/+1
2010-12-03Textile reader: updated test suite to include raw HTML.John MacFarlane1-6/+6
2010-12-03Textile reader: parse raw by default.John MacFarlane2-1/+3
It's part of the textile spec to allow raw HTML, just as with markdown. -R is no longer needed in test suite.
2010-12-03punctuation handling, and more html-specific handlingpaul.rivier4-56/+81
2010-12-03html inlines and html blocks handling in textile readerPaul Rivier3-18/+56
2010-12-03textile reader now ignores html/css attributesPaul Rivier3-9/+60
2010-12-03removed support for textile Inserted constructPaul Rivier4-9/+1
2010-12-03fix autolink by promoting it in the parser list, fix table parabreakPaul Rivier3-33/+9
2010-12-03more support for Textile reader (explicit links, images), tests and cabal ↵Paul Rivier5-18/+326
entries
2010-12-03simpler table cell handlingpaul.rivier1-24/+12
2010-12-03preliminary material toward table supportpaul.rivier2-2/+68
2010-12-03textile reader now imports import Text.Pandoc.Parsingpaul.rivier1-1/+2
2010-12-03Basic Textile Readerpaul.rivier7-1/+262
2010-12-03More documentation for citeproc features (still incomplete).John MacFarlane3-2/+30
2010-12-02Added --bibliography, --csl, --data-dir to markdown2pdf man page.John MacFarlane1-0/+40
2010-12-02Added --data-dir to valid options for markdown2pdf.John MacFarlane1-1/+1
2010-12-02Tweaked command-line options allowed by markdown2pdf.John MacFarlane1-1/+1
2010-12-02Added --bibliography and --csl to pandoc man page.John MacFarlane1-0/+24