From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 GHz0NTx7zGPL0gAAbAwnHQ (envelope-from ) for ; Sun, 22 Jan 2023 00:54:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sPPVNTx7zGM9EQAAauVa8A (envelope-from ) for ; Sun, 22 Jan 2023 00:54:36 +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 520682D09D for ; Sun, 22 Jan 2023 00:54:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJNfm-0002oW-Mm; Sat, 21 Jan 2023 18:53:22 -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 1pJNfk-0002nw-6E for emacs-orgmode@gnu.org; Sat, 21 Jan 2023 18:53:20 -0500 Received: from wilbur.contactoffice.com ([212.3.242.68]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJNfg-0003le-9u for emacs-orgmode@gnu.org; Sat, 21 Jan 2023 18:53:19 -0500 Received: from hologram (hologram.co-bxl [10.2.0.17]) by wilbur.contactoffice.com (Postfix) with ESMTP id F01451761 for ; Sun, 22 Jan 2023 00:53:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1674345185; s=20210208-e7xh; d=mailfence.com; i=edgarlux@mailfence.com; h=Date:From:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type; l=3242; bh=I3kQWMEvM3ioQIOii74TGkTS7EW6yF8HiNYuaNcLlyo=; b=k1ls7FF2oHQiDVnyuCX02532RmG4BCtZdP+IyHrYfMNhF94xMbx4wIDHdIQTKWeJ Sc9/mokzkZWKRmbilZrKD8SUvYEiTrtZpJkh6mtaq0GMqwgqJJqbnORt/XbJIQNgp7j KNEvjbCWabVIeZWd84DgZsIzwQpDrRoKF2Bj4W/ibkui0Noi6LJQmw9v3irC+5GbBPQ yGoiwa8/3QEwFeMALmKQ5+K6EOyjpfNXWnB0nfbdV3rurqQZhzGjgdYWw7inFyWS96x 5ubBvxP8boouTSnBi2fgj2irMrO2dw7jfKXhZ2t8lo0sQo1fJdTiDBlWFxj9pAu6bfx RY+v2uA4ug== Date: Sat, 21 Jan 2023 21:25:49 +0100 (CET) From: Edgar Lux To: emacs-orgmode@gnu.org Message-ID: <101392154.966532.1674332749371@fidget.co-bxl> In-Reply-To: <87cz78qo5d.fsf@localhost> References: <795525985.881228.1674077475456@ichabod.co-bxl> <87cz78qo5d.fsf@localhost> Subject: Re: Patch for \usepackage[ ... natbib = true ...]{...biblatex} with org-cite MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_966044_1780835924.1674332270274" X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:195124330 Received-SPF: pass client-ip=212.3.242.68; envelope-from=edgarlux@mailfence.com; helo=wilbur.contactoffice.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674345276; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=I3kQWMEvM3ioQIOii74TGkTS7EW6yF8HiNYuaNcLlyo=; b=BXyPwpkUqygjc0KE+vZ0XIjSA/+c4Js4aMOg+mlRnBVuGD8Fe1ckyMDr3DAnGWhdC/HKsv dkK3a1tPf3lEYQKQTCCQoYjledQ0j1cTNgs60SLH3n9LwpJ8wuhPRloq2scQ7Xa7eof9Qi /N36epfJCOJxwo2iVk9fUAa1CqYZDjT93lT5S4okhreU5Jcz9fkFxjVj58cOJZsew51ZmF H/BBeaAKks72qtnlwo+3OTSSIac24VhKOfGNYz9lPuwVIhcmDUsmjVu5qGy/0hMSZdZ6oq fnb5uqPTfGG/efwjYy4qCAb2tGF1P7SRciwV0wP9conHmm99X8GThFLrZ4chHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=mailfence.com header.s=20210208-e7xh header.b=k1ls7FF2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mailfence.com (policy=quarantine); 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=1674345276; a=rsa-sha256; cv=none; b=k/UczIkSCRf10lvD+Qv/K1jnTroIaU7CkO/tmHRRlhNdneYILEpJrdJBtCAIEoYpZwR029 zZMt6y+QTwU9iWZOscoGeE/nU2Bwbs7SWAlxWx8KxwMg/oxGK6R8Pedmc4P6gu4OAeb9NL 1sf9qWpe5gJFNx7UiingdXunzcn8wI52gQWI9tqKK5afaVEFrMBN1EhAmL0B9bHhN7ALJ4 l/WdZLrkVqqR1X211gOsVpqdl+lYijYtanS6Shrpctflun9ebarTnYEjs7HAo92P2Gmt7p ww7pNpcYOwZnC2A/pkQExDQWs7ifS/SeYZFFGpSTlLPaR25+5xmC+dafE6nyXA== X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 6.00 X-Spam-Score: 6.00 X-Migadu-Queue-Id: 520682D09D X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=mailfence.com header.s=20210208-e7xh header.b=k1ls7FF2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mailfence.com (policy=quarantine); 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-TUID: soG7qUaUVs5t ------=_Part_966044_1780835924.1674332270274 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit For the very silly reason that I was not aware of it >.< . Thank you, Ihor. For the uninformed: evaluate this as a lisp expression (require 'oc-biblatex) . Also, you can use either #+LaTeX_HEADER: \usepackage... (like shown in this thread) or style options with #+cite_export: biblatex (read the documentation for oc-biblatex.el). I tested like this (and with the \usepackage line too): #+cite_export: biblatex #+bibliography: your_file.bib This: #+cite_export: biblatex "bibstyle=numeric-comp,sorting=none, hyperref=true,backref=true,url=true,backend=biber,natbib=true" will create \usepackage[style=bibstyle=numeric-comp,sorting=none, hyperref=true,backref=true,url=true,backend=biber,natbib=true]{biblatex} (note the style=bibstyle=) 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: #+cite_export: biblatex "bibstyle=numeric-comp,sorting=none, hyperref=true,backref=true,url=true,backend=biber,natbib=true" #+bibliography: your_file.bib For which one can use the appended patch, which may break other things, of course :P . The gain is control over biblatex options without resorting to #+latex_header: \usepackage[...]{biblatex} Cheers! Thanks. January 21, 2023 at 9:37:18 AM CET Ihor Radchenko wrote:Edgar Lux writes: I now looked at the patch and I have one general question. What you don't just use oc-biblatex in the above? -- Sent with https://mailfence.com Secure and private email ------=_Part_966044_1780835924.1674332270274 Content-Type: application/gzip; name=oc-biblatex.patch.gz Content-Transfer-Encoding: base64 Content-Description: File Attachment: oc-biblatex.patch.gz Content-Disposition: attachment; filename=oc-biblatex.patch.gz H4sICEFIzGMCA29jLWJpYmxhdGV4LnBhdGNoAHVRTW+DMAy98yssTumo+eiqThwq9TfsWjYpCYZF ywICI3X/foHC1rHOh0h+fn5+dkpTVYBYGwaZWNO3SaNRGWUl0yUmC+oeGhhX0gXk7qnKKVdVHD9S nu2qXZlDlqaH/T5AxPuKQRRF/6ieToB5vj1A5N8sBZ8/Ew+dAwk9d8bVcRjAEqLnT0vYtGwa1//g IHTjypschHCDtTDxN+CM3QTRbfWqjR+S9RuEE+0YzvRbJgjvmkF01FqpCTuq6dKicXhV+MWdIyyK q9Hj+TV5eSiKTRKOYLbVhmmeda9RNF2Ng1Od1O/E8wQIz777ZTHnY7Vnw7BaJ/kmL/b9ebTk9aIr KQ7g7+JLp/+0pVn0g5q9TdB4XhDTbFRUG+fGUjrKfwF3K9UGbAIAAA== ------=_Part_966044_1780835924.1674332270274 Content-Type: application/gzip; name=oc-biblatex-postpatch-tests.txt.gz Content-Transfer-Encoding: base64 Content-Description: File Attachment: oc-biblatex-postpatch-tests.txt.gz Content-Disposition: attachment; filename=oc-biblatex-postpatch-tests.txt.gz H4sICGJJzGMCA29jLWJpYmxhdGV4LXBvc3RwYXRjaC10ZXN0cy50eHQA3VJBTgMxDLzvK6xyQizi XrS/4AYV8qbTJto0WdkObYX4OykVhQNCHGBVcbNn7HjGzp0HCbREU8orAjtPjhXk+QnEpCGtI6iP nAaKIVVMSTGysIWcbo8dBjUKJwJL2gar8DZ/6tTLedNcXLlgeMRuzGJz6kPlDTua1UhtH9GlsoEE d+3yZmy1VlUFXcoJLfn9CBGsOpOCtmc3nJIi8QNFWnb1PUib2Grwxsya5qEcBLqB17j/83mL53dz L803vieyexZeJz3w2V33hov5LJP/6YO0I/z7An64hi+F/fd9vALaj/YbWwUAAA== ------=_Part_966044_1780835924.1674332270274--