Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-06-30 | Markdown writer: Support yaml title block. | John MacFarlane | 2 | -12/+37 | |
2013-06-29 | Metadata changes: Variables now completely shadow metadata. | John MacFarlane | 16 | -37/+41 | |
Previously if you set a value both in metadata and with a variable, they'd be combined into a list. Now the variable replaces the value in document metadata. If many variables with the same name are set, a list is created. Shared: metaToJSON now has an argument for a variable list. | |||||
2013-06-28 | ConTeXt writer: Properly handle tables without captions. | John MacFarlane | 2 | -6/+8 | |
The old output only worked in MkII. This should work in MkIV as well. Closes #837. | |||||
2013-06-27 | Custom writer: Pass full metadata, not just tit/auth/date. | John MacFarlane | 2 | -12/+22 | |
2013-06-27 | Writers: Use defField for defaults. | John MacFarlane | 15 | -83/+83 | |
This way explicitly specified fields not overridden. Fixes a problem e.g. with specifying a documentclass via the command line using -V. | |||||
2013-06-27 | Shared: Added `defField`. | John MacFarlane | 1 | -0/+14 | |
`defField` is like `setField`, but does nothing if the field already has a value. | |||||
2013-06-27 | Man writer: give more fine-grained control in template. | John MacFarlane | 4 | -18/+29 | |
Now the `title`, `section`, `header`, and `footer` can all be set individually in metadata. The `description` variable has been removed. Quotes have been added so that spaces are allowed in the title. If you have a title that begins COMMAND(1) footer here | header here pandoc will parse it as before into a title, section, header, and footer. But you can also specify these elements explicitly. Closes #885. | |||||
2013-06-27 | LaTeX reader: Support alltt environment. | John MacFarlane | 1 | -2/+12 | |
Closes #892. | |||||
2013-06-26 | Stop escaping `|` in LaTeX math. | John MacFarlane | 3 | -11/+4 | |
This caused problems with array environments. Closes #891. | |||||
2013-06-26 | Require highlighting-kate 0.5.4. | John MacFarlane | 1 | -3/+3 | |
2013-06-25 | Use latest chicago-author-date.csl. | John MacFarlane | 3 | -817/+889 | |
2013-06-25 | Fixed 'authors' metadata parsing in reST. | John MacFarlane | 3 | -8/+25 | |
Semicolons separate different authors. | |||||
2013-06-25 | Fixed regression with RTF table of contents. | John MacFarlane | 1 | -1/+4 | |
2013-06-25 | Some test suite fixes for new metadata. | John MacFarlane | 16 | -14/+16 | |
2013-06-25 | Revised benchmark for new metadata. | John MacFarlane | 1 | -2/+1 | |
2013-06-25 | Fixed merge bugs in Shared. | John MacFarlane | 1 | -10/+10 | |
2013-06-25 | Removed 'Functor' constraint. | John MacFarlane | 1 | -2/+2 | |
2013-06-25 | Merge pull request #886 from aaronwolen/master | John MacFarlane | 1 | -0/+2 | |
Document the `citecolor` variable added to the latex template | |||||
2013-06-25 | Updated Makefile. | John MacFarlane | 1 | -7/+7 | |
2013-06-24 | Use new flexible metadata type. | John MacFarlane | 40 | -552/+678 | |
* 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-24 | Revised Text.Pandoc.Templates to accept JSON contexts. | John MacFarlane | 4 | -134/+240 | |
Currently the library is set up with a shim for association lists, for compatibility, but this can change when the writers are changed. New export: `varListToJSON`. Removed `Empty`. Simplified template type to a newtype. | |||||
2013-06-24 | Use aeson for json. | John MacFarlane | 3 | -24/+27 | |
Benchmarked: about twice as slow as json! | |||||
2013-06-24 | Parsing: Generalized state type on readWith. | John MacFarlane | 1 | -3/+3 | |
2013-06-24 | Documented `citecolor` variable | Aaron Wolen | 1 | -0/+2 | |
2013-06-19 | Added test for #882. | John MacFarlane | 1 | -0/+5 | |
2013-06-19 | Markdown reader: Check for blank lines first in blocks. | John MacFarlane | 1 | -2/+2 | |
(And skip them. This might speed things up in some cases.) | |||||
2013-06-19 | Properly handle blank line at beginning of input. | John MacFarlane | 1 | -1/+1 | |
Closes #882. | |||||
2013-06-19 | Improved code readability. | John MacFarlane | 1 | -11/+15 | |
2013-06-19 | Added a test for #833. | John MacFarlane | 2 | -1/+7 | |
2013-06-19 | Markdown reader: fixed bug in unmatched reference links. | John MacFarlane | 1 | -7/+12 | |
The input [*infile*] [*outfile*] was getting improperly parsed: "infile" was emphasized, but "*outfile*" was literal. This was due to failure to parse the "fallback" in the reference link parser. Closes #883. | |||||
2013-06-18 | RST reader: don't insert paragraphs where docutils doesn't. | John MacFarlane | 2 | -27/+32 | |
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-06-11 | Markdown writer: Don't wrap attributes in fenced code blocks. | John MacFarlane | 1 | -2/+2 | |
2013-06-11 | Textile reader: Correctly handle entities. | John MacFarlane | 3 | -1/+9 | |
2013-06-02 | Latest template changes: title attribute on title section in dzslides. | John MacFarlane | 1 | -5/+8 | |
2013-06-02 | LaTeX writer: Always create labels for sections. | John MacFarlane | 2 | -38/+41 | |
Previously the labels were only created when there were links to the section in the document. Closes #871. | |||||
2013-05-30 | README: Note that `--atx-headers` affects asciidoc as well as markdown. | John MacFarlane | 1 | -2/+2 | |
2013-05-30 | Merge pull request #868 from maxandersen/atxasciidoc | John MacFarlane | 1 | -2/+11 | |
Add support for --atx-headers in asciidoc and remove unnecessary [[]] generation for headers. | |||||
2013-05-31 | Add --atx-headers support to asciidoc and dont print empty identifier blocks ↵ | Max Rydahl Andersen | 1 | -2/+11 | |
([[]]) on headers | |||||
2013-05-29 | Added CPP directives to avoid warnings. | John MacFarlane | 2 | -0/+7 | |
For 'import Prelude hiding (catch)'. catch is no longer in Prelude starting with base 4.6. | |||||
2013-05-29 | Set default stack size to 16M. | John MacFarlane | 1 | -2/+2 | |
This is needed for some large conversions, esp. if pandoc is compiled with 64-bit ghc. | |||||
2013-05-28 | Shared.openURL: Properly handle data: URIs. | John MacFarlane | 1 | -2/+8 | |
2013-05-22 | EPUB writer: math with `--webtex` is automatically made self-contained. | John MacFarlane | 1 | -17/+16 | |
And some code cleanup. | |||||
2013-05-22 | EPUB writer: Download webtex images and include as data URLs. | John MacFarlane | 1 | -25/+32 | |
This allows you to use `--webtex` in creating EPUBs. | |||||
2013-05-20 | MediaWiki reader: Ignore attributes on headers. | John MacFarlane | 1 | -4/+3 | |
2013-05-20 | MediaWiki reader: Skip attributes on table rows. | John MacFarlane | 1 | -1/+2 | |
Previously we just crashed if rows had attributes, now we ignore them. | |||||
2013-05-13 | Markdown reader: Allow internal `+` in citation identifiers. | John MacFarlane | 1 | -1/+1 | |
Closes #856. | |||||
2013-05-12 | LaTeX reader: Skip positional options after `\begin{figure}`. | John MacFarlane | 1 | -0/+1 | |
2013-05-09 | Treat `\textsl` as emphasized text in LaTeX reader. | John MacFarlane | 1 | -0/+1 | |
Closes #850. | |||||
2013-05-09 | Removed obsolete comment. | John MacFarlane | 1 | -3/+0 | |
2013-05-07 | Bump upper bound for criterion. | John MacFarlane | 1 | -1/+1 | |