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 UDhVDqmi7mPjzwAAbAwnHQ (envelope-from ) for ; Thu, 16 Feb 2023 22:39:53 +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 AHGoDqmi7mPyDQAA9RJhRA (envelope-from ) for ; Thu, 16 Feb 2023 22:39:53 +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 D95682C37C for ; Thu, 16 Feb 2023 22:39:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSlyC-0006f8-E2; Thu, 16 Feb 2023 16:39:12 -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 1pSlyB-0006dL-2P for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 16:39:11 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSly9-0004VM-6y for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 16:39:10 -0500 Received: from localhost ([::ffff:197.239.5.201]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000103A90.0000000063EEA27F.00005CC8; Thu, 16 Feb 2023 14:39:11 -0700 Date: Thu, 16 Feb 2023 23:51:49 +0300 From: Jean Louis 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/)] Message-ID: Mail-Followup-To: Bruno BEAUFILS , emacs-orgmode@gnu.org References: <20230215184951.edu6n6k57lmfnqxz@settat> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=_stw1.rcdrun.com-23752-1676583552-0001-2" Content-Disposition: inline In-Reply-To: <20230215184951.edu6n6k57lmfnqxz@settat> User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SBL=0.141, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676583593; a=rsa-sha256; cv=none; b=PXNNUo1xJDZywXZbjQcGBTw9qHpcvGaGvSF78Mksm041XceaeAZ3uy8qCvpFTI8aEJ8+dl k7SMoLcbD0+JUlfkFr5rYqCa9Kve9XN0UO3omrk3qjj1hDM4ovB0FTgv2o/XMfsB9iAD1q 8J9jHqyeb7B4mDhOnU8qKVMS8Wdfedun+MBhXT4CHIJUWKZWcx/D7dk7/7A2/oCik5nRoe aSTRthYupa+Z3YY1HGpZUhZvat2RgmyA9RWBp8IMBCM2542Ni3NgsfYi7N9HBmtAflvVS2 QH3DmZvTutCw7TI9ysB9v6ouxB5GGnvYG5FkUsPUOWS7WSuLXiGRYckrV5lYIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676583593; 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; bh=e1kKtc3V2k12SNoohfIENb/bBallWCPMGCT9xea3BeY=; b=Yxn0PTZ2eiPpyfSsni0sxVRLaNclcsJD5Phb4h9ThW9ZJDg0IOEx5fuWjw+3USZQkWEqX/ KY4LY7aKlqSgvXnvZya3PmBmS4dC5Dbt8mM6G8DgSo5XA9roP+JUYc3SwmXKKeIenwhcAD iScCPa3XdmbAyBP/N31LkXG0FxnVO9KOG5Hch45FVYunzrklI6UGgE4XzWQPX09npDqc70 thG4xaeVAe0QpZUVzAbIxggnTQhXYewAyjfkTydGBOAhyJx0dSo7U3W/nYVgU0o9/diGZ5 NGwqn0U2cMebRA84CqRGlkynl/nCv0VFfczKOabWQQF+hK0T9uFVZKLNqq2BYQ== Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 0.28 X-Spam-Score: 0.28 X-Migadu-Queue-Id: D95682C37C X-TUID: q6zqf0ZAAGE7 This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_stw1.rcdrun.com-23752-1676583552-0001-2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Bruno BEAUFILS [2023-02-15 21:52]: > 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. >=20 > 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. >=20 > 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. Good idea! That will avoid clutter. I can see that problem solved with simple function. One can use different and temporary directory for that file, generate PDF, and once there is no error message by `latex' command, and PDF is there, that PDF can be moved to original directory. --=20 Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ --=_stw1.rcdrun.com-23752-1676583552-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEv9/jXBKLXfDiHl8IErxRIkudxlwFAmPul2QACgkQErxRIkud xlzbKQgAkbY/KrytOFtd4y6I5pspMRp5r8T/OfUlnewFEvnuXubRFUsJLFs0dAUP VM6M/k/xPOfOmElQABsnumIZ9zyw9tzJPxbzv8prQmzBjgSr9N/a3NlWvKK9PLv+ O4Urq/QorOkGfgYGfFDNwUWOBHY9sX0rD5EUuwCQL+7h7KnDo3eUwuy+JrgxdND/ bAbLCqJZyEbZt/WYPOLxm2R6EZ4VSoyGp/HM5p3tX1hCEIjvP6kSaRp7kavZnTYA i+3bBWeAfVq6vzX9fkZIoFotaAjW9bf+E5Os6+s0EidHZkNDyKmaFbnxiX70m13Z ihOBn2pV5OLlO7fw8KeMN48Cf3VffA== =Snr1 -----END PGP SIGNATURE----- --=_stw1.rcdrun.com-23752-1676583552-0001-2--