From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 4HVyLdKTfmJBnAAAbAwnHQ (envelope-from ) for ; Fri, 13 May 2022 19:22:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sCOHLNKTfmJ7YAEAG6o9tA (envelope-from ) for ; Fri, 13 May 2022 19:22:26 +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 471CA2A89C for ; Fri, 13 May 2022 19:22:26 +0200 (CEST) Received: from localhost ([::1]:47770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npYzh-0002dL-Fy for larch@yhetil.org; Fri, 13 May 2022 13:22:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npYyQ-0002b9-B6 for emacs-orgmode@gnu.org; Fri, 13 May 2022 13:21:06 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]:43553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npYyO-00007O-FV for emacs-orgmode@gnu.org; Fri, 13 May 2022 13:21:05 -0400 Received: by mail-ej1-x630.google.com with SMTP id m20so17470690ejj.10 for ; Fri, 13 May 2022 10:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version; bh=Cd+atkRwENlI0FfhrN5FXXJdAaCPHs6m8X/ASZgIkLc=; b=JwXwdPHCl5N6lpfDXcpA+sjpjiZ48+BWE4mOnw2KNP1ZWw1MTQ2kAxisZKjp6YLFOK 7G1urgT/bmOuw4FNFS7h9l80oxsONMLJfPCReJpg1dY11Wk69e9ZF8diUz50aXAr5UP3 vKGx8V2L/lU9G/b+On30CLiXP0y6eEdCk4imHS/f1E77dF589yoWZxjeQsdg5eKNeEBy xttiphewAcP8Ljp0xIHLR+rpGZGKH8k+EXQsczB+uCQk+Sc3/IQ8bHQzE5/9onw3xM5Y i77RBuhdBbdLJybVaVtFVVQj1GMJF2mrf0jYnQE3r+dZaxPxULd6ENrLHbK0C6oLv/qS +yIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=Cd+atkRwENlI0FfhrN5FXXJdAaCPHs6m8X/ASZgIkLc=; b=tAnfA2X4uJGQgX4QuqvXLp8Q6SkZvppQFyeN8gJ57xW0lTv5QC+ZF514f3ObqkBOZt kucOvzDmRU1w7ZLCWEA2Nky/mMiYdJdNv1bdNAKr8pNBz1e5H5HvVgDgAcIBtPhntYHr lfcW1oq9g3X7n/tner1V6LWwaM3xO7fgCGvgQm9p3IieQeQWY06oxqx2niHMVx+QKfVE m8hTxx/n3dw2m/fFCaMHpVOlnILxcmFlg974yLX47sSErzml6QO8Z0rbTqfY4V9u8hIn /FT2IxpWC9V68cw+iuX0PmPf5DdpPG04Iph3AtN/buosrqNnFoSofpFYT22NtuPkrdhA HDTg== X-Gm-Message-State: AOAM530ngqEIyYm6jHy7vEGmZvrNhF9/cBA3HGHcwCMfGB0K7lwD7fKB 9aWGAordETPHh8dK7cqnX16T+A/Dd3MTfb/u X-Google-Smtp-Source: ABdhPJw0KrdEOZe17izTfHEmr+h2hkEtjxSLrqGa/QoFrQoAImivmq2lRYFUZ1QU2S6QLaJbwWcHqw== X-Received: by 2002:a17:907:9490:b0:6fa:7970:3eb8 with SMTP id dm16-20020a170907949000b006fa79703eb8mr5429930ejc.457.1652462462031; Fri, 13 May 2022 10:21:02 -0700 (PDT) Received: from commodoroII (2-235-154-9.ip228.fastwebnet.it. [2.235.154.9]) by smtp.gmail.com with ESMTPSA id j29-20020a170906535d00b006f3ef214e64sm926675ejo.202.2022.05.13.10.21.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 10:21:01 -0700 (PDT) From: Alessandro Bertulli To: bdarcus@gmail.com, yantar92@gmail.com, e.fraga@ucl.ac.uk Cc: emacs-orgmode@gnu.org Subject: Re: Org-cite/Citar cannot recognize neither biblatex nor natbib Date: Fri, 13 May 2022 19:20:42 +0200 Message-ID: <87lev5wdqt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=alessandro.bertulli96@gmail.com; helo=mail-ej1-x630.google.com 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, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: , 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=1652462546; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Cd+atkRwENlI0FfhrN5FXXJdAaCPHs6m8X/ASZgIkLc=; b=nOaSnZs1nPhoEWQv4HvksMhpW070ghlIVfUsTpubkb5UAuruYYspXbo2ukc131cQjrYdHJ KSWu4SQpdGsTiGeeTDl7Ifbm1WEUoC14nzkqfzpWC7FRPO6yCnqMp4m3dk0JzNsm/MZZDk 3icVnMjhkyZLTck+qSy8WoR6V0rcxpfnZlzi+TJxSxed/ZgRu4T+1kZ3qcnxr2UFnPMf1r NKyQ716LnlCxFNzQH9ZhsAkxUvke+ZLLyHYt1RVxMCrLegiRXCw0uVZriACvX6dpPhXVBK U6je15cg2mlGKU0D/jDC58XCAD/GB5JvWhC/oCuNwITJEMGmUMHTx7+jTMunnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652462546; a=rsa-sha256; cv=none; b=Jtb3rwdrZB90F5XTKLwrnMhhf/hrGrCZz4gwDf8ArLsPdCC1Og/WK2urdIDUxJxcWfu4oG npxFv8rpinGX3IZlQdzm9TrXpniLUAwLVwhpC71Mjfg80OOP5/79Im5tItG6XfzCBpnIvu +2Nvvig2XvUPr3bPqsazaiz1YnJqqcZ/I3UMgjAppU3f5l0FLG+5rW6mi6rnRYLJLQaN5F jHKNM8+XB5FVNMLvJOlRlkh8SnGGSvIRhr496i6+rjvFOJQmGteyR+T3kN9OxfMZynKJ13 1aB/qvGFm624p46pPvzzZFvQFQuDWqwKbexcwMNG0DarensCMsv/d/dCcQZBBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JwXwdPHC; dmarc=pass (policy=none) header.from=gmail.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.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JwXwdPHC; dmarc=pass (policy=none) header.from=gmail.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: 471CA2A89C X-Spam-Score: -3.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: hKJOIJ68FDf7 Hi, I think I spotted the problem. It's difficult to be sure, but apparently, since version 4.31, latexmk automatically detects and run biber as a citation engine (see this post https://tex.stackexchange.com/a/231351/259874). In fact, in the latexmk man page, it is said to use the option -bibtex to use BibTeX. Indeed, if I try to run "latexmk -pdf -bibtex -f" (the -f option is needed due to some errors given by whitespaces in the citations), it all works fine. From my point of view, the problem here is that the variable org-LaTeX-pdf-process doesn't track any of this! + If the variable cite_export is set to basic or to csl, the formatting is external to LaTeX, so no problem. + If it is set to biblatex, then biber is automatically called by latexmk + If it is set to natbib, LaTeX needs BibTeX to be called, but it is not! So I'd say this is a bug of the org-LaTeX-pdf-process variable. Should it be buffer-local, and set when exporting? This is not something I'm expert of, to be honest. As I was saying, using AuCTeX there's no problem, because the compilation command is an elisp function that checks which one of the two is needed. May that be helpful? Alessandro