[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/preview/latex/preview.dtx
From: |
Jan-Åke Larsson |
Subject: |
[AUCTeX-diffs] Changes to auctex/preview/latex/preview.dtx |
Date: |
Thu, 30 Jun 2005 04:12:13 -0400 |
Index: auctex/preview/latex/preview.dtx
diff -u auctex/preview/latex/preview.dtx:1.106
auctex/preview/latex/preview.dtx:1.107
--- auctex/preview/latex/preview.dtx:1.106 Tue Jun 28 07:10:05 2005
+++ auctex/preview/latex/preview.dtx Thu Jun 30 08:12:13 2005
@@ -436,11 +436,11 @@
\NeedsTeXFormat{LaTeX2e} address@hidden #1#2$#3:
address@hidden #2#4 $}} address@hidden #1 #2${#1}
address@hidden@version $Name: $ address@hidden@empty
address@hidden@version CVS-$Revision: 1.106 $ \else \begingroup
address@hidden@version CVS-$Revision: 1.107 $ \else \begingroup
\lccode`\_=`. \catcode`\_=12 \def\next Release_{}
\edef\next{\lowercase{\endgroup
address@hidden@version}}} \next \fi
address@hidden $Date: 2005/06/28 07:10:05 $
address@hidden $Date: 2005/06/30 08:12:13 $
\edef\next{\noexpand\ProvidesPackage{preview}%
[\next\space address@hidden (AUCTeX/preview-latex)]}
\next
@@ -1561,10 +1561,11 @@
%<tightpage>address@hidden
% \end{macrocode}
% Backwards-compatibility. Once we are certain that dvipng-1.6 or
-% later is widely used, this can be exchanged for the simple
-% |\special{!/address@hidden true def}|
+% later is widely used, the three following specials can be exchanged
+% for the simple |\special{!/address@hidden true def}|
% \begin{macrocode}
-%<tightpage> \special{!/address@hidden true def (}
+%<tightpage> \special{!/address@hidden true def (%
+%<tightpage> compatibility PostScript comment for dvipng<=1.5 }
%<tightpage> \special{!userdict begin/bop-hook{%
%<tightpage> 7{currentfile token not{stop}if
%<tightpage> 65781.76 div DVImag mul}repeat
@@ -1577,9 +1578,13 @@
%<tightpage> /PageOffset[7 -2 roll [1 1 dtransform exch]%
%<tightpage> {0 ge{neg}if exch}forall]>>setpagedevice%
%<tightpage> //bop-hook exec}bind def end}
-%<tightpage> \special{!userdict 7{currentfile token not{stop}if 65781.76 div
}) pop}
-% \end{macrocode}
-% End of backwards-compatibility code.
+%<tightpage> \special{!userdict (some extra code to avoid
+%<tightpage> dvipng>=1.6 unknown special:
+%<tightpage> 7{currentfile token not{stop}if 65781.76 div })) pop}
+% \end{macrocode}
+% The ``userdict'' at the start of the last special is also there to
+% avoid an unknown special in dvipng<=1.6. This is the end of the
+% backwards-compatibility code.
% \begin{macrocode}
%<tightpage> \special{!userdict begin/bop-hook{%
%<tightpage> preview-bop-level 0 le{%