I did something like this using the `multiple-bibliographies` (along with the `citation-backlinks`) filter and a custom CSL file to create a linked index of authors and a glossary that worked both in LaTeX/PDF and HTML. So, perhaps, there is no need for an additional filter.
There are LaTeX packages which support multiple indexes:It would of course depend on how you generate the `\index{...}` commands in Markdown.I have been thinking of writing a filter which (ab)uses citation syntax to generate index commands in LaTeX and index links in HTML/Markdown + a file from which an HTML/Markdown index can be generated with a script. Now that you can run standalone scripts with `pandoc lua` the latter may be easier to do.Den sön 14 maj 2023 17:32'Marek Stepanek' via pandoc-discuss <pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> skrev:Hello all,
I have a huge file of a novel, with historic illustrations (Anna Karenina, in three languages). These illustrations are already indexed. But I would like to have a separate index from the origins of these pictures just before the bibliography. Would this possible in Markdown - probably with a Lua-Filter? Or in LaTeX inserted into Markdown?
I would be very grateful for any hint
Marek Stepanek
--
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-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/26DA151C-9D95-4558-BC46-8AD1BBC81E19%40googlemail.com.