From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ENfhIsxe12FIYgEAgWs5BA (envelope-from ) for ; Thu, 06 Jan 2022 22:27:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SPeVG8xe12FlgwAAG6o9tA (envelope-from ) for ; Thu, 06 Jan 2022 22:27:40 +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 1388B2DDC6 for ; Thu, 6 Jan 2022 22:27:40 +0100 (CET) Received: from localhost ([::1]:37032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5aIM-0007uR-LF for larch@yhetil.org; Thu, 06 Jan 2022 16:27:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5aHb-0007r5-Ep for emacs-orgmode@gnu.org; Thu, 06 Jan 2022 16:26:51 -0500 Received: from mout.gmx.net ([212.227.17.21]:54649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5aHV-0001Wl-Qe for emacs-orgmode@gnu.org; Thu, 06 Jan 2022 16:26:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1641504392; bh=tovIu9Keo+ohnprQpymOmPf8eNagXR6gEcumTnv/pYs=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=OhwW6Ucjab8ajCzn1s12iQ2G1D3YbVvw3FWgCOIxcN8Ox1hhSdR3Rle4Wp/n+Ehyr QA6n24LIuZr8fodr8msNXxR37WTCD6fGnjUGNDhKxRYCoxo7k8wXXCT7Rdina94Ta8 LQ5jtxHXPbmvuuFS+fHw4kfUqwWihVR/UCcualMU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from X260 ([185.107.13.4]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mplbx-1mbkmg49BF-00qDDN; Thu, 06 Jan 2022 22:26:32 +0100 From: Rasmus To: mail@nicolasgoaziou.fr Subject: Re: oc-biblatex and biblatex substyles References: <87mtlourwg.fsf@gmx.us> <8735n0ss2i.fsf@nicolasgoaziou.fr> Date: Thu, 06 Jan 2022 22:26:29 +0100 In-Reply-To: <8735n0ss2i.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 10 Dec 2021 10:54:45 +0100") Message-ID: <87tueg4ku2.fsf@gmx.us> User-Agent: Emacs Gnus MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:wdJiplh3NX+1yv1dIY+u7JXoiezmMcPZrn+NB4syAzvi2yvOgNq Agyw/CBtHOj1KWIC+SzGtBHAsO2FxjTZ4yi3HfZmEGTClX8FGMd91auWrROr7csLawXBFwf VPL/2y9bePDes4PwujZmQowhTNqoTJN4n/WW/K7OByQxK7mbjIRh0gsHON3cQOZXcTVtDiU lVj9L0l6tEn5qKxb1MGug== X-UI-Out-Filterresults: notjunk:1;V03:K0:xy2WSAx/oMk=:nriOEqGe9/tu5Ij0CIwjAL Hc8Vv5rSkhWChpogjUiETyL+ymt8Mc9gwQvu5690Ksnr54zsHGx8i6oF7i6sjo4BQL2uxlpQL vX2YTOLbCQ4ttAC2tERuPT755UlxDwoT/eMTmIAJwxv7wkFvoG0VWT4ZdWIDv3YBpPXlvWdkO dXaADe3O7GGjXiAPr02+WXVlDeLolYauXHtZsrHxDcyBiHRJ+hIWVPZmehA9zHKEtAwHZyAC1 FiulFOF29kHObbrqQdCiA9B5snS/Xu/Z541e4Tac3DjAYJHIWXrzQNHYwUJ3jZ3Ck2EzsNGbt Nu0XIZvdj59HHyApQ2pXuKhCTSuJ0ON7CVEo50IUR/PudbA1l6cAise7mwiq/WnFS3GOW4DIL zpkljSsvRuiHXrt2396+RypwdM6/1TXr4OF7TMGELw+g2q75Qsw58xz+JsQ3YfiDX3836zPoQ d1fqD+IrvteGDNblzU3yqq1MOfGbtPSmMHJocQ9G6RFKv5cTxR+bM6O7rY9Z7btBojYTZ/EQg vSfX6NID3PX8iWjVVL54vrwJI0winymsv5EUpT9XdZh0w0hagSLqmZk9jwhAN1QQrgbFtTB/A EbJ1iZ11MXH6cuJJNu6rt/YRt53mdjMF+aopq7hnGHbW2LrjOCvRQ3G5LaYxUjCiden14ljLL e+PG5IJL+NttUHfzZ/J6DA8nL7/spKog2nbA7K/criGi0HRGHJw/Dy8SC+Q/9QDwlnX9RtNOi xTfvz95LlD4zIn1Xxncg5Mp32qskNUA382SNs76bQkL58faakJ1ijyU0L7DgNRXkl6iYNYI+9 z157Y6UOUvCKjCRibecXwA85b7ImRixe1IQZOOU3inOzO+2h+4aQeLm2zo5VaD2TmXpWc2VoM PQiFtn5RJAXz8QG3TrxD/DCDRjzsak6bm+H05XxvoYfbzQVy+3pCXIeFf9P/xwyECciXTOANB OqsTxPZ6C9e9EaOOEbo3Q88uSC5GtC1aCed3p1S5UX1ixY5DRGGJe6o1GC8FEDudCHvtB/mho KYXm1I4JR0pojrDYS5I7I6Jl6dNjkEOtjOM+Heuq8cW5nD3iqbfE338wxADWMKk+Uw== Received-SPF: pass client-ip=212.227.17.21; envelope-from=rasmus@gmx.us; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1641504460; 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: 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=urA1yyLyd7vusnTCxNTo32DfmVixMybBzRsZFbrk6g0=; b=dXZCzf6strSZFtilSjYqDxoLni5VIAOowpIf7AIoJoKv2LQVKD6pVt7uHYDbTatSR56ebK WZmY/B6OHOYC6uigde3HXvQ8QAIH0lCnPMA3cLv5QEf7tIzbd2z/5EqVrpC2yUyHmRIUj/ TDNqBmzAUTR3bBGL2+eYP5G4H8BGt5S1ya8bZUPa3K51dJ1mU2diHtqz0ErS+KUclZhUVQ zR2fv1FkNExgvIvCn2MG3f6PqQBQu62KyMZlo5o9O6Z8S8aAxr+nqCGg8CRgx8zVeNy/ny GN/YqqhBRlaUr4u8UIz7HO/OaiJRiNPKzk27L3Ebu/8JwPmFoRRLOwfRMrCWFg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641504460; a=rsa-sha256; cv=none; b=OHsyS9ZzJDC56fRfQnNWlg16vDwGHazti/vz5kr5oZ4IMa+SoVwkcrkA1BeqKpxEA8tC40 dNFP68531PPISvphUG8YNlxEkNi+/NlX76J/Q9TiImDB5r+8HOwBeCZ8Gcaj5G2Or/ZqhJ j+MLcIp/v24COFFJMXdeLJ2vHsKd/sEb30rWhyDQpZ8Dl+3tcli4Seo/OajbmIi8lcKUlB ZYnNG3SOAw1zbpVG3dgUm5iv6mwa5pRDqwd8SWDPdlhvThKvxPqEzFqIzkSKKaJu+M29ho DIQZxXwM5HwSV/I2E5SB6KHOKxiqJfBOOJCdK8Z3oYUQZckxnn4CzDzXDxEGgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=OhwW6Ucj; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmx.us (policy=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: -0.19 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=OhwW6Ucj; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmx.us (policy=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: 1388B2DDC6 X-Spam-Score: -0.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: kozQ3XuIzsf4 Hi there, Sorry for the slow reply.=20 Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> I wonder if oc-biblatex should support loading biblatex-derived librarie= s, >> e.g. biblatex-chicago? >> >> There=E2=80=99s a quite a few of these libraries: >> >> $ tlmgr search --global "biblatex-" | wc -l >> 66 >> >> (This is somewhat overestimating the true number of =E2=80=9Cbiblatex-*= =E2=80=9D >> packages). >> >> These libraries are typically nie because they are (i) easier to configu= re >> than biblatex for a specific style and (ii) actually support some >> \usepackage keywords that can=E2=80=99t be used by biblatex (e.g. ibidtr= acker for >> biblatex-chicago). >> >> Thus, it might be able to at least support >> >> #+cite_export: biblatex-$SUBSTYLE >> >> E.g. #+cite_export: biblatex-chicago. But oc-biblatex would likely also >> have to be able to pickup biblatex-* packages in >> org-latex-(default-)packages-alist... >> >> So maybe it=E2=80=99s a can of worms? > > I don't know enough about BibLaTeX to answer that question. What does it > entail to "support loading biblatex-derived libraries" in practical > terms? I assume \usepackage{biblatex-chicago} instead of > \usepackage{biblatex}, with a different set of options and commands, > too. While I haven=E2=80=99t looked through other styles, I would assume the user commands (=E2=80=9C\*cite*=E2=80=9D) remain the same. Only The library dif= fers. But sometimes it may introduce new options to the package. > It may be possible to define a new variable, e.g., > =E2=80=98org-cite-biblatex-package=E2=80=98, defaulting to ("bilatex" . n= il). It would > contain entries like (SUBSTYLE . OPTIONS) and would be used to build the > proper \usepackage invocation. > > I also plan to allow custom commands in "oc-biblatex.el", so it could > also handle commands introduced by the substyles. > > How we would select substyle from the document is not clear, tho. > Another possibility it to write, e.g., "oc-biblatex-chicago.el" and > define a new =E2=80=98biblatex-chicago=E2=80=99 export processor, re-usin= g most > functions from "oc-biblatex.el". It would probably only be necessary to > re-define =E2=80=98org-cite-biblatex-export-citation=E2=80=99 and > =E2=80=98org-cite-biblatex-prepare-preamble=E2=80=99. > > WDYT? Maybe that is a good way. But e.g. a student once preferred an even more obscure style, biblatex-aer which builds on biblatex-chicago to make a style similar to a specific journal. It could get old quickly... OTOH, we could select some key derivatives to support. Kind regards, Rasmus --=20 And I faced endless streams of vendor-approved Ikea furniture. . .