From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/516 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.text.pandoc Subject: Re: Multimarkdown Meta Data Date: Tue, 23 Nov 2010 20:08:54 +0100 Message-ID: <20101123190854.GA3948@darkstar> References: <20101123054531.GB8500@protagoras.phil.berkeley.edu> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1290539186 28254 80.91.229.12 (23 Nov 2010 19:06:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Nov 2010 19:06:26 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncCKXw9d69HBCgobDnBBoEEIRHsw-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Nov 23 20:06:20 2010 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-fx0-f58.google.com ([209.85.161.58]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PKyC3-0005UZ-SJ for gtp-pandoc-discuss@m.gmane.org; Tue, 23 Nov 2010 20:06:19 +0100 Original-Received: by fxm13 with SMTP id 13sf294101fxm.3 for ; Tue, 23 Nov 2010 11:06:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:date:from:to:subject:message-id :mail-followup-to:references:mime-version:in-reply-to:x-editor :user-agent:x-authenticated:x-spam-level:x-virus-scanned :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type :content-disposition; bh=6bAlAK1AeoZjy3E2QgggNhd282Z6RcKRk437Bc6z61U=; b=giuApjGrWNUf2RidErb0OMkZyJcx2YDeYZDfC6iPhH3uAnMZvPvDOYise+Uca0FViy 5bLmwUIh7+KQXeEnPv6Y+c5gdvA9P8CL92+SKgFDs5eARaldsQc4eDZPgv80MXr08Asr S42FRibAS8yc/mfu8x8R/ejEVCo/eveH3+djg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:date:from:to:subject:message-id :mail-followup-to:references:mime-version:in-reply-to:x-editor :user-agent:x-authenticated:x-spam-level:x-virus-scanned :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type :content-disposition; b=VPLDsUVAa5VuXTu2VZ2ajAVn68JVGXxYhmKvbKg7n0M8VcAhAsmAVuIMV2ulKN60pZ 22tyRKpPsbio3rD3S+hLeXGQPjWmcSf5u1B0iejHfwbngcSiGE1emIuhmC5KtizZziwb nFtpjjH3ZbOsYhBfJvM3ilOM7x9UG3nlJavEs= Original-Received: by 10.223.114.205 with SMTP id f13mr205764faq.12.1290539168222; Tue, 23 Nov 2010 11:06:08 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.204.49.147 with SMTP id v19ls2995290bkf.1.p; Tue, 23 Nov 2010 11:06:07 -0800 (PST) Original-Received: by 10.204.154.197 with SMTP id p5mr722663bkw.0.1290539167377; Tue, 23 Nov 2010 11:06:07 -0800 (PST) Original-Received: by 10.204.154.197 with SMTP id p5mr722662bkw.0.1290539167342; Tue, 23 Nov 2010 11:06:07 -0800 (PST) Original-Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by gmr-mx.google.com with ESMTP id rd15si169600bkb.1.2010.11.23.11.06.07; Tue, 23 Nov 2010 11:06:07 -0800 (PST) Received-SPF: neutral (google.com: 134.76.10.18 is neither permitted nor denied by domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org) client-ip=134.76.10.18; Original-Received: from 91-65-144-144-dynip.superkabel.de ([91.65.144.144] helo=darkstar) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PKyBr-0001xe-2s for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Tue, 23 Nov 2010 20:06:07 +0100 Mail-Followup-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: X-Editor: Emacs of course! User-Agent: Mutt/1.5.20 (2009-06-14) X-Authenticated: Id:jkremer X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie X-Original-Sender: joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 134.76.10.18 is neither permitted nor denied by domain of joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org) smtp.mail=joostkremers-97jfqw80gc6171pxa8y+qA@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: List-Post: , List-Help: , List-Archive: Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Subscribe: , List-Unsubscribe: , Content-Disposition: inline Xref: news.gmane.org gmane.text.pandoc:516 Archived-At: On Tue, Nov 23, 2010 at 10:53:04PM +1100, Brett Calcott wrote: > My thought was that pandoc would simply provide a way of providing > metadata (I was suggesting that the multimarkdown format as it fits > with the markdown philosophy and is already in use), and then perhaps > choose to use some fields for itself: Date, Author etc. It would be up > to the pandoc author to define how they would be interpreted. Other > fields would be ignored but could be passed on for use in the > templates. In essence, then, the metadata would actually be a list of variables with values, wouldn't it? Personally, I'd welcome that, it would void the need for passing --variable parameters... > Not sure how to handle someone starting a document "Date:". Couldn't > someone start it ":date:" too? Maybe there could be some optional > :EndMeta tag or something for these odd cases. Perhaps in the off case that someone wants to start a document with "Date:", they'd simply have to start the document with an empty line? That would tell the parser to not interpret "Date:" as metadata, but it wouldn't affect the output. -- Joost Kremers Life has its moments