From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mNIbGgDapWXkFwEA62LTzQ:P1 (envelope-from ) for ; Tue, 16 Jan 2024 02:21:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mNIbGgDapWXkFwEA62LTzQ (envelope-from ) for ; Tue, 16 Jan 2024 02:21:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=williamdenton.org header.s=protonmail header.b=k2NW4PwR; 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"; dmarc=pass (policy=none) header.from=williamdenton.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705368064; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DPEUo8cdekWG4n5/+YOrG6lZiujaWrnqYjRMHlc8MnU=; b=RS1bo2BeYfwVvHMXd9cuuzrqPhHrBlVeIE+VpTzVzVmmQOFm/sKUxujoyAc0h45tmJc8Jr LCNkngLaSSwJNt7WFpndCFFpEzxhZW/wSgQER7NyxzTgZMyW6LUeBYbU3DYq2OjDk/4xtx fQIQlU8VyD0bzRiaK3IjhT7yneRoVkhCwNWRFGQj5fE68UkrwGsROQTpqiG4KVp1fm4OLu Opiwq0TK3QwH3HbVYGu14zlPeyjqAfVaFQROCtc15DFazrw9myBdTotATEVeN+JRH0dxKL ihtBJJ0gvizjzcRLvMnZNJDRMOExBFLmFXj8+4siSy/VGuXw7TmhDzDexyFCvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=williamdenton.org header.s=protonmail header.b=k2NW4PwR; 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"; dmarc=pass (policy=none) header.from=williamdenton.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705368064; a=rsa-sha256; cv=none; b=jY/CUNGXeulA3l7+7H7zwDVnQ6idPjdKYUzfpvrcGRnRBRhbtwSBTBhyUDhMjZKqNwMhYr EICaTZgg1Z6XwScKqqwsW1qgMJ0rDPunlb8qSFKA34I25BZG70dkPXnv5O6esV0zchhdSd cyKmn10AXCHjI7Mc4mTmdblun4A3pZjUI64jKP1rAO55bPBH7kApyuIiLFQ4uQLOQwwbUh Uq0TcNCDPYkjp0vm1aqxw+0NYfbx3fxdDiS1Qx9wZi3oG9t37iurI4R4aFnPEC0AmzuhMi ThMLMKZW/UufKara5cq47K6d9j8FnWjKfBv3XqDzEB/UZWglNGTnqb3a18pPkQ== 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 974EE50AF9 for ; Tue, 16 Jan 2024 02:21:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPY7Y-0002Kk-1J; Mon, 15 Jan 2024 20:20:04 -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 1rPY7W-0002Kc-U8 for emacs-orgmode@gnu.org; Mon, 15 Jan 2024 20:20:02 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPY7S-0007q9-Ql for emacs-orgmode@gnu.org; Mon, 15 Jan 2024 20:20:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=williamdenton.org; s=protonmail; t=1705367993; x=1705627193; bh=DPEUo8cdekWG4n5/+YOrG6lZiujaWrnqYjRMHlc8MnU=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=k2NW4PwRoSSPB4IustgSqmHQJJSKKeih6vbO+LwYN/NaN+jx9V1u3TLLIJzwuc6YC keKgLTlUfEzrOSO1iN6mrc4ukjVIoYAS6O7rk6dxKcYVTDav5/payIqOIr2Z3Cy7e+ QUNbvg9f33zTZLdsvT1z0lLRMN7XS2BXJTP8h11yR9/o4kRcd7w7+dPDyZHYpI9Nys lYw6Ku0RfbyK8IEFYnSOzs+r6/Vymeh1I70Kc89hLEggh68TbXDnD+mM35RcewrLxR DEFJSr4IFYyra8N2htZ1oewlomIaJz6dTYTiA8mIqUlE7ZrbcK1BaIM/jGy1SZEyJ5 uoxkhCIkGXxsA== Date: Tue, 16 Jan 2024 01:19:43 +0000 To: Emacs Org mode mailing list From: William Denton Subject: Basic citations: bugs with citation objects with multiple keys, prefixes, suffixes Message-ID: Feedback-ID: 95794763:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=william@williamdenton.org; helo=mail-4323.proton.ch 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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-Spam-Score: -6.88 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -6.88 X-Migadu-Queue-Id: 974EE50AF9 X-TUID: ghxdOPK3lcYO I'm figuring out complex citation objects with prefixes and suffixes and mu= ltiple keys, and found that not all styles export properly (from what I und= erstand). Here's an Org file that runs through all the citation styles (th= e Basic.bib is below). Each citation object has a global prefix ("Citing")= and global suffix ("is duplication") and the second citation has a local p= refix ("and") and local suffix ("also"). # ---------- #+bibliography: Basic.bib #+cite_export: basic=20 Default: [cite:Citing ; @friends; and @friends also; is duplication.] Author: [cite/a:Citing ; @friends; and @friends also; is duplication.] Note: [cite/ft:Citing ; @friends; and @friends also; is duplication.] Nocite (should be blank): [cite/n:Citing ; @friends; and @friends also; is = duplication.] Noauthor: [cite/na:Citing ; @friends; and @friends also; is duplication.] Numeric (should "use global affixes and ignore local ones"): [cite/nb:Citin= g ; @friends; and @friends also; is duplication.] Text: [cite/t: Citing ; @friends; and @friends also; is duplication.] # ---------- Export that and you will see some bugs. Default, nocite and numeric look c= orrect, but author and noauthor are missing all the surrounding text (I don= 't see anything in oc-basic.el about why it shouldn't be there), and in not= e and text "also" should be outside the brackets. # ---------- Default: (Citing van Dongen, M.R.C., 2012, and van Dongen, M.R.C., 2012 also is duplication.) Author: van Dongen, M.R.C., van Dongen, M.R.C. Note:[1] Nocite (should be blank): Noauthor: (2012, 2012) Numeric (should "use global affixes and ignore local ones"): (Citing 1, 1 is duplication.) Text: Citing van Dongen, M.R.C. (2012), and van Dongen, M.R.C. (2012 also) is duplication. Footnotes _________ [1] Citing van Dongen, M.R.C. (2012), and van Dongen, M.R.C. (2012 also) is duplication. # ---------- Thanks for looking, Bill Basic.bib is still: @book{friends, title =3D {{{LaTeX}} and Friends}, author =3D {van Dongen, M.R.C.}, date =3D {2012}, location =3D {Berlin}, publisher =3D {Springer}, doi =3D {10.1007/978-3-642-23816-1}, isbn =3D {9783642238161} } -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada