From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0FYXNSkMu2JSewAAbAwnHQ (envelope-from ) for ; Tue, 28 Jun 2022 16:11:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cHrqNCkMu2KjdAEA9RJhRA (envelope-from ) for ; Tue, 28 Jun 2022 16:11:53 +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 75D932D8C6 for ; Tue, 28 Jun 2022 16:11:53 +0200 (CEST) Received: from localhost ([::1]:53120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6BwS-0000ac-1H for larch@yhetil.org; Tue, 28 Jun 2022 10:11:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6BvT-0000aB-Nh for emacs-orgmode@gnu.org; Tue, 28 Jun 2022 10:10:47 -0400 Received: from mail-40141.protonmail.ch ([185.70.40.141]:36868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6BvR-0002Tl-9J for emacs-orgmode@gnu.org; Tue, 28 Jun 2022 10:10:47 -0400 Date: Tue, 28 Jun 2022 14:10:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1656425440; x=1656684640; bh=PXFPYnZLrHveGXPgORf36sCaXFnHcEzp6ft8N+vqu3s=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=WJC8NSjwDGaBnh9Sa6T2ftONkkiiT6bX9C/5hw9H5Ylz0AdtkFUW1I6CAOetNVIwg We/KIqvWBSIh8IS586zuxQrgjARNliFmH9CUDQSv/l+B7qfJYBS6ujR+9e8IOc5jsO lkc3cCK/aZU0k1uhqL7rBeE2kkJ8BLTZ4GlWgaI1ZmO3Jxd4SUp7s9C7ndnNuTKzP7 vaZ2uwJ3YbIUFbu1vaLBu6YdhuiZE5wXq/brMQ/Qvj52XraRGCa6jK/K/t2NVk0zMy 8g8zsYZxR+gNQNMhvEVQfncJDpxhtIDoSKy3YQ21h1cpYOQJsmPrVyyMiaIjNR9V9M Z+bm8rPxc6+Qw== To: Bruce D'Arcus From: "M. Pger" Cc: "emacs-orgmode@gnu.org" Subject: Re: org-cite: only last names and et al. for more than two coauthors Message-ID: In-Reply-To: References: <9RM_g-C0vcKj8QD4nprKhs8J9COP-D3B5_pht0WDYv1vc2I_lEGv9VNFSjZDXUJMJRZ70j2afdwrEp2nuRJDv0BwZFSamE3ctiaGbJrpwBc=@protonmail.com> Feedback-ID: 44058556: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.40.141; envelope-from=mpger@protonmail.com; helo=mail-40141.protonmail.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, FREEMAIL_FROM=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: , Reply-To: "M. Pger" 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=1656425513; h=from:from:sender:sender:reply-to: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=PXFPYnZLrHveGXPgORf36sCaXFnHcEzp6ft8N+vqu3s=; b=OGifY4IZRtrDF1l/DBt8a5fD7Z0MlKzl3HsUraw8+dPDwe3Hy1iPDx5zFgMk9tIbfA6yhP 9PgST+jVhU7NjVnwdpdbndW5OqefDdgD9+lyzI5VmTsQRvhFauh4zl6nxK2z2r+KyrLS2L +K0gdHAwGKIFPK0EqS9clJcbiNk4E6JsJE2gp7O9kuY2Cs6K7gb+5QA4z/uXsfrtOd1Wgk ldM4rfom7XI3fqpxsW0NYFaElGnQS+/4T5uitfTdK/ISwUfJ/eLAE5x/zxBSO412R4a1m2 CTZAbJLVpveaoCQycPUom1NnprwJmVdoAKw9BLDzPxY7vBMzWUB+8EynmjMCzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656425513; a=rsa-sha256; cv=none; b=FMRqxxhgngw6CfGlC6IXprk4L/PU6GbErX7/eZ4RiXfwIDsU4DIR7LRZITaMSP/D2Q5gd1 loBLfx5jcC7e1RfBu4YjJrx5gblYKwh8S+ZaW3rZUsERv3npNrk4M5pWTP/kruucr9rx84 zcxq/ILPkdtoRrsPE8O53/42nsMszHtsWB10eQ8jY1XFxZBzFysSj0mh6UpSvIcfAK8Vbl j0nrskUeKFnePwfI4H+BdI/v76rxIaLEKVgbyv57Lbbr5kKoDDi1krN7ysqEYoN1CyNvMk M2PttfUrjsPeLqXf7s7iYJQFKx5qOh/thbMgdb3WLVv3L4jIC/E/gcI3N1KNsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=WJC8NSjw; dmarc=pass (policy=quarantine) header.from=protonmail.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: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=WJC8NSjw; dmarc=pass (policy=quarantine) header.from=protonmail.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: 75D932D8C6 X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: Up+gzaHpma4R Hi, thx for your answer. Sorry for my poor understanding of org-cite. I added ``` (require 'oc-natbib) (setq org-cite-export-processors '((latex natbib) =09(t basic))) ``` to my init file and then it worked smoothly. I can even put ``` #+cite_export: natbib customstylefile.bst ``` in my org file to use an extraneous bibliography style file, which is prett= y nice. A last question though: is it possible to set the 'round' option without ha= ving to insert the latex header ``` #+LATEX_HEADER: \usepackage[round]{natbib} ``` ? Thanks a lot for your work with org-cite. Best, M ------- Original Message ------- On Monday, June 27th, 2022 at 12:56 PM, Bruce D'Arcus w= rote: > On Mon, Jun 27, 2022 at 1:13 AM M. Pger mpger@protonmail.com wrote: > > > I've recently tried to switch to org-cite, but I still have some proble= ms with the basics. > > > First, org-cite is a framework for citations. When reporting issues > related to it, you really need to identify what processor(s) you are > seeing the behavior with. > > > Consider the following entry: > > > > @article{akey2022, > > title =3D {This is the title}, > > shorttitle =3D {This is the short title}, > > author =3D {Surname1, Name1 and Surname2, Name2 and Surname3, Name3}, > > year =3D {2022}, > > (truncated) > > } > > > > I want to have something like: "as shown by Surname1 et al. (2022), ...= ", i.e. something one can get with natbib \citet command. With org-ref it w= orked like a charm. > > > > I've tried the syntax presented in https://blog.tecosaur.com/tmio/2021-= 07-31-citations.html#more-exporting, that is: > > [cite/t/c:@akey2022] > > but I ended with a 'wrong type argument' error. > > > > I then tried [cite/t:@akey2022]: exporting succeeds. However, I end up = with "as shown by Surname1, Name1 and Surname2, Name2 and Surname3, Name3 (= 2022), ...". > > > > How can I correctly specify the options mentioned above? Is there a com= plete and updated tutorial available somewhere? > > > [cite/t:@key] should work as you expect in natbib, biblatex, csl. > > Possible issues, depending on which of those you're using: > > - some error with the bib file; or a mismatch between the file and the > bibtex dialect or something > - the citation style > > A complete MWE would help. > > Bruce