From: Tillmann Rendel <rendel-jNDFPZUTrfTbB13WlS47k8u21/r88PR+s0AfqQuZ5sE@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: proposal for new metadata
Date: Sat, 11 May 2013 13:46:16 +0200 [thread overview]
Message-ID: <518E2F88.6000605@informatik.uni-marburg.de> (raw)
In-Reply-To: <20130510055148.GA43087-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
Hi,
John MacFarlane wrote:
> See https://github.com/jgm/pandoc/issues/851
> Comments welcome, there or here.
Looks very good. Couple of questions/comments/ideas:
(1) Can we use metadata to set arbitrary pandoc settings that are
currently set as command-line parameters. For example, can we activate
"--smart" with metadata?
(2) Will there be support for global metadata defaults, maybe in a
configuration file? Then we could have the following overriding chain:
command-line data overrides in-file data, and in-file data overrides
global data.
(3) How are fields with string-content parsed, as Block or [Block] or
[Inline]? What happens if meta-data contains references to footnotes in
the main document? (That actually makes sense for author lists of
academic papers). What happens if meta-data contains bibliographic
references, numbered examples etc?
(4) How will the need for Yaml escaping interact with parsing string
fields as markdown? For example, will it be convenient to put the whole
abstract of a paper in the metadata block? That could be a couple of
paragraphs, maybe with a bulleted list and some references.
(5) Can metadata also be stored in a file different from the content,
and then referenced by filename at the command line?
(6) Can we use metadata to pull in more metadata from an external file,
in order to share settings between similar documents.
(7) Did you consider using the existing definition list syntax for the
key-value-lists you need for metadata, instead of YAML?
(8) Will the pandoc executable offer some way to extract the meta-data
block from a file, so that third-party tools don't have to look for it
themselves? For shell scripts, it would even be nice to extract the
value of single meta-data field, something like `pandoc --get author
file.md`.
Tillmann
next prev parent reply other threads:[~2013-05-11 11:46 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-10 5:51 John MacFarlane
[not found] ` <20130510055148.GA43087-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-05-11 11:46 ` Tillmann Rendel [this message]
[not found] ` <518E2F88.6000605-jNDFPZUTrfTbB13WlS47k8u21/r88PR+s0AfqQuZ5sE@public.gmane.org>
2013-05-11 11:59 ` Tillmann Rendel
[not found] ` <518E32AC.4060808-jNDFPZUTrfTbB13WlS47k8u21/r88PR+s0AfqQuZ5sE@public.gmane.org>
2013-05-11 15:30 ` John MacFarlane
2013-05-11 15:16 ` John MacFarlane
[not found] ` <20130511151626.GB46993-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-05-11 17:39 ` Joseph Reagle
2013-05-11 14:59 ` BP Jonsson
[not found] ` <518E5CD6.9000205-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-05-11 15:35 ` David Sanson
[not found] ` <a79ed376-3777-413a-86ff-98cd2be91e9d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-05-11 20:21 ` BP Jonsson
[not found] ` <518EA861.2020505-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-05-11 22:37 ` John MacFarlane
2013-05-11 22:42 ` John MacFarlane
[not found] ` <20130511224241.GC47226-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-05-11 22:53 ` John MacFarlane
[not found] ` <20130511225312.GA47417-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-05-20 16:32 ` John MacFarlane
[not found] ` <20130520163209.GA4753-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2013-05-20 17:41 ` Fedor Sheremetyev
2013-05-20 18:17 ` Eric Watson
[not found] ` <8DB323DA-2F50-4F4E-A6EE-659B78A1CB08-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-05-20 18:32 ` John MacFarlane
[not found] ` <20130520183223.GB7644-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-05-20 20:34 ` Eric Watson
[not found] ` <DEF42F69-07E9-419F-AB09-71529D1EE3A3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-05-20 21:25 ` John MacFarlane
[not found] ` <20130520212536.GA12605-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-05-20 21:45 ` Eric Watson
2013-05-20 18:31 ` John Gabriele
[not found] ` <CAO9PwMXKSM9_XJFTmUnUGC07V2hVx8hjgG_Un322aYs+LLYsvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-20 19:48 ` Chris Lott
2013-05-21 5:46 ` David Sanson
2013-05-21 19:43 ` Tillmann Rendel
[not found] ` <519BCE44.8060007-jNDFPZUTrfTbB13WlS47k8u21/r88PR+s0AfqQuZ5sE@public.gmane.org>
2013-05-21 19:57 ` John MacFarlane
[not found] ` <20130521195740.GA27524-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-05-21 21:04 ` John Gabriele
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=518E2F88.6000605@informatik.uni-marburg.de \
--to=rendel-jndfpzutrftbb13wls47k8u21/r88pr+s0afqquz5se@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).