bug-auctex
[Top][All Lists]
Advanced

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

bug#19499: 11.88; preview-buffer with tikz and \newpage produces off by


From: Arash Esbati
Subject: bug#19499: 11.88; preview-buffer with tikz and \newpage produces off by one image placement.
Date: Sun, 03 Mar 2024 15:54:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Stephen Brennan <brenns10@gmail.com> writes:

> When tikz is included and preview-buffer is run, the first math preview
> after `\newpage' will have a blank preview image.  The subsequent image
> will display the preview for the previous math expression, and so on.
> For example, with this input file:
>
> --- BEGIN EXAMPLE FILE
> \documentclass{article}
> \usepackage{tikz}
> \begin{document}
> $x^1$
> \newpage
> $x^2$
> $x^3$
> \end{document}
> --- END EXAMPLE FILE
>
> The preview for $x^1$ displays properly.  The preview for $x^2$ displays
> a blank image, and the preview for $x^3$ displays an image of $x^2$.  If
> you comment out the `\usepackage{tikz}' or the `\newpage', the previews
> run correctly.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.  And sorry the premature mail I sent.)

This is what I get with a recent AUCTeX and Emacs:

PNG image

The result looks Ok to me.  I'm closing this report for now.  We can
reopen if you get other results.

Best, Arash

reply via email to

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