You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Pandoc warns if an EPUB document is created with no title metadata:
$ pandoc doc.md -o doc.epub
[WARNING] This document format requires a nonempty <title> element.
Please specify either 'title' or 'pagetitle' in the metadata,
e.g. by using --metadata pagetitle="..." on the command line.
Falling back to 'doc'
You can reproduce with any MarkDown input lacking metadata.
But a faithful user is not always helped by keeping faith:
$ pandoc doc.md -o doc.epub --metadata pagetitle="Title"
[WARNING] This document format requires a nonempty <title> element.
Please specify either 'title' or 'pagetitle' in the metadata,
e.g. by using --metadata pagetitle="..." on the command line.
Falling back to 'doc'
The documentation makes no mention that I can find of pagetitle as a recognized metadata field, so removing it from the text of the warning seems like the simplest way to eliminate the conflict.
Also note, the final line is confusing to me. I interpret it to mean that the tool will generate a Word document (i.e. .doc file) instead of EPUB, but such is not what actually occurs.
The text was updated successfully, but these errors were encountered:
jgm
changed the title
misleading warning over missing tite
misleading warning over missing title
Sep 19, 2019
+ Use makeSection from T.P.Shared. This deals better with
embedded divs. (Closes#5761.)
+ Remove chapter-title class from chapter h1, for now.
(Reverts one change made earlier; we may revisit this
in light of #5749.)
+ Avoid issuing warning multiple times when title not set (see #5760).
Currently, Pandoc warns if an EPUB document is created with no title metadata:
You can reproduce with any MarkDown input lacking metadata.
But a faithful user is not always helped by keeping faith:
The actual resolution requires:
The documentation makes no mention that I can find of
pagetitle
as a recognized metadata field, so removing it from the text of the warning seems like the simplest way to eliminate the conflict.Also note, the final line is confusing to me. I interpret it to mean that the tool will generate a Word document (i.e.
.doc
file) instead of EPUB, but such is not what actually occurs.The text was updated successfully, but these errors were encountered: