The mechanism of the pandocfilters is to work on the intermediate pandoc AST json file. By then, the longtable environment is not generated yet. I feel we have to use your sed hack if not wanting to write code to convert the parsed AST tree to longtable by ourselves, :). On Saturday, January 17, 2015 at 8:14:52 AM UTC-8, Larry Hynes wrote: > > On 2015-01-17, Eugéne Roux > wrote: > > > Is there any docs on how to go about doing this? > > I think https://github.com/jgm/pandocfilters is a good starting > point, if you don't want to use my sed hack. ;) > > -- 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/808fee0b-b87f-43ea-8062-5e19ae0467d4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.