diff options
author | Agustín Martín Barbero <agusmbaterra@gmail.com> | 2019-01-26 16:14:35 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-01-26 16:14:35 -0800 |
commit | 9894d05fe3fd239247f755c60dc22247360be958 (patch) | |
tree | 92f5d6240edfd3bf72cc3c30295d18bef76a4077 /test/docx/document-properties-short-desc.native | |
parent | ff0aaa549d51384ef3cdcb063706dee4f6143444 (diff) | |
download | pandoc-9894d05fe3fd239247f755c60dc22247360be958.tar.gz |
Improve writing metadata for docx, pptx and odt (#5252)
* docx writer: support custom properties. Solves the writer part of #3024.
Also supports additional core properties: `subject`, `lang`, `category`,
`description`.
* odt writer: improve standard properties, including the following core properties:
`generator` (Pandoc/VERSION), `description`, `subject`, `keywords`,
`initial-creator` (from authors), `creation-date` (actual creation date).
Also fix date.
* pptx writer: support custom properties. Also supports additional core
properties: `subject`, `category`, `description`.
* Includes golden tests.
* MANUAL: document metadata support for docx, odt, pptx writers
Diffstat (limited to 'test/docx/document-properties-short-desc.native')
-rw-r--r-- | test/docx/document-properties-short-desc.native | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/docx/document-properties-short-desc.native b/test/docx/document-properties-short-desc.native new file mode 100644 index 000000000..fe3193dc1 --- /dev/null +++ b/test/docx/document-properties-short-desc.native @@ -0,0 +1,2 @@ +Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "A.",Space,Str "M."]]),("description",MetaInlines [Str "Short",Space,RawInline (Format "html") "<i>",Str "description",RawInline (Format "html") "</i>",Space,Str "&."]),("keywords",MetaList [MetaInlines [Str "keyword",Space,Str "1"],MetaInlines [Str "keyword",Space,Str "2"]]),("subject",MetaInlines [Str "This",Space,Str "is",Space,Str "the",Space,Str "subject"]),("title",MetaInlines [Str "Testing",Space,Str "custom",Space,Str "properties"])]})
+[Para [Str "Testing",Space,Str "document",Space,Str "properties"]]
|