Updated README with information about EPUB meta element

This commit is contained in:
Matthew Pickering 2014-08-11 11:29:30 +01:00
parent 285d56dea7
commit ed7315449f

18
README
View file

@ -2972,43 +2972,60 @@ The following fields are recognized:
`GTIN-13`, `UPC`, `ISMN-10`, `DOI`, `LCCN`, `GTIN-14`, `GTIN-13`, `UPC`, `ISMN-10`, `DOI`, `LCCN`, `GTIN-14`,
`ISBN-13`, `Legal deposit number`, `URN`, `OCLC`, `ISBN-13`, `Legal deposit number`, `URN`, `OCLC`,
`ISMN-13`, `ISBN-A`, `JP`, `OLCC`. `ISMN-13`, `ISBN-A`, `JP`, `OLCC`.
`title` `title`
~ Either a string value, or an object with fields `file-as` and ~ Either a string value, or an object with fields `file-as` and
`type`, or a list of such objects. Valid values for `type` are `type`, or a list of such objects. Valid values for `type` are
`main`, `subtitle`, `short`, `collection`, `edition`, `extended`. `main`, `subtitle`, `short`, `collection`, `edition`, `extended`.
`creator` `creator`
~ Either a string value, or an object with fields `role`, `file-as`, ~ Either a string value, or an object with fields `role`, `file-as`,
and `text`, or a list of such objects. Valid values for `role` are and `text`, or a list of such objects. Valid values for `role` are
[marc relators](http://www.loc.gov/marc/relators/relaterm.html), but [marc relators](http://www.loc.gov/marc/relators/relaterm.html), but
pandoc will attempt to translate the human-readable versions pandoc will attempt to translate the human-readable versions
(like "author" and "editor") to the appropriate marc relators. (like "author" and "editor") to the appropriate marc relators.
`contributor` `contributor`
~ Same format as `creator`. ~ Same format as `creator`.
`date` `date`
~ A string value in `YYYY-MM-DD` format. (Only the year is necessary.) ~ A string value in `YYYY-MM-DD` format. (Only the year is necessary.)
Pandoc will attempt to convert other common date formats. Pandoc will attempt to convert other common date formats.
`language` `language`
~ A string value in [RFC5646] format. Pandoc will default to the local ~ A string value in [RFC5646] format. Pandoc will default to the local
language if nothing is specified. language if nothing is specified.
`subject` `subject`
~ A string value or a list of such values. ~ A string value or a list of such values.
`description` `description`
~ A string value. ~ A string value.
`type` `type`
~ A string value. ~ A string value.
`format` `format`
~ A string value. ~ A string value.
`relation` `relation`
~ A string value. ~ A string value.
`coverage` `coverage`
~ A string value. ~ A string value.
`rights` `rights`
~ A string value. ~ A string value.
`cover-image` `cover-image`
~ A string value (path to cover image). ~ A string value (path to cover image).
`stylesheet` `stylesheet`
~ A string value (path to CSS stylesheet). ~ A string value (path to CSS stylesheet).
`page-progression-direction`
~ Either `ltr` or `rtl`. Specifies the synonymous spine [attribute][EPUBspine].
Literate Haskell support Literate Haskell support
======================== ========================
@ -3126,3 +3143,4 @@ Rosenthal.
[InDesign ICML]: https://www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/IDML/idml-specification.pdf [InDesign ICML]: https://www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/IDML/idml-specification.pdf
[txt2tags]: http://txt2tags.org/ [txt2tags]: http://txt2tags.org/
[EPUB]: http://idpf.org/epub [EPUB]: http://idpf.org/epub
[EPUBspine]: http://www.idpf.org/epub/301/spec/epub-publications.html#sec-spine-elem