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 oDC1JXRd72PlzAAAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 11:56:52 +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 SFt5JHRd72NBKwAAauVa8A (envelope-from ) for ; Fri, 17 Feb 2023 11:56:52 +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 5892DDB81 for ; Fri, 17 Feb 2023 11:56:52 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=R4VIQZlY; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676631412; a=rsa-sha256; cv=none; b=fEOOEQxLrtd4ymHlCyVcpm1etDfFe1LoQn40WAaihiU8JMXKwvlFEjWJjmIVDDTkAnW+I4 saxUjpDaVGqivgQ79yT0TVu0EUNouY4YlE6FZNO/rX1lhj9uyL1sk6GJDXjOytShv0aThv B5OA1szkf/vQ8g3Q5AqUKB5kcJIv/E3q12FeV4ixc1xs3fSF/B2KGo0c6z6LJrd4t9gGEW hNjy2JIHmnpt174yI85Do9LPNFsuJtyYYG+aRjOfho0E04mkYLHTeCyOpK/CSu4jouhwVt rXI6oUB9ZQMr256PZxXiSN1XJyzxu4OUP7p619eRljCkCKKoWsdOcS7IND6ngg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=R4VIQZlY; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676631412; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FJs/S2ck28E4Q0tx8VVtorXj/5RlSZ4LBei/U5i1MDU=; b=qxiEFQWaTLNijDmb2TeI5efVDpyZCglVv+VBbUOpG53/ELHGCJzUTlJiEou3ZIgCd8rNG7 4W24FGXeDDxeGQ3tCfkKJPQR7Q04TWS1LOkHU57JgTIw5UxKfh1Syhad3TiJW78ABZm+pX uVdCjmzlBMYKawHhyTOmu6rlSdfLFA7LI/0k9BQT4xoJ1Jz+GIlXmyOLCKd2cQ1W/og4hc PUV2UfrwayMLNeuA15af/WlyZfFdgpg8LuuqabR5pElPuHnimiYytHEZRi/UFoBykiDlKE adiRzbcEScRIhhlQWFB9S4u2CyeFNIpTG9cj8zLP3BH6lxZwcxDxILkZzEvt5A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSyPG-0000BT-B0; Fri, 17 Feb 2023 05:55:58 -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 1pSyP8-0008Uu-Lj for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 05:55:52 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSyP6-0003NA-Qz for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 05:55:50 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 67456240465 for ; Fri, 17 Feb 2023 11:55:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676631346; bh=XJOs2NG+DPoIV5XUqtOU/UqfqwI+mZR3xjQV23s1a3o=; h=From:To:Cc:Subject:Date:From; b=R4VIQZlYOruKkK//71GoUve72Xkr7vlkqJgW9WsaOmBKoNvek/l1TRaStRFbW94JR EUUCxkJXM/UxmvN0TjnSqGUfBpwRg6vOEfXumfxD+KSvo4VxKIlSYZGOwTvXLa7bsx uSy902G+6TKSIZFbNcxpuSuuTSBPbPRRa6Xe4BDW6XWCA0WIXxmQ/n+7aIY/F8Z3UR P32FINvrpt7eqO7HzAsDIv9ccwinXWWl3XtK88XQIBxdVxHckZ+XdtckTYtLJIITz0 5Hp4k2tFtgNOrSWybk1UgKYHnqA6/xn78ti5VF5bG5bkRkb6eYFuCdQkuuvVW8Qb08 +YOot1yB1+oOQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PJ7yP4LJLz6tq1; Fri, 17 Feb 2023 11:55:41 +0100 (CET) From: Ihor Radchenko To: Bruno BEAUFILS Cc: emacs-orgmode@gnu.org Subject: Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)] In-Reply-To: <20230216102249.uxhkbezoheb4mvdi@settat> References: <20230215184951.edu6n6k57lmfnqxz@settat> <87a61e4qcg.fsf@localhost> <20230216102249.uxhkbezoheb4mvdi@settat> Date: Fri, 17 Feb 2023 10:55:34 +0000 Message-ID: <87fsb4d0ih.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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: X-Migadu-Queue-Id: 5892DDB81 X-Spam-Score: -11.71 X-Migadu-Spam-Score: -11.71 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: 3X2E2syMPuYK Bruno BEAUFILS writes: > On Wed, Feb 15, 2023 at 08:37:51PM +0000, Ihor Radchenko wrote: >> The problem with LaTeX export is that it is not always possible to know >> if the process truly finished without errors or not. > > How so? latexmk -interaction=nonstopmode >> Meanwhile, you can tweak org-latex-logfiles-extensions adding "tex". > > I tried that but I do not want it to be a global value : in some case > I still want the latex file to be the output (I do specific latex > export in that case) for instance when things goes wrong. You can either set a file-local variable, set a directory-local variable, or, like John Kitchin often does, put the following src block on the top of your file and use it for exporting: #+begin_src emacs-lisp :exports none (let () (org-latex-export-to-pdf)) #+end_src -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at