From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18035 Path: news.gmane.org!.POSTED!not-for-mail From: Melroch Newsgroups: gmane.text.pandoc Subject: Escaping (was: Re: Missing bibliography) Date: Fri, 11 Aug 2017 12:57:26 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c05bdd4c2cb6b0556782d78" X-Trace: blaine.gmane.org 1502449055 25458 195.159.176.226 (11 Aug 2017 10:57:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2017 10:57:35 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBF43W3GAKGQEBB7J7XI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Aug 11 12:57:30 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yw0-f190.google.com ([209.85.161.190]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dg7d4-0005vo-Ab for gtp-pandoc-discuss@m.gmane.org; Fri, 11 Aug 2017 12:57:22 +0200 Original-Received: by mail-yw0-f190.google.com with SMTP id t139sf1167065ywg.2 for ; Fri, 11 Aug 2017 03:57:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1502449048; cv=pass; d=google.com; s=arc-20160816; b=HzJJ5HoI5ictFy/NG90bTMLJD63t1md0aTxHVt8Frur0k+eaFt+M19RjOrXg4e33bT qq1Cihz/t4usFa78beanwgAEWZ+qsDlo4coTLWdgN38VJyHNJGUtOnbvtw+a06l41tqF ltFc/fVzmaVCayu3zmOYcDXNu/krSWt+hqV9qmdY0fqtRUNkhDb9BOrTvqn41N8/qcry c14kP5oHQJuarIit64DjXpWMg7YglW0ADMVm//dkY4nUn1um4Qo3Z+zovRKEHeWew7Rf 5RESI3UfJ55Tjp+lVB8RUPW/kXFYWf7X0+3zvuTupsdQCd62UYHVnBIMnl1FScwOakLj jLnA== 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=NBEZDTRIK16M5pkWfzXtchON+ZBtmFSbEipOjRCycWI=; b=f8iz9/g4/4GysifZ2RQmWoD3S5GK58PiLjFQO++DddJ4QbtZvvXsqhasSV9tUkKJvu kz/txt+5n9OSb7jn7xjUph+3HgLM3/ltWzfGiO7f+vJ6LsUZ2OCun3/6chty2v2Iccc9 OK5tnUOMVF1XK23J9c0ZroN5SC1TYjByL8gK6wE5wQvBqJEYHIEgzpnjBg/afkPJD1dz zvYo1VYXq7MX/DxYqkYe7PlE3ea1t9oyMb29eG/Aak2+dfpyQT+nUn+LnugZoVCRudKH niuwbgyIMYFAeKiAwl50Hb9mBujUmg4QoyERiB1tMv3tZM7fYlfOdVsslpCztD4EuLdv NF7A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KqP4rSbP; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4002:c05::234 as permitted sender) smtp.mailfrom=melroch-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=NBEZDTRIK16M5pkWfzXtchON+ZBtmFSbEipOjRCycWI=; b=oVpQUgmpyGf01PRYq5M1e+ANEaJ3J7KdOpqn7+BCXO4Ghnc7jOvRfF6gaOkEHkxb6r K9W9BVfOM//29P4hRNcX3/RW+EM6DV615MCimULA7ZpckHSd6kX1u+fUMZFeHR3c+Ofq qb4IdNSkZbtStf4XBfWmeBv8H+ioCZm1ZsbR9LiU1VPrK58dSz0FWHXtdYdvzCtXaMl1 TQLFe3ftiXoX0qHOoxq4xkSe4zb6gvBbOsaclTDo6eyBaUPd+wrRP0s0Cz1StBr08NOu Evtc0ddfMw2fMpRAj7L6AEoNInQM2YkI3KVnUFwZUzdaHZhjZ8hcATAtqKlCwSjLJ1cc rgBg== 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=NBEZDTRIK16M5pkWfzXtchON+ZBtmFSbEipOjRCycWI=; b=UjTdJnzNOF5pv/K5EmJ6eJc1YE/uQJ47U8HT8tBNVp644tz1AAujd01A2xs3sSK2lo SjwRWwmsUVlUpvesEXCjE7jQbNVOtwhfMQd3NjZUFvPI5/PvhsdPYYDpqXOZUOahBJXt Rgrhrwz/Y9qRNukxgeuTcNE0v4M8bwoWlaRSqZTywuAKxWj/nDsbUBdsgBkc18kIlZH4 IslZi9BhJmtSBMQPyEiaWYQqg/2vqVfCXvCWQHr44gIFDzAFZJ8B3JgYlR4e8rqsheAZ uaMjDT0AJS4SbnFMN69BVvGHdhXx8pU2nfCTdUlDqLVf0w88S4hSOHWW4p3rhkCbNQes EnCw== 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=NBEZDTRIK16M5pkWfzXtchON+ZBtmFSbEipOjRCycWI=; b=W+cTZKr8mKhe3yAhpK4jbbNlQuYNeFzv4mXte2sAJaV7AXoYp5vg1EqJ6CER9HHklW XcLMaVE/VGWGUBA/lP7/cxP2qh8/2FWzqgZyxu+YrOZyI4hXkb+qGQZsO8k5SZbCIEcB B8c59/Lfb1mHvV3ajlLWwFA0jaG2Kf4L7KX3uycqyy+jJ9ugjnokMhpJAdCiQYnZ1u0F /np+GW1akDTUwysAyTrtXR7rdCXvKZC7rtX4qfkmNVw30CL8F4r2V+6rrNPAVJx80zoH 1LqmfVR3lHEFq0t5JK6Z1rk0jxACQ65GpQVNqwPnBohN6ONlNjntYYWCDv3+ehlj4aYH gBiA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw112FHOex35d6MVRtp61WuY54G5PateKI0rF02Ay50/GZc3OTgW5R GT6fIfPti+HYyg== X-Received: by 10.36.50.88 with SMTP id j85mr665686ita.12.1502449048598; Fri, 11 Aug 2017 03:57:28 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.131.200 with SMTP id n69ls1015612ioi.16.gmail; Fri, 11 Aug 2017 03:57:27 -0700 (PDT) X-Received: by 10.129.199.7 with SMTP id m7mr9504358ywi.140.1502449047767; Fri, 11 Aug 2017 03:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502449047; cv=none; d=google.com; s=arc-20160816; b=vHrCr5l5WHIPbdwnsbCzcXmWrNR+i6Ze85Ye/8TN5ZvHKHsV1Ui6NodwWyocWT83SO GDA5b1ovYInKvMYa+pZS3Ss63ZOrQuEeVRWcqBBQmZ9LXLI5R4jEYvhCIUhAPgwQz2I3 3TI3a5106WZ6NY4pRO9t654I87NzdOgvScj6aDv3ysrv4jPiFVU4/y7JlhWz8dB9ZwER RD7KvgdCCPRYMQSG73ErN9XCHoVeFMT2cNAYdmmnoF2g82PKPGiQPJ2HXMFmKwau5n+0 o8SMmPiGzBhokKq1sOrNp2Rksz54zvpOzjJ9VcCtseDJkWokCyz3vk2+gMQyC9JmQYha M/YA== 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=FAQJreup9JU+oryKLAgD8mJgNPLIGrbpxLJL/2qxEb4=; b=nPGIlYUnkgqVrlvmxUG/41bDp9uyOYybPNL/IW6uevtHcgOcWnrpbtuzA81ne6NBHM qV4rZfqW/ofVmtKFkzuOcXQVa0arzdCHmPPCN9CiaR9VEcdz/Pfansl+sR37pkFKY7oP ss3jTma2draPsQBDH4fb9YaGIHwQ1SCbc6/pCFOJ0Q/kbbVMf6uJQbzy1jBNEvY/FpOL EenMWVtcPztv3e/Wtnh0OBl3mrVmLCNCpLGNQEu3UH+yxWCmLWAkmdTpqUUpMCc6iM1Y pz6sfFxZCquq+pDbWyczXwShAFNkz2WWpYENVIpXdcsMDU4cInAod3Ph5Y2YBMGe4wuN kEKw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KqP4rSbP; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4002:c05::234 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Original-Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com. [2607:f8b0:4002:c05::234]) by gmr-mx.google.com with ESMTPS id g6si37738ywf.15.2017.08.11.03.57.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Aug 2017 03:57:27 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4002:c05::234 as permitted sender) client-ip=2607:f8b0:4002:c05::234; Original-Received: by mail-yw0-x234.google.com with SMTP id s143so20137643ywg.1 for ; Fri, 11 Aug 2017 03:57:27 -0700 (PDT) X-Received: by 10.37.202.67 with SMTP id a64mr6302945ybg.60.1502449047356; Fri, 11 Aug 2017 03:57:27 -0700 (PDT) Original-Received: by 10.37.58.66 with HTTP; Fri, 11 Aug 2017 03:57:26 -0700 (PDT) Original-Received: by 10.37.58.66 with HTTP; Fri, 11 Aug 2017 03:57:26 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KqP4rSbP; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4002:c05::234 as permitted sender) smtp.mailfrom=melroch-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:18035 Archived-At: --94eb2c05bdd4c2cb6b0556782d78 Content-Type: text/plain; charset="UTF-8" JGM wrote: Perhaps pandoc should not allow reference link definitions that start with `@`, since these conflict with citations? Anyone have thoughts about this? Someone should probably put an issue on the bug tracker for this. ______________ That seems reasonable but please note that anything which contains literal square brackets or asterisks has to be escaped anyway, so more or less escaping will be required for many of us. Admittedly historical linguistics and comparative philology (my onetime field, which I still interact with to some extent) use more literal square brackets and asterisks than most, but maybe the most reasonable solution would be section in the manual which lists common cases where escaping is required. Den 6 aug 2017 18:03 skrev "John MacFarlane" : Thanks (and apologies if I missed the files before). Simple repro here: ``` hi[^fn3] [^fn3]: [@Alhazen1572-qk, V.9]: "competentius est et rationabilius, ut appareat supra perpendiculum, quam extra eam." ``` This yields an empty footnote. Why? Because the footnote contains: ``` [@Alhazen1572-qk, V.9]: "competentius est et rationabilius, ut appareat supra perpendiculum, quam extra eam." ``` which pandoc is parsing as a reference link definition! Perhaps pandoc should not allow reference link definitions that start with `@`, since these conflict with citations? Anyone have thoughts about this? Someone should probably put an issue on the bug tracker for this. In the mean time, a workaround is to backslash-escape the colon: [@Alhazen1572-qk, V.9]\: "competentius... -- 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/20170806160229.GA79285%40Johns-MBP. 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/CADAJKhDoN4q1oXDWJzPX2KXvjVBakfEccWnLx-NM%2Bw0A7KGhrg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --94eb2c05bdd4c2cb6b0556782d78 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
JGM wrote:
Perhaps pandoc should not allow reference link definitions=
that start with `@`, since these conf= lict with citations?
Anyone have thoug= hts about this?=C2=A0 Someone should probably
put an issue on the bug tracker for this.
______________

