Hello Ikumi,
On 04/09/2025, Ikumi Keita wrote:
>> Are you able to provide a recipe for this error at all?
>
> Sure.
Thanks for this. Embarrassingly, I had some changes that I somehow failed to
push to the repo. Hence the discrepancy between our experiences.
My apologies for the confusion, please pull the changes which should have
everything fixed now.
> Ah, sorry. Yes, that's the case for most of the ordinary math
> expressions, whereas I'm referring to the chunk causing intentional
> error, namely:
> Wird nun $\ifPreview\special{ps: junk}\fi f \geq 0.5$, wie sich durch
I still don't see this one. But maybe with the fix I pushed it will work out
anyways?
> This recipe works as you described, thanks. (Previous recipe has
> $A
> instead of
> $ABQAq$
> in the sample tex file, probably that's the reason.)
Apologies. I just checked and it was a copy-paste mistake in the original
example.
I fixed these issues of orphan files and folders in `preview-point` and in this
branch of auctex
https://github.com/haji-ali/auctex/tree/preview-point
Included as well is a fix for saving ini files in the TeX-output-dir which Uwe
reported. The three commits in this branch are just bug fixes which I needed
for preview-point, with no additional features or almost no breakage of the
interface (excepting a change to the format-cons inside `preview-dumped-alist`).
I plan two other commits:
- One to implement dvisvgm in preview.el: My approach will be to re-use the
code of dvipng, but allow `preview-dvipng-command` to be a function so that it
can construct the command of `dvisvgm`. There is a lot of code duplication in
preview.el between dvips and dvipng, and adding dvisvgm would duplicate even
more code, unless we refactor the code like I do in preview-point which would
introduce some significant changes. Let me know what you think.
- Another commit to add preview-point and buframe. Not sure how to include
these (as separate files or part of preview.el).
Best regards,
-- Al