* Convention to follow to write frontmatter, body & backmatter of a book in markdown
@ 2021-09-27 15:09 Ashok Koyi
[not found] ` <85786528-2797-49ee-9643-c131a60ec523n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Ashok Koyi @ 2021-09-27 15:09 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 998 bytes --]
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
<https://pandoc.org/MANUAL.html#the-epubtype-attribute>, but not for pdf
(I have already posted this question in tex stackexchage forum
<https://tex.stackexchange.com/q/616905/195215>)
--
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.
[-- Attachment #1.2: Type: text/html, Size: 1436 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Convention to follow to write frontmatter, body & backmatter of a book in markdown
[not found] ` <85786528-2797-49ee-9643-c131a60ec523n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-10-13 13:23 ` Ashok Koyi
[not found] ` <08c9532e-5688-4beb-aefd-e99999569d0cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Ashok Koyi @ 2021-10-13 13:23 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1165 bytes --]
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
> <https://pandoc.org/MANUAL.html#the-epubtype-attribute>, but not for pdf
>
> (I have already posted this question in tex stackexchage forum
> <https://tex.stackexchange.com/q/616905/195215>)
>
--
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.
[-- Attachment #1.2: Type: text/html, Size: 2240 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Convention to follow to write frontmatter, body & backmatter of a book in markdown
[not found] ` <08c9532e-5688-4beb-aefd-e99999569d0cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-10-13 13:37 ` Bastien DUMONT
2021-10-14 8:10 ` AW: " denis.maier-NSENcxR/0n0
0 siblings, 1 reply; 4+ messages in thread
From: Bastien DUMONT @ 2021-10-13 13:37 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Have you tried inserting \frontmatter, \mainmatter and \backmatter in the right places in your markdown document?
Le Wednesday 13 October 2021 à 06:23:19AM, Ashok Koyi a écrit :
> 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 [1]epub, but not for pdf
>
> (I have already posted this question in [2]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 [3]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit [4]https://groups.google.com/d/msgid/
> pandoc-discuss/08c9532e-5688-4beb-aefd-e99999569d0cn%40googlegroups.com.
>
> References:
>
> [1] https://pandoc.org/MANUAL.html#the-epubtype-attribute
> [2] https://tex.stackexchange.com/q/616905/195215
> [3] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [4] https://groups.google.com/d/msgid/pandoc-discuss/08c9532e-5688-4beb-aefd-e99999569d0cn%40googlegroups.com?utm_medium=email&utm_source=footer
--
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/YWbhNs8G28oLFOYW%40localhost.
^ permalink raw reply [flat|nested] 4+ messages in thread
* AW: Convention to follow to write frontmatter, body & backmatter of a book in markdown
2021-10-13 13:37 ` Bastien DUMONT
@ 2021-10-14 8:10 ` denis.maier-NSENcxR/0n0
0 siblings, 0 replies; 4+ messages in thread
From: denis.maier-NSENcxR/0n0 @ 2021-10-14 8:10 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Just to explain:
literal latex should be passed through when exporting to latex. OTOH, when exporting to most other formats that should be ignored: https://pandoc.org/MANUAL.html#raw-html
See also https://pandoc.org/MANUAL.html#extension-raw_attribute
If you need frontmatter etc. also in other formats using a filter might be more appropriate.
Denis
> -----Ursprüngliche Nachricht-----
> Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> Im Auftrag von Bastien DUMONT
> Gesendet: Mittwoch, 13. Oktober 2021 15:38
> An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> Betreff: Re: Convention to follow to write frontmatter, body & backmatter of a
> book in markdown
>
> Have you tried inserting \frontmatter, \mainmatter and \backmatter in the
> right places in your markdown document?
>
> Le Wednesday 13 October 2021 à 06:23:19AM, Ashok Koyi a écrit :
> > 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 [1]epub, but not for
> > pdf
> >
> > (I have already posted this question in [2]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 [3]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit
> > [4]https://groups.google.com/d/msgid/
> > pandoc-discuss/08c9532e-5688-4beb-aefd-
> e99999569d0cn%40googlegroups.com.
> >
> > References:
> >
> > [1] https://pandoc.org/MANUAL.html#the-epubtype-attribute
> > [2] https://tex.stackexchange.com/q/616905/195215
> > [3] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> > [4]
> > https://groups.google.com/d/msgid/pandoc-discuss/08c9532e-5688-4beb-ae
> > fd-
> e99999569d0cn%40googlegroups.com?utm_medium=email&utm_source=foot
> er
>
> --
> 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/YWbhNs8G28oLFOYW%40localhost.
--
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/9832d297bac04b0bae390bce9f11e3ff%40unibe.ch.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-14 8:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 15:09 Convention to follow to write frontmatter, body & backmatter of a book in markdown Ashok Koyi
[not found] ` <85786528-2797-49ee-9643-c131a60ec523n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-10-13 13:23 ` Ashok Koyi
[not found] ` <08c9532e-5688-4beb-aefd-e99999569d0cn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-10-13 13:37 ` Bastien DUMONT
2021-10-14 8:10 ` AW: " denis.maier-NSENcxR/0n0
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).