pandoc / lua-filters

A collection of lua filters for pandoc
MIT License
603 stars 165 forks source link

"Merging" from luapandoc-filters #30

Closed ickc closed 4 years ago

ickc commented 5 years ago

There's some filters added in https://github.com/pandoc-extras/luapandoc-filters before this repo existed. Look at the dir. in https://github.com/pandoc-extras/luapandoc-filters/tree/master/filters and see if anything salvageable and after that pandoc-extras/luapandoc-filter should be gone for good.

tarleb commented 4 years ago

I added an improved version of the include.lua filter, so now we have merged everything except for gabc.lua. I don't know enough about that filter to include it here. @jperon, please let us know if you'd like to port your filter over to this repo.

jperon commented 4 years ago

@tarleb With pleasure ; just let me know, please, what would have to be done to have it merged.

tarleb commented 4 years ago

Great! All filters in this repo come with a README, plus some tests used to verify that the filters do what we expect. Best to take a look at other filters – the lilypond filter is somewhat similar in scope and might serve as an example.

The tests can assume that all dependencies have been installed. We are finalizing an Ubuntu Docker image, which should make it easier to install all required software. Just include a note in the README which TeX packages and other programs must be installed for the filter to work.

We are now exposing more helper functions, some of which you might find helpful: pandoc.List:includes, pandoc.List:find_if, and the functions in module pandoc.system.