public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Metadata equivalent to --epub-chapter-level=2
@ 2021-05-01 19:53 tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
       [not found] ` <d6eb7e04-6ed2-4c06-8d8e-eb892e92ab14n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2021-05-01 19:53 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 941 bytes --]

I have a file of metadata (yaml format) which I am processing along with a 
markdown file. to create an epub

So basically

   pandoc x.yml x.md -o x.epub

I have include the text
epub-chapter-level: 2

In the metadata file as I thought this was the equivalent of using the 
--epub-chapter-level=2 command line option

Whilst other items in the metadata file are used (e.g. css) the directive
epub-chapter-level: 2
is ignored.

Could someone let me know where I'm going wrong?

Many thanks!

'ö-Dzin


-- 
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/d6eb7e04-6ed2-4c06-8d8e-eb892e92ab14n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1480 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Metadata equivalent to --epub-chapter-level=2
       [not found] ` <d6eb7e04-6ed2-4c06-8d8e-eb892e92ab14n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-05-01 20:28   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2021-05-01 20:28 UTC (permalink / raw)
  To: tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, pandoc-discuss

"tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <tridral-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:


> I have include the text
> epub-chapter-level: 2
>
> In the metadata file as I thought this was the equivalent of using the 
> --epub-chapter-level=2 command line option

It's not. In general you can't specify options by setting
like-named metadata values.

See the documentation under Default Files for another approach.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-01 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-01 19:53 Metadata equivalent to --epub-chapter-level=2 tri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found] ` <d6eb7e04-6ed2-4c06-8d8e-eb892e92ab14n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-05-01 20:28   ` John MacFarlane

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).