From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eLQ8KL87DmAlOwAA0tVLHw (envelope-from ) for ; Mon, 25 Jan 2021 03:32:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YAMKJL87DmAEMQAAB5/wlQ (envelope-from ) for ; Mon, 25 Jan 2021 03:32:15 +0000 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 6C4F59404C4 for ; Mon, 25 Jan 2021 03:32:09 +0000 (UTC) Received: from localhost ([::1]:50982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3sbo-0005qk-2Z for larch@yhetil.org; Sun, 24 Jan 2021 22:32:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3sbN-0005qX-5U for emacs-orgmode@gnu.org; Sun, 24 Jan 2021 22:31:41 -0500 Received: from out0.migadu.com ([94.23.1.103]:22880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3sbK-0003Cs-Tq for emacs-orgmode@gnu.org; Sun, 24 Jan 2021 22:31:40 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1611545496; h=from:from: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; bh=rIpwN4No0TqeKY8r260LURjuuqWxFjNFVtzeKipKAMU=; b=CJs/J7XcDmGucutm1kcwYoC+wixqHSQvTsUrH+x2z6q1kLCPW5xSMYViDCo2ixJVi6l03e OuogOBsjYYJtOZybOxHKye2wouFy1LqUO1ochb15Hq6mD49wQ5CX3FgcBlY0Qmj/rfXP+V +9QAfRUtZFQzjrBQuWxYYrgmxN3yEzl5O35zycUAJGRemn/KcRs9+h3BRndyaH7MWOJROu rDKy+FWi8gcehypzzeqpY06EW0bTKHa9ZkYmX6N4UHuwota6r0FUMmu4DgyjiQZtvogXVb DDbPSHdhCfveyZaQewSjriu9AaUb0D1VC2Mxk0xvayXxWvFmcSw3knGrPob59w== From: Kyle Meyer To: Tara Lorenz Subject: Re: [PATCH] ox-latex.el: fix interpretation of org-latex-pdf-process In-Reply-To: <87h7nh3mke.fsf@terralonza.de> References: <87h7nh3mke.fsf@terralonza.de> X-Woof-Patch: applied Date: Sun, 24 Jan 2021 22:31:34 -0500 Message-ID: <8735ypvgix.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=94.23.1.103; envelope-from=kyle@kyleam.com; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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.23 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-Spam-Score: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b="CJs/J7Xc"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 6C4F59404C4 X-Spam-Score: -2.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZfYNdKwmOHje Tara Lorenz writes: > Hi all, > > it seems that the documentation and code for `org-latex-pdf-process' are > out of sync: Where the documentation mentions "%bib" the code expects > "%bibtex". At least, that's how i understand it. Thanks for catching that. It seems [1] it's an old regression from f6187deca (ox-latex: Small refactor, 2015-09-13). [1] https://orgmode.org/list/877e8p1aej.fsf@kyleam.com/ > I resolved that confusing situation by making "%bib" and "%bibtex" > equally accepted, without touching the documentation. Thus, old > configurations work again ("%bib") as well as workarounds (using > "%bibtex") which might have gotten employed somewhere. That sounds like a good approach to me. Applied (13e98e2a1), adding a TINYCHANGE cookie and a reference to the above commit in the message. > Subject: [PATCH] ox-latex.el: fix interpretation of org-latex-pdf-process [...] > (process (if (functionp org-latex-pdf-process) org-latex-pdf-process > - ;; Replace "%latex" and "%bibtex" with, > + ;; Replace "%latex", "%bib" and "%bibtex" with, > ;; respectively, "%L" and "%B" so as to adhere to > ;; `format-spec' specifications. I also tweaked this comment a bit because, with the above change, the elements before and after "respectively" no longer lined up.