From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33252 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: problem with urls in bibliography (pdf output) Date: Tue, 31 Oct 2023 13:14:13 -0700 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_8B2CFDC0-1E25-474E-86C1-5C598ADB7EA6" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5860"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBIWAQWVAMGQETUXLRAY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 31 21:14:30 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qv1-f61.google.com ([209.85.219.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qxv8A-0001Ha-3W for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 31 Oct 2023 21:14:30 +0100 Original-Received: by mail-qv1-f61.google.com with SMTP id 6a1803df08f44-670b675b2c5sf42391886d6.0 for ; Tue, 31 Oct 2023 13:14:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698783269; cv=pass; d=google.com; s=arc-20160816; b=u2RVbRUu8PaxhpUDkF6s+XXs3rQbjW3TWUfRj+nAXcwDi639v+vjRVY50jM4m8XBqY cjiHrMD/2iHjSvgV0lwBgCcczUD7deTMNMFy7Pi6cxV4GLRme+acGx350nZluqZJ17tK FTgfsyHm27S+VvBdYB1W3tOfRqafUJXR4XewLMgfXkUURob8cCRvb4oJ+U8eNEvln3PR 1PMLkK7kYVqdfXXGPlELoHPhJg+5qi9tTdX8Sjo3hxct1jdL5wjr21eZa+xeAUtOR7TE T+cNEp+o+eH2uZ3uuj8L9M8n5r8UCN9qnPe+jvZdPQO/bTDEKAFv+hZqPnBbVyJtAM3N NyAg== 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:message-id:in-reply-to:to :references:date:subject:mime-version:from:sender:dkim-signature :dkim-signature; bh=GyNfsVJWdd3WhQZuEIeXBeV1RFe6PHicLVTMpFd4QiM=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=Xw6iwbqU7j36ZsBJ3FOmxK3SxDUM4KrADLsTjsu7sSJF0jWzbO+2iptLWWNZ6zFUj9 neKANuphxVt/lOmx6ue1jK14kYaqm+14M0hcL6qP25gEKsUEV7BRxb6uBLq7jtqew7FI zHHSicfwNxdnSNBlrG70lUlYqy2tkvuIPos1ewnGgs69lEMd10AAmHuJGu4hCN8EH9ot hqu7wwlg2okrISkvZbKa3grlnxeqiZ/P4kN5BRmtrIhjRt7shY7D83eb6d/BKUkzpT0n 6IM8uL5pZWZ8boX7R9RW9b97BjmjKpbciU5YYrZ/FLd3Y+VrqdUK94Jy4jkqZm6viHa4 H4rw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LBX3DBUF; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::635 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1698783269; x=1699388069; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from:sender :from:to:cc:subject:date:message-id:reply-to; bh=GyNfsVJWdd3WhQZuEIeXBeV1RFe6PHicLVTMpFd4QiM=; b=dcDLPJ8KF5Ka0dIhFUybekixU6e/lDadQn53hqowI0xz/Sn/8U7RO0P2SzOUL95Y0+ kGkvTCEXfIB8pntMT7lg5DeXM8k9VwG9fnRXtv0ghDK9Y1hrEyJYVYaVDV5opU7fIQDZ OgoZXPsy0XeCgLLFklW5CFfYJZaxv1Sx1MfplpSUqO/2u7Hnqg9xVg4uGoI6BY140as0 w3zpKwN+pjUtLn7HD65p22EjVubi7wFxLyazPBnVYedpHNo9CcSBWR/FfyBg2N6yEHdV 9VOmbBHckSoEm0c+cS6mPHEn6X1NGaa3XiVT66RZ+Qa68eEFTiVC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698783269; x=1699388069; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from:from:to:cc :subject:date:message-id:reply-to; bh=GyNfsVJWdd3WhQZuEIeXBeV1RFe6PHicLVTMpFd4QiM=; b=A+nINShf6Iqm9MihhPGh1nX8rFZAqS7eRAU3uu/EYfC30z1oYx8LcgawJU/SvnNMfO oGfb1ZMOU6MNN/L36wUYmjV8NEoIzPNo/DzhvgYg69Mw71rKgO6M37aujNFvvY4P4Xu9 Xwq2MJpbifAxNt05BFbyklP2QjMgF7f/3uL5gAyCvdpFN07gjvBTPVOmcpcV59zuPYpj MuohywAVae4QfTtz2YI8AxZ4h3p2gJSMnVjcRXEiKa2BTXkDiIQ8cgW0QqHNrUMc0Icz C0iik7UCMcDGGt9RBE5dXOGTMbp/lhXlv01nai+EIpa/v8NhcCdU/hXsHXITEzljx+ X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698783269; x=1699388069; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=GyNfsVJWdd3WhQZuEIeXBeV1RFe6PHicLVTMpFd4QiM=; b=hlwYFnH0ltE/WwpDJn2iK4FH+6u04AVUAhZYOfZoIygO2tZAauoGa66vuZ9DMDdQTw kGovGEeBUQ4Z6adopl8PSUlAReBeF+JG0xpyXTc15eUsaeYM/4AGRqFGFkxAGVpk0whW lYRDyaLXiUo7iNreqeiP862hO7hqBf9m/MtdDrmxyBMrIlBnLYZmyDC4RILBjia0WbRC OKyEzTy8TywPyafJi4/laoCeIY72vOK6XRls0VefZF4gllamhjAhl/ueQ7r7Ret2r1C7 7HJTQV Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YyBAO8MdguV4EG/F0GrMMGnDNzllvuvf5v2sxVBfbcW8Eiy3l8H I7e/tf7wJ1EaKr1tUU2LUco= X-Google-Smtp-Source: AGHT+IGfpcNdMaYCe6X+KcYpktbhjEgkDEK0HWU1rZNK9EVCz5FkQlxVlQbeW+TP6oFxYabq/crn+Q== X-Received: by 2002:a05:6214:20ad:b0:66d:18ab:b47d with SMTP id 13-20020a05621420ad00b0066d18abb47dmr14410255qvd.64.1698783268969; Tue, 31 Oct 2023 13:14:28 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a0c:fe85:0:b0:65b:e4f:d22c with SMTP id d5-20020a0cfe85000000b0065b0e4fd22cls517483qvs.1.-pod-prod-01-us; Tue, 31 Oct 2023 13:14:25 -0700 (PDT) X-Received: by 2002:a05:6214:3007:b0:66d:62a2:3281 with SMTP id ke7-20020a056214300700b0066d62a23281mr14474774qvb.39.1698783265609; Tue, 31 Oct 2023 13:14:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698783265; cv=none; d=google.com; s=arc-20160816; b=jb9Twzdq4pQ9XkKEQJKq64XJ3PW7kYV3HONoNwlTe5WjMt0XwpbIThHh8xUm7lDYsO 0zP0SRgsGyZRqaWvaQarbSrhaJIESeiaVzT1/SiBfwqe4sWEd89ybjzk30eTDO/chsEa OPWCYVPHqLLMCHWoHn4ADPD+A0OCmHu7D1WW8yoLZKZFwnR2J0rLFzQuOKIEyaMeoxlI 0LUQ8G1X02O32poqP5ajUVeHqaV4Y5GrNAyrhmsSWGjPRxAXmI1E+SQNyMdsUECit5ZK 3fu3xEIE58z6Pq+nr1+xnrK1ewXZZAIxPQQ0w8jZJkZDbh1Q/at0IqDMU7kDRUpOmPop p30g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :dkim-signature; bh=ZFHihO/ssrH9nnD33YuPS9NOt4bME2QSrENvfF13CDg=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=FORBRL5NOwp2Tb5Yt3kCB5WV2p/txkve1Hs12USPVnmKFYZl187ItlAQSZ52w7YcXE EAIO6QtovUSSdq8nHdi+NZtzSpRoYQK4H6OLm8dPUTd+u0fOF7sQeEBr5c5EiKcQD+ci LFmr7njTPXiPG3fAVoGG2Hdxod5bPyDxMme8ZhkxgVGJx2vYx8Tsa0n35uEgWIAIWjae FFmG6CsneFOj8VK+6YA5rcR1eWs62pEk9Wn/IEzGHB0O6+sDvxMxg61FCiTb0HaSojY4 Pplbe1g76+fSvBS6kbcso4OU+XUGgjVpklw50S4gQ4x0IBPuQcQo/9ugYRNIJCcjU7Q6 Q86A== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LBX3DBUF; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::635 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com. [2607:f8b0:4864:20::635]) by gmr-mx.google.com with ESMTPS id qo14-20020a056214590e00b0066d7fad5221si150125qvb.4.2023.10.31.13.14.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Oct 2023 13:14:25 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::635 as permitted sender) client-ip=2607:f8b0:4864:20::635; Original-Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1cc394f4cdfso23053255ad.0 for ; Tue, 31 Oct 2023 13:14:25 -0700 (PDT) X-Received: by 2002:a17:90b:3644:b0:280:1508:fbbb with SMTP id nh4-20020a17090b364400b002801508fbbbmr10046985pjb.23.1698783264375; Tue, 31 Oct 2023 13:14:24 -0700 (PDT) Original-Received: from smtpclient.apple ([2607:f140:4208:8000:69a3:2134:3cbf:9cb0]) by smtp.gmail.com with ESMTPSA id b8-20020a17090ae38800b002805740d668sm1495985pjz.4.2023.10.31.13.14.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Oct 2023 13:14:23 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3731.700.6) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LBX3DBUF; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::635 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE 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.io gmane.text.pandoc:33252 Archived-At: --Apple-Mail=_8B2CFDC0-1E25-474E-86C1-5C598ADB7EA6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" It should make the problem go away if you remove the spaces and newlines ar= ound the URL. (%20 encodes a space and %0A a newline) But this does seem like a bug (I guess in the LaTeX reader's treatment of \= url) so it should be reported on our bug tracker. > On Oct 31, 2023, at 12:21 PM, t t wrote: >=20 > Hi, > I'm getting garbled URLs in the pdf output for a bibliography. I'm not su= re what I am doing wrong. > By garbled, I mean this here, copied from the pdf (note all the happy %20= s): >=20 > Pitt, David. 2022. =E2=80=9CMental Representation.=E2=80=9D In The Stanfo= rd Encyclopedia of Philosophy, edited by Edward N. Zalta and Uri Nodelman, = Fall 2022. %0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20% 20%20%20%20= https://plato.stanford.edu/archives/fall2022/entries/mentalrepresentation/%= 0A%20%20%20%20%20%20%20%20%20%20%20%20% 20%20%20%20%20%20%20%20; Metaphysic= s Research Lab, Stanford University. =20 >=20 > Got this through calling `pandoc mwe.bib -s --citeproc -o mwe.pdf` like s= uggested in a manual. > (I had similar results calling it as --bibliography, with the main input = a .tex file that included \usepackage{url}, so that does not seem to be the= problem) > The mwe.bib file that produced this is this: > ``` > @incollection{sep-mental-representation, > author =3D {Pitt, David}, > booktitle =3D {The {Stanford} Encyclopedia of Philosophy}, > edition =3D {{F}all 2022}, > editor =3D {Edward N. Zalta and Uri Nodelman}, > howpublished =3D {\url{ > https://plato.stanford.edu/archives/fall2022/entries/= mental-representation/ > }}, > publisher =3D {Metaphysics Research Lab, Stanford University}, > title =3D {{Mental Representation}}, > year =3D {2022}, > } > ``` >=20 > Any ideas what I might have overlooked here?=20 > Thanks, > Best, > Tobias >=20 >=20 > --=20 > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/b82b1b49-4c9d-4534-9b41-831bab0917c6n%40googlegroups.com <= https://groups.google.com/d/msgid/pandoc-discuss/b82b1b49-4c9d-4534-9b41-83= 1bab0917c6n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>. --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/DF1D2254-193D-4AD9-BDCC-7E5C885320FD%40gmail.com. --Apple-Mail=_8B2CFDC0-1E25-474E-86C1-5C598ADB7EA6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" It should make the problem go awa= y if you remove the spaces and newlines around the URL. (%20 encodes a spac= e and %0A a newline)

