[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/preview/latex/preview.dtx,v
From: |
David Kastrup |
Subject: |
[AUCTeX-diffs] Changes to auctex/preview/latex/preview.dtx,v |
Date: |
Tue, 15 Aug 2006 10:24:27 +0000 |
CVSROOT: /sources/auctex
Module name: auctex
Changes by: David Kastrup <dak> 06/08/15 10:24:26
Index: latex/preview.dtx
===================================================================
RCS file: /sources/auctex/auctex/preview/latex/preview.dtx,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -b -r1.118 -r1.119
--- latex/preview.dtx 25 Jul 2006 17:41:56 -0000 1.118
+++ latex/preview.dtx 15 Aug 2006 10:24:26 -0000 1.119
@@ -1,26 +1,26 @@
% \iffalse
-%% preview.dtx for extracting previews from LaTeX documents.
+%% The preview style for extracting previews from LaTeX documents.
%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>.
-%%
-%% Copyright (C) 2001, 2002, 2003, 2004, 2005,
-%% 2006 Free Software Foundation
-%%
-%% This program is free software; you can redistribute it and/or modify
-%% it under the terms of the GNU General Public License as published by
-%% the Free Software Foundation; either version 2 of the License, or
-%% (at your option) any later version.
-%%
-%% This program is distributed in the hope that it will be useful,
-%% but WITHOUT ANY WARRANTY; without even the implied warranty of
-%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-%% GNU General Public License for more details.
-%%
-%% You should have received a copy of the GNU General Public License
-%% along with this program; if not, write to the
-%% Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
-%% Boston, MA 02110-1301 USA
+%
+% Copyright (C) 2001, 2002, 2003, 2004, 2005,
+% 2006 Free Software Foundation
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 2 of the License, or
+% (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the
+% Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+% Boston, MA 02110-1301 USA
% \fi
-% \CheckSum{1672}
+% \CheckSum{1656}
% \GetFileInfo{preview.sty}
% \date{\filedate}
% \author{David address@hidden
@@ -438,11 +438,11 @@
address@hidden #2#4 $}} address@hidden #1 #2${#1}
\begingroup \catcode`\_=12
address@hidden@version $Name: $ address@hidden@empty
address@hidden@version CVS-$Revision: 1.118 $ \endgroup \else
address@hidden@version CVS-$Revision: 1.119 $ \endgroup \else
\def\next release_{} \lccode`\_=`.
\edef\next{\lowercase{\endgroup
address@hidden@version}}} \next \fi
address@hidden $Date: 2006/07/25 17:41:56 $
address@hidden $Date: 2006/08/15 10:24:26 $
\edef\next{\noexpand\ProvidesPackage{preview}%
[\next\space address@hidden (AUCTeX/preview-latex)]}
\next
@@ -704,7 +704,7 @@
\egroup
address@hidden
address@hidden address@hidden \lineskiplimit\z@
- address@hidden
+ address@hidden
\nointerlineskip
address@hidden@address@hidden to\z@
\unvbox\z@
@@ -1250,25 +1250,22 @@
address@hidden
{\ifhmode\unskip\fi}
% \end{macrocode}
-% Let the output routine throw everything gathered regularly away.
-% Start with all float boxes, continue with output box, pack
-% everything afloat from address@hidden back into address@hidden
-% We don't do this if the output routine is special since there are
-% circumstances where this will cause complaints about lost floats.
-%
-% This code has now been disabled since it might confuse \LaTeX\ and
-% was rather crude. We now rely on disabling \cmd{\shipout} alone.
-% \begin{macrocode}
-% \output{%
-% address@hidden@x}%
-% address@hidden@cclv
-% \ifnum\outputpenalty<address@hidden \else address@hidden
-% address@hidden
-% address@hidden@address@hidden
-% address@hidden@empty
-% \fi
-% address@hidden
+% We use the normal output routine, but hijack it a bit for our
+% purposes to preserve \cmd{\AtBeginDvi} hooks and not get previews
+% while in output: that could become rather ugly.
+%
+% The main work of disabling normal output relies on a \cmd{\shipout}
+% redefinition.
+% address@hidden
+% \begin{macrocode}
address@hidden
address@hidden
+\output{%
+ address@hidden
+ address@hidden@empty
+ address@hidden
% \end{macrocode}
+% \end{macro}
% address@hidden
% Then we have some document info that style files might want to
% output.
@@ -1821,3 +1818,9 @@
%<driver> \end{document}
% \end{macrocode}
% \Finale{}
+% \iffalse
+% Local Variables:
+% mode: doctex
+% TeX-master: "preview.drv"
+% End:
+% \fi
- [AUCTeX-diffs] Changes to auctex/preview/latex/preview.dtx,v,
David Kastrup <=