From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yJ1JHgnQT2PPrAAAbAwnHQ (envelope-from ) for ; Wed, 19 Oct 2022 12:23:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eLc5HgnQT2MfwwAAauVa8A (envelope-from ) for ; Wed, 19 Oct 2022 12:23:05 +0200 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 47124F963 for ; Wed, 19 Oct 2022 12:23:05 +0200 (CEST) Received: from localhost ([::1]:56792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol6E4-0004uk-DF for larch@yhetil.org; Wed, 19 Oct 2022 06:23:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol6BR-0004qw-Pk for emacs-orgmode@gnu.org; Wed, 19 Oct 2022 06:20:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44319) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol6BQ-0001cW-1P for emacs-orgmode@gnu.org; Wed, 19 Oct 2022 06:20:21 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 23BCA240103 for ; Wed, 19 Oct 2022 12:20:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666174818; bh=ll3BBk57eTJsN7DzrSdTChNLpCfhs+dVklQITkRj9RI=; h=From:To:Cc:Subject:Date:From; b=IkNX3ByJ9NAbhUUKIa/kK39XXeRa/XZ0kkE3xeWIQfBctjKJrs6p+DZhRAtvm+8i9 ObvEoEIsIdSvXGruIXYMy5AACGmmSU0EqJRqy3IhfFk0NyUFVegOFzXAkENQ4RutPk v9+oFEp6HigYGLliDXcbNz7kaOO6zDZx9Il0mkLCCoBmXEq7RfaJivI4o3cSlWWUEm m+rPT13I12lvsWeoELpOQCiNQwG7N5klzcvxm1VeZbBkOE/lvik59NvJL7ZTfe9oYR pKyOypVdJ9X/zwGxRtoGQhA9hTjoMJoDe0TEQhkYyEMrrSvoWIxykmr7vd+gxuHiei /Kt3S1N2zfBAA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MsmvP0mdSz9rxL; Wed, 19 Oct 2022 12:20:16 +0200 (CEST) From: Ihor Radchenko To: pquessev@gmail.com Cc: emacs-orgmode@gnu.org Subject: Re: Error during PDF export but the PDF file is exported In-Reply-To: <82zgdsno6w.fsf@gmail.com> References: <82sfwkknm5.fsf@gmail.com> <87y1tgnji2.fsf@localhost> <821qr6n7ue.fsf@gmail.com> <871qr6r7op.fsf@localhost> <82zgdsno6w.fsf@gmail.com> Date: Wed, 19 Oct 2022 10:21:02 +0000 Message-ID: <87a65sazch.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666174985; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Qh9lrSJX3vfuw55z6JWQ6UyUIvAsU1VYA1QysDAVbtU=; b=fhDLHwNCZk7+VvLlVnXgG5UORomsHVAekJqEEz/lWXp8gAu1so/WCHjZvYiOOciJMLPgmp 82De/1gXrPRbF4ciMUi7skcB98cMUR/A8gNSrRI4hCV8kSBcVrn0slzXmGJiaiKRA4ErRK WIfsvscDISa1ZHP15WlrT8PuFVrX3gyLz2Go3Oa96GBsXoPSCnDxAAnQUozKkxxd0vf1aw 9X54HOgv18RzryMiQamYzhfhqR9IGB50y+ragtcwdTvF8AJF/rVYCXgTDmUZ6+r/AgscQg fMdRw2k+hM6e5Hz4+f5QY98XfZ9zEKhhVOgK3M6dK+EBFF6IGkuNYt/ks+vgjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666174985; a=rsa-sha256; cv=none; b=GmntZQq7chV3e++aN/1VZD3Pbm8qAZWb/mWJQtWjSp3UVEIZW3kSghbHEKtqUVLeid2gav gCBlqxn7Dh42xhYiU6Co/8fbvlsJVmTJJfGDcnHIOTwDp85sB5YQwAHujUhpZou35ZmAQj EAGP++xQEwcE1upgRWMQbntdZDsFxKPo9iIfMBANOf6k2AiSg0A6g+dRDgP9wwbpUwsVOt HZSfhWL6O38nxPXAHa1jR/Wr73yzK+s5C7cT4UVIWElMZob3lF8jf3TcY3lLrUwXpmmGvo uL8WyeuBtiJco7NCb2sAdAOovQValf95jM6VZIwWOGapxOqZvJ2lix+y3I1iVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IkNX3ByJ; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IkNX3ByJ; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: 47124F963 X-Spam-Score: -1.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5RzS3xZJO/mf [Adding Org mailing list back to the loop. Someone forgot reply all in the earlier messages] Pascal Quesseveur writes: >>"IR" =3D=3D Ihor Radchenko a =C3=A9crit=C2=A0: > > IR> No, if there is an error when running LaTeX. No PDF file might be > IR> produced in some scenarios. And we need to clearly communicate such > IR> scenarios to the user. > > Here is a patch to org-macs.el (from Emacs 28.1) that works for me. I > have checked with files on a server whose current date was behind my > PC. I also checked with a sync server and with local files. Thanks! I think that creating a temporary file locally is excessive. You could guard the logic behind `file-remote-p'. Also, can you prepare a proper patch? See https://orgmode.org/worg/org-contribute.html#first-patch --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at