aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-14Added normalize funcion to latex citation tests.Nathan Gass1-9/+21
This is necessary because converting from markdown to latex correctly changes hyphens to en-dashes and some spaces to non-breaking spaces. Converting back to markdown does not undo this changes, and so the tests have to undo them.
2010-12-14Fixed preamble parsing in LaTeX reader.John MacFarlane1-2/+8
2010-12-14Added citation tests.Nathan Gass7-22/+245
Added tests for latex citation writer and reader, markdown citation writer and additional markup in citations.
2010-12-14Fixed regression in parsing _emph_John MacFarlane1-1/+1
There was a bug in parsing '_emph_, ...': when followed by a comma, underscore emphasis did not register. (Thanks to gwern for pointing this out.) This bug was introduced by the change in c66921f2acea456af527b93e2daa1d8594798642
2010-12-13Moved special handling of punctuation in suffix out of markdown reader.Nathan Gass2-9/+8
This allows different writers to handle punctuation in the suffix differently.
2010-12-13Added support for latex cite commands in latex reader.Nathan Gass2-12/+113
2010-12-13Disabled colored boxes around cites in latex template.Nathan Gass4-4/+4
2010-12-13Added option to write citation markup in markdown writer.Nathan Gass2-2/+30
2010-12-13Added support to write natbib or biblatex citations in latex output.Nathan Gass5-18/+166
2010-12-13Markdown reader: Further fix to abbrevs.John MacFarlane1-1/+1
2010-12-13Markdown reader: Fixed abbrev handler to allow abbrev at end of line.John MacFarlane1-2/+2
E.g., Mr. Frank.
2010-12-13Markdown reader: Fixed referenceKey parser to allow space after newline.John MacFarlane1-2/+1
2010-12-13Fixed inlineListToIdentifier to treat '\160' as ' '.John MacFarlane1-1/+3
2010-12-13Fixed table in README.John MacFarlane1-1/+1
2010-12-13Fixed internal link in README.John MacFarlane1-1/+1
2010-12-13Markdown reader: Fixed regression in reference key parser.John MacFarlane2-1/+1
* The recent change allowing spaces and newlines in the URL caused problems when reference keys are stacked up without blank lines between. This is now fixed. * Added test.
2010-12-12Benchmark: use nf for writers.John MacFarlane1-2/+2
whnf gives inaccurate results.
2010-12-12Markdown reader: fix superscripts with links.John MacFarlane1-1/+1
Moved inlineNote parser after superscript parser, so ^[link](/foo)^ gets recognized as a superscripted link, not an inline note followed by garbage. Thanks to Conal Elliott for pointing out the problem.
2010-12-12Recognize .json extension as json reader/writer.John MacFarlane1-0/+2
2010-12-11Removed deprecated -C/--custom-header option.John MacFarlane10-54/+0
Use --template instead.
2010-12-11Added JSON reader and writer.John MacFarlane3-5/+11
The JSON reader is about 20x faster than the native reader. So this can be a good way to serialize a pandoc document.
2010-12-10Added Benchmark.hs to extra-source-files.John MacFarlane1-0/+2
2010-12-10Added Benchmark.hs, testing all readers + writers using criterion.John MacFarlane1-0/+36
2010-12-10LaTeX reader: Improved parsing of preamble.John MacFarlane1-11/+6
Previously you'd get unexpected behavior on a document that contained '\begin{document}' in, say, a verbatim block.
2010-12-10Moved 'readers' and 'writers' to Text.Pandoc.John MacFarlane2-49/+47
This allows library users to avoid repetitive case statements...
2010-12-10Markdown reader: small cosmetic code improvements.John MacFarlane1-8/+6
2010-12-10Removed HTML sanitization.John MacFarlane5-118/+10
This is better done on the resulting HTML; use the xss-sanitize library for this. xss-sanitize is based on pandoc's sanitization, but improves it. - Removed stateSanitize from ParserState. - Removed --sanitize-html option.
2010-12-10Markdown reader: Allow linebreaks in URLs (treat as spaces).John MacFarlane3-8/+24
Also, a string of consecutive spaces or tabs is now parsed as a single space. If you have multiple spaces in your URL, use %20%20.
2010-12-10Markdown reader: Rewrote para parser for better efficiency.John MacFarlane1-10/+8
This change avoids repeated parsing of inline lists for 'plain' blocks.
2010-12-09Added json format for reading and writing.John MacFarlane3-5/+19
This is faster to parse than native.
2010-12-09textile redcloth definition listspaul.rivier3-2/+53
2010-12-09Textile reader: better treatment of acronyms.John MacFarlane2-2/+2
We now parse PBS(Public Broadcasting System) as if it were "PBS (Public Broadcasting System)".
2010-12-08RST reader: Added footnote suppport.John MacFarlane4-8/+88
Resolves issue #258. Note that there are some differences in how docutils and pandoc treat footnotes. Currently pandoc ignores the numeral or symbol used in the note; footnotes are put in an auto-numbered ordered list.
2010-12-08Markdown reader: minor footnote changes.John MacFarlane1-2/+3
Don't skipNonindentSpaces in noteMarker, since it's also used in the inline note parser.
2010-12-08Textile reader: Implemented footnotes.John MacFarlane3-6/+54
2010-12-07Made --smart work with RST reader.John MacFarlane3-50/+51
2010-12-07Make --smart work in HTML reader.John MacFarlane1-2/+3
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.