Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-02-04 | doc/lua-filters.md: improve docs for `pandoc.mediabag.insert` | Albert Krewinkel | 1 | -2/+3 | |
2021-02-04 | doc/lua-filters.md: fix, improve docs for `pandoc.mediabag.fetch` | Albert Krewinkel | 1 | -2/+12 | |
2021-02-02 | Improve docs for directory, normalize | Albert Krewinkel | 1 | -3/+6 | |
2021-02-02 | Lua: add module "pandoc.path" | Albert Krewinkel | 1 | -0/+172 | |
The module allows to work with file paths in a convenient and platform-independent manner. Closes: #6001 Closes: #6565 | |||||
2021-01-29 | JATS templates: tag author.name as string-name | Albert Krewinkel | 1 | -0/+5 | |
The partitioning the components of a name into surname, given names, etc. is not always possible or not available. Using `author.name` allows to give the full name as a fallback to be used when `author.surname` is not available. | |||||
2020-12-20 | Fixed table with file extensions and interpreters | wuffi | 1 | -1/+2 | |
Assigned .pl file extension to perl interpreter and .rb to ruby | |||||
2020-12-14 | typo | Ian Sullivan | 1 | -1/+1 | |
2020-12-02 | filters.md: document a new Pandoc filtering framework (#6908) | Randolf J | 1 | -6/+9 | |
2020-11-23 | JATS template: allow array of persistent institute ids in `pid` | Albert Krewinkel | 1 | -0/+7 | |
2020-11-22 | Org reader: parse `#+LANGUAGE` into `lang` metadata field | Albert Krewinkel | 1 | -1/+4 | |
Fixes: #6845 | |||||
2020-11-20 | JATS writer: support author affiliations (#6867) | Albert Krewinkel | 1 | -0/+84 | |
Closes: #6687 | |||||
2020-11-06 | doc/filters.md: describe technical details of filter invocations (#6815) | Albert Krewinkel | 1 | -0/+79 | |
2020-11-03 | Document pandoc's handling of metadata in JATS output (#6794) | Albert Krewinkel | 1 | -0/+299 | |
2020-11-01 | Fix code example in lua-filters.md. | John MacFarlane | 1 | -1/+2 | |
Closes #6795, thanks to Odin Kroeger. | |||||
2020-10-15 | Fix some small typos in the API documentation (#6751) | Michael Hoffmann | 1 | -3/+3 | |
While reading the docs I found a couple of small typos. | |||||
2020-10-12 | doc/org.md: fix typos | Albert Krewinkel | 1 | -2/+2 | |
2020-10-12 | doc/lua-filters.md: fix typos | Albert Krewinkel | 1 | -20/+24 | |
Use American spelling. | |||||
2020-10-11 | doc/lua-filters.md: describe parameters to `pandoc.pipe` | Albert Krewinkel | 1 | -1/+13 | |
2020-10-08 | Add info on how to debug Lua filters (#6732) | Ian Max Andolina | 1 | -0/+19 | |
Add info on debugging Lua filters. | |||||
2020-10-04 | doc/lua-filters.md: document Underline type and constructor | Albert Krewinkel | 1 | -0/+27 | |
2020-09-25 | doc/org.md: add section on tables | Albert Krewinkel | 1 | -0/+28 | |
2020-09-21 | doc/org.md: add section on handling of unknown directives | Albert Krewinkel | 1 | -0/+47 | |
2020-09-20 | Lua filters: add SimpleTable for backwards compatibility (#6575) | Albert Krewinkel | 1 | -0/+115 | |
A new type `SimpleTable` is made available to Lua filters. It is similar to the `Table` type in pandoc versions before 2.10; conversion functions from and to the new Table type are provided. Old filters using tables now require minimal changes and can use, e.g., if PANDOC_VERSION > {2,10,1} then pandoc.Table = pandoc.SimpleTable end and function Table (tbl) tbl = pandoc.utils.to_simple_table(tbl) … return pandoc.utils.from_simple_table(tbl) end to work with the current pandoc version. | |||||
2020-08-26 | Make the setting-the-date example conditional | the-solipsist | 1 | -3/+5 | |
This makes the example a bit more realistic/valuable by checking if the metadata value "date" is already present, before changing the value. | |||||
2020-08-07 | doc/lua-filters.md: add missing Link.title field | Albert Krewinkel | 1 | -0/+3 | |
2020-07-29 | doc/lua-filters.md: add missing header attribute | Albert Krewinkel | 1 | -1/+1 | |
2020-07-28 | Lua filter docs: remove link table example | Albert Krewinkel | 1 | -36/+0 | |
The example is outdated and requires a complete overhaul. | |||||
2020-07-25 | doc/lua-filters.md: document `body` field | Albert Krewinkel | 1 | -3/+6 | |
2020-07-25 | Lua filters: make attr argument optional in Table constructor | Albert Krewinkel | 1 | -6/+15 | |
This changes the Lua API. It is highly unlikely for this change to affect existing filters, since the documentation for the new Table constructor (and type) was incomplete and partly wrong before. The Lua API is now more consistent, as all constructors for elements with attributes now take attributes as the last parameter. | |||||
2020-07-25 | doc/lua-filters.md: fix documentation for tables | Albert Krewinkel | 1 | -20/+123 | |
2020-07-21 | Update using-the-pandoc-api.md | favonia | 1 | -1/+2 | |
2020-07-09 | Fix Typos in Lua Filters Doc | tajmone | 1 | -4/+4 | |
2020-06-29 | Org reader: unify keyword handling | Albert Krewinkel | 1 | -4/+4 | |
Handling of export settings and other keywords (like `#+LINK`) has been combined and unified. | |||||
2020-06-29 | Org reader: support LATEX_HEADER_EXTRA and HTML_HEAD_EXTRA settings | Albert Krewinkel | 1 | -6/+7 | |
These export settings are treated like their non-extra counterparts, i.e., the values are added to the `header-includes` metadata list. | |||||
2020-06-29 | Org reader: allow multiple #+SUBTITLE export settings | Albert Krewinkel | 1 | -1/+4 | |
The values of all lines are read as inlines and collected in the `subtitle` metadata field. | |||||
2020-06-28 | doc/org.md: document behavior of `smart` extension | Albert Krewinkel | 1 | -0/+27 | |
See discussion in #4788. Closes: #4387 | |||||
2020-06-28 | Org reader: read `#+INSTITUTE` values as text with markup | Albert Krewinkel | 1 | -0/+5 | |
The value is stored in the `institute` metadata field and used in the default beamer presentation template. | |||||
2020-06-27 | doc/org.md: describe all supported export options in detail | Albert Krewinkel | 1 | -0/+57 | |
2020-05-25 | lua-filters.md: use pandoc.system module in TikZ example | Albert Krewinkel | 1 | -39/+48 | |
Showcase temporary directory handling with `with_temporary_directory` and `with_working_directory`. | |||||
2020-04-01 | Fix description of BulletList Lua type | Levi Gruspe | 1 | -5/+5 | |
Change description of BulletList parameter from 'List of Blocks' to 'List of List of Blocks'. | |||||
2020-03-15 | Update filter code in doc/filters.md... | John MacFarlane | 1 | -7/+21 | |
so it works with latest pandoc. Closes #6185. | |||||
2020-01-18 | doc/lua-filters.md: fix copy-paste mistake | Albert Krewinkel | 1 | -1/+1 | |
Closes: #6040 | |||||
2020-01-15 | Lua filters: allow filtering of element lists (#6040) | Albert Krewinkel | 1 | -1/+71 | |
Lists of Inline and Block elements can now be filtered via `Inlines` and `Blocks` functions, respectively. This is helpful if a filter conversion depends on the order of elements rather than a single element. For example, the following filter can be used to remove all spaces before a citation: function isSpaceBeforeCite (spc, cite) return spc and spc.t == 'Space' and cite and cite.t == 'Cite' end function Inlines (inlines) for i = #inlines-1,1,-1 do if isSpaceBeforeCite(inlines[i], inlines[i+1]) then inlines:remove(i) end end return inlines end Closes: #6038 | |||||
2020-01-14 | Update filters doc with better cabal v2 instructions. | John MacFarlane | 1 | -3/+3 | |
2020-01-14 | Update filter documentation. | John MacFarlane | 1 | -142/+84 | |
Remove example using pandoc API directly (we have other docs for that and it was outdated). Closes #6065. | |||||
2020-01-12 | docs: capitalize Lua where it refers to the programming language name | Albert Krewinkel | 1 | -15/+15 | |
This follows the advise on the Lua website (https://www.lua.org/about.html#name): > […] "Lua" is a name, the name of the Earth's moon and the name of the > language. Like most names, it should be written in lower case with an > initial capital, that is, "Lua". | |||||
2020-01-11 | Lua filter docs: cross-link constructors and types | Albert Krewinkel | 1 | -62/+281 | |
Thanks to @bpj for the idea. | |||||
2020-01-11 | Lua: add methods `insert`, `remove`, and `sort` to pandoc.List | Albert Krewinkel | 1 | -0/+59 | |
The functions `table.insert`, `table.remove`, and `table.sort` are added to pandoc.List elements. They can be used as methods, e.g. local numbers = pandoc.List {2, 3, 1} numbers:sort() -- numbers is now {1, 2, 3} | |||||
2020-01-11 | doc/lua-filters.md: sort pandoc.List methods alphabetically | Albert Krewinkel | 1 | -34/+34 | |
2020-01-11 | doc/lua-filters.md: unify, fix anchors and internal links (#6061) | Albert Krewinkel | 1 | -362/+334 | |
Links and anchors now follow consistent conventions, like lowercase-only anchor names. This breaks some links to specific sections in the document, but will make it much easier to link documentation in the future. |