Debian Codegraph @

texmf-dist/tex/latex/oberdiek/dvipscol.sty

raw
1 %%
2 %% This is file `dvipscol.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% dvipscol.dtx (with options: `package')
8 %%
9 %% This is a generated file.
10 %%
11 %% Project: dvipscol
12 %% Version: 2016/05/16 v1.3
13 %%
14 %% Copyright (C)
15 %% 2000, 2006, 2008 Heiko Oberdiek
16 %% 2016-2019 Oberdiek Package Support Group
17 %%
18 %% This work may be distributed and/or modified under the
19 %% conditions of the LaTeX Project Public License, either
20 %% version 1.3c of this license or (at your option) any later
21 %% version. This version of this license is in
22 %% https://www.latex-project.org/lppl/lppl-1-3c.txt
23 %% and the latest version of this license is in
24 %% https://www.latex-project.org/lppl.txt
25 %% and version 1.3 or later is part of all distributions of
26 %% LaTeX version 2005/12/01 or later.
27 %%
28 %% This work has the LPPL maintenance status "maintained".
29 %%
30 %% The Current Maintainers of this work are
31 %% Heiko Oberdiek and the Oberdiek Package Support Group
32 %% https://github.com/ho-tex/oberdiek/issues
33 %%
34 %%
35 %% This work consists of the main source file dvipscol.dtx
36 %% and the derived files
37 %% dvipscol.sty, dvipscol.pdf, dvipscol.ins, dvipscol.drv.
38 %%
39 \NeedsTeXFormat{LaTeX2e}
40 \ProvidesPackage{dvipscol}%
41 [2016/05/16 v1.3 Alter the usage of the dvips color stack (HO)]
42 \@ifundefined{[email protected]}{%
43 \PackageWarningNoLine{dvipscol}{%
44 Nothing to fix, because \string`dvips.def\string' not loaded%
45 }%
46 \endinput
47 }
48 \CheckCommand*{\set@color}{%
49 \special{color push \current@color}%
50 \aftergroup\reset@color
51 }
52 \newcommand*{\nogroupcolor}{%
53 \let\saved@org@set@color\set@color
54 \def\set@color{%
55 \let\set@color\saved@org@set@color
56 \special{color \current@color}%
57 }%
58 \color
59 }
60 \ifx\currentgrouplevel\@undefined
61 \PackageWarningNoLine{dvipscol}{%
62 \string\set@color\space cannot be fixed, %
63 because the\MessageBreak
64 e-TeX extensions are not available%
65 }%
66 \expandafter\endinput
67 \fi
68 \def\set@color{%
69 \ifcase\currentgrouplevel
70 \special{color \current@color}%
71 \else
72 \special{color push \current@color}%
73 \aftergroup\reset@color
74 \fi
75 }
76 \endinput
77 %%
78 %% End of file `dvipscol.sty'.