From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 cEloEOMazWPiWAEAbAwnHQ (envelope-from ) for ; Sun, 22 Jan 2023 12:15:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4JV0EOMazWOFIwAA9RJhRA (envelope-from ) for ; Sun, 22 Jan 2023 12:15:47 +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 B6DB9133A0 for ; Sun, 22 Jan 2023 12:15:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJYJM-0005nP-Hh; Sun, 22 Jan 2023 06:14:56 -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 1pJYJJ-0005nD-PE for emacs-orgmode@gnu.org; Sun, 22 Jan 2023 06:14:54 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJYJH-0000pl-Gy for emacs-orgmode@gnu.org; Sun, 22 Jan 2023 06:14:53 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E27A5240233 for ; Sun, 22 Jan 2023 12:14:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674386088; bh=3iDRsQ6eMotKmr/lZCS6aAgic+a1R0Pj21B2Ummgcpg=; h=From:To:Cc:Subject:Date:From; b=kv7ZE9c1+b05MfI+C1stB0Rifgrei7mMieG1fdQdRgHkgl7sHLl53mzdqpwnOJU4h BNSh943VQRvyPJ7Uzbv7vuZsxU9gPvxmisP/JbtE5qmeODNdZsZAS8B//339uByIla qSdiKqVK9nXNsqxYslyVoFo/SiDYq4B9LTdiWkfe8H8YtcLaPvk711ggr+7EWcsW4+ k0FO00cSu3GnxZLZ2/5nb3iDGaGkugJ3lC18U9cXzSrUdbK9iBvoy+zvuK3jtN0Ye9 tpyyA6Wo6kByNAQtYAPMikkbB0+Ira9tZKd/1P0bDV50e17olacvy01OvFacUPSej+ 2usBuoj3Qz/DA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P09cP364dz6tmL; Sun, 22 Jan 2023 12:14:44 +0100 (CET) From: Ihor Radchenko To: Edgar Lux Cc: emacs-orgmode@gnu.org Subject: Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite In-Reply-To: <101392154.966532.1674332749371@fidget.co-bxl> References: <795525985.881228.1674077475456@ichabod.co-bxl> <87cz78qo5d.fsf@localhost> <101392154.966532.1674332749371@fidget.co-bxl> Date: Sun, 22 Jan 2023 11:15:14 +0000 Message-ID: <873582om65.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674386147; a=rsa-sha256; cv=none; b=uzRUvUrhUdyzTOrkZk01Uw+7FCAud8Vi3so04DPlQ4++7by+vWkg3NE1e7xmJqOMYzJm73 MZ+45BzPPFCe3lmvgtVyHrHU0Sq2lh+BVRchldgVNCWsOQVTHC1kt4m3gz4/Fu7uE95PNm c/NWtGBg7SCczSwUXo0pvE+EwB+ivaBTMaB7ThlnK7qpLMpfuSKP42Ary+MzLJvM1z0PL5 D+XH5D82oI2+kuGcq0uckgDh/r9NZdnnTrEIrn9eQutwmSJD39aOXyO35WFK8Pynl35oVn ThaPl93oQXtSz2AIjqyEvT6m8zqr9sWhr3zxte5FtiaKaKyINqS5rJPvCBAdJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kv7ZE9c1; dmarc=pass (policy=none) header.from=posteo.net; 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=1674386147; 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=tYavJ6EAQ3m41SEBw9lz3IkIwYyRcPqMB0szgVGuc5E=; b=pVQWPQWkAPobJrw9zf4AXue1vF6Q03zvKrPPGEeVO3nV+ZVLMFeL7y9GKs2na/QXVgJb+F 9BjYrQMb6ejyKEgvuBtnfe8E0JDZ+hlw6fHhUXoMA1KJAdGY53yR8U3x+UqDpqcog8w6JI 7DEoxRscDKotF7lcJAqKjGSPgT4elvmQdkoul7w6TfmErEMPBFjyjKHhiUD7HuoSr4Zb1h NvyaXdrYf5l0dFLXyhAiKcsnmW9o/8rdrS0uGlW0WoBce4ofm8R3zapw9eVu+zae2Nmf+M cgw0vhelv/SsLcoCidpchrWY6xrZ+hrz+AwdkyriJ0wJs1S2koilsDRPF/yM2Q== X-Spam-Score: -9.64 X-Migadu-Queue-Id: B6DB9133A0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kv7ZE9c1; dmarc=pass (policy=none) header.from=posteo.net; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -9.64 X-TUID: wmE2JQi8ml/t Edgar Lux writes: > I would suggest that the org-info pages mention (require 'oc-biblatex) and show an example of how one can use extra options (with the #+latex_header as well). Further, may be it would be better to allow something like this: Note that we have https://orgmode.org/manual/Citation-export-processors.html Of course, the "Citations" section of the manual is not yet complete. More examples and details will be welcome. > #+cite_export: biblatex "bibstyle=numeric-comp,sorting=none, hyperref=true,backref=true,url=true,backend=biber,natbib=true" The general design is #+cite_export: NAME BIBLIOGRAPHY-STYLE CITATION-STYLE There, NAME is the name of a registered citation processor providing export functionality, as a symbol. BIBLIOGRAPHY-STYLE (respectively CITATION-STYLE) is the desired default style to use when printing a bibliography (respectively exporting a citation), as a string or nil. Both BIBLIOGRAPHY-STYLE and CITATION-STYLE are optional. NAME is mandatory. I am not sure how your idea fits the above. Also, note that `org-cite-biblatex--package-options' combines INITIAL option list from the \usepackage declaration already present with options dictated by STYLE. However, only certain options are considered. After applying your patch, things may be broken in this area. P.S. Could you please send patches as plain text? They are easier to view then. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at