I am writing a book in markdown & use pandoc to convert the book to pdf (pandoc internally uses pdflatex/xelatex/lualatex) & 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 & mainbody 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/792a6eb6-14cf-4549-ab91-5679fb96c93fn%40googlegroups.com.