-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
revtex4 incompatibility #12
Comments
Migrated from SourceForge Logged In: YES Hi! indeed. Turns out the revtex4 does *really evil* things like throwing away all Anyway, I fixed this and the problem should no longer occur in similar Thanks for pointing this out, |
Migrated from SourceForge
|
Migrated from SourceForge Logged In: YES Hi again, turns out the CVS of sourceforge is down currently, so I cannot commit (its So, here is the diff for the impatient: In the file pgf/generic/pgf/systemlayer/pgfsys-dvips.def change the line \def\pgf@sys@postscript@header#1{\special{! #1}} to \def\pgf@sys@postscript@header#1{\AtBeginDvi{\special{! #1}}} and change the line \special{! to \pgf@sys@postscript@header{ That should do the trick. Best regards, |
Migrated from SourceForge Logged In: YES Hi, Thank you for the prompt response. Current CVS fixes the Kovid. |
Migrated from SourceForge
Author: kovidgoyal
Timestamp: 2006-04-04 03:32:15
Hi,
pgf/tikz appears to be incompatible with revtex4
(document class provided by the American Physical
Society http://authors.aps.org/revtex4\)
latex main.tex && dvips main.dvi && ps2pdf main.ps
on the following documents produces an error at the
ps2pdf stage and the generated ps is not viewable.
\documentclass[twocolumn]{revtex4}
\usepackage{tikz}
\begin{document}
\title{test}
\maketitle
\begin{tikzpicture}
\end{tikzpicture}
\end{document}
Removing either the twocolumn or the \maketitle fixes
it. pdflatex also produces correct output. The error
generated by gs is
Error: /undefined in pgfo
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval--
2 %stopped_push --nostringval-- --nostringval-- --nostringval--
false 1 %stopped_push 1 3 %oparray_pop 1
3 %oparray_pop 1 3 %oparray_pop 1
3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval--
2 %stopped_push --nostringval--
Dictionary stack:
--dict:1119/1686(ro)(G)-- --dict:0/20
(G)-- --dict:81/200(L)-- --dict:175/300(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 15748
ESP Ghostscript 815.01: Unrecoverable error, exit
code 1
Thanks,
Kovid.
The text was updated successfully, but these errors were encountered: