I am working on a custom (lua) writer for PreTeXt (https://pretextbook.org/), which I use to write open math textbooks.  In terms of syntax, PreTeXt is xml and  is very similar to docbook, so a lot of what I need was easily modified from the sample.lau custom writer.  

What I haven't been able to figure out is how to wrap sections in <section> tags.  That is, in the built in docbook writer, if you have a header, I think it creates a section with a title around the appropriate content.  Is there any way to do this with a custom lua writer?  

Perhaps a better approach would be to contribute a new built in writer by modifying the docbook writer.  I think there would be a good number of people who would find this writer useful.  Would such a contribution be considered?

Thanks,
Oscar.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9b82655a-3067-4696-8123-5b0b99496a70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.