Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-05-09 | Update copyright notices for 2014, add missing notices | Albert Krewinkel | 1 | -2/+2 | |
2014-04-30 | RST reader: Some fixes to last change, and use "author" not "authors". | John MacFarlane | 1 | -6/+7 | |
(in metadata) | |||||
2014-04-30 | RST reader: Better handling of directives. | John MacFarlane | 1 | -12/+15 | |
* We now correctly handle field lists that are indented more than 3 spaces. * We treat an "aafig" directive as a code block with attributes, so it can be processed in a filter. (Closes #1212.) | |||||
2014-04-24 | RST reader: Remove duplicate 'http' in PEP links | Albert Krewinkel | 1 | -1/+1 | |
The generated link to PEPs had a duplicate 'http://' in its URL. | |||||
2014-04-01 | Changed the smart punctuation parser to return Inlines rather than an Inline ↵ | Matthew Pickering | 1 | -1/+1 | |
element and updated files accordingly | |||||
2014-02-19 | Make rst figures true figures. Closes #1168. | John MacFarlane | 1 | -1/+1 | |
Thanks to CasperVector. | |||||
2014-02-15 | Enhanced Pandoc's support for rST roles. | Merijn Verstraaten | 1 | -10/+81 | |
rST parser now supports: - All built-in rST roles - New role definition - Role inheritance Issues/TODO: - Silently ignores illegal fields on roles - Silently drops class annotations for roles - Only supports :format: fields with a single format for :raw: roles, requires a change to Text.Pandoc.Definition.Format to support multiple formats. - Allows direct use of :raw: role, rST only allows indirect (i.e., inherited use of :raw:). | |||||
2013-09-07 | Added support for LaTeX style literate Haskell code blocks in rST. | Merijn Verstraaten | 1 | -6/+17 | |
2013-09-01 | Use registerHeader in RST and LaTeX readers. | John MacFarlane | 1 | -2/+4 | |
This will give automatic unique identifiers, unless `-auto_identifiers` is specified. | |||||
2013-08-10 | Adjustments for new Format newtype. | John MacFarlane | 1 | -0/+1 | |
2013-06-25 | Fixed 'authors' metadata parsing in reST. | John MacFarlane | 1 | -1/+22 | |
Semicolons separate different authors. | |||||
2013-06-24 | Use new flexible metadata type. | John MacFarlane | 1 | -40/+33 | |
* Depend on pandoc 1.12. * Added yaml dependency. * `Text.Pandoc.XML`: Removed `stripTags`. (API change.) * `Text.Pandoc.Shared`: Added `metaToJSON`. This will be used in writers to create a JSON object for use in the templates from the pandoc metadata. * Revised readers and writers to use the new Meta type. * `Text.Pandoc.Options`: Added `Ext_yaml_title_block`. * Markdown reader: Added support for YAML metadata block. Note that it must come at the beginning of the document. * `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`, `stateAuthors`, `stateDate` with `stateMeta`. * RST reader: Improved metadata. Treat initial field list as metadata when standalone specified. Previously ALL fields "title", "author", "date" in field lists were treated as metadata, even if not at the beginning. Use `subtitle` metadata field for subtitle. * `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string instead of a compiled template.. * OPML template: Use 'for' loop for authors. * Org template: '#+TITLE:' is inserted before the title. Previously the writer did this. | |||||
2013-06-18 | RST reader: don't insert paragraphs where docutils doesn't. | John MacFarlane | 1 | -1/+6 | |
rst2html doesn't add `<p>` tags to list items (even when they are separated by blank lines) unless there are multiple paragraphs in the list. This commit changes the RST reader to conform more closely to what docutils does. Closes #880. | |||||
2013-03-11 | Fixed spacing bugs involving code block attributes. | John MacFarlane | 1 | -1/+1 | |
Closes #763. | |||||
2013-01-27 | Markdown/RST reader: Skip blank lines. | John MacFarlane | 1 | -0/+1 | |
This fixes a subtle regression involving grid tables with empty cells. Closes #732. Also added test for grid table with empty cells. | |||||
2013-01-25 | RST reader: Allow anonymous form of explicit links. | John MacFarlane | 1 | -0/+1 | |
`hello <url>`__ Closes #724. | |||||
2013-01-25 | Use anyLine everywhere instead of 'manyTill anyChar newline'. | John MacFarlane | 1 | -5/+5 | |
2013-01-13 | Moved lineBlockLines to Parsing. | John MacFarlane | 1 | -12/+1 | |
This will be used by both RST and markdown readers. | |||||
2013-01-13 | RST reader: Refactored line block parser. | John MacFarlane | 1 | -14/+10 | |
2013-01-13 | RST reader: Line block improvements. | John MacFarlane | 1 | -3/+8 | |
* Use nonbreaking spaces for initial indent (otherwise lost in HTML and LaTeX). * Allow multiple paragraphs in a single line block. | |||||
2013-01-09 | Added Attr field to Header. | John MacFarlane | 1 | -6/+6 | |
Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers. | |||||
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-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 | 1 | -11/+11 | |
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-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 | 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 | 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 | 1 | -12/+18 | |
2012-09-26 | RST reader: Support :target: on .. image:: blocks. | John MacFarlane | 1 | -4/+8 | |
Still not supported on substitution definitions. | |||||
2012-09-16 | RST reader: Small tweaks to raw field lists. | John MacFarlane | 1 | -3/+2 | |
* Don't allow line breaks in field names. * Strip off initial newline from 'raw' when field body begins on next line. | |||||
2012-09-16 | Merge pull request #596 from dlax/rst-fieldlists | John MacFarlane | 1 | -2/+2 | |
improvements to rst reader for field lists | |||||
2012-09-08 | RST reader: Allow dashes as separator in simple tables. | John MacFarlane | 1 | -1/+1 | |
Closes #555. | |||||
2012-08-29 | Allow any char but ':' in names of field lists in RST reader | Denis Laxalde | 1 | -1/+1 | |