From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp1.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 OIV8AlsWY2fylAAA62LTzQ:P1 (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 18 Dec 2024 18:37:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OIV8AlsWY2fylAAA62LTzQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Wed, 18 Dec 2024 19:37:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=fg3bjiiO; 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=1734547035; 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=ZyfS8jH6o9oULbXwgaLnpJfW7iyvfE9MoCww9NJsPMs=; b=GGshQTfDZIspWgvAr6T7FE9JxYBlMJ9lERt4qLyMXSWqhGZezxiEJQbCPTSTi6wtj95J1p u3VUlt2QqAW5OQ+zitPcFyAkOJHpLdb7DaBJyJ4ZEG35H58WqCRzLN9t57UBG7sKD/I7I+ Xg4h4SKxncIJN43FNASPLj8k3OanZBD4meNHxEN/vVb+4mHAK1UhZKOdcwEQfy2AsF/ofD 7+tQPwPD/AlY7amWxz3HTNvcvEzDTazOwFxB3/IVX06kT1t5g5jzVrskYTt6yIIo9mHi9e KErtxjlkJsEiRVrdycnj5WRrLTwFKoLmr+9ntiiLd3EIFvxq9kofa5ctv44wzw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734547035; a=rsa-sha256; cv=none; b=c06dxaKHeHmPFak9wC1MJ8CaiLOUlQj0M3NZDyhaUATcQEYjf0ZIkNYIQ70YoYIHRu5UaB j1XvjoN6gtUBChzc9qij0JYCqsgHytcxSXagSdaqGfJP6biTGTtSOfaH0g0r6G8u53oDHl kZSZ6YWYXjdTYVrPL38Gn4wj44Grks9me/GaBK3piyJwc1sCxhoX+/ADl4y/RoK503sN6t QJgGixumfFGeEgKjMqSYJri7TIYdwhjEMvSEGEhkO6d7PXRZ1pEh8TfJxqA4brYZL+A7PO GWUgiBFMJ+3VznIuKTj50SM5oI+ViK5WrNJp9OLxhqDg2B/Fa2pDWGy9wvE4Qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=fg3bjiiO; 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 CBA09463DF for <larch@yhetil.org>; Wed, 18 Dec 2024 19:37:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces@gnu.org>) id 1tNyT8-0006zY-Co; Wed, 18 Dec 2024 13:08:22 -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 <drachov.yaroslav@gmail.com>) id 1tNyT6-0006zG-I0 for emacs-orgmode@gnu.org; Wed, 18 Dec 2024 13:08:20 -0500 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <drachov.yaroslav@gmail.com>) id 1tNyT5-0006Qq-1U for emacs-orgmode@gnu.org; Wed, 18 Dec 2024 13:08:20 -0500 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-53df80eeeedso6620084e87.2 for <emacs-orgmode@gnu.org>; Wed, 18 Dec 2024 10:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734545297; x=1735150097; 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=ZyfS8jH6o9oULbXwgaLnpJfW7iyvfE9MoCww9NJsPMs=; b=fg3bjiiOtrnu0jlpv01hGCOs364RZsw5f1P6wh7TVbRtDHaTjVmPHiE1WAuw3ktbIY WbzGRyHaaRD1cP6/V2kEk7+SNjsVwVAS20U8dowVGJ0gzc23qc3mqNqopqLxBBTsKYAw M0rJGyFxbyY9pu7D7+mhMNKfo3SBXJ0tQEMKvv+hW6Kjx4yS8oOG7r6eEQNgWf7SlIky 4mYTgOxz1gPKOTkIHjcs5gnhsaT5odUwSJ+JLhupk+uykkEIzpKCQzdRy7G/HIoNUsKr 4klyWW3pQ3xE30hb17u+fKd1gqg6EPkwBDcAxI1fFrUz1L+qlO6rD/dx8vXj7BfEd7f2 sL3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734545297; x=1735150097; 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=ZyfS8jH6o9oULbXwgaLnpJfW7iyvfE9MoCww9NJsPMs=; b=ubXdTDf1nH5bBRNd+ONtl122tzl4Sr8v4AVZen8Y6upYa/407AhpQNw+OkcukUBBXQ 14VEryoi1xOPM7HkzKVIbRcLzwz9Enl+Y2Dz8xfygELRDWipOsw1X+QM2E4vc2NiYlgM z9nPZz7ONgHzawkRH0pNYG7D/sPiM5EiBQN9Z1QIjCfmw94WmMp5kudROAmtljKWOiMy X2Trikyb3/BQA8wxu96Y/0fnO7mIsPhgSumuIYKX4aT5DHyIYRvdeCgvKkJuVWplNDiB du/6ZTrWzaACu0s6O3LPTzPi16XcHENrhpgFy7GRaO6uH8yyq03/bwfkla30A2o98pe6 ZwWA== X-Gm-Message-State: AOJu0YwOwhoAqbCa7SEgHb/nZtYrnQreZ5KKpBttrx+SXDX1KDZFLw4P NCDGzNt6Tou2ANIFIgoLfjeNFedsiBIR9FeKnWdasC4Z1WaM2WKw X-Gm-Gg: ASbGncvDhe2Mv4DIqf6rufnth3mEzuxr7vWNL+iLS9XMLIRbR1CtdAGRI7P9KgPiJB0 0RZvIwucISy8Dr5/2kyB+s6BNWu+tVcMBKSPZE62N2LgWkv3UKZy256r7UNt4/inrOgr+TfZXkX iI0jTH2NDIH8ZMiXLX6QjkTzYd26/ulJLrnIRqpjd4Nszc9jwJOz06fnXxXPtL34iEu5yQQcFxs 99dqUp/0TDwB++Q2+CrRryMW3Cp21BGZty/1h3AoBksm6ygoX6BR9cq X-Google-Smtp-Source: AGHT+IFKeAx8IeTvWdy6Ly0xftdF8pEpTo7BpEvdC1xVe04LvCsKkKHK6UubsydCcluRvfOT6u/yqQ== X-Received: by 2002:ac2:4e08:0:b0:540:353a:dfa3 with SMTP id 2adb3069b0e04-541e673bf38mr1492130e87.11.1734545296724; Wed, 18 Dec 2024 10:08:16 -0800 (PST) Received: from cutie ([93.175.12.199]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54120bffd27sm1537769e87.163.2024.12.18.10.08.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2024 10:08:16 -0800 (PST) From: Yaroslav Drachov <drachov.yaroslav@gmail.com> To: Karthik Chikmagalur <karthikchikmagalur@gmail.com>, visuweshm@gmail.com Cc: emacs-orgmode@gnu.org, orgmode@tec.tecosaur.net Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system In-Reply-To: <87ikrg9a1m.fsf@gmail.com> (Karthik Chikmagalur's message of "Wed, 18 Dec 2024 09:27:01 -0800") References: <85zfksoqw5.fsf@gmail.com> <87ikrg9a1m.fsf@gmail.com> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Wed, 18 Dec 2024 21:08:14 +0300 Message-ID: <85ttb0oodt.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::132; envelope-from=drachov.yaroslav@gmail.com; helo=mail-lf1-x132.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." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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: -9.26 X-Spam-Score: -9.26 X-Migadu-Queue-Id: CBA09463DF X-TUID: pINkfdU7+Wbd Karthik, Thanks! But at first this option doesn't solve the problem with=20 absolute paths either, does it? Best wishes, Yaroslav Karthik Chikmagalur <karthikchikmagalur@gmail.com> 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=20 >> 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=20 > HTML. > Valid format symbols are: > - png, to inline png images using <img> with a data=20 > URI > - svg, to inline svg images using <img> with a data=20 > URI > - svg-embed, to inline svg images using an <svg>=20 > element. > This is only applied when used along with svg, as=20 > in > (svg svg-embed). > --8<---------------cut=20 > here---------------end--------------->8--- > > Karthik