Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Text.Pandoc.Builder with lua filter infrastructure #10356

Open
wlupton opened this issue Nov 5, 2024 · 0 comments
Open

Integrate Text.Pandoc.Builder with lua filter infrastructure #10356

wlupton opened this issue Nov 5, 2024 · 0 comments

Comments

@wlupton
Copy link
Contributor

wlupton commented Nov 5, 2024

Please see pandoc-ext/list-table#2 for context, and feel free to improve this issue's title.

The initial problem was that the list-table lua filter can generate a table with undefined cells, which causes the docx writer to fail. This raised the question of whether list-table should ensure that it defines all cells, and this in turn led to a suggestion that there could be a lua-exposed function that turns a malformed table into a well-formed one, with a note that the existing table builder in Text.Pandoc.Builder already does something like this.

I'm not sure whether the current thinking is that the Text.Pandoc.Builder table builder should be exposed to lua, or whether (more generally) ASTs returned from lua filters should be processed by Text.Pandoc.Builder (if that can be done efficiently).

@wlupton wlupton changed the title Integrate Text.Pandoc.Builder with lua filter infrastructure. Integrate Text.Pandoc.Builder with lua filter infrastructure Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant