From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4Hr9LicKY2WwZwAAauVa8A:P1 (envelope-from ) for ; Sun, 26 Nov 2023 10:04:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4Hr9LicKY2WwZwAAauVa8A (envelope-from ) for ; Sun, 26 Nov 2023 10:04:39 +0100 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 7E4C858920 for ; Sun, 26 Nov 2023 10:04:39 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=SZNfc5PD; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700989479; a=rsa-sha256; cv=none; b=oO4uoDqSb/yfJtXS1OJY5Nsf52QO7xIyq7LBNfaNfB0UQXevnksyV4xXf332yOfC5Ss71X S5wsje7BrClg85yKypr3Gr8+pBtrHan1GXsG+MniQtR1CCykJX+hkRDpP0GRQ5V7tk3eBj uNuv4+IiWaD8e2+YHvfqWyjNNFzaLNma1csFlxNNoglOy0ww6rwPNEFxsbxuCT35doMc/N X+kApPdSAzC9NiS6wDuJsB6Mz7kCw4TrrY/jIrs3OW7RCdYJxnaW/k7lEnsZ2QfXocriCr uPLDdmu9kKcTmIPFh3GSu4iq2QP5UZU9ywYMm5c6zQn3IhI2DcfFmMNrS05iTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=SZNfc5PD; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700989479; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0k5c4G+gidpZRh7XV/ISwKxaqmkQDges3TAjC3dz+40=; b=gkNUx0oGZ4C+rGHeh5kL3+K8vBTEm8hiPnQeo5qAmZR5gWlcqiNqpYjl/5atc4C4ml5uFa wxl170wpZ4MHugIVCkI4V7GMzg/k0cFQ/N6qTRUieVz2gbD8NIKk2B82Rwdyl1M1aEFpdG CCbPHddUmxuqpWNdHw8c2mDWo6lID3dGLR15FUqT0bC42HGdq8vijNgN6Bbsb+lka1wTlv g9qY7/YkXA73XSncyBDDclpQIpWJbgtQlBOJ4AWMCN5z8bCrI5SHeig9SzQLfDU1wNbeS1 adxGRFGi+wRKECQqjIHn7X5jwm94PtQ8w9z2CfGz//ruHZuyeBtRB7WUbeOA4Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7B3I-0000S7-Ku; Sun, 26 Nov 2023 04:03:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7B3G-0000Qy-OU for emacs-orgmode@gnu.org; Sun, 26 Nov 2023 04:03:42 -0500 Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7B3F-00054I-0B for emacs-orgmode@gnu.org; Sun, 26 Nov 2023 04:03:42 -0500 Received: by mail-vs1-xe2c.google.com with SMTP id ada2fe7eead31-462d3c7a413so289015137.0 for ; Sun, 26 Nov 2023 01:03:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700989419; x=1701594219; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0k5c4G+gidpZRh7XV/ISwKxaqmkQDges3TAjC3dz+40=; b=SZNfc5PDwZkuDqW4VpxW1eZ4180WeUAcMXSbDqYEeM4T2jgr2VCFNaiNO4ggTljSVT N0GRzFDw6/soQprCwU4dOttE25NSrXEIGhLuMnsbGHSwVDD0a0l75hPGRbJ2XqyeBzp6 XUidimacxQLxWbJr6PZpsrEPZ6bbwv0sXL8EW6Hb6OpP4Bxk/6N1l4iBBz3WNHNFKJza at5QZqwu1ytNM6TpNPvMi/kAVAwavFhzIGwVBUDyIVlxXGsFBZDYzxOMnFbXlbKwBLrB XTh9M8aLPKWcKzyV44V6vLXDd2qe8EStpMxR0CCnS0I5TWo8Ru/O7odE445h2LVlFIVR KibQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700989419; x=1701594219; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0k5c4G+gidpZRh7XV/ISwKxaqmkQDges3TAjC3dz+40=; b=jCidE3m9fxh9gvjx57k77wJQXMYyjd7cDccqG45ttR5iatJ4hHbnVOt+AMbQaSetaH 2cxrxSS6kNA1ljHs/3Ho43nzIEtzg14kZEt0R5DRc8FMEaVSOfe0d8Xb0xq4bF/XAA+c t3+oY6QaF4rAM2DTLeXo30spkA0rGa7nK67ZxDYKH36sdLypkLjMOn1MQjpmvA5xClpF 8CPtx47jrB5kHvQy7oe6JevT8OzVVzwSo6jVQIcaNNR9NMaj3B+9oeNtGyM/2Lr35b/u isvRb5ETbdut2SeXQU1+cpHjp/9gbjfzML5slKh5vLZQIQ3SC45GEkSC+2LddFETrOSC 8N7A== X-Gm-Message-State: AOJu0YwLbehJsqa965tSwq7kvYcEW+ZW5oKZxsaFz4eLNfheqyudmRga 7KytKcvqkx34pXxgGH1DwXUvtdNsZnLDW21bwNU= X-Google-Smtp-Source: AGHT+IH8e2cKDShd7m6JCRFx0zsCbBKiVSxLCK5wb3A2RH/MzJ9eg5ZhudWHU4NQ2z4fCKHGG63nkZH4nv0UW/S/sWw= X-Received: by 2002:a05:6102:5108:b0:462:913d:7c41 with SMTP id bm8-20020a056102510800b00462913d7c41mr5641921vsb.7.1700989419411; Sun, 26 Nov 2023 01:03:39 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Sun, 26 Nov 2023 10:03:28 +0100 Message-ID: Subject: Re: Citation bug with print_bibliography :filter "keyword phrase" with spaces To: William Denton Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::e2c; envelope-from=andras.simonyi@gmail.com; helo=mail-vs1-xe2c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 7E4C858920 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.58 X-Spam-Score: -8.58 X-TUID: CziLRqakejnm Dear All, On Thu, 23 Nov 2023 at 17:54, William Denton wrote: > I think I've found another bug with citations, this time about filtering = on > keywords when printing bibliographies with the CSL processor. Either tha= t > or I'm wrong about how it works. Thanks for reporting, I've managed to reproduce the problem and it turned out to be a citeproc-el bug, which is now fixed in the master branch. The updated version should be available in MELPA soonish. best wishes, Andr=C3=A1s > Here's a test .bib file; note the "keyword phrase" keywords. Filtering d= oesn't > work on them. > > Test.bib: > > @article{article1, > title =3D {Title Here}, > author =3D {Denton, William}, > date =3D {2020-01-01}, > journaltitle =3D {Journal Title}, > issue =3D {1}, > keywords =3D {keyword phrase} > } > > @article{article2, > title =3D {Title Here Too}, > author =3D {Denton, William}, > date =3D {2023-11-01}, > journaltitle =3D {Journal Title Too}, > issue =3D {2}, > keywords =3D {keyword phrase} > } > > @book{book1, > title =3D {Mastering Emacs}, > author =3D {Petersen, Mickey}, > date =3D {2022}, > keywords =3D {emacs} > } > > > And here's an Org file. For exporting I'm using CSL, referring to a styl= e in my > Zotero directory. Any Zotero user will have this, but I don't know how t= o make > it easily reproducible for others. > > ### --------- Org file starts > > #+bibliography: Test.bib > > #+cite_export: csl ~/Zotero/styles/chicago-author-date.csl > > * Text > > One article: [cite:@article1]. Another article: [cite:@article2]. And a= real book: [cite:@book1]. > > * Everything > > #+print_bibliography: > > * Emacs > > #+print_bibliography: :keyword emacs > > * Keyword phrase > > #+print_bibliography: :keyword "keyword phrase" > > ### ---------- Org file ends > > When exported to LaTeX, the complete bibliography and the Emacs bibliogra= phy are > there, but the "keyword phrase" one isn't. The manual says, "Values incl= uding > spaces must be surrounded with double quotes." I did that, but based on = this it > doesn't seem to be working. > > (I'm running Org from the development branch.) > > Bill > > -- > William Denton > https://www.miskatonic.org/ > Librarian, artist and licensed private investigator. > Toronto, Canada > CO=E2=82=82: 421.56 ppm (Mauna Loa Observatory, 2023-11-22)