aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-12-04Added tests.Puneeth Chaganti1-1/+1
+ 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 Chaganti3-0/+295
+ Added Text/Pandoc/Writers/Org.hs + Added to pandoc.cabal + Added to pandoc.hs and Text/Pandoc.hs exports.
2010-12-03Merge branch 'citeproc' into master.John MacFarlane7-265/+320
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 MacFarlane1-0/+13
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 MacFarlane1-2/+10
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: parse raw by default.John MacFarlane1-0/+2
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.rivier2-8/+33
2010-12-03html inlines and html blocks handling in textile readerPaul Rivier1-17/+26
2010-12-03textile reader now ignores html/css attributesPaul Rivier1-8/+34
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 Rivier1-7/+5
2010-12-03more support for Textile reader (explicit links, images), tests and cabal ↵Paul Rivier1-17/+44
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-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-11-28Merge branch 'master' into citeprocJohn MacFarlane1-0/+3
2010-11-28Markdown parser performance improvement.John MacFarlane1-0/+3
Do a quick lookahead to make sure what follows looks like a setext header before parsing any Inlines. This gives a 15% performance boost in one benchmark. Many thanks to knieriem for finding the problem (in peg-markdown): https://github.com/jgm/peg-markdown/issues/issue/3
2010-11-28Fixed spacing bug for reference-style citations.John MacFarlane1-1/+4
2010-11-27Merge branch 'master' into citeprocJohn MacFarlane1-2/+4
2010-11-27OpenDocument writer: don't print raw TeX.John MacFarlane1-2/+4
2010-11-27Merge branch 'master' into citeprocJohn MacFarlane1-0/+4
2010-11-27LaTeX writer: Escape curly quotes.John MacFarlane1-0/+4
2010-11-27Biblio: If locator ends with ",", add it to the suffix.John MacFarlane1-1/+9
2010-11-27Added procOpts parameter to citeproc call.John MacFarlane1-1/+2
2010-11-27Merge branch 'master' into citeprocJohn MacFarlane3-0/+418
2010-11-27Merge branch 'textile'John MacFarlane3-0/+418
Conflicts: README man/man1/pandoc.1.md pandoc.cabal
2010-11-27Use [] for superscripts and subscripts in textile writer.John MacFarlane1-2/+2
2010-11-27Fixed spacing problems in textile nested lists.John MacFarlane1-2/+4
2010-11-27Use parsec parsers to split locator.John MacFarlane1-27/+34
This is easier to read and maintain. Also, formatting is now stripped from the locator prefix, so you can write e.g. '*p.* 33'.
2010-11-27Added 'stringify' to Text.Pandoc.Shared.John MacFarlane1-0/+10
2010-11-26Markdown suffix parser fix.John MacFarlane1-2/+7
If suffix doesn't begin with punctuation, include opening comma and space in result. Previously, @item [only a suffix] would result in something like Doe (2002only a suffix) because there was no opening delimiter.
2010-11-26Split locator and suffix in Biblio rather than Markdown parser.John MacFarlane2-40/+36
Patch from Nathan Gass.
2010-11-23More flexible handling of --csl.John MacFarlane1-2/+10
Look for csl files in ~/.csl if not found locally. Add .csl extension if it is not provided.
2010-11-23Removed citeproc flag and CPP conditionals.John MacFarlane1-18/+0
2010-11-22Check biblio for all citations, not just textual.John MacFarlane1-5/+5
2010-11-20HTML reader: Export htmlTag.John MacFarlane1-0/+1
2010-11-20Biblio: Check for == rather than /=.John MacFarlane1-3/+3
This is more perspicuous.
2010-11-20Citation related changes.John MacFarlane3-36/+12
* Don't look for bibliography in ~/.pandoc. Reason: doing this requires a read + parse of the bibliography even when the document doesn't use citations. This is a big performance drag on regular pandoc invocations. * Only look for default.csl if the document contains references. Reason: avoids the need to read and parse csl file when the document contains no references anyway. * Removed findFirstFile from Shared.
2010-11-19Use default biblio.{xml,json,bib} in pandoc data dir if none specified.John MacFarlane1-21/+23
2010-11-19Shared: Added findFirstFile, findDataFile, refactored readDataFile.John MacFarlane1-5/+24
2010-11-18Markdown citation parser: small refactoring for clarity.John MacFarlane1-1/+5
2010-11-18If --csl not specified, read from data files or default.John MacFarlane2-11/+25
Thus --csl behaves like --reference-odt, --template, etc.
2010-11-18Markdown citation parser improvements and test updates.John MacFarlane1-13/+15
Now we handle a suffix after a bare locator, e.g. @item1 [p. 30, suffix] The suffix now includes any punctuation that introduces it. A few tests fail because of problems with citeproc (extra space before the suffix, missing space after comma separating multiple page ranges in the locator).