From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/23103 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Agust=C3=ADn_Mart=C3=ADn?= Newsgroups: gmane.text.pandoc Subject: Re: Markdown to PDF: Missing hyperlinks in bibliography for webpage citations Date: Wed, 10 Jul 2019 00:54:15 -0700 (PDT) Message-ID: <68d022a5-3197-4eac-a970-180f28a79111@googlegroups.com> References: <24b83a67-ae6a-4022-bc87-c5f66d22adaa@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_167_1629026643.1562745255908" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="230589"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDC7PRMFWYJBBKNTS3UQKGQEO2XMPZY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jul 10 09:54:19 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot1-f59.google.com ([209.85.210.59]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hl7Qh-000xsk-4Z for gtp-pandoc-discuss@m.gmane.org; Wed, 10 Jul 2019 09:54:19 +0200 Original-Received: by mail-ot1-f59.google.com with SMTP id h26sf630524otr.21 for ; Wed, 10 Jul 2019 00:54:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=5lj/DUA9/9k0eHKFQbzkphqCj8gmRVmGcRuVJqoyfkc=; b=H9EBnETAj5v65g4D9kBrtxlVZPMzCrm15RFIj09lMjWbtDZrz4VNnWU4ksPp8+G6ZF zl/fV4qi/xqLQ1o9EO0oOFK0YCLYFJSAsb618gBH9bxVrypriLNNXDKuWKbj+Mx1M2uA AOtGWU++140PbJPhSyyf0pfpBqMWmJhu9OD5wGWNti4jewcjV9+kPvaz/cTh77VjCJxv lLB/7xIYAzEgWF91MBb29cF5i4h74OtZrdln5U0bvlDoozr4DTJYlJHx8Y9e1nPPE4Ka 0VQkj9Jj2eP1/vifAQkaxhIbQ8xKuwgXgRZJVnY6gGSVlcaYFa3oyNwaTrlRouBYMiNX oRsA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=5lj/DUA9/9k0eHKFQbzkphqCj8gmRVmGcRuVJqoyfkc=; b=dbz7hMFFc5lWEsfTksViui8VPBXtqYRoTMXZrCHR3rjiR6MzfMLaomgCy0rE73dlpX oP/aQc8w+L7pMFFhdwXV34ueZ8oFVWb2cLEaf8QSgYXeXOUb5rv5EFR7a5TWxUDMC6hv 8ZcLpgV/EOb/HqzIotAriZjJCIaNLL7wtIGGoajXQqrpekvdxWmDWObzGInVue75Gl22 BU8uBsO+j38+Hmu+8Otu5uTyDh0XSeDTc666UfkkIt9KkjW2uqEa/EZV61yhkT1es7AO /gLj72a/egP41og+QlvI1tC9WKCJeh3vS2EtStXwCl+jymXjZ4fYaKeNNSPa97hG76Y1 iQsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=5lj/DUA9/9k0eHKFQbzkphqCj8gmRVmGcRuVJqoyfkc=; b=PfI6ImI/z7IU3D6Mz8Lbba6oV5ldaGXInuIqgqMbjOCPxn065e3B7Jxu/jBpsGuhYj UcueCH0c1Nb7P+v5+u8//vjDXpG8tHCn4koNbgJI+DDQPlpoS6HRK218G4sfDVZ1t7jZ HAkcHYvx4i2bYTBmvHe0ypB5tZlWOvgJ6Emj4HdQO4Z7WPjsbrvbXbHev7xpDbo+YcC9 p4QL2AcMItWr0O7tI6y2ey8y2M7rugHBJNmvsSYKzDjIwgKD2yaWuO9c1Fb3llvttFRp rIdXDwqVmjkI3ClXg4001iSylwW73XQsD4phJFvnPPDhCS+nZu9f5c+k2ki9Ge+h6r3t aGZw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAXWvPECBrg66wUXVuwMqZqf3eRWhTcQGNCVjHIlLjErik49heR7 SSnq1Y9J9GlwBNpFQkPZkfg= X-Google-Smtp-Source: APXvYqzvxYXFVEEApBRNfQ2cKEIdL2MZQMB6ujH1csjgPdoJj4/Di8aedxyKjlCwo9GSqss/5Fzsvw== X-Received: by 2002:aca:4ad2:: with SMTP id x201mr2532114oia.129.1562745257574; Wed, 10 Jul 2019 00:54:17 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:6c1a:: with SMTP id f26ls246530otq.4.gmail; Wed, 10 Jul 2019 00:54:16 -0700 (PDT) X-Received: by 2002:a9d:6e8a:: with SMTP id a10mr23853028otr.295.1562745256625; Wed, 10 Jul 2019 00:54:16 -0700 (PDT) In-Reply-To: <24b83a67-ae6a-4022-bc87-c5f66d22adaa-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: agusmba-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:23103 Archived-At: ------=_Part_167_1629026643.1562745255908 Content-Type: multipart/alternative; boundary="----=_Part_168_67132432.1562745255908" ------=_Part_168_67132432.1562745255908 Content-Type: text/plain; charset="UTF-8" You'd need to check the csl you are using and how each of them is referencing the URL field. After a quick glance at apa.csl and nature.csl from zotero.org, it seems that apa inserts URLs more often (nature needs the bib entry to be of type webpage?) On Tuesday, July 9, 2019 at 9:25:02 PM UTC+2, L wrote: > > Hi, I have a script that converts my Markdown documents to PDF via Pandoc. > For `--bibliography`, I have specified a Better BibTex *.bib file, and for > `--csl`, I have specified nature.csl from my Zotero folder. > > When I run the script, everything works perfectly except that where Pandoc > inserts the references at the end of the document, my web page references > do not include their hyperlink. > > One thing I tried was switch the nature.csl to the apa.csl. When run with > apa.csl, web page hyperlinks were correctly inserted in the references. > > Is this something wrong with: 1) the nature.csl stylesheet; 2) a missing > Pandoc option; or 3) a Zotero/Better BibTex setting? > > Here is the exact code I'm using: > MARKDOWN_DOC="/path/to/doc.md" > > pandoc \ > -s \ > -f markdown \ > -o ${MARKDOWN_DOC}.pdf \ > -V geometry:margin=1in \ > --bibliography "/path/to/BBTBibliography.bib" \ > --csl "/Users/user/Zotero/styles/nature.csl" \ > $MARKDOWN_DOC > > Any help would be appreciated, thanks! > -- 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/68d022a5-3197-4eac-a970-180f28a79111%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_168_67132432.1562745255908 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You'd need to check the csl you are using and how each= of them is referencing the URL field.

