GNU bug report logs -
#49422
The preview package does not work with TikZ (TeXLive 2021)
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49422 in the body.
You can then email your comments to 49422 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-auctex <at> gnu.org
:
bug#49422
; Package
auctex
.
(Mon, 05 Jul 2021 20:05:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Eugene Shalygin <eugene.shalygin <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-auctex <at> gnu.org
.
(Mon, 05 Jul 2021 20:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
activating the preview package with TikZ results in
! Undefined control sequence.
\@outputpage ...istfalse \@parboxrestore \shipout
\vbox {\set <at> typeset
@protec...
The MWE (this and the log files are attached):
\documentclass{article}
\usepackage{tikz}
\usepackage[active]{preview}
% \PreviewEnvironment[]{tikzpicture}
\listfiles
\begin{document}
\begin{tikzpicture}
\end{tikzpicture}
\end{document}
Uncommenting the \PreviewEnvironment command changes the undefined command
to \pr <at> shipout. Commenting out \usepackage[active]{preview} makes the
\shipout command available.
Best regards,
Eugene
[Message part 2 (text/html, inline)]
[temptikzcode.tex (text/x-tex, attachment)]
[temptikzcode.log (text/x-log, attachment)]
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#49422
; Package
auctex
.
(Tue, 06 Jul 2021 08:38:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 49422 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Eugene,
Eugene Shalygin <eugene.shalygin <at> gmail.com> writes:
> activating the preview package with TikZ results in
> ! Undefined control sequence.
> \@outputpage ...istfalse \@parboxrestore \shipout
> \vbox {\set <at> typeset
> @protec...
>
> The MWE (this and the log files are attached):
> \documentclass{article}
> \usepackage{tikz}
> \usepackage[active]{preview}
> % \PreviewEnvironment[]{tikzpicture}
> \listfiles
> \begin{document}
>
> \begin{tikzpicture}
>
> \end{tikzpicture}
> \end{document}
>
> Uncommenting the \PreviewEnvironment command changes the undefined command
> to \pr <at> shipout. Commenting out \usepackage[active]{preview} makes the
> \shipout command available.
This is an example with TikZ where Preview-LaTeX works without problems
for me:
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{tikz}
\usepackage[displaymath,floats,graphics,footnotes,textmath]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
This is inline math $a+b=c$ and this is displayed
\[ a+b=c \]
This is a TikZ\footnote{And a footnote} picture\\[3ex]
\begin{tikzpicture}
\draw[thick,fill=yellow!50] (0,0) circle (3);
\draw[thick,fill=orange!50] (0,0) circle (2.4);
\foreach \letter [count=\i] in {A,...,Z} {
\draw[very thin] (0,0) -- ({90-\i*360/26}:3);
\path (0,0) --node[pos=.9,sloped,allow upside down,rotate=-90]
{\letter} ({360/52+90-\i*360/26}:3);
}
\foreach \letter [count=\i] in {G,H,...,Z,A,B,...,F} {
\path (0,0) --node[pos=.7,sloped,allow upside down,rotate=-90]
{\small\letter} ({360/52+90-\i*360/26}:3);
}
\end{tikzpicture}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% TeX-engine: luatex
%%% End:
--8<---------------cut here---------------end--------------->8---
The result how it looks in Emacs is attached. Maybe you can create a
real-life document instead of an empty one exhibiting your problem?
Also provide the version of Emacs and AUCTeX you're using.
Best, Arash
[x.png (image/png, attachment)]
Information forwarded
to
bug-auctex <at> gnu.org
:
bug#49422
; Package
auctex
.
(Tue, 06 Jul 2021 10:44:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 49422 <at> debbugs.gnu.org (full text, mbox):
Eugene Shalygin <eugene.shalygin <at> gmail.com> writes:
> Thank you for looking into this! I realized my TikZ does not come with
> TexLive but is installed independently and my distribution (Gentoo) did not
> update it for mothan a year. This is already fixed in TikZ (
> https://github.com/pgf-tikz/pgf/issues/923). Sorry for wasting your time.
No problem, you're welcome. I will close this issue.
Best, Arash
Added tag(s) notabug.
Request was from
Arash Esbati <arash <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 06 Jul 2021 10:44:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
49422 <at> debbugs.gnu.org and Eugene Shalygin <eugene.shalygin <at> gmail.com>
Request was from
Arash Esbati <arash <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 06 Jul 2021 10:44:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 03 Aug 2021 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.