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/85786528-2797-49ee-9643-c131a60ec523n%40googlegroups.com.