It appears that all element types first listed are then exempted again via the `inlinetags` list, except the `p` type. This looks indeed like a very complicated way to come up with a list of only `p`. - A bug? Or maybe an attempt to conform to a common pattern in Pandoc to list candidates first and then subtract them again if necessary? I have no knowledge of JATS so I cannot comment on semantics. Is there some kind of ambiquity that e.g. the `address` element can appear both as a block *and* inline element? On Friday, May 19, 2023 at 1:47:46 AM UTC+2 Julia Diaz wrote: > I just realised this function produces TRUE if the name of the element is > "p", false otherwise. Why do we need a 126 lines > > to do the same as: > > qName (elName e) == p > > What am I missing? > -- 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/e8dfa46a-1f69-4fa6-a412-6751e2250cacn%40googlegroups.com.