Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-12-06 | Lua filters: use script to initialize the interpreter | Albert Krewinkel | 1 | -1/+29 | |
The file `init.lua` is used to initialize the Lua interpreter which is used in Lua filters. This gives users the option to require libraries which they want to use in all of their filters, and to extend default modules. | |||||
2017-12-01 | Lua/StackInstances: push Pandoc and Meta via constructor | Albert Krewinkel | 1 | -0/+11 | |
Pandoc and Meta elements are now pushed by calling the respective constructor functions of the pandoc Lua module. This makes serialization consistent with the way blocks and inlines are pushed to lua and allows to use List methods with the `blocks` value. | |||||
2017-12-01 | lua-filters.md: add documentation for pandoc.List | Albert Krewinkel | 1 | -0/+103 | |
2017-11-21 | lua-filters.md - added tikz filter example. | John MacFarlane | 1 | -0/+83 | |
2017-11-21 | Added epub.md, getting-started.md to docs. | John MacFarlane | 2 | -0/+470 | |
These used to live in the website repo. | |||||
2017-11-20 | Update title and authors on lua-filters.md. | John MacFarlane | 1 | -3/+4 | |
2017-11-18 | Documented text module for lua-filters. | John MacFarlane | 1 | -0/+37 | |
See #4077. | |||||
2017-11-18 | Update man page lua filter to use text module. | John MacFarlane | 1 | -1/+4 | |
2017-11-12 | More efficient wordcount.lua example. | John MacFarlane | 1 | -2/+1 | |
2017-11-12 | lua-filters.md: add wordcount example. | John MacFarlane | 1 | -0/+47 | |
2017-11-12 | Improve handout example. | John MacFarlane | 1 | -2/+5 | |
2017-11-12 | Fixed typo in lua-filters exmaple. | John MacFarlane | 1 | -1/+1 | |
2017-11-12 | lua-filters.md doc: Added handout example. | John MacFarlane | 1 | -0/+21 | |
2017-11-12 | Fix a typo: "uisng" -> "using" | Alexander Krotov | 1 | -1/+1 | |
2017-11-11 | lua-filters.md: use real-world man page filter as example. | John MacFarlane | 1 | -4/+17 | |
2017-11-11 | Add lua filter functions to walk inline and block elements. | John MacFarlane | 1 | -1/+48 | |
Refactored some code from Text.Pandoc.Lua.PandocModule into new internal module Text.Pandoc.Lua.Filter. Add `walk_inline` and `walk_block` in pandoc lua module. | |||||
2017-10-26 | partially undo commit da1e626 | Kolen Cheung | 1 | -2/+2 | |
2017-10-26 | doc/using-the-pandoc-api.md: proofread (minor) | Kolen Cheung | 1 | -3/+3 | |
2017-10-26 | doc/filters.md: add more links to pandoc filters in diff. lang. | Kolen Cheung | 1 | -2/+4 | |
2017-10-26 | Small fix to API guide. | John MacFarlane | 1 | -2/+2 | |
2017-10-26 | Finshed API guide. Closes #3289. | John MacFarlane | 1 | -21/+40 | |
2017-10-26 | More API documentation. | John MacFarlane | 1 | -7/+60 | |
2017-10-26 | More work on using-the-pandoc-api.md. | John MacFarlane | 1 | -35/+98 | |
2017-10-25 | More work on using-the-pandoc-api.md. | John MacFarlane | 1 | -17/+51 | |
2017-10-24 | Small improvements in using-the-pandoc-api.md. | John MacFarlane | 1 | -3/+3 | |
2017-10-24 | More progress on using-the-pandoc-api.md. | John MacFarlane | 1 | -32/+238 | |
2017-10-24 | Some work on using-the-pandoc-api.md. | John MacFarlane | 1 | -13/+42 | |
2017-10-05 | pandoc.lua: throw better error when pipe command fails | Albert Krewinkel | 1 | -0/+6 | |
A table containing the error code, command, and command output is thrown instead of just a string error message. | |||||
2017-10-04 | lua-filters.md: fix link to module documentation | Albert Krewinkel | 1 | -1/+1 | |
2017-10-03 | Added abc.lua example to lua-filters documentation. | John MacFarlane | 1 | -14/+61 | |
Also fixed docs for `pipe`. | |||||
2017-10-01 | Lua: added 'pipe', which encapsulates Text.Pandoc.Process.pipeProcess. | John MacFarlane | 1 | -0/+14 | |
This is hard to do in lua, so it's helpful to provide this. | |||||
2017-10-01 | Lua: move sha1 from pandoc.mediabag to pandoc. | John MacFarlane | 1 | -12/+13 | |
2017-09-30 | Lua: use sha1 instead of hashname. | John MacFarlane | 1 | -5/+4 | |
Better to leave control over the extension to the user. | |||||
2017-09-30 | Lua: make fetch return mime type first and then content. | John MacFarlane | 1 | -0/+9 | |
2017-09-30 | Lua: simply mediabag module. | John MacFarlane | 1 | -4/+12 | |
Now 'fetch' simply fetches content and mime type. A new 'hashname' function is provided to get a filename based on the sha1 hash of the contents and the mime type. | |||||
2017-09-30 | Lua: make lua.mediabag.fetch return filename and mime type. | John MacFarlane | 1 | -1/+3 | |
This is necessary because you may need to insert the filename into an image or link element. | |||||
2017-09-30 | Merge pull request #3945 from tarleb/lua-mediabag | John MacFarlane | 1 | -0/+77 | |
Lua mediabag module | |||||
2017-09-30 | Provide make target to update lua module docs (#3946) | Albert Krewinkel | 1 | -45/+48 | |
The pandoc module documentation in doc/lua-filters.md was automatically generated from `data/pandoc.lua`. A make target is provided which uses a lua filter to update the documentation. | |||||
2017-09-30 | doc/lua-filters.md: document mediabag submodule | Albert Krewinkel | 1 | -0/+77 | |
2017-09-26 | Lua filters: set global FORMAT instead of args. | John MacFarlane | 1 | -0/+4 | |
This changes the type of runLuaFilter. | |||||
2017-09-24 | Document possible return values of lua filter functions | Albert Krewinkel | 1 | -5/+16 | |
This is mostly copy'n'pasted from the pandocfilters documentation. | |||||
2017-09-16 | Adjusted headings in using-the-pandoc-api.md. | John MacFarlane | 1 | -6/+35 | |
2017-09-16 | Removed customizing-pandoc.md from doc/, added filters.md. | John MacFarlane | 3 | -28/+480 | |
filters.md is essentially the scripting tutorial from the webiste. | |||||
2017-09-16 | Moved ldoc.ltp from doc to tools. | John MacFarlane | 1 | -38/+0 | |
doc should be reserved for actual documents, I think. @tarleb - will this cause a problem? | |||||
2017-08-31 | lua-filters.md: append docs for pandoc's lua module | Albert Krewinkel | 1 | -1/+736 | |
The documentation was generated from `data/pandoc.lua` using the following command: ldoc -l doc -d /tmp data/pandoc.lua; pandoc -t markdown --columns=65 \ --atx-headers /tmp/index.html >> \ doc/lua-filters.md | |||||
2017-08-31 | Add ldoc template for lua module documentation | Albert Krewinkel | 1 | -0/+38 | |
The template can be used instead of the default template by calling ldoc with the `-l doc` option, where *doc* is the directory of the template. | |||||
2017-08-30 | Document fallback functions in lua filters | Albert Krewinkel | 1 | -0/+5 | |
2017-08-21 | Added introduction and lightly edited rest of lua-filters document. | John MacFarlane | 1 | -71/+150 | |
See #3608. | |||||
2017-08-21 | doc/lua-filter.md: Add metadata variable replacment example | Albert Krewinkel | 1 | -0/+58 | |
2017-08-21 | lua-filters.md: update docs and mention implicit filters | Albert Krewinkel | 1 | -2/+16 | |