From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GKEjAA/43GIlSgEAbAwnHQ (envelope-from ) for ; Sun, 24 Jul 2022 09:43:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yCyTOw743GKGTQEAauVa8A (envelope-from ) for ; Sun, 24 Jul 2022 09:43:10 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 92DEB1B828 for ; Sun, 24 Jul 2022 09:43:09 +0200 (CEST) Received: from localhost ([::1]:38326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFWGZ-00083x-Cp for larch@yhetil.org; Sun, 24 Jul 2022 03:43:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFWEn-00083k-D8 for emacs-orgmode@gnu.org; Sun, 24 Jul 2022 03:41:17 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:44858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFWEg-0002NP-OQ for emacs-orgmode@gnu.org; Sun, 24 Jul 2022 03:41:17 -0400 Received: by mail-pg1-x530.google.com with SMTP id bf13so7726715pgb.11 for ; Sun, 24 Jul 2022 00:41:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=h7OJA/ZF3mB5N2kHRsdw7Mphq1MU9cbbOXsLJyioxXQ=; b=Vavcdv0ttUj3HsFazzKbtmypHOEUgtx5bXWevPvBoa+BQ8Q6KlWDORayTeP6sJnzpw Y5+NeDEAL7xjaQ6PhQczBoxZoRunRYMkQBtYyOJQtG0+yzuAz7ItS4zghOztBynVadEU DJdG/6XWCQveI6nHyiBA8o3ydBVxENBru8AjCgOJNWmCi1uPMvr7GNcijNIv/4IuHKC6 h9GIJYD15b3no1EgMzkOuqX5IVQfQ47OXJsKH/TeyMucoB6Ig0lrc/AT0cVvyqKUFtkf 2WQMi3TiIojcS2KJ+Mv3yqz59uOy3RQjBrJ9l0H8Ug3Nsrxwq+anJr0b7NfB9QiP79fG S/Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=h7OJA/ZF3mB5N2kHRsdw7Mphq1MU9cbbOXsLJyioxXQ=; b=C4wXvXNVuBJ8uVURjGm3d9wdS72Y/mSTjur6VvgAbE4CzYxXvZo7ExpgZRWjBkwnqz Cj77Z4Q6blWqfD/j+7c+/j7h4+2hCad8TNsy1+Vs5ms5eUc8vDiz0kjyqgxJuTPWg2ZK RPfsM+4FWnOYCMhIBa6BT2pT49wHd8/Svb/NWdXdebMMmH6Hh4h1/cV6gFnvmv94jmvP xNk+y/XzJVIJ4+pHfcvtH+9gTLzlh1Enkb5yS48cfFiEYfYvGMfTDjn2MWKh5Dzeql5U fSHx1n2G6rEQEiw/WDOzzszCXyEWv/lQCq0I4xX9Eu+oz4cNnjZn/joxfEg8dN2WntTD CR/Q== X-Gm-Message-State: AJIora+UMaGUwgmEPKOxAe8HYZkMt95KOMwcllGuM1QJncX453z9syIp 2ivrQkNIKK3hba7wlbQAWLU= X-Google-Smtp-Source: AGRyM1uh5DEBuZVUrQvciUTgBgHCC44BqMhg3Xk0WIzn1CBPM7s7gQe2x8eaH1X87RR24RvJhBwTKg== X-Received: by 2002:a63:4a66:0:b0:41a:23dd:b899 with SMTP id j38-20020a634a66000000b0041a23ddb899mr6233114pgl.341.1658648469340; Sun, 24 Jul 2022 00:41:09 -0700 (PDT) Received: from localhost ([1.83.155.1]) by smtp.gmail.com with ESMTPSA id y4-20020a17090a154400b001efa332d365sm6364813pja.33.2022.07.24.00.41.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jul 2022 00:41:08 -0700 (PDT) From: Ihor Radchenko To: =?utf-8?Q?Andr=C3=A1s?= Simonyi Cc: emacs-orgmode list Subject: Re: [PATCH] oc-csl: Add support for sub-bibliographies In-Reply-To: References: <87mtd9e9b8.fsf@localhost> <87v8rov5oy.fsf@localhost> Date: Sun, 24 Jul 2022 15:42:08 +0800 Message-ID: <874jz7dkj3.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=yantar92@gmail.com; helo=mail-pg1-x530.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658648589; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=h7OJA/ZF3mB5N2kHRsdw7Mphq1MU9cbbOXsLJyioxXQ=; b=TVvWvkSUiuuHNLX1li5mc7xs9L4TxDoMAc0yKEP4OQzgP3DyrLIGwiYJXE+mC6QdKgRXIj HSn8c72Ex8Ffqyv1xxahkxBT3Kg7LyY0K+IzPYTB1m2nKMj7MVaboIx5bCF+SypvxWk5uh rowB+iwGRD8niPyMCflR9USx/8tUbjtogoj7PYGhamPbkRSMdgq+ViNeX5FZiuVDsQufJB 63jQM8svLJMr3Gq+EzJZC4BCKezOYeYcWTL9WqtLSGv/TJTpf2y2asHP/DT8pw7ZAv6Ae6 a8sMGVWM+DpuIS0QwU+k4AQZJy1bo9W6AFl/O96AcMPr+6T3THhQ8pBCTKm6xQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658648589; a=rsa-sha256; cv=none; b=jvhZwe2Plg1hZkRQcczMeoRy71OWikRQhRpm7mT+j8i6tYlOU4dlkKD3dc0EsCa8qO03E3 uzFjCSfSwrkqV4mZo9f5Nkc/9rPvlGbORwbR8R1TwM1xf++Ss+YbK28iP2XkSuHBJsE5cs LIf6dLy5/zk1mHTx+2pbdnla+f8b5iHlN5AI91FChFtgwbpVh7Qybly5jZ6Mo+tTRphfOR OkMUMyc86hQyx0CU+DKC8knJeoTkN5l9KxBVwCUaKIdOGxWi2hrj8OUgQLULsdljqG6jYc YHwQaWpRHo6T6fymeir5AHb5KBiNICeqxDR8QkrwUeShoU5Dky/fa4qoCmWgCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Vavcdv0t; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Vavcdv0t; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 92DEB1B828 X-Spam-Score: -5.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: UWUZL8iUvP6T --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Andr=C3=A1s Simonyi writes: > Dear Ihor, thanks a lot for your comments, I've attached a new version > in which I tried to implement your suggestions. Thanks! I have made some changes to the patch, mostly fixing grammar issues (the ones I can notice). I also changed the sub-section from "Bibliography options" to "Bibliography options in "biblatex" and "csl" export processors" See the attached. Reading through the patch, I noticed that :title option is not documented. Does it mean :title is not supported by csl processor? Best, Ihor --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-doc-org-manual.org-Document-PRINT_BIBLIOGRAPHY-optio.patch >From f0217cc4dafa9dbb2eaa3fd22c1270d34aac109d Mon Sep 17 00:00:00 2001 Message-Id: From: =?UTF-8?q?Andr=C3=A1s=20Simonyi?= Date: Wed, 20 Jul 2022 23:54:32 +0200 Subject: [PATCH] * doc/org-manual.org: Document "PRINT_BIBLIOGRAPHY" options --- doc/org-manual.org | 58 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index d5bd9092f..1e08c316b 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -16818,11 +16818,67 @@ ** Citation export processors Wolkers-Kluwer publisher; since it relies on the ~bibtex~ processor of your LaTeX installation, it won't export to anything but PDF. +** Printing bibliography + The =PRINT_BIBLIOGRAPHY= keyword specifies where the bibliography -should print. +should be printed (note the colon): : #+print_bibliography: +A document may contain more than one =PRINT_BIBLIOGRAPHY= keywords. +Each of the keywords will trigger printing the bibliography. + +The keywords can be used with or without additional options. Options +can be used, for example, to print only entries that belong to a +certain category or to control formatting. The set of supported +=PRINT_BIBLIOGRAPHY= options and their interpretation varies between +the different citation export processors. Some export processors do +not support passing options. + +*** Bibliography options in "biblatex" and "csl" export processors + +The "biblatex" and "csl" export processors support bibliography +options through a property list attached to the =PRINT_BIBLIOGRAPHY= +keyword. For example, + +: #+print_bibliography: :type book :keyword algebra + +Values including spaces must be surrounded with double quotes. If you +need to use a key multiple times, you can separate its values with +commas, but without any space in-between: + +: #+print_bibliography: :keyword algebra,logic :title "Primary Sources" + +The "biblatex" export processor accepts all options supported by +BibLaTeX's ~\printbibliography~ command, while the "csl" processor +accepts the following ones: + +- =:keyword = :: Print only entries whose + keyword field contains all given keywords. + +- =:notkeyword = :: Print only entries whose + keyword field does not contain any of the given keywords. + +- =:type = :: Print only entries whose type is + ==. Entry type is the BibTeX/BibLaTeX entry type if this + information is available (the entry was read from a BibTeX/BibLaTeX + bibliography) and the CSL entry type otherwise. + +- =:nottype = :: Print only entries whose + type is not among the given entry types. Entry type is determined + as in the case of =:type=. + +- =:csltype = :: Print only entries whose CSL entry type + (possibly based on a conversion from BibTeX/BibLaTeX to CSL) is + ==. + +- =:notcsltype = :: Print only entries whose + CSL entry type (possibly based on a conversion from BibTeX/BibLaTeX + to CSL) is not among the listed entry types. + +- =:filter = :: Print only entries for which the given + Emacs Lisp predicate returns a non-~nil~ value. + * Working with Source Code :PROPERTIES: :DESCRIPTION: Export, evaluate, and tangle code blocks. -- 2.35.1 --=-=-=--