From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25917 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: FI Apps Newsgroups: gmane.text.pandoc Subject: Re: WIP: better citation processing Date: Wed, 19 Aug 2020 10:37:59 +0200 Message-ID: <1F6EE047-E26A-49C8-A9D5-3E6E38048792@gmail.com> References: <360dbe5b-f1ef-17f6-32e6-8c9f85204844@mailbox.org> <46e97135-ea1f-469a-898a-eb24876c0708o@googlegroups.com> <1ee49c20-ee12-4984-abdf-e00a9e4414e6o@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_D4EAFF16-793B-40A6-BE23-4FCBF9318A83" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15956"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDQLFNXWVILBB2WJ6P4QKGQEWUGJVBA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 19 10:38:06 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f56.google.com ([209.85.128.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k8Jbh-00040G-QJ for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 19 Aug 2020 10:38:05 +0200 Original-Received: by mail-wm1-f56.google.com with SMTP id u14sf531818wml.0 for ; Wed, 19 Aug 2020 01:38:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1597826285; cv=pass; d=google.com; s=arc-20160816; b=0h8eAj6cKymK2WxDE3mZHQ5iAPq/YDayPX4yGUmfkgIFQCAbAjHoKPu5i3RDsI4hMW f9sGTOmvw+08h89MzDZgCSNUIZSGZbTcwxwjQlSbIZwrEfu3Vv9JDiIxKGhTa9jOrCO1 L5co5b2SH6WP0iyHk6zmo2sqAlUSPpr5ykzadYUfcfa4IleS79ssVyS3SqlXip59Dhji DwGrUKRje6xx2fPyJneSFLYiR5ifG57FElY66VqMoYRkabvF0CTr0ezUcp1/x6kBoNV0 F5Z2casdi9P5TMBy6Zz4r7MytmhSYr4HRgL0uxweYh+Hs2do2iieCJrAVxnnOQGCpXhA xwLA== 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=3UOraGzqYzCVCqjM2EoFw/05LvqS+xrxdmdLuZBLTIg=; b=bsZytC4kYqJ0SmVx0LbWhcyUC4muENdiULlskhWgOnNzgIOZ6u+m/TT7FtUAhGwzGN wN15Do7VZ5XcUAz8MQkFjhVJ7pI6l+LqTLfHBGIHKmIB28fEHhg8bMb0dbwLF4x4sqlp 9oSvjqbGcb9KA6BNOf9U4sxwZSw9KAyW3PWEtDTKspz0pukOeSXGdzApRP/LL/sRMnuE tl/JgmmcaKCbrXbaIY+wfWHZC+Abi+ZMReQocSIqTt9fB3P84C5OUIY1XBMkr2tG/GmZ TY/zbBVlW9I1ik5FpwRwkR70VVIsyPNj217V+BUocVVkJRL6oPyd0CWyonP7/HuTqowU 7ezg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ooogIOJ4; spf=pass (google.com: domain of ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52d as permitted sender) smtp.mailfrom=ffi.appdev-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=20161025; h=sender:from:mime-version:subject:date:references:to:in-reply-to :message-id: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=3UOraGzqYzCVCqjM2EoFw/05LvqS+xrxdmdLuZBLTIg=; b=C70EMiHjPNWhR4iAVHnsJYIriJTIdyVVPc9Ww+efFEgFiU3in3ufmcqiC3EtgwnRDo yvai8mtVpC8Ql2me/Rw5rHbE3QO+mqvFpr9etqTRSyECuzgNoHZE9GLaq5szKY07u428 QIf5fGhsztOztMOd3ihRA1d/1Jj7r8+YlqXQlBZ0MkMdOm3HrLa2Ve+aXWZeHGMEFCr2 XPrborPHjvkv+TzmkEc63+Z4P70JDQr+vv6cCqLL6NVg4gF1pnMnldrQtZq/bxfMhmQG T1lLgBB3uDzgjx2OhI9FKmW2Wi3szO3mokU7hw9Z9aTfiRulSecHou2Vzu0b6FbOZF1u pmDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id :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=3UOraGzqYzCVCqjM2EoFw/05LvqS+xrxdmdLuZBLTIg=; b=hvRjzQnUwf2qcqE8umBhqTkhGvOo1ml1qxnCN/JOUVPQMUniAL0TglCk2ONtSGUaxn g/ugiHML52TxrcRcXgle7QDqc0isC4URU0rnkSNeezwZ/oduJPV7DMSej1qNt33d8D+/ ZNZqPH6eBGlxJ/Hqt0oXJfDeruWEOATmOIJHyW0NymI26n9TAQnOFmmo2Pyi/0rXhwXg iD9wn4DPbZ99QAQ91pQRQ5hVVK0JF8RCGdC4NTC3Bt++9R4rbLxNfnzXN7dZla/t6mSj gJds71z3JkOkOpYfZANtK+VAffZDxHunPkFgkvKxdlNPSp9eWfzt7PF4o4KWapTbHmDi P0OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:mime-version:subject:date:references :to:in-reply-to:message-id: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=3UOraGzqYzCVCqjM2EoFw/05LvqS+xrxdmdLuZBLTIg=; b=K2Zlg6UZ2u6EjbRVoBEapzNkFwDNR7tEt1X8xUlj6yl3UocAM7v7WAHxjS+YLD5oBt pi6F/s6ZNNeZ6U5rbW1dzEnLgW9pO0RNLv03yjBJVBd/cfrdhZUoPiYAJdIALpBois5j Ysba8DDT5DPZDWcWLojKah+nwEuPFV6w2ZtHQVx42VTCDOHkGgldBmUCE2tjC5zHc+ob XILIWBTOK8//mDuzsjscaaCPLY1c+t32Alr6jxdlBMcQvwhgd38Yj9umUE0XhhCAihEX HOe3wRJ06dPPqLkkzMB8zpRLer6Q+38nzgaK1wLgCEdopwNP7IP8i2eSsFYm1Cy5sANp hBQw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533+1IiUIz1ycmlIQSZ1f0jEkKYChJWGLaBXW5QXG7FHwvEfPaQX CAfo4nc+1PGSypAk1c5zKwE= X-Google-Smtp-Source: ABdhPJwftMecaxzNvbUw1v3n+1GlHTEff97KLHDxR0I4Kqy0/23cXJc7qsbKzzoL0hRBZcWQxEE4BA== X-Received: by 2002:a5d:51c9:: with SMTP id n9mr25281451wrv.423.1597826285457; Wed, 19 Aug 2020 01:38:05 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a1c:3802:: with SMTP id f2ls1367800wma.0.canary-gmail; Wed, 19 Aug 2020 01:38:01 -0700 (PDT) X-Received: by 2002:a7b:cd97:: with SMTP id y23mr3980086wmj.21.1597826281524; Wed, 19 Aug 2020 01:38:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597826281; cv=none; d=google.com; s=arc-20160816; b=kC+s8A2GoQzOBpGYD1EQ7ju1Z4TrQBOisk8o7A4nUgsTAupvpkkADwH9CGcNCogrdl hb5n8/9ASdlOfHS71iX0vfiV/lMakeI/jvG2AnJm4lZc8vPNZa9rdXZ0tY5+vaNxLCa3 crd7Bzf53IaM/zyjCItimzfeXiu0pu1Pz/tTkhaV+AAB0MvUdB+m5/MCoDhRMglmkoEa iR96dkANb/KAuoqEuPAeGb6KMEMzZT1GBHfTIb+XM7qX9X3ggjA/3OvTqGtKsIyqDdNs lDtkd1mADjIg5VbyWSxDf5PRS9RDREX6N5yPVEEk5qAhqP8QMky4pugSni8MaN3oKkc6 YzKg== 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=tpav0SDn6C9I9q0kYNEJiNHsVEiAqEsefiBvttugV7A=; b=b9f9IF9tywNZO7+UPGy8HSltLCDLDMtbFj7TjrhlvMsnYNW3a9/04aVntGhIEskTHo QyMV3I1uuwr6eJ7m8De1/b9WidhoN7zsmCpn8DvXE7REGEAoZq3+3HmVBCkJpkkYoteR SUtpABgMnnM9Bc+SDyWVOj7kjC6BEsWSZHd4fzcVV1KcrFiAnuODfx7bY8m2J6DFDRVw P1UmLU4vBl6NM14vdZju/CaHzXm44qO03dOJTBoOYob03Ypjd6o5qpmY/naXO5ZxIzUD oVJ1YIyAzrQhx1DE1K3i/AqFhlH7Z70Xb4mi0VREZcZAaS7AEzBBJQ5VUriohGbNh/Qp ZUhw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ooogIOJ4; spf=pass (google.com: domain of ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52d as permitted sender) smtp.mailfrom=ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com. [2a00:1450:4864:20::52d]) by gmr-mx.google.com with ESMTPS id a67si101793wmd.2.2020.08.19.01.38.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Aug 2020 01:38:01 -0700 (PDT) Received-SPF: pass (google.com: domain of ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52d as permitted sender) client-ip=2a00:1450:4864:20::52d; Original-Received: by mail-ed1-x52d.google.com with SMTP id di22so17381994edb.12 for ; Wed, 19 Aug 2020 01:38:01 -0700 (PDT) X-Received: by 2002:aa7:d7d7:: with SMTP id e23mr22758280eds.347.1597826280772; Wed, 19 Aug 2020 01:38:00 -0700 (PDT) Original-Received: from [192.168.1.115] (host-80-183-2-26.business.telecomitalia.it. [80.183.2.26]) by smtp.gmail.com with ESMTPSA id x1sm18023037ejc.119.2020.08.19.01.38.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Aug 2020 01:38:00 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3445.104.15) X-Original-Sender: ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ooogIOJ4; spf=pass (google.com: domain of ffi.appdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52d as permitted sender) smtp.mailfrom=ffi.appdev-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:25917 Archived-At: --Apple-Mail=_D4EAFF16-793B-40A6-BE23-4FCBF9318A83 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" > On 18 Aug 2020, at 23:14, Denis Maier wrote: =E2=80=A6 >> Another BibLaTeX feature I use frequently is shorthands, where the first= citation introduces an abbreviation, and subsequent citations use the abbr= eviation instead of the author/editor name and short title. I could probabl= y write a filter to do that, perhaps sticking the mapping from citation key= s to abbreviations in the text=E2=80=99s YAML metadata. Knowing that your l= ua-mancite filter works, by running a shorthand filter in the right place I= could get ibid. right as well. > No need to write a filter. The variable `citation-label` will be availabl= e for this purpose (among others). There's no way to print a list of shorth= ands yet, though, but having multiple bibliographical lists is considered t= o be primarily a question of how calling applications and citeprocs interac= t. So, maybe, with the new citeproc library, someone (John?) might want to = consider adding such a feature=E2=80=A6 I=E2=80=99ve occasionally seen shorthand lists in articles, but personally = I would only put one in a book, so shorthand list generation isn=E2=80=99t = something I would use often enough to want it as a core pandoc feature. Ins= tead, what I=E2=80=99d like is access to the bibliography data through a Lu= a API, e.g., a metadata item on the document that maps citation keys to ent= ries from the combined bibliography files. That could be useful for other t= hings as well, like indexing the persons or works cited. >> One thing was a Zotero problem more than a CSL problem: it wouldn=E2=80= =99t let me use a volume and page for a locator. They told me to use volume= :page, which is fine in English, but I also write in another language in wh= ich I=E2=80=99ve never seen that notation. > CSL 1.1 will change locators to an array: this should give you `\volcite`= like features. You will be able to freely combine multiple locators. Think= of "Some classical author, Title, Bk. 1, Ch. 4, Sec. 3, Para 7, Line 2". This would be very nice, but it raises the question of what syntax pandoc m= ight use for specifying this array. --=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/1F6EE047-E26A-49C8-A9D5-3E6E38048792%40gmail.com. --Apple-Mail=_D4EAFF16-793B-40A6-BE23-4FCBF9318A83 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8"
On 18 Aug 2020, at 23:14, De= nis Maier <maier.de@gma= il.com> wrote:
=E2=80=A6
Another Bib= LaTeX feature I use frequently is shorthands, where the first citation intr= oduces an abbreviation, and subsequent citations use the abbreviation inste= ad of the author/editor name and short title. I could probably write a filt= er to do that, perhaps sticking the mapping from citation keys to abbreviat= ions in the text=E2=80=99s YAML metadata. Knowing that your lua-mancite fil= ter works, by running a shorthand filter in the right place I could get ibi= d. right as well.
No need to write a filt= er. The variable `citation-label` will be available for this purpose (among= others). There's no way to print a list of shorthands yet, though, but hav= ing multiple bibliographical lists is considered to be primarily a question= of how calling applications and citeprocs interact. So, maybe, with the ne= w citeproc library, someone (John?) might want to consider adding such a fe= ature=E2=80=A6

I=E2= =80=99ve occasionally seen shorthand lists in articles, but personally I wo= uld only put one in a book, so shorthand list generation isn=E2=80=99t some= thing I would use often enough to want it as a core pandoc feature. Instead= , what I=E2=80=99d like is access to the bibliography data through a Lua AP= I, e.g., a metadata item on the document that maps citation keys to entries= from the combined bibliography files. That could be useful for other thing= s as well, like indexing the persons or works cited.

One = thing was a Zotero problem more than a CSL problem: it wouldn=E2=80=99t let= me use a volume and page for a locator. They told me to use volume:page, w= hich is fine in English, but I also write in another language in which I=E2= =80=99ve never seen that notation.
CSL = 1.1 will change locators to an array: this should give you `\volcite` like = features. You will be able to freely combine multiple locators. Think of&nb= sp; "Some classical author, Title, Bk. 1, Ch. 4, Sec. 3, Para 7, Line 2".

This would be very nice, but it raises the questio= n of what syntax pandoc might use for specifying this array.

--
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/1F6EE047-E26A-49C8-A9D5-3E6E38048792%40gmail.com.
--Apple-Mail=_D4EAFF16-793B-40A6-BE23-4FCBF9318A83--