aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-03-02RST reader: Handle multiline cells in simple tables.John MacFarlane2-8/+64
Closes #1166.
2017-03-02LaTeX writer: add `\leavevmode` before hypertarget at start of paragraph.John MacFarlane1-1/+8
Closes #2704 (formatting problems in beamer citations). See http://tex.stackexchange.com/questions/22852/function-and-usage-of-leavevmode
2017-03-02LaTeX writer: use % after hypertarget before code blockJohn MacFarlane1-1/+4
2017-03-02LaTeX writer: minor tweak to hypertarget (semantically irrelevant).John MacFarlane1-1/+3
2017-03-02Removed unnecessary import.John MacFarlane1-1/+0
2017-03-02Bumped syb upper bound.John MacFarlane1-3/+3
2017-03-02Markdown reader: when splitting pipe table cells, skip tex math.John MacFarlane1-1/+1
You might have a `|` character inside math. (Or for that matter something that the parser might mistake for raw HTML.) See #3481.
2017-03-01LaTeX writer: always add hypertarget when there's a non-empty identifier.John MacFarlane6-67/+94
Previously the hypertargets were only added when there was actually a link to that identifier. Closes #2719.
2017-03-01LaTeX reader: don't drop contents of \hypertarget.John MacFarlane1-0/+3
2017-03-01Writers: Use gets to access MonadState where possible (#3480)Alexander Krotov7-53/+53
2017-03-01Markdown writer: Fixed grid tables embedded in grid tables.John MacFarlane2-32/+81
Closes #2834.
2017-03-01Markdown writer: Refactored gridTable to use widths in chars.John MacFarlane1-10/+12
2017-03-01Fixed typos in CONTRIBUTING.md (#3479)Wandmalfarbe1-2/+2
2017-03-01ODT writer: calculate aspect ratio for percentage-sized images (#3478)Mauro Bieg2-4/+2
closes #3239
2017-02-28RST reader: implemented implicit internal header links.John MacFarlane2-18/+87
Cloess #3475.
2017-02-27Removed `--epub-stylesheet`; use `--css` instead.John MacFarlane4-47/+37
* Removed writerEpubStylesheet in WriterOptions. * Removed `--epub-stylesheet` option. * Allow `--css` to be used with epub. * Allow multiple stylesheets to be used. * Stylesheets will be taken both from `--css` and from the `stylesheet` metadata field (which can contain either a file path or a list of them). Closes #3472, #847.
2017-02-27LaTeX reader: Handle komascript `\dedication`.John MacFarlane1-0/+2
It now adds a `dedication` field to metadata. It is up to the user to supply a template that uses this variable. Closes #1845.
2017-02-27Added issue and PR template for data/templates.John MacFarlane2-0/+7
Direct users to open issues in jgm/pandoc, not jgm/pandoc-templates.
2017-02-27Merge commit 'ce8226f1a7d64da56117d2f7f351e06225a84614'John MacFarlane0-0/+0
2017-02-27Update RELEASE_CHECKLIST.John MacFarlane1-1/+1
2017-02-27Removed .gitmodules.John MacFarlane1-3/+0
2017-02-27Updated README for pandco-templates.John MacFarlane1-16/+23
2017-02-27Minor cleanups in LaTeX reader.John MacFarlane1-5/+4
2017-02-26RST reader: support scale and align attributes of images.John MacFarlane3-6/+37
Closes #2662.
2017-02-26ImageSize: export lengthToDim, new function scaleDimension.John MacFarlane1-0/+12
2017-02-26`--self-contained`: don't incorporate elements with `data-external="1"`.John MacFarlane2-5/+10
You can leave an external link as it is by adding the attribute data-external="1" to the element. Pandoc will then not try to incorporate its content when `--self-contained` is used. This is similar to a feature already supported by the EPUB writer. Closes #2656.
2017-02-26Fixed typo in CONTRIBUTING.md.John MacFarlane1-1/+1
Introduced by 9d91b8825f6338e415eceb1163bba95d3178a49a.
2017-02-26MANUAL.txt explain --webtex SVG url (#3471)Mauro Bieg1-1/+3
2017-02-26CONTRIBUTING.md add "ask on pandoc-discuss"Mauro Bieg1-1/+7
2017-02-25Fixed type sig for older GHC versions.John MacFarlane1-1/+1
2017-02-25Added test case for variables/metadata in Markdown writer.John MacFarlane1-0/+15
2017-02-25App: reverse optInputFiles so they come out in right order in templates.John MacFarlane1-1/+5
2017-02-25Markdown writer: don't include variables in metadata blocks!John MacFarlane1-4/+3
Previously variables set on the command line were included in e.g. YAML metadata, contrary to documentation and intentions.
2017-02-25Fixed addVariablesToJSON.John MacFarlane1-2/+5
It was previously not allowing multiple values to become lists.
2017-02-25Add `sourcefile` and `outputfile` template variables (#3439)Roland Hieber2-0/+21
Closes #3431.
2017-02-25Writers.Shared: export metaToJSON', addVariablesToJSON.John MacFarlane1-10/+28
This allows us to add the variables AFTER using the metadata to generate a YAML header (in the Markdown writer). Addresses the problem shown by https://travis-ci.org/jgm/pandoc/jobs/205154181#L705 See #3439
2017-02-25Writers.Shared: Changed metaToJSON a bit.John MacFarlane1-4/+17
Now we handle metadata first, then variables. This way, meta-json variable will not contain representations of variables, only proper metadata.
2017-02-25AsciiDoc writer: use PandocMonad throughout.John MacFarlane1-24/+36
Issues info messages for non-rendered raw content.
2017-02-25Expose some unexposed modules.John MacFarlane1-5/+5
+ Text.Pandoc.Writers.Shared + Text.Pandoc.Parsing + Text.Pandoc.Asciify + Text.Pandoc.Emoji + Text.Pandoc.ImageSize [API change] These are often helpful to people writing their own reader or writer modules. Closes #3260.
2017-02-25Fetch images when generating PDF via context.John MacFarlane1-3/+6
To do this, we create the temp directory as a subdirectory of the working directory. Since context mk IV by default looks for images in the parent directory, this works. Closes #3380.
2017-02-25Docx writer: use Set for dynamic styles to avoid duplicates.John MacFarlane1-8/+10
2017-02-25Docx writer: bookmarks for Span with id.John MacFarlane1-45/+58
And cleaned up code.
2017-02-25Docx writer bookmark improvements.John MacFarlane1-21/+29
- Bookmark start/end now surrounds content rather than preceding it. - Bookmarks generated for Div with id. Fixes jgm/pandoc-citeproc#205. - Cleaner code for handling dir and style attributes for Div.
2017-02-25Make `--ascii` work with DocBook output too.John MacFarlane2-3/+6
2017-02-25LaTeX reader: allow hspace and vspace to count as raw block or inline.John MacFarlane2-3/+61
Previously we would refuse to parse anything as raw inline if it was in the blockCommands list. Now we allow exceptions if they're listed under ignoreInlines in inlineCommands. This should make it easier e.g. to include an \hspace between two side-by-side raw LaTeX tables.
2017-02-25Revert "LaTeX reader: don't treat `\vspace` and `\hspace` as block commands."John MacFarlane1-0/+1
This reverts commit 2873cd82886d1fa557bf3abde37b5ceb3cadf40c.
2017-02-25Fix stale references to `tests` directory (#3469)Or Neeman5-11/+11
Some of the benchmarks were failing due to references to files in the `tests` directory, which is now called `test`. A search found other references to it also. This commit updates all these references.
2017-02-24Fixed link to mac uninstaller script.John MacFarlane1-2/+2
2017-02-24Removed unnecessary import.John MacFarlane1-1/+0
2017-02-24Use catchError instead of runExceptT.John MacFarlane3-57/+68