1561 |
%<tightpage>\preview@delay{\AtBeginDvi{% |
%<tightpage>\preview@delay{\AtBeginDvi{% |
1562 |
% \end{macrocode} |
% \end{macrocode} |
1563 |
% Backwards-compatibility. Once we are certain that dvipng-1.6 or |
% Backwards-compatibility. Once we are certain that dvipng-1.6 or |
1564 |
% later is widely used, this can be exchanged for the simple |
% later is widely used, the three following specials can be exchanged |
1565 |
% |\special{!/preview@tightpage true def}| |
% for the simple |\special{!/preview@tightpage true def}| |
1566 |
% \begin{macrocode} |
% \begin{macrocode} |
1567 |
%<tightpage> \special{!/preview@tightpage true def (} |
%<tightpage> \special{!/preview@tightpage true def (% |
1568 |
|
%<tightpage> compatibility PostScript comment for dvipng<=1.5 } |
1569 |
%<tightpage> \special{!userdict begin/bop-hook{% |
%<tightpage> \special{!userdict begin/bop-hook{% |
1570 |
%<tightpage> 7{currentfile token not{stop}if |
%<tightpage> 7{currentfile token not{stop}if |
1571 |
%<tightpage> 65781.76 div DVImag mul}repeat |
%<tightpage> 65781.76 div DVImag mul}repeat |
1578 |
%<tightpage> /PageOffset[7 -2 roll [1 1 dtransform exch]% |
%<tightpage> /PageOffset[7 -2 roll [1 1 dtransform exch]% |
1579 |
%<tightpage> {0 ge{neg}if exch}forall]>>setpagedevice% |
%<tightpage> {0 ge{neg}if exch}forall]>>setpagedevice% |
1580 |
%<tightpage> //bop-hook exec}bind def end} |
%<tightpage> //bop-hook exec}bind def end} |
1581 |
%<tightpage> \special{!userdict 7{currentfile token not{stop}if 65781.76 div }) pop} |
%<tightpage> \special{!userdict (some extra code to avoid |
1582 |
|
%<tightpage> dvipng>=1.6 unknown special: |
1583 |
|
%<tightpage> 7{currentfile token not{stop}if 65781.76 div })) pop} |
1584 |
% \end{macrocode} |
% \end{macrocode} |
1585 |
% End of backwards-compatibility code. |
% The ``userdict'' at the start of the last special is also there to |
1586 |
|
% avoid an unknown special in dvipng<=1.6. This is the end of the |
1587 |
|
% backwards-compatibility code. |
1588 |
% \begin{macrocode} |
% \begin{macrocode} |
1589 |
%<tightpage> \special{!userdict begin/bop-hook{% |
%<tightpage> \special{!userdict begin/bop-hook{% |
1590 |
%<tightpage> preview-bop-level 0 le{% |
%<tightpage> preview-bop-level 0 le{% |