From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25916 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier Newsgroups: gmane.text.pandoc Subject: Re: WIP: better citation processing Date: Tue, 18 Aug 2020 23:14:13 +0200 Message-ID: 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 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12648"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCQOJL5Q2QMRBKEJ6H4QKGQECMWHLOQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 18 23:14:19 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f64.google.com ([209.85.128.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k88vz-0003Dm-OF for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 18 Aug 2020 23:14:19 +0200 Original-Received: by mail-wm1-f64.google.com with SMTP id v8sf92084wma.6 for ; Tue, 18 Aug 2020 14:14:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1597785259; cv=pass; d=google.com; s=arc-20160816; b=vDPMNl9B5Emv6yjANr6hHLYczl2Ti2T49GDxp95YdiwKpDhPmxXw0zv6ulifgCfcs+ ndNTDGKL6qW0cTjCJMz+5ALL+qAZXB0KTi3wKBiHyYiVTHh2pbDFnnpnUshgpxtfhZpD cavSOZeYkOsu4REoYWBzaRe7Tqct8BAuD96f6yj//YS1dMI+ev0rwKRihV+cYrM9glLJ E9ualfPLt84xA1ydt72SBptOYxaq5zPe4zIswBfu7eYOJcqW+HAFy2iQVMgnhnZGmN5Y znocRBamF8c77uLp2oW9P1TUTOjOX45jZt+MPUGGshSoV1FDBgIk3XvpiAgll7juIjE7 nYwg== 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:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:sender:dkim-signature:dkim-signature; bh=403vnK6zOiARJI3a2kvVhHbkElpX8jIh6os8uhE56HA=; b=dChmz/e+nFEqOppsAXwgpCmCJ165LQiSO0/p+9flEsB3UvdtRKic0t5N7qGI6UqVc/ OQnZ7+qjr+c9/LwJ7ctXKnDJ8I9qtRR6KMc3aqf7JS0JI0JUdqbfafLg/lZQ9uhJBHmX e9AhQ8ORgfIhaUPmLsdr1FBMJJyklyRqfTLMV8Ot1hytZg2f3qyaZpTohl5Tq9lMaS/2 bnw4vMjDZgi08dSkKtNIssDjl04S7IIZzvPTOd5MqHSi6DXHou5ojk/z1mjo2LRpkfmr b8i3gym3Sp3pz62iew8uWkaEIlTROiDVYjSUXtHIXIf9b0VowwWzRnEIDgKeiMt3EhFV tSXg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K4o7jXDl; spf=pass (google.com: domain of maier.de-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52c as permitted sender) smtp.mailfrom=maier.de-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:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding :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=403vnK6zOiARJI3a2kvVhHbkElpX8jIh6os8uhE56HA=; b=dkdVuDTjo2RLjmDAGZXNkm25nyWmspTpVwnFvfWy3tFxJUK0UZXEe7JZGARarxegyY ZcCofx/7ZnuLzue+HcE/Mf7FKcQn+jq0gqkoVOm+3Acef8RKYwetVS0jT4PYgdRl/qJ5 xlsz+0n0yN3lJ3Vabl+kXO2RGk1cfaYA9e8uGEwy2M0mV4TY57mTDJOak/wJU+ZwWcuW 73GNs/t3sKMjysYUNO5FAjQjhndub9emsfwMnWdHGUlgPVG1ATRYhSavdgyBxOnlXImb suvZ+Y5P9bJK6T0Ut4q/P6WnffxCq/mfHlVy9o5rMTi05Udj35AG0py2FjWL6LyDN7Kr BNXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding: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=403vnK6zOiARJI3a2kvVhHbkElpX8jIh6os8uhE56HA=; b=SWuUKAJL98dAeFMAW/HrDnebHoe/akzer/Ckl6eRPCNLheeHMcvOfmIIh18EIwkbJ7 3Xfu1fs2Qd6v+Un8vCVcrVn8awi79RZHTFM28xv3jDz7txZRADeI5TyvTK3MRFBQBEav BCNr8MwTWyA9bZ+mnHmCFB4pnGd9LAFczDOtGnmsMAdTQvkToShTRmtpJh5QRvmoqHN+ hcn9trAHtVgLx3PLVxayYYIjt8J0jIDNy77+nKGHiH/HzwLDhLVRQZVe3GspPlusbSsU bLZup8KS/MLWUY71Z+sLRzYhse6PbxCYcQeY7j4rehi9ExaT0jAOu653GfiGqM+R10gU 5k1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding :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=403vnK6zOiARJI3a2kvVhHbkElpX8jIh6os8uhE56HA=; b=LPw7KxbMGS+rd5mDP0jLreXPdVPGxrhZlnuFU19T0Q2MYRadidyY3QXQK6osopilC/ YPEriuqIRpb51bQ2f8H+hvrNxF2KZ5P2T9nw8/TL9R9tz07mjhF329AGuTOSCyO0djh3 UHcb5Oftm6dyEsHN1Wf90b8bg8GH/oiohgn+RqN1ZwbJtX9vDMamVtnS0nT/E2BcCpO4 1FEEZeJaegbyY63a3WmAVEAiptfGpshuIyfGvZ6iTOd41eN95QPiQVVYuWL6jM+QNJeo vIgOo9PhQYtxxIAeQMUdzENgMsbRxYlGu/lZ0j/wKFgV0TmI9VOZco3f8gxplVh Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530egNYC3RvRWfAM7A2Q3sa1Fc6/g5c2TKa1769545qR5d3typuM v3AH1J3esulJogGRdd11IuE= X-Google-Smtp-Source: ABdhPJyycqjHuI0/R6sxh2YxaHP7OZ6aI2/O9oVtXd+HhlooL5F+o+mV8V4Tcl+aVsl2yqDCzlVkBA== X-Received: by 2002:a7b:c84f:: with SMTP id c15mr1767509wml.133.1597785259415; Tue, 18 Aug 2020 14:14:19 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:adf:b1cf:: with SMTP id r15ls431463wra.3.gmail; Tue, 18 Aug 2020 14:14:15 -0700 (PDT) X-Received: by 2002:a5d:6505:: with SMTP id x5mr21440745wru.336.1597785255772; Tue, 18 Aug 2020 14:14:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597785255; cv=none; d=google.com; s=arc-20160816; b=v9JellTbw+xPUsBv5OiXGoxJyQmM0uTtXi5AGzJdiEeChxNfyu8ruBzCSZjCv452yL cg41E9Lzx9QNqBlmKY7oMC7xRw2nIu68bWgYYopXHku2vW6cxqGEf7K6uo8G4dvLAT7O OJpam36tkqit77kbVEP1ubSC2Epz8stP41w82jKvrQAE0xUllV8p1z/DR8+Im6cu0D75 w1TiDnA8O4BkgA4nZJboyJ6S26CIhYaOjr6dkfJf1vPm6O568pXdml/J2nY31GspQRBV ZfJm8/ewPklCPntFDeAqkrDW3ihYuquXYfpfqyf41PDhnAFRbyA6B30s5kI9qLmUslxK BVEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=tMlj7MBGLPqcXxfcYCh3pXc2bOcHSguTNEcJOzDU280=; b=ISlPHCq7LMaXSGMWclVYdvIs5t8EyHti4SnkQxDnfFDDuRKYaMPs5V4JF5od3Wy3Rn 6Cd1jWxUgAa5kxRwV8juaHbGiqW+EhuteyL9ZPinaHL/dlhserHSfjhCbiBoaCKNywHt JGEAaOiIv1qLT76mBVu4XdjS26LKrgVHC51D8YgGKP8+SYYMfy5zHwSzgiGE0E78tnLG UeDoBu/0G1EyyOVwyIsWn9uWeaTcbH1r97JZymxsO4dVaFdJC76JRPlVcvBK8OEVQn7F 3HyQ0MhLPgmuqoJ0irCOVX8cw2/66lkn+zRDXIaAysAFie7ZM4jZozd//szBfwUW35bq 8KlA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K4o7jXDl; spf=pass (google.com: domain of maier.de-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52c as permitted sender) smtp.mailfrom=maier.de-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com. [2a00:1450:4864:20::52c]) by gmr-mx.google.com with ESMTPS id i17si619612wrw.4.2020.08.18.14.14.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Aug 2020 14:14:15 -0700 (PDT) Received-SPF: pass (google.com: domain of maier.de-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52c as permitted sender) client-ip=2a00:1450:4864:20::52c; Original-Received: by mail-ed1-x52c.google.com with SMTP id t15so16357664edq.13 for ; Tue, 18 Aug 2020 14:14:15 -0700 (PDT) X-Received: by 2002:a05:6402:3088:: with SMTP id de8mr21661578edb.88.1597785255080; Tue, 18 Aug 2020 14:14:15 -0700 (PDT) Original-Received: from ?IPv6:2001:171b:c9be:2090:e18c:6a5e:768f:8e9c? ([2001:171b:c9be:2090:e18c:6a5e:768f:8e9c]) by smtp.gmail.com with ESMTPSA id r19sm16813491edi.85.2020.08.18.14.14.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Aug 2020 14:14:14 -0700 (PDT) In-Reply-To: X-Original-Sender: maier.de-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K4o7jXDl; spf=pass (google.com: domain of maier.de-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::52c as permitted sender) smtp.mailfrom=maier.de-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:25916 Archived-At: Am 18.08.2020 um 20:13 schrieb FI Apps: > Thank you for the filter. I wouldn=E2=80=99t have expected that to work. = I see it=E2=80=99s a bit tricky to use, but it works. I wonder if it will s= till work when pandoc-citeproc is replaced by the new citeproc library. I don't know. The filter exploits the way how pandoc-citeproc inserts=20 rendered citations and non-renderable citations into the AST. That may=20 change with the new library, but at this moment only John might knows=20 about this. > As for missing CSL features, classical citations are near the top of the = list, and I=E2=80=99m glad to see they=E2=80=99ve been added to 1.0.2. Yep. A new item type `classic` will be available with 1.0.2. > Another BibLaTeX feature I use frequently is shorthands, where the first = citation introduces an abbreviation, and subsequent citations use the abbre= viation instead of the author/editor name and short title. I could probably= write a filter to do that, perhaps sticking the mapping from citation keys= to abbreviations in the text=E2=80=99s YAML metadata. Knowing that your lu= a-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=20 available for this purpose (among others). There's no way to print a=20 list of shorthands yet, though, but having multiple bibliographical=20 lists is considered to be primarily a question of how calling=20 applications and citeprocs interact. So, maybe, with the new citeproc=20 library, someone (John?) might want to consider adding such a feature... > 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=20 `\volcite` like features. You will be able to freely combine multiple=20 locators. Think of=C2=A0 "Some classical author, Title, Bk. 1, Ch. 4, Sec. = 3,=20 Para 7, Line 2". > A less common need is for a volume title in addition to the main title. I= was told that this would be solved by allowing bibliography items to be hi= erarchical, but I don=E2=80=99t think that feature ever appeared. I didn=E2= =80=99t see it mentioned among the 1.0.2 and 1.1 GitHub issues. I do see th= at volume-title made it into 1.0.2. Hierarchical items allow for more cleve= r behavior like that of biblatex-chicago, which can include a book in the b= ibliography if a certain number of chapters in it have been cited. Yeah, volume-title is coming. Also, volume-editor and volume-translator.=20 Hierarchical items are being discussed as well, and we've added a=20 mechanism to specify relations. Currently, the use case are reviews and Sidenote: This "clever" chicago is actually quite hostile to both=20 readers and writers, but yes, it's common in some disciplines, so this=20 is being discussed as well. (But it won't make it into 1.1 I think.) > >> On 18 Aug 2020, at 18:59, Denis Maier wrote: >> >> For manhcite you might want to check out my filter. https://github.com/d= enismaier/pandoc-lua-mancite >> It's a super simple hack, but it works. >> >> Regarding csl: what feature do you think are missing? If you take a look= at the github repos you'll see that a lot has happened recently. >> >> --=20 >> You received this message because you are subscribed to a topic in the G= oogle Groups "pandoc-discuss" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/topic/= pandoc-discuss/LaPbYbP8GU4/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/1ee49c20-ee12-4984-abdf-e00a9e4414e6o%40googlegroups.com. --=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/d59896f4-b360-9ef4-e751-d9dc912ee700%40gmail.com.