This looks like a pretty common requirement. Did anyone try this? On Monday, September 27, 2021 at 8:39:20 PM UTC+5:30 Ashok Koyi wrote: > I am writing a book in markdown & use pandoc to convert the book to pdf & > epub > > Is there a way to specify in the markdown document that a given section > (`# Preface`/`# Dedication`) belongs to `frontmatter` & `# Appendix` > belongs to the `backmatter`? > > Please note that I want to write `frontmatter`, `backmatter` & > `mainmatter` all in markdown > > PS: In the documentation, I see an option for epub > , but not for pdf > > (I have already posted this question in tex stackexchage forum > ) > -- 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/08c9532e-5688-4beb-aefd-e99999569d0cn%40googlegroups.com.