From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cNmpFjUcyWKHaQEAbAwnHQ (envelope-from ) for ; Sat, 09 Jul 2022 08:12:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iA5iFjUcyWKD9AAAauVa8A (envelope-from ) for ; Sat, 09 Jul 2022 08:12:05 +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 8988D17613 for ; Sat, 9 Jul 2022 08:12:04 +0200 (CEST) Received: from localhost ([::1]:43392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oA3hC-0000sN-7e for larch@yhetil.org; Sat, 09 Jul 2022 02:12:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oA3g4-0000qc-NR for emacs-orgmode@gnu.org; Sat, 09 Jul 2022 02:10:53 -0400 Received: from smtpout02-ext4.partage.renater.fr ([194.254.241.31]:57202) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oA3g2-0003Cp-4l for emacs-orgmode@gnu.org; Sat, 09 Jul 2022 02:10:52 -0400 Received: from zmtaauth02.partage.renater.fr (zmtaauth02.partage.renater.fr [194.254.241.25]) by smtpout20.partage.renater.fr (Postfix) with ESMTP id BFF45C1742; Sat, 9 Jul 2022 08:10:44 +0200 (CEST) Received: from zmtaauth02.partage.renater.fr (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPS id B7CCFA0085; Sat, 9 Jul 2022 08:10:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTP id A3FC5A0087; Sat, 9 Jul 2022 08:10:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr A3FC5A0087 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unistra.fr; s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3; t=1657347044; bh=DXQPr0D7+Xf/4zEObHfvU4PXhKhNlMJXko1KPS5wQzo=; h=MIME-Version:Message-ID:Date:From:To; b=xr7EUDdKX+e+Xyod+GYgXDJZKGuC67WkVPTN1GLDujKcxek00ksPQa337lBq5DKxV USWypiFMdDJ4iLitCBJ33hLBr6Xfe9fv6/bE6l10KjNT5py0o2SUDx/o1tBac0M0iw h7tCPON5B8gf/vwRgSfMZwhbFkHd/8eCjmbAbrDGk8ZaQTIcd5GFxfM9NR5Xmm4m8I h43Q8NVowCl1IB/OxQ7M8A4cvb+ONfC2sAFgpTTRWpl/rRWs29I8/MC4iabpCwo0Jn AnoQgv/dQyJx09Cr6JqTY5hYF9/aLby4t7uBOuFZoBlKvYHMpdSB/iKEbRlNO6zkZI 2E7iuKb6rG2UA== X-Virus-Scanned: amavisd-new at zmtaauth02.partage.renater.fr Received: from zmtaauth02.partage.renater.fr ([127.0.0.1]) by localhost (zmtaauth02.partage.renater.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id MqSnhEqAuBeo; Sat, 9 Jul 2022 08:10:44 +0200 (CEST) Received: from 90.33.127.214 (unknown [194.254.241.250]) by zmtaauth02.partage.renater.fr (Postfix) with ESMTPA id 2D4ADA0085; Sat, 9 Jul 2022 08:10:44 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <25289.7141.216434.579004@gargle.gargle.HOWL> Date: Sat, 9 Jul 2022 08:10:45 +0200 From: Alain.Cochard@unistra.fr To: "Bruce D'Arcus" Cc: alain.cochard@unistra.fr, Org Mode List Subject: Re: @string abbreviation in bib file not honored in (basic) org-cite [and a minimal working example with natbib] In-Reply-To: References: <25288.4658.491916.790389@gargle.gargle.HOWL> X-Mailer: VM 8.2.0b under 27.2 (x86_64-redhat-linux-gnu) X-Renater-Ptge-SpamState: clean X-Renater-Ptge-SpamScore: -100 X-Renater-Ptge-SpamCause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeikedguddtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucftgffptefvgfftnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggtgfgkfffhffvvefujghfofhrsehtqhertdertdejnecuhfhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhenucggtffrrghtthgvrhhnpeegheeukeevjeevhfdtkeevudeguefgkeefhfejjeefvedthfduffeigfeiiefhtdenucfkphepudelgedrvdehgedrvdeguddrvdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleegrddvheegrddvgedurddvhedtpdhhvghlohepledtrdeffedruddvjedrvddugedpmhgrihhlfhhrohhmpeetlhgrihhnrdevohgthhgrrhgusehunhhishhtrhgrrdhfrhdpnhgspghrtghpthhtohepfedprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhgpdhrtghpthhtoheprghlrghinhdrtghotghhrghrugesuhhnihhsthhrrgdrfhhrpdhrtghpthhtohepsggurghrtghushesghhmrghilhdrtghomh Received-SPF: pass client-ip=194.254.241.31; envelope-from=Alain.Cochard@unistra.fr; helo=smtpout02-ext4.partage.renater.fr X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, NICE_REPLY_A=-0.001, RCVD_HELO_IP_MISMATCH=2.368, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: alain.cochard@unistra.fr 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=1657347124; 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=DXQPr0D7+Xf/4zEObHfvU4PXhKhNlMJXko1KPS5wQzo=; b=Y/lv+N6uuJ+GieWGH15gAu8CKafGSnbLF6JGOQO1OUBPqrvjFFhn3y2dS6rFUs26ZDHySq qSjzQ7TtFatXY/fa6Uyr3wPRQdcyDRjznLcf7lAy0EmRHLIYSzTf4d+V7xyPxBV7JU6O0F QOdJ5ZkbfQJLmyyjU/c+fk2r9xVjTNsyquOUFMI7vJDXbxDwOL9oDuhlCWZCq3cjMbA3La M/qoZ0H0glzwE7URLjR3qTbF/zLaOqGb5K1SE0AmxEj+oU8tXpb2yzhQ4pCoNnBARRECJv lKB3+erze4mKFb9cRGEJSrRE7r/h9srQnT6A6sfI3L8dBX0xEjwR74vFzOsJ5w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657347124; a=rsa-sha256; cv=none; b=LdnpxMTBmF58+LjVnhTLrboz6jdI+rg4QCC5RfiUTPbZaRi0sPkGv1OoexnTUNBwPcCKDL vGnqiF7/Mp1dCJEhFEkkQrZThIpaA9lMrFvZFiRSsaYCkWUSEKYwTGjj2Wwe0W3eXnGf++ 0QpeHUa3dbnMk77EAyrM7Tl7vCoMOFrc1GtMpW1l6OdSFs5cZC/R/JLb6TIcSt8FmJjx+4 x4wpDep9u3YRINMtj0HLfhgssxM85NohGQWK/6B1x4qQu17uzXsF5cMdHMb+0dkqxulyLP ZZ1xekYoCnYqn/brxz6+1Cf+FSNssxT/eu8pE79kptjIp5/GPWsml6h0Zz6iUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=xr7EUDdK; dmarc=none; 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: -7.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=unistra.fr header.s=CF279DD4-6F58-4C59-BB33-73FDC6DFC1E3 header.b=xr7EUDdK; dmarc=none; 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: 8988D17613 X-Spam-Score: -7.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: e1QIjkeAytfz Bruce D'Arcus writes on Fri 8 Jul 2022 08:05: > On Fri, Jul 8, 2022 at 7:25 AM wrote: >=20 > > As I do not know which of these alternatives > > > > - it is normal, this feature should not be there, > > - it is an oversight, > > - this feature is not implemented yet, >=20 > I believe this is the answer, and it's arguable (I have no opinion, > and could see reasonable arguments either way) whether a "basic" > processor should support it=3F Is someone using natbib/bibtex (say) expected to never ever use 'basic'=3F (I don't know.) If so, perhaps there is indeed no need to implement the feature. Otherwise, it seems to me that not implementing it amounts to having to give up on @string altogether. > The parsebib library, which most third party packages use (for > org-cite, there's my citar), does support this feature. Thank you. I guess that if it would have be mentioned I would have silently accepted it. Some context: although I have been using org-mode for more than 5 years, I had always delayed the "bibliography step", namely, learn org-ref. But wait, now there is org-cite, so which one should I learn=3F Spending days (literally) reading a lot of material, trying t= o digest the terminology (it is a real mess). OK, org-cite seems to be the future, so I'll give it a try. First elementary test -> failure -- so frustrating. I conclude that the project is not mature enough (at least the documentation), and I give up. It is only because I could not have org-ref work either that I came back to org-cite. I take the opportunity to say that I think that the simple self-contained example #+bibliography: references.bib [cite:@key] #+print=5Fbibliography: should be part of the manual, especially since the 2021-07-31-citations post does not seem to be referred to in the manual any more (I have org version 9.5.4). Frankly, the manual was cryptic to me at the beginning (and still is, to a significant extent -- granted, I am a very slow learner), and I don't know how much time it would have taken me to come up with this simple example. Similar minimal examples with natbib, biblatex, etc., together with the required instructions in the emacs init file, would also be most welcome (I spent a day to have one work for me with natbib... I include it below, in case it could be useful to someone else; the examples I found on this mailing list did not work for me). I understand that it is not possible to provide an example for each possible combination of the parameters, but a few ones are perhaps a reasonable wish=3F Not only a working example helps to get started, bu= t it also helps a lot to understand the documentation in return. Furthermore, it gets much easier to ask for help: "I did this (or a slight modification of it), it does not work, please help". Many thanks and congratulations for org-cite. Regards. --------------------------------- my setup for org-cite with natbib --------------------------------- org file: --------- #+cite=5Fexport: natbib plainnat #+bibliography: cite.bib [cite:@chouet88]=20 #+print=5Fbibliography: NB: 'plainnat' above refers to file /usr/share/texlive/texmf-dist/bibtex/bst/natbib/plainnat.bst, which, on my Fedora 34 GNU/Linux distribution, is part of the texlive-natbib-svn20668.8.31b-39.fc34.noarch rpm package. cite.bib file: -------------- @string{jgr=3D"J. Geophys. Res."} @ARTICLE{chouet88, journal=3Djgr, author=3D{Chouet, B.}, title=3D{Resonance of a fluid-driven crack: [...= ]}, year=3D{1988}, volume=3D{93}, number=3D{B5}, pages=3D{4375-4400} } emacs init file: ---------------- (require 'oc-natbib) (setq org-latex-pdf-process '("pdflatex -interaction nonstopmode -output-directory %o %f" "bibtex %b" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f" ) ) NB: It does not work for me without '-interaction nonstopmode' (I have emacs 27.2 and org 9.5.4.). Then 'C-c C-e l o' from the org file to display the pdf, which shows: Contents [Chouet, 1988] References B. Chouet. Resonance of a fluid-driven crack: [...]. J. Geophys. Res., 93(B5): 4375=E2=80=934400, 1988. --=20 EOST (=C3=89cole et Observatoire des Sciences de la Terre)=20 ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr 5 rue Ren=C3=A9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44= =20 F-67084 Strasbourg Cedex, France | [ slot available for rent ]