public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* How to embed ISBN in EPUB file
@ 2019-05-23 10:32 CR
       [not found] ` <a5f89c3a-c9a5-47be-954f-ad36973626ad-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: CR @ 2019-05-23 10:32 UTC (permalink / raw)
  To: pandoc-discuss


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

I write or convert books to Markdown using a YAML block. Each book could be 
multiple Markdown files but the YAML block is always at the top of the 
first Markdown file. I'd like to embed the book ISBN (if it has one) in the 
EPUB itself but I don't know how to write that in MMD. 

Is there a way to embed the ISBN in the EPUB file using Markdown? Or some 
other method?

Thank you.

This is all the YAML that is supported by Pandoc as far as I know.
---
title:
- type: main
  text: My Book
- type: subtitle
  text: An investigation of metadata
creator:
- role: author
  text: John Smith
- role: editor
  text: Sarah Jones
identifier:
- scheme: DOI
  text: doi:10.234234.234/33
publisher:  My Press
rights: © 2007 John Smith, CC BY-NC
date: 1999
tags: [nothing, nothingness]
abstract: |
  This is the abstract.

  It consists of two paragraphs.
---


Pandoc YAML docs are here: 
https://pandoc.org/MANUAL.html#creating-epubs-with-pandoc

Ok, is this how to do it in the YAML block in the MMD file?
- scheme: ISBN10
  text: 1234567988




Another question: does Pandoc do any validation of the format of the ISBN10 
or ISBN13 number? I'm not asking Pandoc to look the ISBN up in a database, 
just to do a general check on the length of the ISBN and format. 

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a5f89c3a-c9a5-47be-954f-ad36973626ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2019-05-27 19:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-23 10:32 How to embed ISBN in EPUB file CR
     [not found] ` <a5f89c3a-c9a5-47be-954f-ad36973626ad-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-05-23 10:37   ` CR
2019-05-23 10:39   ` CR
2019-05-23 10:46   ` CR
2019-05-23 11:21   ` CR
     [not found]     ` <cc6a2882-212d-484c-9b51-b701e4e536d3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-05-27 19:07       ` 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).