Open cagix opened 4 years ago
from a pandoc point of view (cf. https://github.com/jgm/pandoc/issues/6068#issuecomment-574704697) this is not a caption but merely an attribut to a fenced div. pandoc won't handle citations inside attributes.
a filter like pandoc-crossref could be helpful, but would need also some haskell tools installed.
as there are plans to include pandoc-crossref into pandoc/dockerfiles (cf. https://github.com/pandoc/dockerfiles/issues/30), we could base our docker file onto pandoc/dockerfiles and take advantage of the (then included) pandoc-crossref to resolve this issue.
this would also allow markdownish cross-references inside the document, which work currently only by using latex mechanisms (\label{}
and \ref{}
) ...
something like
will be translated using
pandoc --filter=pandoc-citeproc --listings xxx.txt -o xxx.pdf
into something likeHowever, I'd expect something like
upstream issue: https://github.com/jgm/pandoc/issues/6068