From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 CFIjD4lC7WPTDAAAbAwnHQ (envelope-from ) for ; Wed, 15 Feb 2023 21:37:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ULA7D4lC7WM4TwAA9RJhRA (envelope-from ) for ; Wed, 15 Feb 2023 21:37:29 +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 0E1032995E for ; Wed, 15 Feb 2023 21:37:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSOWl-0005w7-Ev; Wed, 15 Feb 2023 15:37:19 -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 1pSOWk-0005vH-C5 for emacs-orgmode@gnu.org; Wed, 15 Feb 2023 15:37:18 -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 1pSOWi-0002dz-7L for emacs-orgmode@gnu.org; Wed, 15 Feb 2023 15:37:18 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3C09D240368 for ; Wed, 15 Feb 2023 21:37:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676493434; bh=ac099woz2AD2T/niQguQnMDHISptQbpD/YUKQgvt1S8=; h=From:To:Cc:Subject:Date:From; b=bFc8yXwkbre7OaT4sWC0yGRNc0Jf6zNwPRUHZ02SfTWXWCkeinyfjw+A9zedS2/4x 57dcupOPIpWBO476HNja4ZzS8YNGg9v+HNQ86Zsbe06VPiYQfP3BqhWJ7hEC0PV/jE 1Q/Mvgx1W/NBjZwVpnMXCwEuZicbn5EBrh1+oF+rLKclkVm8MfBvBoQ48Pl1CGYMTa oig+8YS5C3Qe8lbMuIKoEFfr4v34EwsomOiNxsiG4dGo6k2/8ubZ+OJuIMCu6YTKTn 5FeHDqeVcRkKKkKWug9hABeGut2zYP/F8/lBBDWnrGLQOHO11VtM/tEjIBqsNh2v0U 9VMCd2mx62nNQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PH8yJ2q4mz9rxM; Wed, 15 Feb 2023 21:37:12 +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: <20230215184951.edu6n6k57lmfnqxz@settat> References: <20230215184951.edu6n6k57lmfnqxz@settat> Date: Wed, 15 Feb 2023 20:37:51 +0000 Message-ID: <87a61e4qcg.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: 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676493449; 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=HCtqtA5BhPsuAyyHhd5EVT+HhBG9z1RvcBESfjn9Nm4=; b=JbOt4Zz7inMqr2FEE3RY1vJoGB0bRx/zvFhyt5q729pRRXwX9FhFQfi2FMCyIoJb0ROw96 NKoPpvLWO4mhR/gCUenvgR90nshtl4nqnr3s4lGaCXntEJ4PtMyXoXyOjqZS/jSpGkGHMK IlLXM/4/UFsUkTh0KY2o18yq+AANT88zCwZCkboyU5UaWTQbuExvlAa60geUTMouTw4OQq 1QfCj7cHytZoFUJ0s+rxHnkgIPgk0rOUOwAyd8LlhR/JJ6q0DT+QSDndJT7WwfK4mkULC3 +XdcnDLtv2EnhsFGLR+rZzhPrT0H4jKeAjidMmMeBEXZ7RkzrDlxqOqOhXkMLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=bFc8yXwk; 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=1676493449; a=rsa-sha256; cv=none; b=UlTzJ6nwHqe1/hy65v9Ros14wyRw1AAcZgZQiSArsDMYRbz8deplzLZT0I/MU3MdtIvkYm gIYjztz+2fHLB2ADHuE3xkYVs/URuU9an3xpJNVbKPJn+bNC29Mdu0caNPxd8GzEPVLYKS W8i7lF/+GLgKTgapyNAKs07+FLXPd29ch9MTLuCwnCJOl53zwiuVtTy8UYRSBHMmYD9Rlf PG1Zin783E167Lg5jdp8yOcNN6E2lQF4OGp2Q0mbM3fNQ7/saeC+4e6xlZGSpPyqTpcOKb fezVYP2kRQdMtwPkOecCkWL6hoQJ+UFSsq1x8fs116bJcKRsYMM4lgOf6DIjIQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.09 X-Spam-Score: -6.09 X-Migadu-Queue-Id: 0E1032995E Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=bFc8yXwk; 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 X-TUID: fhfbjIJ+Z5+T Bruno BEAUFILS writes: > When using the org-latex-export-to-pdf on any foo.org file I get the > foo.pdf file produced the right way but I also get the foo.tex file. > > I think that the whole point of exporting to pdf is only to get the pdf > file, avoiding the need to keep the latex one. > > I guess that one of org-latex-compile or org-latex-export-to-pdf > function should remove the source LaTeX file if the compile went well. The problem with LaTeX export is that it is not always possible to know if the process truly finished without errors or not. I guess we might make this a user options, if more people are interested. Meanwhile, you can tweak org-latex-logfiles-extensions adding "tex". -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at