From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qFaqH4Cn12aStgAAqHPOHw:P1 (envelope-from ) for ; Wed, 04 Sep 2024 00:19:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qFaqH4Cn12aStgAAqHPOHw (envelope-from ) for ; Wed, 04 Sep 2024 02:19:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=VCaD0Awk; dmarc=pass (policy=none) header.from=gmail.com; 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=1725409152; 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=rEhag807C20lUAUbWThx/s3tT8eK2N2FfxxkqM407sk=; b=RTVwC/2ynTVv9wDDxAeZt1j56OS4NfgjAiMTTaVMT4FIzPLN7R7KwVjKyBpz6xBvvEMSg8 LU31+TxTWQ9qWphLUreDWcS5BQE3Vmk2ajZnwWoP/JcVX4T91Qm7AE0QcV+6UoIxUJQlzx c9HTZmFGiIvCiPC8lHv0K0VPuH4+lfPZUnR3ZzXYg3F3YcXqA5/WtyXjuO+3yR1bpNIxwg Ty5rcf385K1587sCX/6Ixpr85APac9Gy2kpoeVjnkvPyu76pf1YUAilFAoH1JYHaFzSqUG +6zalxESK0wG2tG3t+mshuZqPFQEY6E56450PXBtBD1a7iNdXwkRUmEQejmqeg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725409152; a=rsa-sha256; cv=none; b=aFGQrZbJnGGSKoIwd8BT2HEuPBNUW7vmz11JV69lNjsWSzFA6wYRS51atai/6oleQHBxdP YBvBCB8hKOSSsF5CuDP9eED6iAksE1DqBOgyAjtQR6NLlBcBYHn4QM2wp+xwwHGf+skFMt xOzFYtBbcwc5L5/QrF5tN/MlC5OxorJsMmAJ4Tr0ebhFo/ZD3NVrIoWalyOcgBbdVYHzXh 0l6XNoXUSTH6WA+YZn8FT4x+bhtulJgUdH8fRnacSVFjwoPiUoP814uwdAgocQPWxrDwUX zDtVBHdBHxZ1VITyhzLJlvREC06xmt7IjNpAyUZaxsMQZU9roFcdeGbGmr/LvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=VCaD0Awk; dmarc=pass (policy=none) header.from=gmail.com; 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" 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 452E1DF39 for ; Wed, 04 Sep 2024 02:19:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sldjc-0008VS-EA; Tue, 03 Sep 2024 20:18:56 -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 1sldja-0008V1-37 for emacs-orgmode@gnu.org; Tue, 03 Sep 2024 20:18:54 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sldjY-0007Ge-DI for emacs-orgmode@gnu.org; Tue, 03 Sep 2024 20:18:53 -0400 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-20230059241so48411325ad.3 for ; Tue, 03 Sep 2024 17:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725409126; x=1726013926; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=rEhag807C20lUAUbWThx/s3tT8eK2N2FfxxkqM407sk=; b=VCaD0AwkhkPZwc1sJK5IEF45am/fSsy+dVBT30s5Il5Nc9N6TPILYVgpO8+krmh4HQ YzJLyyEJZ45yrAKWm/fZrZvZPru2brvZQzbGKAJBwHVO0QhvlPJkBzkHb1Hpc5E2OTQ6 q+koiPKZT4MAbMHOHEpx9bNrI7lfQmdEoL+xj4Byb+1u+YlIFrZP4kdq0MV0nRGat9CO 7YPCvgyFjDF1GSGdRpmHJ0QBllry093IPF+KFnD2XhPF32E0zT4ZxZ6XY8t3lKZnOxrW ztnxrXFMknJnWsDWrf4NldcOz58f2NLPZ3NVlL8AxOrdb5DKNgfFQa++CFtXw16MHtCz BpfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725409126; x=1726013926; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rEhag807C20lUAUbWThx/s3tT8eK2N2FfxxkqM407sk=; b=ElVBBUtBesoOd0YYtjS7pGsayn/yDkEVUX9vkH5l2xhwR50gbXkRno6XZ1rXTE1f2O ryLvDR/keRCumNsqiOvRfgz1x5Sib7LJU0McOdzXaO55+zVK4BT0clzY+imf0oH4/yFX VU/NEB6ebsayQONcDB2O0TR/tmINbQ1ZtlgTrGgKv5TVlA3u5+PuaTU17WgwxSJ+D3DD jgj4FhChjiCe03UM3iDl/QdgK/h5n4N9RYGLCb54x8WceFnYMUZTcaQy+Iq2g/yDY/iY iq84B0rnOTiTIktywANjnRj97rvltkQ0Je8rH5wniZqnpR8FDow6hjnn0SjqXNkItdRl UWoQ== X-Forwarded-Encrypted: i=1; AJvYcCXlMPy8N+deqyb1CRRUYzTgYbDNeFh7HI6+jway+SMCIwES++0mlVWMhq8segncLB0xDW3Wkah2IPaIw2W/@gnu.org X-Gm-Message-State: AOJu0YzqQfPkGjgZWEXYSAJLeT7Ih874LKSSWTG6zoe44Z4UlKih7nCP 0zdfNhHGrJWhJOzLtxudPG7yygpqor2195L6r28Gri0t/PpurRb0 X-Google-Smtp-Source: AGHT+IECsTmXVMfT2kIwzXMYHFta6OR5SZ06SlfBaBuBV195oMs6ackDRhsqI3pu3qLfr2C/9cJ7GQ== X-Received: by 2002:a17:902:c783:b0:1fb:93d6:9fef with SMTP id d9443c01a7336-2054be17b9dmr91875315ad.38.1725409125552; Tue, 03 Sep 2024 17:18:45 -0700 (PDT) Received: from localhost ([2600:8802:5726:2500:cefc:5844:b935:1198]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-206ae912a29sm3684855ad.57.2024.09.03.17.18.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 17:18:44 -0700 (PDT) From: Karthik Chikmagalur To: Jun Inoue , Yaroslav Drachov Cc: Ihor Radchenko , orgmode@tec.tecosaur.net, emacs-orgmode@gnu.org Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system In-Reply-To: References: <16ED0C3D-9C4E-49C0-B908-3E759BC31992@gmail.com> <87frvitp30.fsf@gmail.com> <87cyo8udza.fsf@localhost> <87le2rplrq.fsf@gmail.com> <87cylkn72b.fsf@localhost> <871q20ag88.fsf@gmail.com> Date: Tue, 03 Sep 2024 17:18:43 -0700 Message-ID: <87y1488e58.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pl1-x629.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Migadu-Spam-Score: -5.30 X-Spam-Score: -5.30 X-Migadu-Queue-Id: 452E1DF39 X-Migadu-Scanner: mx11.migadu.com X-TUID: 8HjsmoT5L4mJ Jun, thank you for the detailed explanation and fix. > * Cause > This is because org-latex-preview: > 1. Runs dvisvgm in the same directory as the .org file, and > 2. Tells dvisvgm to report the output SVG file names as relative paths > using ?svgfile, but > 3. Then expands those file names under temporary-file-directory in > org-latex-preview--dvisvgm-filter. > > So dvisvgm relativizes in one path, then org-latex-preview expands in > another. > I had gathered from other repors that this was the issue, but I didn't know how to fix it as I don't have dvisvgm 3.2 available yet. Scanning the man page for dvisvgm 3.0.3 didn't give me any hits for `svgfile'. The fix looks very simple, we'll apply it. Karthik