After a quick gla= nce at apa.csl and nature.csl from zotero.org, it seems that apa inserts UR= Ls more often (nature needs the bib entry to be of type webpage?)

On= Tuesday, July 9, 2019 at 9:25:02 PM UTC+2, L wrote:
Hi, I have a script that converts my= Markdown documents to PDF via Pandoc. For `--bibliography`, I have specifi= ed a Better BibTex *.bib file, and for `--csl`,=C2=A0I have specified natur= e.csl from my Zotero folder.

When I run the script, ever= ything works perfectly except that where Pandoc inserts the references at t= he end of the document, my web page references do not include their hyperli= nk.=C2=A0

One thing I tried was switch the nat= ure.csl to the apa.csl. When run with apa.csl, web page hyperlinks were cor= rectly inserted in the references.

Is this somethi= ng wrong with: 1) the nature.csl stylesheet; 2) a missing Pandoc option; or= 3) a Zotero/Better BibTex setting?

Here is the ex= act code I'm using:
<= font color=3D"#000000">
MARKDOWN_DOC=3D"/path/to/doc.md"= ;

pandoc \
-s \
-f markdown \
-o ${MAR= KDOWN_DOC}.pdf \
-V geometry:margin=3D1in \
--bibliogra= phy "/path/to/BBTBibliography.bib" \
--csl "/Users= /user/Zotero/styles/nature.csl" \
$MARKDOWN_DOC

Any help would be = appreciated, thanks!

--
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://groups.google.com/d/= msgid/pandoc-discuss/68d022a5-3197-4eac-a970-180f28a79111%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_168_67132432.1562745255908-- ------=_Part_167_1629026643.1562745255908--