From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id MBlJJ7cuIGZEcgEAqHPOHw:P1 (envelope-from ) for ; Wed, 17 Apr 2024 22:19:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MBlJJ7cuIGZEcgEAqHPOHw (envelope-from ) for ; Wed, 17 Apr 2024 22:19:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FoD6EP3s; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713385143; a=rsa-sha256; cv=none; b=XhUN5pNrDcugRssAgl7HSM6XEVzBzwjMJE2hQcguSrjRwtr7FMjYYDeLUOwpGMWwuw8R/9 UDpmjBD7Fq1lwKcdR2Wo4aOdnZ3wKgo1JVZpGdRH6sqXdQaXM9HP+//5SejP0CxbMRfjI9 cXe9/q2irktmL66gv8uzsXGGa9k1f4ZbixYx1VIUfhpwcWCRfWrBNCOLZTp3y9DTXGYOSU adoZM9fK3bgS9zT81wgsWLCqOwUAH82tR7kOrPJw6X8bVDVU5ypldbaBAGA32XasUqRMCj RJfkALsWtup7dyFPYX6UrSmtBXxRGNW62tL/L//ujWeLGRg+5QBnKO8Y7hYHuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FoD6EP3s; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713385143; 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=1CU0fZcIZCa78xtAollkVqZ7lkHT4/gOlbokTrjpEHE=; b=leyMvwhkSBZHTBZVkVv4jTLibItsOmHx8aBW7QqkUpDJAsySGUAc87AgS0qlQXJvdFruKn dnOhm5/hRp5MefBPAo201Z6SR9tHhRBPn8aBW5sekQ6rpXqRpOEaNkMdNujbDXRC3sBlgx aG5QaMP00Eb2e332ufOIkQpTzi2/G7FeWU/275EEXBcwe2GVvdAccolN3mclwSKvqBGA49 0+IqLwrEK1CifZcC8VxTXIxhssj284gPWNLFrEuT+Rka02FkiACEMloCyZMPq9v6qHdxxo D2jC+k59nRcWL1Z12YihSZAhrVkRPwQrqgNgZQMggAJPl1ZuWDLOmIKmqdSPrA== 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 3565072FB8 for ; Wed, 17 Apr 2024 22:19:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxBjQ-00089W-GQ; Wed, 17 Apr 2024 16:18:12 -0400 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 1rxBjO-000881-9G for emacs-orgmode@gnu.org; Wed, 17 Apr 2024 16:18:10 -0400 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 1rxBjL-0002Vx-S0 for emacs-orgmode@gnu.org; Wed, 17 Apr 2024 16:18:10 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 54D28240027 for ; Wed, 17 Apr 2024 22:18:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1713385085; bh=oaqPKrXZPmslKRRMSlbBMNlL3B7DhrqM+cOE7tlS3bo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=FoD6EP3svUiRloACyPGSy2qgUnGmbvtoMOpm2X0XtWBTXqQLZWhdpZm9o+3MJcSm/ 82UYnDyqKPDUlhvDkCFHkKzqsqaNxtQBJYKJj4cSY2+K9RlqlQFvsLmD04xjS0Zdk1 J+xsd/eOoFHtOika1MzzjRSycGitA4KwQqdzUjbVCpiiU/mfEXE9OtsfKPAncLeuOk n9xNB5BeaWX5MCIGSzggrLk8mGCqS1p2a2FbUeh5O+456d1o0An4TdKn2Zip0AdMPx mf6V1BXwxfUilDa1yKx7qZ1/d2xB1xk21LVJbegqtZ1P76LsH3j8a39EbhytXsEU8Z u9CXwTjwIIi2w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VKXK85G8kz6tvn; Wed, 17 Apr 2024 22:18:04 +0200 (CEST) From: Ihor Radchenko To: Emmanuel Charpentier Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] LaTeX preview should use a subdirectory in /tmp In-Reply-To: <59096bd365ccf1cb3ec2b45b0f2ecb5c508ded34.camel@free.fr> References: <70491d4bb65173aef34296dd71d7a1e55872bf26.camel@free.fr> <87frvkaqat.fsf@localhost> <59096bd365ccf1cb3ec2b45b0f2ecb5c508ded34.camel@free.fr> Date: Wed, 17 Apr 2024 20:18:44 +0000 Message-ID: <87zftr4uaj.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.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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -9.39 X-Migadu-Queue-Id: 3565072FB8 X-Migadu-Spam-Score: -9.39 X-Migadu-Scanner: mx10.migadu.com X-TUID: 1+oCS7NDLyEC Emmanuel Charpentier writes: >> Assuming that your `org-preview-latex-default-process' is using the >> default value of 'dvipng, does it help if you change the image >> convertor >> command to use absolute path? > > I didn't know that one could do that : the placeholders are not well > documented... Yeah. This particular option is missing from the docstring of `org-preview-latex-process-alist'. >> (plist-put (alist-get 'dvipng org-preview-latex-process-alist) >> =C2=A0=C2=A0 :image-converter >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 '("dvipng -= D %D -T tight -o %O %F")) > > Nope, same problem : the *Org Preview LaTeX Output* buffer says : > > ../../../../../tmp/orgtexSyy18r.dvi: No such file or directory > This is dvipng 1.15 Copyright 2002-2015 Jan-Ake Larsson > > If I understand it correctly, the %F placeholder should be an > *absolute* filename. It is not... > > Couldn't the output directory of the :latex-compiler element being > hardcoded to, say, the curerent directory or a subdirectory thereof, > and ditto for the input directory of :image-converter ? What if you do M-x trace-function org-compile-file-commands and run the preview. Then, a buffer should appear listing the command expansions used during the preview process. May you then share that buffer? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at