But this does seem like a bug (I gu= ess in the LaTeX reader's treatment of \url) so it should be reported on ou= r bug tracker.

On Oct 31, 2023, = at 12:21 PM, t t <tobias.tschiedl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hi,
I'm getting garbled URLs in the pd= f output for a bibliography. I'm not sure what I am doing wrong.
By garb= led, I mean this here, copied from the pdf (note all the happy %20s):
<= br>Pitt, David. 2022. =E2=80=9CMental Representation.=E2=80=9D In The Stanf= ord Encyclopedia of Philosophy, edited by Edward N. Zalta and Uri Nodelman,= Fall 2022. %0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20% 20%20%20%2= 0https://plato.stanford.edu/archives/fall2022/entries/mentalrepresentation/= %0A%20%20%20%20%20%20%20%20%20%20%20%20% 20%20%20%20%20%20%20%20; Metaphysi= cs Research Lab, Stanford University.  

Got t= his through calling `pandoc mwe.bib -s --citeproc -o mwe.pdf` like suggeste= d in a manual.
(I had similar results calling it as --bibliograph= y, with the main input a .tex file that included \usepackage{url}, so that = does not seem to be the problem)
The mwe.bib file that produced t= his is this:
```
@incollection{sep-mental-representation,
&= nbsp;   author =3D {Pitt, David},
    booktitle =3D {The = {Stanford} Encyclopedia of Philosophy},
    edition =3D {{F}al= l 2022},
    editor =3D {Edward N. Zalta and Uri Nodelman},    howpublished =3D {\url{
         = ;           https://plato.stanford.edu/archives/fa= ll2022/entries/mental-representation/
         =           }},
    publisher =3D {Met= aphysics Research Lab, Stanford University},
    title =3D {{M= ental Representation}},
    year =3D {2022},
}
```
=

 Any ideas what I might have overlooked here? 
Thanks= ,
Best,
Tobias


--
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 e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.c= om/d/msgid/pandoc-discuss/b82b1b49-4c9d-4534-9b41-831bab0917c6n%40googlegro= ups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/p= andoc-discuss/DF1D2254-193D-4AD9-BDCC-7E5C885320FD%40gmail.com.
--Apple-Mail=_8B2CFDC0-1E25-474E-86C1-5C598ADB7EA6--