That seems reasonable but please = note that anything which contains literal square brackets or asterisks has = to be escaped anyway, so more or less escaping will be required for many of= us. Admittedly historical linguistics and comparative philology (my onetim= e field, which I still interact with to some extent) use more literal squar= e brackets and asterisks than most, but maybe the most reasonable solution = would be section in the manual which lists common cases where escaping is r= equired.

Den 6 aug 2017 18:03 skrev "John MacFarlane" <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:
Thanks (and apologies if I missed the files before).=

Simple repro here:

```
hi[^fn3]

[^fn3]: [@Alhazen1572-qk, V.9]: "competentius est et rationabilius, ut= appareat supra perpendiculum, quam extra eam."
```

This yields an empty footnote.=C2=A0 Why?=C2=A0 Because the footnote
contains:

```
[@Alhazen1572-qk, V.9]: "competentius est et rationabilius, ut apparea= t supra perpendiculum, quam extra eam."
```

which pandoc is parsing as a reference link definition!

Perhaps pandoc should not allow reference link definitions
that start with `@`, since these conflict with citations?
Anyone have thoughts about this?=C2=A0 Someone should probably
put an issue on the bug tracker for this.

In the mean time, a workaround is to backslash-escape the
colon:

=C2=A0 =C2=A0[@Alhazen1572-qk, V.9]\: "competentius...



--
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/msgid/pandoc-discu= ss/20170806160229.GA79285%40Johns-MBP.
<= br> 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://group= s.google.com/d/msgid/pandoc-discuss/CADAJKhDoN4q1oXDWJzPX2KXvjVBakfEccWnLx-= NM%2Bw0A7KGhrg%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--94eb2c05bdd4c2cb6b0556782d78--