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 MCFZMoUpY2cIOQAAqHPOHw:P1 (envelope-from ) for ; Wed, 18 Dec 2024 19:59:01 +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 MCFZMoUpY2cIOQAAqHPOHw (envelope-from ) for ; Wed, 18 Dec 2024 20:59:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=SBGxZ+Ek; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734551941; 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=Y0f9bltqkW71vQU3RypCJas7s4Acuc9V5738VX8a+lU=; b=phsiN8MhqpD5MYM3chVkzCkfLwklnbcjjVGka8mXt0zLM3x2Dh/bfAcPO/WOGJvbl+aDh+ OjGCV1wNzZWnh5NooMB9HO5tNQDQdvf6wh7YcTvdEghzly6OmYc91jU2mFeexlL6xpOZzO /21SqMwNKbvQUq4yJjrZoJii0urp7Fp7n4J0r0cEeMcGy0MSm26VuV803QMwkN7a6GpD/j 9yaUApeuQ9G3o/xm8BxApFSUDSWGtmGhBNEhn0npL9g004kJywi2PfxURQRgXQ0ACqql6r IhGlaFiXVw3RqyUnjMMr31I0cAwEefg/VQPsdE41DWi4TPI9mc0bgoCKlLAOoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734551941; a=rsa-sha256; cv=none; b=qSNHxOYYU9KCn0wyBktlsu2NJbKJyG6mJYjw1h6exP/v7OMpqsv/LODTHd67BH+ONpxLNY p3sJXXB8g3NR+vUAO0sh4pG+nMykeCRi46QLCHa3ebGDzg+enyLmJvKgpgEi1t4mM5ldzA a0HrT69ffvhtBPdSfM/afWL8DWpuqTkn8wP8xmgNZingdtxPPWCHOEjxdxw+jjn/5h1HmE tVxukgw0t3yG1eLM0xwrSkcPWd530mbjv02MZBaST5s30NU5gdobTYoMC5U664NEtpgkqS a8AeIdEBaTWxA8oog+S/Sx14beU7p8PFX1H5xydsor1RK2ULIN6meGqrUiFc/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=SBGxZ+Ek; 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=gmail.com 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 5EED279719 for ; Wed, 18 Dec 2024 20:59:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tO0BU-0002fm-GZ; Wed, 18 Dec 2024 14:58:16 -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 1tO0BS-0002fd-8u for emacs-orgmode@gnu.org; Wed, 18 Dec 2024 14:58:14 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tO0BP-0002bl-Hz for emacs-orgmode@gnu.org; Wed, 18 Dec 2024 14:58:14 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-5401c68b89eso98747e87.0 for ; Wed, 18 Dec 2024 11:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734551889; x=1735156689; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Y0f9bltqkW71vQU3RypCJas7s4Acuc9V5738VX8a+lU=; b=SBGxZ+EkqLUbdORVq6UYoubrVJQz5mG0eeXmmJyLDJYSEnM9TuDmshY9/vdGySLRzh 2Gy9GWDp/3EGLFzewYgpm41xd0pjRekoTHD108kpqWdSJuxgyeyugNwRfC6gCZ3RQ8H6 KqXb95Qpq/0gGpbTTYS4cwf5OZsvGs0Y1B7vjmbKv+y/fp9XA/89BMSrYLw0IJUZcjgR oYurGogvM485xOC3GC6ef7fosgvuacJDmkV7RLKzyjf6mg2n3QtQEa7berc5fRL6H04C DCT4aL2WcxZBJkhiU1RX10A6UF9Di1hERDEmsn1nFP1V3kRk2iaXaTujXUUMLBh6Sgmz a48w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734551889; x=1735156689; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Y0f9bltqkW71vQU3RypCJas7s4Acuc9V5738VX8a+lU=; b=N32/nIyZhTzXvnwQtJddvQApyhqXGF7PODI5wvw2o3R+U33pG9IxH8Tss0T2kFunyb uy6lMcYjDG4C1VHWYD0Ut7iqIsdxsAwgGMLjTo4kR41EF7+DkHghHA2VNllixIsDfCb4 tZzPWt8F0btQmbzPuwlrfuMMTSqE4BbUCPQc2qUwMcBXMsU30sLSq93d++G17FtunpFT dRJaLuNTEk/V4aHufVSzm0/FxBx08JI9J4aywZTSCFtaPXpiA+rrIiBQ7Bk1cN9tmKHs 25V6W5VWH7+D9j+qxHNBHrkf59K31po6cZegN0kJYRVju6f0TK/mifhAErXzp3MBusxw AW1Q== X-Forwarded-Encrypted: i=1; AJvYcCXht9S/7W/7wakVwdTNdvulRBxV/0HpMi0DiRZ+vSbI4DjOMaed5P2pUhZpZhyoIF5PkpYhfSyjuGqc/1FB@gnu.org X-Gm-Message-State: AOJu0Yy7eeSRT7pFsidtRPepXkV/qp/bHseqHU/D4s0VrC37jzPiqjqP wgnCEb+YfAyuDjNrruRlKO0MHuMKQzD99+munZSRrZqnYqCx/Hd9 X-Gm-Gg: ASbGncuQqvLzGch8q5+HZSbJ347jZAHtHCAv0t7kpHnn0US5618XvO6sfFl6Hd1DD7k Qq/wWLNPAVxf4zTf1sSas0cF99XxJTB3P3ApdFkdmVgVxc1HYo64+VbSAG+0H3DIpvR8IV9J5um eJDiNqEdUVgS7GgYX99/9WArmUG63eWL63SKQeQYpY1E1Cwub/ly6IP+3gdd3rKvdyoSHGvHVZZ nX8Y1rB9xF1hXmsVq+2fFP+9HZnVGC0JoXlEBM2EZtEz9hsTP5kX1Db X-Google-Smtp-Source: AGHT+IE3WWF/kg8mlJr3gLsoF+T/OoxlMKbmEbY+le1/y6ozRLHg6g+wjTkTcrUzM6M7P0ZiEgVB8Q== X-Received: by 2002:a05:6512:eaa:b0:540:3566:5396 with SMTP id 2adb3069b0e04-54221318b49mr154446e87.27.1734551888625; Wed, 18 Dec 2024 11:58:08 -0800 (PST) Received: from cutie ([93.175.12.199]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54120c204e0sm1544654e87.246.2024.12.18.11.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2024 11:58:07 -0800 (PST) From: Yaroslav Drachov To: Karthik Chikmagalur Cc: visuweshm@gmail.com, emacs-orgmode@gnu.org, orgmode@tec.tecosaur.net Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system In-Reply-To: <85ttb0oodt.fsf@gmail.com> (Yaroslav Drachov's message of "Wed, 18 Dec 2024 21:08:14 +0300") References: <85zfksoqw5.fsf@gmail.com> <87ikrg9a1m.fsf@gmail.com> <85ttb0oodt.fsf@gmail.com> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Wed, 18 Dec 2024 22:58:05 +0300 Message-ID: <85o718ojaq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=drachov.yaroslav@gmail.com; helo=mail-lf1-x129.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 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-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -6.46 X-Spam-Score: -6.46 X-Migadu-Queue-Id: 5EED279719 X-TUID: rfdSqiUoeTw/ Oh, it turns out that inline images are even formatted better than=20 non-inline ones. I think problem is resolved. Thanks again! Best wishes, Yaroslav Yaroslav Drachov writes: > Karthik, > > Thanks! But at first this option doesn't solve the problem with > absolute paths either, does it? > > Best wishes, > Yaroslav > > Karthik Chikmagalur writes: > >>> even when org-latex-preview-cache variable is set to=20 >>> "./preview/" >>> in >>> the relative form. Links are handled incorrently in the=20 >>> published >>> project, and svg links on the website point to nothing on=20 >>> remote >>> machine. >>> >>> I don't know how to avoid absolute path naming, anyone faced=20 >>> this >>> issue? >> >> `org-latex-preview-cache' is for in-buffer previews only. See >> `org-html-latex-image-options', whose docstring is reproduced=20 >> here: >> >> --8<---------------cut=20 >> here---------------start------------->8--- >> org-html-latex-image-options is a variable defined in=20 >> =E2=80=98ox-html.el=E2=80=99. >> >> LaTeX preview options that apply to generated images. >> This is a HTML-specific counterpart to >> =E2=80=98org-latex-preview-appearance-options=E2=80=99, which see. >> >> This supports two extra properties, >> :image-dir an html-export counterpart of=20 >> =E2=80=98org-latex-preview-cache=E2=80=99, >> and >> :inline a list of image format symbols that should not be=20 >> saved >> according >> to :image-dir, but instead inlined in the generated >> HTML. >> Valid format symbols are: >> - png, to inline png images using with a data >> URI >> - svg, to inline svg images using with a data >> URI >> - svg-embed, to inline svg images using an >> element. >> This is only applied when used along with svg, as >> in >> (svg svg-embed). >> --8<---------------cut=20 >> here---------------end--------------->8--- >> >> Karthik