Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-06-25 | Fixed 'authors' metadata parsing in reST. | John MacFarlane | 1 | -1/+22 | |
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 | 1 | -1/+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-24 | Use new flexible metadata type. | John MacFarlane | 33 | -522/+629 | |
* 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 | 3 | -134/+237 | |
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 | 1 | -13/+24 | |
Benchmarked: about twice as slow as json! | |||||
2013-06-24 | Parsing: Generalized state type on readWith. | John MacFarlane | 1 | -3/+3 | |
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 | 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 | 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-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 | 1 | -1/+2 | |
2013-06-02 | LaTeX writer: Always create labels for sections. | John MacFarlane | 1 | -7/+9 | |
Previously the labels were only created when there were links to the section in the document. Closes #871. | |||||
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-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-04 | Less verbose output from --self-contained. | John MacFarlane | 1 | -1/+2 | |
Now one gets "Fetching [URL]..." for each URL fetched, but not the full header. | |||||
2013-05-02 | RTF writer: Properly handle characters above the 0000-FFFF range. | John MacFarlane | 1 | -2/+12 | |
Uses surrogate pairs. Thanks to Hiromi Ishii for the patch. | |||||
2013-05-01 | Shared.openURL: Print diagnostic output to stderr, not stdout. | John MacFarlane | 1 | -3/+5 | |
2013-04-28 | Shared.openURL: URL-escape pipe characters. | John MacFarlane | 1 | -3/+2 | |
Even though these are legal, Network.URI doesn't regard them as legal in URLs. So we escape them first. Closes #535. | |||||
2013-04-26 | PDF: On Windows, create temdir in working directory. | John MacFarlane | 1 | -2/+10 | |
Reason: the path to the system temp directory may contain tildes, which causes problems in LaTeX when the username is more than eight characters. Closes #777. | |||||
2013-04-25 | Don't convert to lowercase in email obfuscation. | John MacFarlane | 1 | -6/+8 | |
Closes #839. | |||||
2013-04-23 | Markdown reader: Implemented `Ext_ascii_identifiers`. | John MacFarlane | 1 | -2/+8 | |
Closes #807. | |||||
2013-04-23 | Options: Added `Ext_ascii_identifiers`. | John MacFarlane | 1 | -0/+3 | |
This will force `Ext_auto_identifiers` to use ASCII only. Set as default for github markdown. Note: API change. | |||||
2013-04-23 | Added Text.Pandoc.Asciify utility module. | John MacFarlane | 1 | -0/+422 | |
This has functions to create ascii-only versions of identifiers. | |||||
2013-04-20 | Add slash in internal links in reveal.js. | John MacFarlane | 1 | -3/+16 | |
Closes #835. | |||||
2013-04-20 | Shared: Fixed readDefaultDataFile so it works on Windows. | John MacFarlane | 1 | -2/+2 | |
2013-04-20 | Revert "Improved previous patch so it really solves the Windows issue." | John MacFarlane | 1 | -1/+2 | |
This reverts commit e80116c813ecfc8cde094cddd36a3b083c108fd8. | |||||
2013-04-19 | Improved previous patch so it really solves the Windows issue. | John MacFarlane | 1 | -2/+1 | |
2013-04-19 | Shared: readDefaultDataFile: normalize the paths. | John MacFarlane | 1 | -1/+7 | |
This fixes bugs in `--self-contained` on pandoc compiled with `embed_data_files`. The bugs affect (a) paths containing `..`, (b) Windows, where `\` is path separator. Closes #833. | |||||
2013-04-19 | Markdown reader: minor code cleanup. | John MacFarlane | 1 | -2/+2 | |
2013-04-15 | Fixed footnote numbers in LaTeX/PDF tables. | John MacFarlane | 1 | -17/+4 | |
This fixes a bug wherein notes were numbered incorrectly in tables. Closes #827. Now that we are using longtable, we can just use regular `\footnote` commands for notes, which simplifies the code considerably. | |||||
2013-04-14 | Markdown/RST writers: Only autolink absolute URIs. | John MacFarlane | 2 | -4/+8 | |
This fixes a regression and closes #830. $ echo '<a href="x">x</a>' | pandoc -f html -t markdown <x> | |||||
2013-04-14 | Haddock reader improvements. | John MacFarlane | 1 | -10/+6 | |
- Correctly handle ghci sessions. - Fixed spacing issues. - Simplified code. | |||||
2013-04-14 | Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`. | John MacFarlane | 2 | -2/+237 | |
pandoc -t data/sample.lua will load the script sample.lua and use it as a custom writer. data/sample.lua is provided as an example. Added `--print-custom-lua-writer` option to print the sample script. | |||||
2013-04-10 | Added comment/todo to SelfContained. | John MacFarlane | 1 | -0/+1 | |
2013-04-09 | Man writer: use one decimal place for column widths. | John MacFarlane | 1 | -1/+1 | |
This, I hope, will fix test failures on GHC 7.6 due to (presumably) different rounding or floating point multiplication. | |||||
2013-04-09 | Removed unnecessary OPTIONS flag in Haddock/Parse.y. | John MacFarlane | 1 | -1/+0 | |