Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-29 | pandoc.mediabag module: add function `empty` | Albert Krewinkel | 1 | -1/+6 | |
Function `pandoc.mediabag.empty` was added. It allows to clean-out the media bag, removing all entries. | |||||
2019-05-29 | pandoc.mediabag module: add items function iterating over mediabag | Albert Krewinkel | 1 | -0/+27 | |
A new function `pandoc.mediabag.items` was added to Lua module pandoc.mediabag. This allows users to lazily iterate over all media bag items, loading items into Lua one-by-one. Example: for filename, mime_type, content in pandoc.mediabag.items() do -- use media bag item. end This is a convenient alternative to using `mediabag.list` in combination with `mediabag.lookup`. | |||||
2019-05-29 | doc/lua-filters.md: improve docs for Version type/constructor | Albert Krewinkel | 1 | -2/+38 | |
2019-05-29 | Lua: add Version type to simplify comparisons | Albert Krewinkel | 1 | -9/+42 | |
Version specifiers like `PANDOC_VERSION` and `PANDOC_API_VERSION` are turned into `Version` objects. The objects simplify version-appropriate comparisons while maintaining backward-compatibility. A function `pandoc.types.Version` is added as part of the newly introduced module `pandoc.types`, allowing users to create version objects in scripts. | |||||
2019-05-04 | Lua: add `pandoc.system` module (#5468) | Albert Krewinkel | 1 | -0/+108 | |
The `system` Lua module provides utility functions to interact with the operating- and file system. E.g. print(pandoc.system.get_current_directory()) or pandoc.system.with_temporary_directory('tikz', function (dir) -- write and compile a TikZ file with pdflatex end) | |||||
2019-05-01 | Fix broken links in documents (#5473) | Shim Myeongseob | 6 | -40/+40 | |
Fix broken links in doc/epub.md, doc/getting-started.md, doc/customizing-pandoc.md, doc/using-the-pandoc-api.md. Also, use absolute links to pandoc.org when possible, so that the links can be followed by people viewing these documents on GitHub. | |||||
2019-04-15 | Improved sample lua tikz filter in lua-filters docs (#5445) | Matthew Doty | 1 | -12/+21 | |
There are three changes: - It only processes elements which begin with \begin{tikzpicture} - It uses pdf2svg instead of imagemagick to preserve fidelity - The images produced have transparent backgrounds | |||||
2019-02-16 | doc/lua-filters.md: fixed typos in mediabag docs. | Albert Krewinkel | 1 | -3/+3 | |
2019-02-09 | Lua filters: load module `pandoc` before calling `init.lua` (#5287) | Albert Krewinkel | 1 | -14/+10 | |
The file `init.lua` in pandoc's data directory is run as part of pandoc's Lua initialization process. Previously, the `pandoc` module was loaded in `init.lua`, and the structure for marshaling was set-up after. This allowed simple patching of element marshaling, but made using `init.lua` more difficult: - it encouraged mixing essential initialization with user-defined customization; - upstream changes to init.lua had to be merged manually; - accidentally breaking marshaling by removing required modules was possible; Instead, all required modules are now loaded before calling `init.lua`. The file can be used entirely for user customization. Patching marshaling functions, while discouraged, is still possible via the `debug` module. | |||||
2019-02-09 | data/pandoc.lua: re-export all bundled modules | Albert Krewinkel | 1 | -2/+9 | |
All Lua modules bundled with pandoc, i.e., `pandoc.List`, `pandoc.mediabag`, `pandoc.utils`, and `text` are re-exported from the `pandoc` module. They are assigned to the fields `List`, `mediabag`, `utils`, and `text`, respectively. | |||||
2019-02-08 | Small fix in lua-filters doc. | John MacFarlane | 1 | -1/+1 | |
2019-02-07 | data/pandoc.lua: re-export List and utils module | Albert Krewinkel | 1 | -1/+21 | |
2019-02-01 | doc/lua-filters.md: fix docs for OrderedList items | Albert Krewinkel | 1 | -3/+1 | |
2019-01-31 | More improvements on lua-filters docs. | John MacFarlane | 1 | -342/+386 | |
2019-01-30 | doc/lua-filters.md: use 3rd level headers for module fields | Albert Krewinkel | 1 | -664/+664 | |
2018-12-29 | doc/org.md: improve documentation of org features | Albert Krewinkel | 1 | -15/+114 | |
2018-11-29 | Fix progit book url | Julien Kirch | 1 | -2/+2 | |
2018-11-19 | Lua filters: test AST object equality via Haskell | Albert Krewinkel | 1 | -1/+47 | |
Equality of Lua objects representing pandoc AST elements is tested by unmarshalling the objects and comparing the result in Haskell. A new function `equals` which performs this test has been added to the `pandoc.utils` module. Closes: #5092 | |||||
2018-11-17 | cusomizing-pandoc.md: streamline template text | Mauro Bieg | 1 | -11/+3 | |
2018-11-17 | customizing-templates.md: variable options table | Mauro Bieg | 1 | -2/+21 | |
2018-11-01 | getting-started.md: Added title to test1.md to avoid warning. | John MacFarlane | 1 | -0/+4 | |
2018-10-25 | Lua: allow access to pandoc state (#5015) | Albert Krewinkel | 1 | -0/+47 | |
* Lua: allow access to pandoc state Lua filters and custom writers now have read-only access to most fields of pandoc's internal state via the global variable `PANDOC_STATE`. * Lua: allow iterating through fields of PANDOC_STATE * Lua filters doc: describe CommonState * Lua filters doc: mention global variable PANDOC_STATE * Lua: add access to logs Log messages can currently only be printed, but not decomposed. | |||||
2018-10-19 | Lua filter doc: merge type references into main document | Albert Krewinkel | 2 | -661/+665 | |
2018-10-18 | Lua filters doc: fix and add more links to types | Albert Krewinkel | 1 | -45/+48 | |
2018-10-16 | Added note to customizing-pandoc. | John MacFarlane | 1 | -0/+4 | |
2018-10-16 | customizing-pandoc: add suggestion about 'pandoc -t native'. | John MacFarlane | 1 | -1/+2 | |
2018-10-16 | Revised customizing-pandoc.md and included TODOs. | John MacFarlane | 1 | -63/+151 | |
2018-10-16 | add docs about customizing pandoc (#4972) | Mauro Bieg | 2 | -2/+66 | |
closes #3288 | |||||
2018-10-16 | Lua filter docs: extend description of table fields | Albert Krewinkel | 1 | -9/+18 | |
2018-10-15 | Lua filter docs: describe Attr type | Albert Krewinkel | 1 | -13/+28 | |
2018-10-15 | Lua filter docs: render field names as code | Albert Krewinkel | 1 | -131/+131 | |
2018-10-15 | Lua filter docs: fix typos | Albert Krewinkel | 1 | -5/+5 | |
2018-10-15 | Lua filter docs: complete, fix MetaValue documentation | Albert Krewinkel | 1 | -5/+47 | |
2018-10-15 | Lua filters doc: add ReaderOptions to list of objects | Albert Krewinkel | 1 | -0/+35 | |
2018-10-13 | Lua filter docs: add documentation for Element/Sec | Albert Krewinkel | 1 | -0/+30 | |
2018-10-11 | Lua filter docs: document list attributes | Albert Krewinkel | 1 | -3/+27 | |
2018-10-11 | data/pandoc.lua: add datatype ListAttributes | Albert Krewinkel | 1 | -0/+17 | |
Make ListAttributes a datatype. The type is similar to Attr. | |||||
2018-10-11 | Lua filter docs: document fields of Citation objects | Albert Krewinkel | 1 | -2/+26 | |
2018-10-11 | Lua filter docs: document fields of inline objects | Albert Krewinkel | 1 | -14/+96 | |
2018-10-06 | Documentation: add draft for Lua objects reference | Albert Krewinkel | 1 | -0/+396 | |
2018-10-06 | Lua filter doc: fix description of Code.text | Albert Krewinkel | 1 | -1/+1 | |
2018-09-07 | lua-filters.md: add links to filters, and to lua-filters repository. | John MacFarlane | 1 | -5/+10 | |
Closes #4874. | |||||
2018-07-30 | Lua Utils module: add function blocks_to_inlines (#4799) | Albert Krewinkel | 1 | -0/+31 | |
Exposes a function converting which flattenes a list of blocks into a list of inlines. An example use case would be the conversion of Note elements into other inlines. | |||||
2018-07-02 | More spellcheck | Alexander Krotov | 2 | -3/+3 | |
2018-03-19 | Fix example in lua-filters docs. Fixes #4459 (#4476) | HeirOfNorton | 1 | -1/+1 | |
2018-02-25 | doc/org.md: Add Org-mode documentation (very first draft) | Albert Krewinkel | 1 | -0/+95 | |
2018-02-24 | doc/lua-filters.md: document global vars set for filters | Albert Krewinkel | 1 | -3/+36 | |
2018-01-22 | Fix Text.Pandoc.Builder link | Alexander Krotov | 1 | -1/+1 | |
2018-01-13 | Lua modules: add function pandoc.utils.run_json_filter | Albert Krewinkel | 1 | -0/+31 | |
Runs a JSON filter on a Pandoc document. | |||||
2018-01-07 | data/pandoc.lua: fix docstrings | Albert Krewinkel | 1 | -0/+2 | |
Change: minor |