diff options
author | Karl Berry <karl@freefriends.org> | 2006-08-27 22:38:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-08-27 22:38:54 +0000 |
commit | 2607d53137ede06e9780342b225218743e100bb4 (patch) | |
tree | c6c88c805dd21a5bbb6ad6f26d3d53c517f4b866 /Master/texmf-dist/tex/latex/oberdiek/dvipscol.sty | |
parent | fb0d58de45c0fc32bab09a839c186de46f75628e (diff) |
oberdiek update from tds zip (28aug06)
git-svn-id: svn://tug.org/texlive/trunk@2054 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/dvipscol.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/dvipscol.sty | 88 |
1 files changed, 32 insertions, 56 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/dvipscol.sty b/Master/texmf-dist/tex/latex/oberdiek/dvipscol.sty index bd53221b757..0e5983b19d2 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/dvipscol.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/dvipscol.sty @@ -1,69 +1,44 @@ -% File: dvipscol.sty -% Version: 2000/08/31 v1.0 -% Author: Heiko Oberdiek -% Email: <oberdiek@ruf.uni-freiburg.de> -% -% Copyright: Copyright (C) 2000 Heiko Oberdiek. -% -% This program may be distributed and/or modified under -% the conditions of the LaTeX Project Public License, -% either version 1.2 of this license or (at your option) -% any later version. The latest version of this license -% is in -% http://www.latex-project.org/lppl.txt -% and version 1.2 or later is part of all distributions -% of LaTeX version 1999/12/01 or later. -% -% Function: This package tries a solution, if the program -% dvips complains: -% "! out of color stack space" -% The driver file `dvips.def' contains the -% low level color commands for the package `color'. -% Each time a color is set, the current color is -% pushed on the color stack before and after the -% current group the old color is popped from -% the stack and set again (via \aftergroup). -% But the color stack size of dvips is limited, -% so a stack overflow can occur, if there are -% too many color setting operations in a group. -% Only at the bottom group level (no group), -% the color can be set directly without pushing -% the current color on the stack before, because -% there is no group at bottom level that can end. -% With e-TeX the group level can easily be -% detected (\currentgrouplevel). Alone with TeX -% this is not possible. -% -% Recommended: e-TeX (explanation see above) -% -% Use: * With e-TeX the package fixes \set@color, therefore -% no interaction with the user is required. -% * Without e-TeX the package defines \nogroupcolor, -% that the user can use manually instead of \color. -% But caution: it should only be used outside of all -% groups, for example the following will not work: -% \textcolor{black}{\nogroupcolor{blue}...} -% -% History: 2000/08/31 v1.0: -% first public release created as answer to -% a question of Deepak Goel in comp.text.tex: -% "\color{} problems.. :Out of stack space.." -% +%% +%% This is file `dvipscol.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% dvipscol.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2000, 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3 of this license or (at your option) any later +%% version. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file dvipscol.dtx +%% and the derived files +%% dvipscol.sty, dvipscol.pdf, dvipscol.ins, dvipscol.drv. +%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{dvipscol}[2000/08/31 v1.0 Fix for dvips.def (HO)] - +\ProvidesPackage{dvipscol}% + [2006/02/20 v1.1 Fix for dvips.def (HO)] \@ifundefined{ver@dvips.def}{% \PackageWarningNoLine{dvipscol}{% Nothing to fix, because \string`dvips.def\string' not loaded% }% \endinput } - \CheckCommand*{\set@color}{% \special{color push \current@color}% \aftergroup\reset@color } - \newcommand*{\nogroupcolor}{% \let\saved@org@set@color\set@color \def\set@color{% @@ -72,7 +47,6 @@ }% \color } - \ifx\currentgrouplevel\@undefined \PackageWarningNoLine{dvipscol}{% \string\set@color\space cannot be fixed, % @@ -90,3 +64,5 @@ \fi } \endinput +%% +%% End of file `dvipscol.sty'. |