Ah, yes, it is actually possible to do that. e.g. if you use panflute, it has a function convert_text that call pandoc to make the conversion. So you could convert that element from "panflute AST" to LaTeX, then use the re module to regex it to your liking. A potential issue is if a certain conversion is context-dependent (I can't name any example for the moment). -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/13e970b8-19e5-4cce-a72e-00e8d74f878c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.