From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AD5yDhIGY2e0YgEAqHPOHw:P1 (envelope-from ) for ; Wed, 18 Dec 2024 17:27:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AD5yDhIGY2e0YgEAqHPOHw (envelope-from ) for ; Wed, 18 Dec 2024 18:27:46 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Nd7ustQT; 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=1734542866; 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=5ZrR87sRxpdne2rTBtMOIKzMqfHJpdMdxprcgdpAmpc=; b=Po3wu4vpYGvSKvxx1Fu3qVdj+eGTffSieEk9t96Bba/fzdilm9q8eH2RCsahEueKqu0MUq vJbGxT9uOIp7xaFkW1THJqp+6GKSTdR0OwUT2hAhh9twEoHz/bLk7TXqWno8iPhG3hMwxW jtTbuvA12iNjm3nmOQN9gWzsV9OmiZWMno0QC8Xb26RWPPwsRbG6KBgl+ckSSui3IgP8EJ 0qtiYx+PKKk+TDGr6sPDO8WS0sQQ7Sb5NHJCpSJhrFWUIb09GY3QvdfNU4mk8Xk0aC534F eS1bIdbph8G24NOG1nEJY+HgPXdLFaVvqgrUmodjGCml3VA1FW3aWxDJX7bIUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Nd7ustQT; 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-Seal: i=1; s=key1; d=yhetil.org; t=1734542866; a=rsa-sha256; cv=none; b=OhuDLb3IJrLa+0eloWwINCf4oDq0PKvuT1s1H342WONXPPvH+U4G+ywIlfxPa06teKeAAL 1FdBBkvwooxgP6O1pg/nSoXxezzQw08Kk9hiFlArEHrgczjTejl4FeObFFmBGR3OV2d2BR VcyydyKaxftaWPJD4ww+7361/GreUahiFqCD2P10B/0uiU5ZWg+u6IrgtxG79CEv83iWR3 U+tEJGNvZgaQfxh6+pS68nNIX9tX5S4Xgp+hD9T1ZW7x35jzPW9AmCX0kqIZN3F6d93Zbk 0d3WkxLcIFGU2x6/I/a4o2LYf50z/z0TSMorSsO1B/qE0iJbvSJ7b3sFJPlFKA== 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 EB17F470BA for ; Wed, 18 Dec 2024 18:27:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNxpD-0004DY-Ko; Wed, 18 Dec 2024 12:27:07 -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 1tNxpB-0004DH-Ob for emacs-orgmode@gnu.org; Wed, 18 Dec 2024 12:27:05 -0500 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNxpA-0000qq-8O for emacs-orgmode@gnu.org; Wed, 18 Dec 2024 12:27:05 -0500 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-7265c18d79bso7259670b3a.3 for ; Wed, 18 Dec 2024 09:27:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734542823; x=1735147623; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=5ZrR87sRxpdne2rTBtMOIKzMqfHJpdMdxprcgdpAmpc=; b=Nd7ustQTDRWCkd2cKnj7TVkg2dLJMFy2puNPpbLhFVqlXIJur30P2JCeOCtU7MQ+Uh D3Iwk8S/QudOGSUzogylGsC1HdrZ4NSCmBEjFx05Wa3fYFYdE8BNObJh6B97znY3YUXS 1YmtE1mHf0irjF/1WHJoTjBDQmJhqKjZC8daBP1cs94pvnrtv02JaZguFOOisRaNZkAi tjDPOcRElWGSFt9xJw7MKSdCP1sAbDX6PPb1K4CMuMQAaEOyFttgtfW5bMIEyXHE3fCx 05d5Zz1nBuqr+efgkd11fl7pZTmTqkZycPOghSsgywfpbOrbG1yykqzGxwIpD2YuyfSi VprQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734542823; x=1735147623; h=content-transfer-encoding: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=5ZrR87sRxpdne2rTBtMOIKzMqfHJpdMdxprcgdpAmpc=; b=FBdg9weyipn0uHQM1R3mCD5RHiPSRKbM/p3iKGkyZr0+15x+oQaFXtt78pj1bX1gnD +ChUY/fa58UdBHpFOHEb6XU7jotuSR2WnfN/Dr/QF8rrRBYJ8HE7gdHgyqof5ZppgzCt BqwefCJSe1rYWtjnAE5oLkEGNVwxGsB14vLI+E6WXLhvj+R2/Sj0KrQCbb2Z1GdiXe1q 6j4hIP3qZTLSHruECIOIlaqQCyIhZfZVCLSlKxxaoJKA7x8W4Xmp5NceYHf4NF9AG5UY d0lK3iaz7traLMZEg8FsAH1LK7rGqzJ0HdB0ws3W5IJv0QpZnr7Ucu6sWV1q2eRTM9C8 WaVg== X-Gm-Message-State: AOJu0YyJqQMMr0pM6ThnzeJyID/yTJJa5C+mxktz4CtO/lqmCz0AMpis uS1BJcrlfkn/ZJM4JkNUWR0aLn0GQfcjYErfV1VpThmH42ZOtmieANxO9Yyi X-Gm-Gg: ASbGnctrF0oOfxka+MLg2XP24tS1yCd6Qz5iDN+sPn03sP7yW4R9n92WjNdCwlwaPes x4OorzeBGHQm4GLjJSzJfAzbhjEXr4xvGA8hvmIR2pVED1GZp8p6an7UHS45x9nSNVvBEtksOna oWZV0O4rIqapB9yfqyJNgSocR6rw/kjdneBGe2NtrbxwtUZ7TUMJ4uN0sHL7Ed5f5V0+wqam7nz ikMfyfw2aJvPhAKsOtCEjknjZ6M4ULIuogdAAGvXy+X72VTl1MGRgACSD8S3ErBFQhX/Q== X-Google-Smtp-Source: AGHT+IH8KqoPJ4ZmoJCafGtNJkUaTxnRTtrpt2HAKD9sjRNtDTvgxN9hE/6i/Tgto5hCs/zhv71+Pg== X-Received: by 2002:a05:6a21:8dc3:b0:1db:eff0:6ae7 with SMTP id adf61e73a8af0-1e5b4883199mr5375962637.33.1734542822725; Wed, 18 Dec 2024 09:27:02 -0800 (PST) Received: from localhost ([2600:8802:5726:2500:b035:8cd1:88b5:782a]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-801d5c14ad4sm7654675a12.57.2024.12.18.09.27.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2024 09:27:02 -0800 (PST) From: Karthik Chikmagalur To: =?utf-8?B?0K/RgNC+0YHQu9Cw0LIp?= , 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: <85zfksoqw5.fsf@gmail.com> References: <85zfksoqw5.fsf@gmail.com> Date: Wed, 18 Dec 2024 09:27:01 -0800 Message-ID: <87ikrg9a1m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pf1-x42e.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.13 X-Spam-Score: -2.13 X-Migadu-Queue-Id: EB17F470BA X-TUID: CRMr8MFn05nC > even when org-latex-preview-cache variable is set to "./preview/" in > the relative form. Links are handled incorrently in the published > project, and svg links on the website point to nothing on remote > machine. > > I don't know how to avoid absolute path naming, anyone faced this=20 > issue? `org-latex-preview-cache' is for in-buffer previews only. See `org-html-latex-image-options', whose docstring is reproduced here: --8<---------------cut here---------------start------------->8--- org-html-latex-image-options is a variable defined in =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 =E2=80=98org-latex-preview-cache= =E2=80=99, and :inline a list of image format symbols that should not be saved accordi= ng 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 here---------------end--------------->8--- Karthik