Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-08 | Fix apparent typos in sample.lua (#6729) | William Lupton | 1 | -8/+7 | |
2020-02-12 | sample.lua - fix error message. | John MacFarlane | 1 | -1/+1 | |
image_format not img_format. Closes #6135. | |||||
2020-02-11 | sample.lua: Fix typo in descriptive comments (#6136) | Caleb Maclennan | 1 | -2/+1 | |
2019-01-16 | sample.lua: Add a missing '>' | MichaWiedenmann | 1 | -1/+1 | |
2018-11-29 | sample.lua: add SingleQuoted, DoubleQuoted. | John MacFarlane | 1 | -0/+8 | |
Closes #5104. | |||||
2018-10-14 | Custom writer: provide PANDOC_DOCUMENT instead of Setup function | Albert Krewinkel | 1 | -23/+13 | |
Custom writers have access to the global variable `PANDOC_DOCUMENT`. The variable contains a userdata wrapper around the full pandoc AST and exposes two fields, `meta` and `blocks`. The field content is only marshaled on-demand, performance of scripts not accessing the fields remains unaffected. | |||||
2018-10-13 | Custom writer: give full access to doc in optional Setup function (#4967) | Albert Krewinkel | 1 | -3/+34 | |
Custom writers can specify an optional `Setup` function. The function takes the full Pandoc document as input and should not return any value. Users can use this function to configure the writer depending on the given document's content or its metadata. data/sample.lua: add sample use of Setup function. The change allows to control the image format used to encode the image produced from dot code. Closes #4957 | |||||
2018-10-13 | data/sample.lua: replace custom pipe function with pandoc.utils.pipe | Albert Krewinkel | 1 | -14/+3 | |
2017-12-27 | data/sample.lua: use `next` instead of for loop | Albert Krewinkel | 1 | -4/+3 | |
Each definition list item contains just a single key and the associated value. Using `next` to get the key/value pair is more idiomatic than iterating over the single-element table. | |||||
2017-12-27 | Removed extra comment. | John MacFarlane | 1 | -1/+0 | |
2017-12-27 | Revert "data/sample.lua: Fixed problem with definition lists." | John MacFarlane | 1 | -3/+5 | |
This reverts commit 0e3736422ee97a5cfedc255705f566a319f954f9 in favor of @tarleb's fix. | |||||
2017-12-27 | data/sample.lua: fixed problem with tables. | John MacFarlane | 1 | -1/+1 | |
Closes #4202. | |||||
2017-12-27 | data/sample.lua: Fixed problem with definition lists. | John MacFarlane | 1 | -5/+3 | |
2017-01-18 | Fix sample.lua barfing on Raw data (#3358) | bumper314 | 1 | -0/+4 | |
* Fix for "pandoc: user error (Incorrect result type (string expected, got nil))." when the source format contains Raw data. * Update sample.lua | |||||
2016-10-23 | Handle line blocks in sample.lua custom lua writer. | John MacFarlane | 1 | -0/+5 | |
2016-06-20 | Implement RawInline and RawBlock in sample lua custom writer. | John MacFarlane | 1 | -0/+12 | |
Closes #2985. | |||||
2016-02-05 | Custom writer: Pass attributes parameter to CaptionedImage. | John MacFarlane | 1 | -1/+1 | |
Closes #2697. | |||||
2015-12-11 | Implemented SoftBreak and new `--wrap` option. | John MacFarlane | 1 | -2/+6 | |
Added threefold wrapping option. * Command line option: deprecated `--no-wrap`, added `--wrap=[auto|none|preserve]` * Added WrapOption, exported from Text.Pandoc.Options * Changed type of writerWrapText in WriterOptions from Bool to WrapOption. * Modified Text.Pandoc.Shared functions for SoftBreak. * Supported SoftBreak in writers. * Updated tests. * Updated README. Closes #1701. | |||||
2015-09-15 | sample.lua - define CaptionedImage, add newline at end. | John MacFarlane | 1 | -1/+7 | |
Cloess #2393. | |||||
2014-07-16 | Custom writers now work with `--template`. | John MacFarlane | 1 | -19/+4 | |
Removed HTML header scaffolding from data/sample.lua. | |||||
2014-07-16 | Made Citation information available in lua custom writer. | John MacFarlane | 1 | -2/+7 | |
2013-12-13 | Added Cite function to sample.lua. | John MacFarlane | 1 | -0/+4 | |
2013-08-08 | Preliminary support for new Div and Span elements in writers. | John MacFarlane | 1 | -0/+8 | |
Currently these are "transparent" containers, except in HTML, where they produce div and span elements with attributes. | |||||
2013-07-14 | Updated sample.lua for new metadata. | John MacFarlane | 1 | -5/+5 | |
2013-06-27 | Custom writer: Pass full metadata, not just tit/auth/date. | John MacFarlane | 1 | -7/+7 | |
2013-04-14 | Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`. | John MacFarlane | 1 | -0/+312 | |
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. |