emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pre-PATCH] Overhaul of the LaTeX preview system


From: Yaroslav Drachov
Subject: Re: [Pre-PATCH] Overhaul of the LaTeX preview system
Date: Wed, 18 Dec 2024 21:08:14 +0300
User-agent: mu4e 1.12.7; emacs 29.4

Karthik,

Thanks! But at first this option doesn't solve the problem with absolute paths either, does it?
Best wishes,
Yaroslav

Karthik Chikmagalur <karthikchikmagalur@gmail.com> writes:

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 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 
‘ox-html.el’.
LaTeX preview options that apply to generated images.
This is a HTML-specific counterpart to
‘org-latex-preview-appearance-options’, which see.

This supports two extra properties,
:image-dir an html-export counterpart of ‘org-latex-preview-cache’, and :inline a list of image format symbols that should not be saved according to :image-dir, but instead inlined in the generated HTML.
            Valid format symbols are:
- png, to inline png images using <img> with a data URI - svg, to inline svg images using <img> with a data URI - svg-embed, to inline svg images using an <svg> element. This is only applied when used along with svg, as in
              (svg svg-embed).
--8<---------------cut here---------------end--------------->8---
Karthik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]