| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-06-06 | Lua: add function pandoc.mediabag.fill (#8104) | Albert Krewinkel | |
| The function allows to fill the mediabag with all images in a given document. Images that cannot be fetched are replaced with a Span containing the image description. | |||
| 2022-04-04 | JATS template: allow multiple licenses to be given. | Albert Krewinkel | |
| The `license` metadata field can now be used to set the license of an article; a list can be used to add multiple license statements. | |||
| 2022-04-02 | JATS template: allow multiple copyright statements, years, holders | Albert Krewinkel | |
| 2022-03-30 | Lua: allow to pass Sources to pandoc.read (#8002) | Albert Krewinkel | |
| Sources, the data type passed to the `Reader` function in custom readers, are now accepted as input to `pandoc.read`. | |||
| 2022-03-23 | doc/lua-filters.md: Fix typo (#7981) | Mario Lang | |
| 2022-02-18 | Add faq on converting from latex + bibtex. | John MacFarlane | |
| 2022-02-07 | Lua docs: fix typos, missing links | Albert Krewinkel | |
| 2022-02-06 | Remove sample RIS custom reader (since we now have a native one). | John MacFarlane | |
| 2022-02-06 | Custom writer: support new-style Writer function. | Albert Krewinkel | |
| 2022-02-06 | Lua: add module `pandoc.layout` to format and layout text | Albert Krewinkel | |
| 2022-02-06 | docs/lua-filters.md: revert changes made in 31693674758 | Albert Krewinkel | |
| Partially reverts 31693674758e83de2fedf8554c3787430f57ab8. The result is unpleasant, auto-generating module docs requires a different approach. | |||
| 2022-02-05 | Lua docs: allow to auto-generate Lua module documentations | Albert Krewinkel | |
| No documentations are generated for now, this just adds the necessary code and auto-formats file `doc/lua-filters.md`. | |||
| 2022-02-03 | doc/org.md: remove obsolete citations section. | John MacFarlane | |
| This mostly described citation formats we no longer support. | |||
| 2022-01-30 | Fix identifier in lua-filters doc. | John MacFarlane | |
| 2022-01-30 | lua-filters: put all parameters in code font. | John MacFarlane | |
| 2022-01-25 | Add metadata file paragraph to Pandoc API doc (#7865) | Even Brenden | |
| 2022-01-24 | Fix div position in faqs. | John MacFarlane | |
| 2022-01-24 | Fix lua-filters documentation for table column widths. | John MacFarlane | |
| See #7864. | |||
| 2022-01-22 | epub.doc: Update links to KindleGen (#7846) | Benson Muite | |
| KindleGen has been deprecated and we need to link to archived versions. Co-authored-by: Mauro Bieg <mb21@users.noreply.github.com> | |||
| 2022-01-16 | Fix pattern syntax in sample readability custom reader. | John MacFarlane | |
| 2022-01-16 | Minor edits to new custom reader example. | John MacFarlane | |
| 2022-01-16 | doc/custom-readers.lua: add example for "readable HTML." | John MacFarlane | |
| 2022-01-14 | Add FAQ on images in ipynb containers. | John MacFarlane | |
| Closes #7749. | |||
| 2022-01-10 | doc/jats.md: link JATS | Martin Fischer | |
| 2022-01-09 | Docs: document `fancy_lists` in doc/org.md (#7820) | Lucas Viana | |
| Document the changes introduced in #7812 | |||
| 2022-01-07 | Further improvements to doc/lua-filters.md. | John MacFarlane | |
| 2022-01-07 | lua-filters.doc: use header attributes, not spans. | John MacFarlane | |
| 2022-01-07 | lua-filters.doc: use headings instead of nested def lists. | John MacFarlane | |
| See #7807. | |||
| 2022-01-04 | Lua: add `pandoc.template` module | Albert Krewinkel | |
| The module provides a `compile` function to use strings as templates. | |||
| 2022-01-04 | Lua: marshal templates as opaque userdata values | Albert Krewinkel | |
| 2022-01-04 | Lua: add `pandoc.WriterOptions` constructor | Albert Krewinkel | |
| 2022-01-04 | Lua: add function `pandoc.write` | Albert Krewinkel | |
| 2022-01-02 | Lua writer: allow variables to be set via second return value of `Doc` | Albert Krewinkel | |
| New templates variables can be added by giving variable-value pairs as a second return value of the global function `Doc`. Example: function Doc (body, meta, vars) vars.date = vars.date or os.date '%B %e, %Y' return body, vars end Closes: #6731 | |||
| 2022-01-02 | doc/lua-filters.md: fix and improve documentation | Albert Krewinkel | |
| 2022-01-02 | Lua writer: provide global `PANDOC_WRITER_OPTIONS` | Albert Krewinkel | |
| Closes: #6731 | |||
| 2022-01-01 | Lua: provide global `PANDOC_WRITER_OPTIONS` [API change] | Albert Krewinkel | |
| API changes: - The function T.P.Filter.applyFilters now takes a filter environment of type `Environment`, instead of a ReaderOptions value. The `Environment` type is exported from `T.P.Filter` and allows to combine ReaderOptions and WriterOptions in a single value. - Global, exported from T.P.Lua, has a new type constructor `PANDOC_WRITER_OPTIONS`. Closes: #5221 | |||
| 2022-01-01 | Lua: marshal ReaderOptions field `extensions`, `track_changes` via JSON | Albert Krewinkel | |
| Extensions are now available as a list of strings; the track-changes settings are given as the kebab-case representation used in JSON. | |||
| 2021-12-31 | Lua: use global state when parsing documents in `pandoc.read` | Albert Krewinkel | |
| The function `pandoc.read` is updated to use the same state that was used while parsing the main input files. This ensures that log messages are preserved and that images embedded in the input are added to the mediabag. | |||
| 2021-12-28 | doc/lua-filters.md: improve documentation of `make_sections` | Albert Krewinkel | |
| 2021-12-23 | Lua: use released pandoc-lua-marshal-0.1.3. | Albert Krewinkel | |
| Inlines, Blocks, and List objects now have an `__eq` metamethod, testing equality by comparing two lists element-wise. | |||
| 2021-12-23 | JATS templates: fix affiliation tagging in articleauthoring output | Albert Krewinkel | |
| Affiliations were `xlink`ed even in the articleauthoring tag set, but `<aff>` are not allowed as children of `contrib-group` elements in that tag set. Each affiliation must be listed directly in the contrib element. | |||
| 2021-12-23 | JATS templates: add support for article subtitles | Albert Krewinkel | |
| 2021-12-21 | Lua: simplify and deprecate function `pandoc.utils.equals` | Albert Krewinkel | |
| The function is no longer required for element comparisons; it is now an alias for the `==` operator. | |||
| 2021-12-21 | Lua: add new library function `pandoc.utils.type`. | Albert Krewinkel | |
| The function behaves like the default `type` function from Lua's standard library, but is aware of pandoc userdata types. A typical use-case would be to determine the type of a metadata value. | |||
| 2021-12-19 | doc/lua-filters: numbers are now accepted as MetaValue | Albert Krewinkel | |
| 2021-12-19 | Lua: change representation of TableHead, TableFoot, and Row values. | Albert Krewinkel | |
| The objects now also follow the principle that element attributes are accessible through the `.attr` field. Rows in `TableHead` and `TableFoot` are available via the `.rows` field. Row objects have a `.cells` field, containing the list of table cells. Closes: #7718 | |||
| 2021-12-17 | Lua: add function `pandoc.utils.references` | Albert Krewinkel | |
| List with all cited references of a document. Closes: #7752 | |||
| 2021-12-14 | doc/lua-filters.md: add docs for `Cell` constructor | Albert Krewinkel | |
| 2021-12-13 | doc/lua-filters.md: update description of walk methods, fix typos | Albert Krewinkel | |
| 2021-12-13 | Lua: support topdown traversals | Albert Krewinkel | |
| The traversal order of filters can now be selected by setting the key `traverse` of the filter to either `'topdown'` or `'typewise'`; the default remains `'typewise'`. Topdown traversals can be cut short by returning `false` as a second value from the filter function. No child-element of the returned element is processed in that case. | |||
