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

Djot-reader.lua filter produces error log #16

Closed
tbdalgaard opened this issue Jul 23, 2022 · 4 comments
Closed

Djot-reader.lua filter produces error log #16

tbdalgaard opened this issue Jul 23, 2022 · 4 comments

Comments

@tbdalgaard
Copy link

When using the custom reader for Pandoc (djot-reader.lua) it gives the following error:
Error running Lua:
djot-reader.lua:88: attempt to index a nil value (local 'elt')
stack traceback:
djot-reader.lua:110: in function djot-reader.lua:109
(...tail calls...)

I ran the following command to get the error as shown above:
pandoc -f djot-reader.lua -t Markdown -o djot.txt Markdown-result.md
Note that filenames are changed, but the syntax and structure is left as I typed it.

@jgm
Copy link
Owner

jgm commented Jul 24, 2022

This looks like a bug, but to pin it down we need the input that generates it.
(I'm also wondering whether you intended -o Markdown-result.md djot.txt?

@tbdalgaard
Copy link
Author

tbdalgaard commented Jul 24, 2022 via email

@jgm
Copy link
Owner

jgm commented Jul 25, 2022

as minimal an example as possible would be good

@tbdalgaard
Copy link
Author

I have tried with a few other documents, and couldn't reproduce the issue, so will close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants