Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-12-19 | LaTeX writer: A bit of code polish. | John MacFarlane | 1 | -29/+28 | |
2010-12-19 | LaTeX writer: Modified to use Pretty. | John MacFarlane | 2 | -106/+65 | |
Improved footnote formatting, removed spurious blank lines. | |||||
2010-12-19 | Shared: Use stringify to simplify inlineListToIdentifier. | John MacFarlane | 1 | -28/+11 | |
2010-12-19 | Pretty: Added braces and brackets. | John MacFarlane | 1 | -0/+9 | |
2010-12-18 | LaTeX writer: Use \paragraph, \subparagraph for level 4,5 headers. | John MacFarlane | 2 | -11/+12 | |
2010-12-17 | Added new prettyprinting module. | John MacFarlane | 24 | -1068/+1044 | |
* Added Text.Pandoc.Pretty. This is better suited for pandoc than the 'pretty' package. One advantage is that we now get proper wrapping; Emph [Inline] is no longer treated as a big unwrappable unit. Previously we only got breaks for spaces at the "outer level." We can also more easily avoid doubled blank lines. Performance is significantly better as well. * Removed Text.Pandoc.Blocks. Text.Pandoc.Pretty allows you to define blocks and concatenate them. * Modified markdown, RST, org readers to use Text.Pandoc.Pretty instead of Text.PrettyPrint.HughesPJ. * Text.Pandoc.Shared: Added writerColumns to WriterOptions. * Markdown, RST, Org writers now break text at writerColumns. * Added --columns command-line option, which sets stColumns and writerColumns. * Table parsing: If the size of the header > stColumns, use the header size as 100% for purposes of calculating relative widths of columns. | |||||
2010-12-15 | test-pandoc: removed need to depend on MissingH. | John MacFarlane | 2 | -4/+4 | |
2010-12-15 | Added 'tests' Cabal flag. | John MacFarlane | 3 | -16/+37 | |
+ This ensures that test-pandoc gets built. + 'cabal test' now runs this. + The old tests/RunTests.hs has been removed, and src/test-pandoc.hs added. | |||||
2010-12-15 | HTML reader: allow : in tags. | John MacFarlane | 1 | -2/+6 | |
Resolves Issue #274. | |||||
2010-12-15 | Use top-level header at end as bibliography title for natbib and biblatex ↵ | Nathan Gass | 4 | -12/+27 | |
output. | |||||
2010-12-15 | Remove punctuation at start of suffix for natbib and biblatex output. | Nathan Gass | 4 | -11/+15 | |
This is necessary as the latex citation commands include there own punctuation, which resulted in doubled commas for markdown documents where citeproc output works correctly. | |||||
2010-12-15 | Support multiple bibliography files with natbib and biblatex output. | Nathan Gass | 3 | -4/+5 | |
2010-12-14 | Added 'normalize' to Text.Pandoc.Shared. | John MacFarlane | 1 | -1/+53 | |
2010-12-14 | Added normalize funcion to latex citation tests. | Nathan Gass | 1 | -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-14 | Fixed preamble parsing in LaTeX reader. | John MacFarlane | 1 | -2/+8 | |
2010-12-14 | Added citation tests. | Nathan Gass | 7 | -22/+245 | |
Added tests for latex citation writer and reader, markdown citation writer and additional markup in citations. | |||||
2010-12-14 | Fixed regression in parsing _emph_ | John MacFarlane | 1 | -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-13 | Moved special handling of punctuation in suffix out of markdown reader. | Nathan Gass | 2 | -9/+8 | |
This allows different writers to handle punctuation in the suffix differently. | |||||
2010-12-13 | Added support for latex cite commands in latex reader. | Nathan Gass | 2 | -12/+113 | |
2010-12-13 | Disabled colored boxes around cites in latex template. | Nathan Gass | 4 | -4/+4 | |
2010-12-13 | Added option to write citation markup in markdown writer. | Nathan Gass | 2 | -2/+30 | |
2010-12-13 | Added support to write natbib or biblatex citations in latex output. | Nathan Gass | 5 | -18/+166 | |
2010-12-13 | Markdown reader: Further fix to abbrevs. | John MacFarlane | 1 | -1/+1 | |
2010-12-13 | Markdown reader: Fixed abbrev handler to allow abbrev at end of line. | John MacFarlane | 1 | -2/+2 | |
E.g., Mr. Frank. | |||||
2010-12-13 | Markdown reader: Fixed referenceKey parser to allow space after newline. | John MacFarlane | 1 | -2/+1 | |
2010-12-13 | Fixed inlineListToIdentifier to treat '\160' as ' '. | John MacFarlane | 1 | -1/+3 | |
2010-12-13 | Fixed table in README. | John MacFarlane | 1 | -1/+1 | |
2010-12-13 | Fixed internal link in README. | John MacFarlane | 1 | -1/+1 | |
2010-12-13 | Markdown reader: Fixed regression in reference key parser. | John MacFarlane | 2 | -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-12 | Benchmark: use nf for writers. | John MacFarlane | 1 | -2/+2 | |
whnf gives inaccurate results. | |||||
2010-12-12 | Markdown reader: fix superscripts with links. | John MacFarlane | 1 | -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-12 | Recognize .json extension as json reader/writer. | John MacFarlane | 1 | -0/+2 | |
2010-12-11 | Removed deprecated -C/--custom-header option. | John MacFarlane | 10 | -54/+0 | |
Use --template instead. | |||||
2010-12-11 | Added JSON reader and writer. | John MacFarlane | 3 | -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-10 | Added Benchmark.hs to extra-source-files. | John MacFarlane | 1 | -0/+2 | |
2010-12-10 | Added Benchmark.hs, testing all readers + writers using criterion. | John MacFarlane | 1 | -0/+36 | |
2010-12-10 | LaTeX reader: Improved parsing of preamble. | John MacFarlane | 1 | -11/+6 | |
Previously you'd get unexpected behavior on a document that contained '\begin{document}' in, say, a verbatim block. | |||||
2010-12-10 | Moved 'readers' and 'writers' to Text.Pandoc. | John MacFarlane | 2 | -49/+47 | |
This allows library users to avoid repetitive case statements... | |||||
2010-12-10 | Markdown reader: small cosmetic code improvements. | John MacFarlane | 1 | -8/+6 | |
2010-12-10 | Removed HTML sanitization. | John MacFarlane | 5 | -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-10 | Markdown reader: Allow linebreaks in URLs (treat as spaces). | John MacFarlane | 3 | -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-10 | Markdown reader: Rewrote para parser for better efficiency. | John MacFarlane | 1 | -10/+8 | |
This change avoids repeated parsing of inline lists for 'plain' blocks. | |||||
2010-12-09 | Added json format for reading and writing. | John MacFarlane | 3 | -5/+19 | |
This is faster to parse than native. | |||||
2010-12-09 | textile redcloth definition lists | paul.rivier | 3 | -2/+53 | |
2010-12-09 | Textile reader: better treatment of acronyms. | John MacFarlane | 2 | -2/+2 | |
We now parse PBS(Public Broadcasting System) as if it were "PBS (Public Broadcasting System)". | |||||
2010-12-08 | RST reader: Added footnote suppport. | John MacFarlane | 4 | -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-08 | Markdown reader: minor footnote changes. | John MacFarlane | 1 | -2/+3 | |
Don't skipNonindentSpaces in noteMarker, since it's also used in the inline note parser. | |||||
2010-12-08 | Textile reader: Implemented footnotes. | John MacFarlane | 3 | -6/+54 | |
2010-12-07 | Made --smart work with RST reader. | John MacFarlane | 3 | -50/+51 | |
2010-12-07 | Make --smart work in HTML reader. | John MacFarlane | 1 | -2/+3 | |