diff options
author | Karl Berry <karl@freefriends.org> | 2007-01-15 00:54:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-01-15 00:54:14 +0000 |
commit | a01b17e3ec55cada8f1442852382a500e8e3afa2 (patch) | |
tree | e65565e60481fca3067f2c994e092659296e183e /Master/texmf-dist/tex/latex/preview | |
parent | cb2261b95e9e7188fd39818ba6727b387ef9cc1b (diff) |
preview update (13jan07)
git-svn-id: svn://tug.org/texlive/trunk@3486 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/preview')
-rw-r--r-- | Master/texmf-dist/tex/latex/preview/prauctex.cfg | 24 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preview/prauctex.def | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preview/prcounters.def | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preview/preview.sty | 78 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preview/prfootnotes.def | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preview/prlyx.def | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preview/prshowbox.def | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preview/prshowlabels.def | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preview/prtightpage.def | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/preview/prtracingall.def | 22 |
10 files changed, 44 insertions, 234 deletions
diff --git a/Master/texmf-dist/tex/latex/preview/prauctex.cfg b/Master/texmf-dist/tex/latex/preview/prauctex.cfg index 44bec6e53c4..495ae40a6bc 100644 --- a/Master/texmf-dist/tex/latex/preview/prauctex.cfg +++ b/Master/texmf-dist/tex/latex/preview/prauctex.cfg @@ -20,26 +20,8 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \PreviewMacro*[[][#1{}]\footnote \PreviewMacro*[?[{@{[]}}{}][#1]\item \PreviewMacro*\emph @@ -58,6 +40,8 @@ \PreviewMacro*[][#1{}]\caption \preview@delay{\@ifundefined{pr@\string\@startsection}{% \PreviewMacro*[!!!!!!*][#1{}]\@startsection}{}} +\preview@delay{\@ifundefined{pr@\string\chapter}{% + \PreviewMacro*[*][#1{}]\chapter}{}} \PreviewMacro*\index \endinput %% diff --git a/Master/texmf-dist/tex/latex/preview/prauctex.def b/Master/texmf-dist/tex/latex/preview/prauctex.def index b03ae3a3c2c..4f8f7fa6d5d 100644 --- a/Master/texmf-dist/tex/latex/preview/prauctex.def +++ b/Master/texmf-dist/tex/latex/preview/prauctex.def @@ -20,26 +20,8 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \ifPreview\else\expandafter\endinput\fi \nofiles \preview@delay{\nonstopmode} diff --git a/Master/texmf-dist/tex/latex/preview/prcounters.def b/Master/texmf-dist/tex/latex/preview/prcounters.def index 11aa28dce3f..be1ecc00eee 100644 --- a/Master/texmf-dist/tex/latex/preview/prcounters.def +++ b/Master/texmf-dist/tex/latex/preview/prcounters.def @@ -20,26 +20,8 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \ifPreview\else\expandafter\endinput\fi \def\pr@eltprint#1{\expandafter\@gobble\ifnum\value{#1}=0% \csname pr@c@#1\endcsname\else\relax diff --git a/Master/texmf-dist/tex/latex/preview/preview.sty b/Master/texmf-dist/tex/latex/preview/preview.sty index e3a7a47625f..0969a17790f 100644 --- a/Master/texmf-dist/tex/latex/preview/preview.sty +++ b/Master/texmf-dist/tex/latex/preview/preview.sty @@ -21,35 +21,17 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \NeedsTeXFormat{LaTeX2e} \def\reserved@a #1#2$#3: #4${\xdef#1{\reserved@c #2#4 $}} \def\reserved@c #1 #2${#1} \begingroup \catcode`\_=12 -\reserved@a\pr@version $Name: release_11_83 $ \ifx\pr@version\@empty -\reserved@a\pr@version CVS-$Revision: 1.115 $ \endgroup \else +\reserved@a\pr@version $Name: release_11_84 $ \ifx\pr@version\@empty +\reserved@a\pr@version CVS-$Revision: 1.122 $ \endgroup \else \def\next release_{} \lccode`\_=`. \edef\next{\lowercase{\endgroup \def\noexpand\pr@version{\expandafter\next\pr@version}}} \next \fi -\reserved@a\next $Date: 2006/05/25 19:28:52 $ +\reserved@a\next $Date: 2006/08/25 10:34:36 $ \edef\next{\noexpand\ProvidesPackage{preview}% [\next\space \pr@version\space (AUCTeX/preview-latex)]} \next @@ -70,7 +52,9 @@ \let\preview@delay\@firstofone} \long\def\pr@adviseii#1#2#3{\preview@delay{% \ifx#1\relax \let#1#2\fi - \toks@{#3#1}\long\edef#2{\the\toks@}}} + \toks@{#3#1}% + \ifx\@undefined\protected \else \protected\fi + \long\edef#2{\the\toks@}}} \DeclareOption{delayed}{% \ifPreview \def\preview@delay{\AtBeginDocument}\fi } @@ -122,7 +106,8 @@ \preview@delay{\ifx#1\@undefined \let#1=$%$ \fi\catcode`\$=\active \ifx\xyreuncatcodes\@undefined\else - \makeatother\xyreuncatcodes\makeatletter\fi}% + \edef\next{\catcode`@=\the\catcode`@\relax}% + \makeatother\expandafter\xyreuncatcodes\next\fi}% \pr@advise@ship\(\pr@endaftergroup{}% \) \pr@advise@ship#1{\@firstoftwo{\let#1=#2% \futurelet\reserved@a\pr@textmathcheck}}{}}% @@ -161,7 +146,8 @@ Please complain to your document class author}% \expandafter\next\csname endfigure*\expandafter\endcsname \csname endtable*\endcsname \DeclareOption{sections}{% - \PreviewMacro[!!!!!!*[!]{\@startsection}%] + \PreviewMacro[!!!!!!*[[!]{\@startsection}%]] + \PreviewMacro[*[[!]{\chapter}%]] } \DeclareOption* {\InputIfFileExists{pr\CurrentOption.def}{}{\OptionNotUsed}} @@ -225,26 +211,8 @@ Please complain to your document class author}% \newenvironment{nopreview}{\ignorespaces}{\ifhmode\unskip\fi} \ProcessOptions\relax \ifPreview\else\expandafter\endinput\fi -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \newif\ifpr@outer \pr@outertrue \newcount\pr@snippet @@ -319,7 +287,9 @@ Please complain to your document class author}% \pr@cleanup } \let\pr@shipout=\shipout -\def\shipout{\deadcycles\z@\setbox\z@\box\voidb@x\setbox\z@} +\def\shipout{\deadcycles\z@\bgroup\setbox\z@\box\voidb@x + \afterassignment\pr@shipoutegroup\setbox\z@} +\def\pr@shipoutegroup{\ifvoid\z@ \expandafter\aftergroup\fi \egroup} \def\pr@parseit#1{\csname pr@parse#1\endcsname} \let\pr@endparse=\@percentchar \def\next#1{% @@ -387,13 +357,13 @@ Please complain to your document class author}% {\ifhmode\unskip\fi\endgroup} \renewenvironment{nopreview}{\pr@outerfalse\ignorespaces}% {\ifhmode\unskip\fi} -\output{\def\@elt#1{\global\setbox#1=\box\voidb@x}% - \@currlist - \@elt{255}% - \let\@elt\relax - \xdef\@freelist{\@currlist\@freelist}% - \global\let\@currlist\@empty - \deadcycles\z@} +\newtoks\pr@output +\pr@output\output +\output{% + \pr@outerfalse + \let\@begindvi\@empty + \the\pr@output} +\let\output\pr@output \def\pr@typeinfos{\typeout{Preview: Fontsize \f@size pt}% \ifnum\mag=\@m\else\typeout{Preview: Magnification \number\mag}\fi \ifx\pdfoutput\@undefined \else diff --git a/Master/texmf-dist/tex/latex/preview/prfootnotes.def b/Master/texmf-dist/tex/latex/preview/prfootnotes.def index 36af0293f70..2d525a8ab38 100644 --- a/Master/texmf-dist/tex/latex/preview/prfootnotes.def +++ b/Master/texmf-dist/tex/latex/preview/prfootnotes.def @@ -20,26 +20,8 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \PreviewMacro[[!]\footnote %] \endinput %% diff --git a/Master/texmf-dist/tex/latex/preview/prlyx.def b/Master/texmf-dist/tex/latex/preview/prlyx.def index 59da9c79a30..fd1dab79030 100644 --- a/Master/texmf-dist/tex/latex/preview/prlyx.def +++ b/Master/texmf-dist/tex/latex/preview/prlyx.def @@ -20,26 +20,8 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \ifPreview\else\expandafter\endinput\fi \pr@loadcfg{prlyx} \g@addto@macro\pr@ship@end{\typeout{Preview: diff --git a/Master/texmf-dist/tex/latex/preview/prshowbox.def b/Master/texmf-dist/tex/latex/preview/prshowbox.def index 6342e8e6ccd..3280b29d649 100644 --- a/Master/texmf-dist/tex/latex/preview/prshowbox.def +++ b/Master/texmf-dist/tex/latex/preview/prshowbox.def @@ -20,26 +20,8 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \ifPreview\else\expandafter\endinput\fi \AtEndOfPackage{% \showboxbreadth\maxdimen diff --git a/Master/texmf-dist/tex/latex/preview/prshowlabels.def b/Master/texmf-dist/tex/latex/preview/prshowlabels.def index 01ea853e5b6..d0d61086bca 100644 --- a/Master/texmf-dist/tex/latex/preview/prshowlabels.def +++ b/Master/texmf-dist/tex/latex/preview/prshowlabels.def @@ -20,26 +20,8 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \ifPreview\else\expandafter\endinput\fi \newbox\pr@labelbox \def\pr@label#1{\pr@@label{#1}% diff --git a/Master/texmf-dist/tex/latex/preview/prtightpage.def b/Master/texmf-dist/tex/latex/preview/prtightpage.def index e14be9b6c44..0be40a462a5 100644 --- a/Master/texmf-dist/tex/latex/preview/prtightpage.def +++ b/Master/texmf-dist/tex/latex/preview/prtightpage.def @@ -20,26 +20,8 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \ifx\PreviewBorder\@undefined \newdimen\PreviewBorder \PreviewBorder=0.50001bp diff --git a/Master/texmf-dist/tex/latex/preview/prtracingall.def b/Master/texmf-dist/tex/latex/preview/prtracingall.def index 69496e30a1d..7dfc7e3442e 100644 --- a/Master/texmf-dist/tex/latex/preview/prtracingall.def +++ b/Master/texmf-dist/tex/latex/preview/prtracingall.def @@ -20,26 +20,8 @@ %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) -%%\iffalse -%% preview.dtx for extracting previews from LaTeX documents. Part of -%% the preview-latex package. -%% Copyright (C) 2001, 2002, 2003, 2004, 2005 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 +%% The preview style for extracting previews from LaTeX documents. +%% Developed as part of AUCTeX <URL:http://www.gnu.org/software/auctex>. \ifPreview\else\expandafter\endinput\fi \pr@addto@front\pr@ship@start{\let\tracingonline\count@ \let\errorstopmode\@empty\tracingall} |