From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +LEbF2FafmLR5gAAbAwnHQ (envelope-from ) for ; Fri, 13 May 2022 15:17:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oJEHF2FafmKsVgAA9RJhRA (envelope-from ) for ; Fri, 13 May 2022 15:17:21 +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 DF8393AB1A for ; Fri, 13 May 2022 15:17:20 +0200 (CEST) Received: from localhost ([::1]:41358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npVAV-0001zn-8I for larch@yhetil.org; Fri, 13 May 2022 09:17:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npV8b-0000XL-RL for emacs-orgmode@gnu.org; Fri, 13 May 2022 09:15:25 -0400 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:39851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npV8U-0007zC-Kj for emacs-orgmode@gnu.org; Fri, 13 May 2022 09:15:19 -0400 Received: by mail-ej1-x62a.google.com with SMTP id bv19so16206459ejb.6 for ; Fri, 13 May 2022 06:15:14 -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=JUcTr/qnlLR9lNiRFSGBKWVhygt+nMnzUtbsBS2Kr34=; b=OBe31hhQLVzMsK/9RGIsYVETY7F+EWmFoUZA0GWUPoyfFKEwdi78CBjBE6Z5ivgIYM /Af0Yoa+QfKlX6BZgJx2AqqE1W8df1BTzj0wK72SO+1zehfgfQWugr53k5fN2cRRxpan b53HI65JS4+Br4yV85cMp5I4Y0rWzfZAwb6wk8lR5p8ABuZacLq6n+/iAUZ64pNwQGLq 2Ul1mlMm5JOCUXxgEZSvuzcH4ti8Lk6r1U/U2wP7l2HqWETZcvKpY5l+bvdsUi36aJtP dlwr9GfqXOqYRsAMxqu1BWExjrF7XQmQ/zQuKy5oWlUBjApMkh+YvRCfUT7mkR5c9ZBN 60bw== 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=JUcTr/qnlLR9lNiRFSGBKWVhygt+nMnzUtbsBS2Kr34=; b=UkN/WYdFuBMd8RcLy8pKbRAWanQ/xRQuFWQu7H7EvQOPeechfc/NmcDIUkTx8wpZHf JWPkWImp9XRq1YuN/PWCe3/e2RnTS4nHUyY6kEyuY1k0uyUuzDl7+5cwQCJurExGiGos Uc2Ft4dl+nHzKMQznHGJ0p0+yk4oNG5u39lfJV0manx0ZEEsPH5slfw0qC/5t51VsC7M 2a5Jizvnk3dkftaU5cmysQePTlxk2+Yv4QGt+s8OWvFg9MOWkfSpowphRmC6cSYMI6+B 3bOFuy2WMv8rRW7tpj08aCg1WYkgy3hOFn8hqel4+4FdvrKRTc0ocvibwlSf9Yhf5mP7 J+sQ== X-Gm-Message-State: AOAM532XVdPXiO1EvEQ+wqEWkP/idb21vhyrSb0v0C7V66jHMAVtAxzr aOhYxnAfCMtLTOhUmzgS8XJSqw+vP4wRdQ== X-Google-Smtp-Source: ABdhPJwxJa2boiNY9+WNdM6voEMazAbXRwiy9xgIKlW4ixZM7d51atj28bNlkLvWPIKSjwWwKXV0QQ== X-Received: by 2002:a17:907:50a3:b0:6f3:a302:96aa with SMTP id fv35-20020a17090750a300b006f3a30296aamr4247092ejc.2.1652447712700; Fri, 13 May 2022 06:15:12 -0700 (PDT) Received: from commodoroII (2-235-154-9.ip228.fastwebnet.it. [2.235.154.9]) by smtp.gmail.com with ESMTPSA id m17-20020a17090677d100b006f3ef214dc5sm783748ejn.43.2022.05.13.06.15.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 06:15:12 -0700 (PDT) From: Alessandro Bertulli To: e.fraga@ucl.ac.uk, bdarcus@gmail.com Cc: emacs-orgmode@gnu.org Subject: Re: Org-cite/Citar cannot recognize neither biblatex nor natbib Date: Fri, 13 May 2022 15:15:06 +0200 Message-ID: <87wnepfuat.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=alessandro.bertulli96@gmail.com; helo=mail-ej1-x62a.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=1652447841; 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=JUcTr/qnlLR9lNiRFSGBKWVhygt+nMnzUtbsBS2Kr34=; b=oZihKLD1hKpBcibTKz11BokILvLdAQHigLyuU7xvbDC+lbaM1MzBhKhAW6A3vsipt/bzDR OHwQdXav7jHOGy7H8GLIjinD8wR2v2XiIe5/ixYnmlrAhUPySTKNJZHFnpmDWUHkTeXCz3 koRdeQX+m68DDnbPPWW/ax7ttzzjKM3m6cNll0dN8d0aTTY3IwAlaTQoTxz8GLHpgUr3KJ CXKmKzdlIjOmeGHQ1xwRhnoGL3mPZ88tNoqvBjegj7X+UZ7IJFJtdyce+4uTgM6yoZt1Qv Q2wFKuppPQwYbJopZUBJhboo8w6l9fjvvgzZXjmgBGumA2nbGKxl5vFRX9nfDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652447841; a=rsa-sha256; cv=none; b=JEpruiYhS838rlj5f7br4FMIskbKztJisE3zkYI+kHg7Lo9NUKSG6DNQphWs8m6n0BqaCi lzljkdJUHNgdj4kSBrnBjvHc3GsDhKuSH7j3V1tO/P+y19YzHTCYvP3EaL0HwuQPNPbzvx NyamqzPp9fq46JKBaELAWxq4t7/wxTLqAzm1XcdlVYgkWSPDtJzLIrqi8VZgFOkzRKn0cs frPWhb6a6yvnggsu5vEVbflgr8fp2jEzHKt96G/7uYCLLBIoyuX8o0ZQNeUo3KLYgDAj4W VxnKec1NpUScArZo420Wx3WVf26z7yNSMRg6XRTj2gvRJYJhbuBFPTozbTYcow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OBe31hhQ; 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: -8.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=OBe31hhQ; 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: DF8393AB1A X-Spam-Score: -8.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: P7Ovrd2vEnLA Ok, I think I got something. Indeed, setting org-latex-pdf-process to '("pdflatex -output-directory %o %f" "bibtex %b" "pdflatex -output-directory %o %f" "pdflatex -output-directory %o %f") produces the correct pdf output. I think I have a hint of the reason for this. When exporting to a LaTeX file, and then compiling, the keybinding "C-c C-a" invokes TeX-command-run-all, which in turn invokes TeX-command-sequence, which in turn invokes TeX-command-default: this is an elisp function that basically replaces the work of latexmk, checking the timestamps of files and deciding wether to use bibtex or biber. Here's the snippet: (if (bound-and-true-p LaTeX-using-Biber) TeX-command-Biber TeX-command-BibTeX)) So, latexmk is never actually called! The point is that natbib needs bibtex to be called: in fact setting org-latex-pdf-process to manually call it produces the correct output, and setting it to call biber instead produces the "(?)" (as well as an empty .bbl file). So, shall we conclude that latexmk has an issue with correctly recognizing natbib and calling bibtex? Alessandro