Skip to content

Does Pandoc follow symlinks when looking for Lua filters? #10432

Answered by jgm
jsx97 asked this question in Q&A
Discussion options

You must be logged in to vote

OK, looks like you created a symlink within filters to your scripts directory. But pandoc doesn't look in subdirectories of the filters directory. You could try:

rm $HOME/.local/share/pandoc/filters/scripts
rmdir $HOME/.local/share/pandoc/filters
ln -s $HOME/scripts $HOME/.local/share/pandoc/filters

That makes the filters directory point directry to your scripts directory.

Alternatively it may work to do what you did but use -L scripts/filter.lua (untested).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jgm
Comment options

jgm Dec 2, 2024
Maintainer

Answer selected by jsx97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants