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 MB3BBYaB72MTfQEAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 14:30:46 +0100 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 ELvzBIaB72MyTQAAG6o9tA (envelope-from ) for ; Fri, 17 Feb 2023 14:30:46 +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 BEFD811A76 for ; Fri, 17 Feb 2023 14:30:45 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XddV+H8e; 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=1676640645; a=rsa-sha256; cv=none; b=pDPn2TiEKQpFRwa3ygCbtnGJi+9d/b0ombs8U72jjVs7LL4p2e073mRBzjjERxLiptk8Bh QXMOeymSR6lPnkZsUUtjRURieM6rZn4Ly6num3ocV/kMNHI6zy4NIQwQodm/FGUu8grPOs F8j56d/08VDdCBb8S/J9DOw86/jzuzGsVOZq+QClpVBGNdShkTEbTMGVyvIvE0ZAlTaueB NJcb4IYwnDmEy3xYyua5H8yQQ4DHC9mPy5QjMO4bIYupzuTMO43bMkXjBm0e/kfjW67cp1 GYl5WPCamzioJMVmvW8eTOuxoufZERwCp9s0Xn5j29erUWAZn699T2gC3q3bEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XddV+H8e; 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=1676640645; 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=NqGKpqS5YNmOHu1WMoqIm3XCeSY9iAN1kbirNS8lBio=; b=PUz7jt7BkX+TZG1VfOhIOhlIyfu7GAquotdsvU0+E92zPPFho4YCEz+lrg+6b2sMHcTh1W 7UjtvqdH0NhnHsJ6tzyRGXHfS0jdmMRrUJ02G3CEhHtNNn6fe/lb4vSDZY/RwTBEOIyOhR GO84rZxsYH6yqgAeTKl2Bgp9zcXzcNoLz8AVODz5+AjhagMb/hxyq52RkALz0t+kfzHTd4 eMyIvIj1NtOYQp5PRTj7uJ8xM6pOOBML6KbDGf80bWUxa5b0unj7vSTe2uJ4WDr7onYuqP N/Bz2m82k26K7xrediNiGXQwEbFMpp7eF25zgbKoaxaFuNTssBHf73FWjkeFxg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT0oV-0000Np-SW; Fri, 17 Feb 2023 08:30:11 -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 1pT0oR-0000Ng-Dt for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 08:30:08 -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 1pT0oO-0003R3-Rh for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 08:30:07 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 14A7D240355 for ; Fri, 17 Feb 2023 14:30:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676640602; bh=clhSjlIZNhuueUF5/t5yI6ksKQdjbO9Qele+HPpqnvA=; h=From:To:Cc:Subject:Date:From; b=XddV+H8e4FadNpBwxuiO8RR66M2yg8ZjU38L0HyF1upXbmkRm6flIB1Qj+eiXpJ8q /+X4usu4bcXdFcPWhJmeM2PITiM8UR2Oh8Fwatn3s1Rjx853cYN9wEsaUlOEX1OWD+ KGLoygYhlE6nVgHa/96bOCbjcYitrpg2BkL/XE3f1hSYwQF0N+nlEe/NKotliSJ7XA 2uZ9R4OUvc7CJ7C/jAv1TDZOa9NzcBPlzJvNL1PdQAGbLvEvEgOOD5TTvMjmgghAca x4TRMvA85ukPFKPzCuKRIxczuAYgN2jbU+31vzwd/HSnQX/OEfoIiZHHfmwUkVx9Oz v7RgVm9xlrcdg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PJCNT2SXsz6trw; Fri, 17 Feb 2023 14:30:01 +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: <20230217131845.ein4q6ig2gcytjtc@settat> References: <20230215184951.edu6n6k57lmfnqxz@settat> <87a61e4qcg.fsf@localhost> <20230216102249.uxhkbezoheb4mvdi@settat> <87fsb4d0ih.fsf@localhost> <20230217131845.ein4q6ig2gcytjtc@settat> Date: Fri, 17 Feb 2023 13:30:37 +0000 Message-ID: <873574berm.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: BEFD811A76 X-Spam-Score: -10.91 X-Migadu-Spam-Score: -10.91 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: qJVCYF3NfNuD Bruno BEAUFILS writes: > On Fri, Feb 17, 2023 at 10:55:34AM +0000, Ihor Radchenko wrote: >> > How so? >> >> latexmk -interaction=nonstopmode > > Still do not get the problem. I though that the exit code of the > underlying process was used but after having try to understand some of > the ox-latel.el I discover that it seems to be done another way > (analysing the output if I am right). Even if we used exit code, what would it achieve? >> 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 > > I want to be able to use my file interactively as well as in batch > mode, I thus think that this proposition is not really a good solution > even if I find it elegant. You can do it in batch as well. See `org-sbe'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at