Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-10 | LaTeX reader: Better support for citation commands. | John MacFarlane | 1 | -7/+11 | |
* Make `\cite` etc. an AuthorInText. * Make `\footcite` etc. into citations in notes. | |||||
2012-10-06 | RST reader: Don't create empty definition list for metadata field lists. | John MacFarlane | 1 | -3/+3 | |
Previously a field list consisting only of metadata fields (author, title, date) would be parsed as an empty DefinitionList, which is not legal in LaTeX and not needed in any format. This patch fixes the problem, which I learned of from http://stackoverflow.com/questions/12762767/modify-variable-in-rst-with-pandoc. | |||||
2012-10-06 | Biblio: Changed type of processBiblio. | John MacFarlane | 1 | -24/+19 | |
* It is no longer in the IO monad. * setHash uses state rather than Data.Unique. * It takes a Style argument rather than parameters for CSL and abbrev filenames. * pandoc.hs now calls the functions to parse the style file and add abbrevs. | |||||
2012-10-05 | Revert "Added stateWarnings to ParserState, added warning function." | John MacFarlane | 1 | -8/+0 | |
This reverts commit 5419b504cef0cc6e1a0f3e321b2fc0a66e12db3c. | |||||
2012-10-05 | Added stateWarnings to ParserState, added warning function. | John MacFarlane | 1 | -0/+8 | |
This will be used to provide warnings for things like duplicate footnote refs and link refs. | |||||
2012-10-05 | Textile reader: Implemented comment blocks. | John MacFarlane | 1 | -0/+7 | |
2012-10-04 | Remove newline after <br/> in translation of LineBreak | Brent Yorgey | 1 | -1/+1 | |
There's no particular need for a newline (other than making the generated MediaWiki source look nice to a human), and in fact sometimes it is incorrect: in particular, inside an enumeration, list items cannot have embedded newline characters. | |||||
2012-10-02 | Docx writer: Added nsid to abstractNum elements. | John MacFarlane | 1 | -11/+16 | |
This helps when merging word documents with numbered or bulleted lists. Closes #627. | |||||
2012-10-02 | Use integer ids for bookmarks. | John MacFarlane | 1 | -6/+8 | |
Closes #626. | |||||
2012-09-30 | RST reader: Removed 'plain' in blocks, since 'para' includes it. | John MacFarlane | 1 | -1/+0 | |
2012-09-30 | RST reader: Consolidate super/subscript, math into interpretedRole. | John MacFarlane | 1 | -35/+26 | |
2012-09-30 | RST reader: Renamed 'image' to 'subst', since it now handles more. | John MacFarlane | 1 | -4/+3 | |
2012-09-30 | Ignore unknown interpreted roles. | John MacFarlane | 1 | -3/+12 | |
The contents are treated as rst, not literal, which will sometimes be wrong. | |||||
2012-09-30 | RST reader: Removed requirement that directives begin at left margin. | John MacFarlane | 1 | -3/+0 | |
This was (correctly) not in earlier releases; docutils doesn't make the requirement. | |||||
2012-09-30 | RST reader: Require whitespace after field list field names. | John MacFarlane | 1 | -1/+1 | |
2012-09-30 | RST reader: Consolidated rawBlock into directive. | John MacFarlane | 1 | -15/+1 | |
2012-09-30 | RST reader: Handle replace:: and unicode:: substitutions. | John MacFarlane | 1 | -8/+77 | |
2012-09-29 | RST reader: Make directive labels case-insensitive. | John MacFarlane | 1 | -1/+3 | |
2012-09-29 | RST reader: Folded figureBlock into directive. | John MacFarlane | 1 | -14/+10 | |
2012-09-29 | RST reader: Made comments a separate parser. | John MacFarlane | 1 | -6/+17 | |
2012-09-29 | RST reader: Folded image block handling into directive. | John MacFarlane | 1 | -41/+36 | |
2012-09-29 | RST reader: Folded code block parsers into directive. | John MacFarlane | 1 | -18/+15 | |
2012-09-29 | RST reader: Folded default-role parser into directive. | John MacFarlane | 1 | -21/+8 | |
2012-09-29 | Renamed removedLeadingTrailingSpace to trim. | John MacFarlane | 8 | -41/+36 | |
Also removeLeadingSpace to triml, removeTrailingSpace to trimr. | |||||
2012-09-29 | RST reader: Consolidated math block parsers into directive. | John MacFarlane | 1 | -29/+9 | |
2012-09-29 | RST reader: Refactored directive parser. | John MacFarlane | 1 | -83/+105 | |
We now also hander container, compound, epigraph, rubric, highligts, pull-quote. | |||||
2012-09-29 | Biblio: csl parameter now a string rather than a filepath. | John MacFarlane | 1 | -3/+3 | |
API change. | |||||
2012-09-29 | Markdown reader: Worked around some sepBy's. | John MacFarlane | 1 | -8/+11 | |
2012-09-29 | UTF8: Removed unneeded imports. | John MacFarlane | 1 | -5/+0 | |
2012-09-28 | Textile reader: Avoid parsing dashes as strikeout. | John MacFarlane | 1 | -1/+1 | |
Previously the input text-- text-- text-- text-- would be parsed with strikeouts rather than dashes. This fixes the problem by requiring that a strikeout delimiting - not be followed by a -. Closes #631. | |||||
2012-09-28 | Textile reader: Fixed bug affected words ending in hyphen. | John MacFarlane | 1 | -2/+5 | |
Note: sepBy1 doesn't work quite as I expected. It gives odd results if sep succeeds but not p. | |||||
2012-09-28 | Textile: Improvements to surround and symbol. | John MacFarlane | 1 | -2/+2 | |
2012-09-28 | RST reader: Support ".. code::". | John MacFarlane | 1 | -1/+5 | |
2012-09-28 | RST reader: Combine para/plain. | John MacFarlane | 1 | -9/+10 | |
2012-09-28 | HTML writer: Use toHtml instead of pre-escaping. | John MacFarlane | 1 | -4/+7 | |
We work around the problem that blaze-html unnecessarily escapes `'` by pre-escaping just the `'` characters, instead of the whole string. If blaze-html later stops escaping `'` characters, we can simplify strToHtml to toHtml. Note that this change yields a significant speed boost (111ms to 94ms on one benchmark). Closes #629. | |||||
2012-09-28 | RST reader: Made para parser slightly more efficient. | John MacFarlane | 1 | -12/+19 | |
2012-09-27 | RST reader: Use Text.Pandoc.Builder. | John MacFarlane | 1 | -174/+180 | |
This will give us more flexibility in the future. It also gives built-in normalization. Performance slightly better. | |||||
2012-09-27 | Shared: Export compactify', formerly in Markdown reader. | John MacFarlane | 2 | -21/+25 | |
2012-09-27 | Parsing: Changed type of stateSubstitutions to use Inlines. | John MacFarlane | 1 | -2/+2 | |
2012-09-27 | Removed nullBlock. | John MacFarlane | 2 | -7/+1 | |
Don't use nullBlock in Textile reader. Better to know about parsing problems than to skip stuff when we get stuck. | |||||
2012-09-27 | RST reader: Support :target: on image substitutions. | John MacFarlane | 1 | -26/+26 | |
2012-09-27 | Added stateSubstitutions to ParserState, use for RST substitutions. | John MacFarlane | 2 | -12/+23 | |
2012-09-27 | Removed Ext_monospace_autolinks. | John MacFarlane | 2 | -8/+2 | |
2012-09-27 | Added Ext_autolink_urls. | John MacFarlane | 2 | -0/+10 | |
2012-09-27 | Renamed Ext_autolink_code_spans to Ext_monospace_autolinks. | John MacFarlane | 2 | -3/+3 | |
2012-09-26 | RST reader: Support :target: on .. image:: blocks. | John MacFarlane | 1 | -4/+8 | |
Still not supported on substitution definitions. | |||||
2012-09-26 | Biblio: Remove workaround for toCapital. | John MacFarlane | 1 | -10/+2 | |
Now citeproc-hs is fixed upstream, so this is no longer needed. Closes #531. | |||||
2012-09-26 | Shared: Count \r as space in removeLeading/TrailingSpace. | John MacFarlane | 1 | -1/+1 | |
2012-09-26 | UTF8: Better error message for invalid UTF8. | John MacFarlane | 1 | -4/+6 | |
Read bytestring and use Text's decodeUtf8 instead of using System.IO's hGetContents. This way you get a message saying "invalid UTF-8 stream" instead of "invalid byte sequence." You are also told which byte caused the problem. | |||||
2012-09-25 | Make --id-prefix affect footnote IDs in markdown writer. | John MacFarlane | 2 | -4/+5 | |
Closes #614. |