Greetings, I have been spending time pulling my hair and reducing my code and ambitions. Now (based on the BlockCode example from my LUA code is simply reduced to : function Span(s) s.identifier = "ggg"; end I based that on examples I found here : https://issueexplorer.com/issue/lierdakil/pandoc-crossref/319 and based on the Span description from https://pandoc.org/lua-filters.html My very obvious expectation is that any generated span element has a "ggg" identifier. I don't know how I could define a more trivial function. However, nothing ever works. This started with comparisons and real code. Since nothing works, I have reduced it to this oneliner, which still doesn't. When I compile my (.tex) code (into epub), this continues producing blocks such as :

[fig:LettreChessCarleyCo]

My compilation is run with this command : pandoc -L ../pandocLabelFilter.lua -Fpandoc-crossref -o ebook.epub epub.tex --epub-metadata=metadata.xml --epub-cover-image=IMG/couverture.jpg --toc --toc-depth=2 --resource-path=IMG/ --default-image-extension=jpg ../pandocLabelFilter.lua contains what I pasted above. So, what must I do additionnally so that any LUA code accepts to be run for real ? Thanks, Vincent -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1ad4d633-8045-4611-97de-63757c38fa9fn%40googlegroups.com.