From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18197 Path: news.gmane.org!.POSTED!not-for-mail From: BP Jonsson Newsgroups: gmane.text.pandoc Subject: Re: Colon in title in YAML header block Date: Wed, 20 Sep 2017 22:13:15 +0200 Message-ID: References: <16f23044-d51d-cb0d-fb5e-63f11df2ed5a@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113cd596276b7e0559a49b59" X-Trace: blaine.gmane.org 1505938396 19325 195.159.176.226 (20 Sep 2017 20:13:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Sep 2017 20:13:16 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDIY76M674FRBXEXRPHAKGQE4VHGDZY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Sep 20 22:13:11 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f184.google.com ([209.85.223.184]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dulMs-0004lA-Jr for gtp-pandoc-discuss@m.gmane.org; Wed, 20 Sep 2017 22:13:10 +0200 Original-Received: by mail-io0-f184.google.com with SMTP id f202sf2278248ioe.22 for ; Wed, 20 Sep 2017 13:13:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1505938397; cv=pass; d=google.com; s=arc-20160816; b=fOhazQzkfQR7sMt8qSrK/YlCqSutG+kwxuX5Gg0gjshFVovLlcLYDvxKPQXvnZp7qr vqtxntsKvaA4Ic2KPQ0XddqqhO1WoDL3XHeCNzQPqvsFWmSls/ppLXZ8DJMtUt0yMF9v 7CAtZTAFFnujYqAQxvrSue9DDQO7Cl50t3ti0dEd2i0cT7teI/J+CDaa5YGQB0WOzMhd mC866WvPqdVET5WVL/63+wqvcVL7cJ1AYewUR8dy/iY5gjEVYgMmQPMYaNVLGLApIX/u UEvHMOxH20YacnL5+R5Xa3l8+5aBhjwSmNHQdebcdQQ7irOEoeISkAY9N45Ep2gfmzID y84Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:references:in-reply-to:mime-version:arc-authentication-results :arc-message-signature:sender:dkim-signature:dkim-signature :arc-authentication-results; bh=PIdGdbzb5QXo30iYYmpAFXb2e2IkdvG5tRJE6Ap/ufM=; b=JFL7bcEgcFRlZbIHVfc9iHbWnrazyBDv3SUKethg9v8ISSW52hmn0EPZuisHmELsZZ h3zQAMchRZeZftXkrBAHzf9lqxrFG2FJmEdoTwyIK/q9y6OsRBqfRQddh6eQCEGFR/tl RZ4Xhb6vmxATpV5RzSl8ovhx/3KQSuhCZI76+kqHFpcDAcjQX5sWguIKBUU8Rlj0hY/y QXwp+HxCEPz68LdGSOMze+gVAyBovXZvFXBIujQX6/znSm/T/G/qWwz+4rQDlvA6CyDz MOuTfnw9k4sdTBL/mfnqQYNoqkWIV7ffK+NCoJ0rYcsIf0ewefvu2X2TFeuXb+7nYw7W JJ5A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l9iWLvxm; spf=pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4001:c06::22b as permitted sender) smtp.mailfrom=bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:in-reply-to:references:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=PIdGdbzb5QXo30iYYmpAFXb2e2IkdvG5tRJE6Ap/ufM=; b=C3msSs2xoO6nvkh8eaYgIo+YA8MV/rKxyU/Dbymxwc/ENIYC0Unii0urR1xMJpdBc0 44ENjg05/xnbxCyNKoahNml2a89DZbjzNMC9EE4xR/FsYE4m5unHnPQW6kn2s1m2Nk0J rV3ahg43pFNA1fY4GU28VuFZ4XDpvivqzyP7aoCYPcFFIPMEcx/UhWoTxaLiJJQONrU+ Hz/Sydd2UC+BTxAK2yzEGN2bEI0HrVkBHZR4xqHzcIntSOTNiHSjq4JrxgVgYxuZI6nG D9vhPYg13edbt9MbhXPLOk0OeTgcurYIJ0EoYhEb1GWtenv6emcb8AeaBH7TIwuyHFPF UfqQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=PIdGdbzb5QXo30iYYmpAFXb2e2IkdvG5tRJE6Ap/ufM=; b=FgUXsol2QJl+TqD446wKWdFpopDgx2HpUUMQDxvAUlcDLTxvbe9Z/Vg+N+NuPb7Dwq dsSugo79jPIV/8a0cnrwiRe56qn1NtpgVPgLWKytjB6gLt+1hzyIuiLIII3EuwDzB1bQ XMeb3TTAdbkLvNRZRlgYyr9Jy8MiCkNDAwt0zZCSIsz3Tm6bIf4ZgEHOOK7L5BPHCzFh 9HOB5u38k2356pnd/YSdR79o37rTZsO+SWhrLaGiWfoTHXnC8fYtDDDLZFKwjMxn2Ocx q5IXtlSR80Od0P+q09NkuwmgKD/R+EpNGZaHQFDRmRNscXmiKP+ytGXGCDJxiGi4UGTH uTMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:in-reply-to:references:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=PIdGdbzb5QXo30iYYmpAFXb2e2IkdvG5tRJE6Ap/ufM=; b=biajG7Wh45vQGr+nQ1nYpOmlhZyyPFQaD3Xps7B8Ch1LPts9OoeUOvACps1uEjSkSh Yvxn89jsz6rCdQrRTcsVox3RVMAfepBOld0X0cjFOIQGywoevon2f4ydVX7g+ZgijVEz GcxBCoMHJttvAfT+eXXDk6DV8MNXfdma/YkippjKggwjd0UhHiAPO5Xbnz0zm8fE8tId eArwCZKR6wnDeoJumxooQoEUIqpXKh0TAWGqcH70TswS0Dnk4wC0GcUTi9lX9CNXLrQ9 AEZRqkTHrJJ0bxaWZ7Aok49CWczL3e/ytx9kEqO1OXZpNHzLU4kHu1XUgE4asFPZ77nG iCUQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHPjjUhZy0tFmbBwdnENfhGUnllulctqhqnvI7IaBH8CZJmLkCERIQ1i UP7c+C6+5V8RkThZbMxkjnM= X-Google-Smtp-Source: AOwi7QDz9L6PVxEK51kj6zndZ2WXmdwVKF9mqNev9yIr/PhYr//IBsl5r+pfpz3cRHk4MN5g5MoBdg== X-Received: by 10.36.53.202 with SMTP id k193mr41870ita.12.1505938397878; Wed, 20 Sep 2017 13:13:17 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.84.234.198 with SMTP id i6ls311501plt.11.gmail; Wed, 20 Sep 2017 13:13:16 -0700 (PDT) X-Received: by 10.99.120.130 with SMTP id t124mr2005207pgc.109.1505938396610; Wed, 20 Sep 2017 13:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505938396; cv=none; d=google.com; s=arc-20160816; b=egufUq+du6jA/zxQ/RA8FtQjmzc3RQg5I2ss1cHY3rNWtKot/Vy4YqFtJPD2Y50L/E iIhB2P70k1iNnD9m0s/P2ZvHpPcGExLU6bpLhUmR4qVVQJlpEOun+DVtLzV+B8htAkya WSnp4UveJZn9fddGLrIvWuX5nHTaTxC5eQfL3AYHuSIWHpiUAz9wLpldDho2nY03+WWq FBx7z2sufwyaWFUIk6lavChruxaVQioPDgAzzPxiI5InKJfQvtXGIUn5xFt9dThrOKX7 zqDc2DGQzJWHB/tPGb31ABMoeAfSdASfzegwF5PokCZH59HCzx9UadvngKdWEL0VBbWh wWSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=ZAn+LMeDWV5t9N/JsAOrvaFEkqOV0fNM6ThurmUSp+A=; b=tdW+B05oU9KCU6a9YeFGzivYQwNYvT/D78X/3Nxe0T+F2NtkQwrh2oQQyRV+CprWEg svGlKGfrHDSGiIvYeEqCqqpLnX0B7hDiNu1H+H07yT6m/6PblApR16JRp2+3B96wOYdx Y/4mg7V3wiLMddcw/ur1A13rytkUG8SfXU/LYbRe2tq8er+knCIumQn0+t78eH4dbHtE bHHNvLTMBnqDztLIIZoQyUClXv66/BnHcVscKwCnHiGQhGiBxBHW3vZnsr9S6EKYhqPk iQDLdZMRRII4cnSt+o/IC4BMMJ0RCqluq4f70j3ikAj7c/64cBx4KG+lT9DciSBAsAKO rIuA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l9iWLvxm; spf=pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4001:c06::22b as permitted sender) smtp.mailfrom=bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Original-Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com. [2607:f8b0:4001:c06::22b]) by gmr-mx.google.com with ESMTPS id u4si128868ywc.2.2017.09.20.13.13.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 13:13:16 -0700 (PDT) Received-SPF: pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4001:c06::22b as permitted sender) client-ip=2607:f8b0:4001:c06::22b; Original-Received: by mail-io0-x22b.google.com with SMTP id n69so6275306ioi.5 for ; Wed, 20 Sep 2017 13:13:16 -0700 (PDT) X-Received: by 10.202.48.12 with SMTP id w12mr6988620oiw.95.1505938396104; Wed, 20 Sep 2017 13:13:16 -0700 (PDT) Original-Received: by 10.157.62.81 with HTTP; Wed, 20 Sep 2017 13:13:15 -0700 (PDT) Original-Received: by 10.157.62.81 with HTTP; Wed, 20 Sep 2017 13:13:15 -0700 (PDT) In-Reply-To: <16f23044-d51d-cb0d-fb5e-63f11df2ed5a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l9iWLvxm; spf=pass (google.com: domain of bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4001:c06::22b as permitted sender) smtp.mailfrom=bpjonsson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18197 Archived-At: --001a113cd596276b7e0559a49b59 Content-Type: text/plain; charset="UTF-8" The Wikipedia page on YAML contains very good descriptions of the syntax, both terse listing of syntax rules and more explanatory. https://en.m.wikipedia.org/wiki/YAML Note that some of the more advanced features don't make sense in Pandoc metadata and/or are not supported by the parser Pandoc uses. /bpj Den 20 sep 2017 18:51 skrev "R (Chandra) Chandrasekhar" : > Thank you. Both single and double quotes work. > > I do not know YAML well and think that I had been overly fixated on > backslash escaping to consider alternatives. > > Chandra > > On 20/09/17 22:11, Gwern Branwen wrote: > >> Don't you quote it like any other string literal? >> >> --- >> title: "This title: has a colon" >> ---- >> >> That's always seemed to fix escaping problems in my Hakyll files' >> metadata. >> >> > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/ms > gid/pandoc-discuss/16f23044-d51d-cb0d-fb5e-63f11df2ed5a%40gmail.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuRBc0CvG8hgV0z%2BHZzwmRcWXjC7KrL1Rtvj1xyY%3D0-OUw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --001a113cd596276b7e0559a49b59 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The Wikipedia page on YAML contains very good description= s of the syntax, both terse listing of syntax rules and more explanatory.

Note that some of the more advanced = features don't make sense in Pandoc metadata and/or are not supported b= y the parser Pandoc uses.

/bpj

Den 20 sep 2017 18:51 skrev "R (Chandra) Chandrasekhar" <chyavana-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
Thank you. Both single and double= quotes work.

I do not know YAML well and think that I had been overly fixated on backsla= sh escaping to consider alternatives.

Chandra

On 20/09/17 22:11, Gwern Branwen wrote:
Don't you quote it like any other string literal?

=C2=A0 =C2=A0 =C2=A0---
=C2=A0 =C2=A0 =C2=A0title: "This title: has a colon"
=C2=A0 =C2=A0 =C2=A0----

That's always seemed to fix escaping problems in my Hakyll files' m= etadata.


--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm. To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/16f23044-d51d-cb0d-fb5e-63f11df2ed5a%40gmail.com= .
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to
pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://gro= ups.google.com/d/msgid/pandoc-discuss/CAFC_yuRBc0CvG8hgV0z%2BHZzwmRcWXjC7Kr= L1Rtvj1xyY%3D0-OUw%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--001a113cd596276b7e0559a49b59--