diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/pdfcolmk.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/pdfcolmk.sty | 135 |
1 files changed, 34 insertions, 101 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/pdfcolmk.sty b/Master/texmf-dist/tex/latex/oberdiek/pdfcolmk.sty index 20f972aede8..e50eae84a5c 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/pdfcolmk.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/pdfcolmk.sty @@ -1,89 +1,35 @@ -% File: pdfcolmk.sty -% Version: 2005/07/09 v0.7 -% Author: Heiko Oberdiek -% Email: <oberdiek@uni-freiburg.de> -% -% Copyright: Copyright (C) 2000, 2005 Heiko Oberdiek. -% -% 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 2003/12/01 or later. -% -% This work has the LPPL maintenance status "maintained". -% -% This Current Maintainer of this work is Heiko Oberdiek. -% -% Function: This package tries a solution for the missing color -% stack of pdfTeX. -% -% Background: After the Dante meeting (Clausthal 2000) I have started -% to experiment with the eTeX method of a `colour' mark. -% One of the major problems is the understanding of the -% output routine and the need to rewrite it because of -% missing hooks. Currently I have made some tests in -% in onecolumn and twocolumn mode, but the state is -% experimental. -% -% Limitations: * mark limitations: page breaks in math -% * LaTeX's output routine is redefinded. -% * Changes in the output routine of newer versions -% of LaTeX are not detected. -% * Packages that change the output routine are not -% supported. -% * It does not support several independent text -% streams like footnotes. -% -% Recommended: e-TeX (for additional mark register) -% Without e-TeX LaTeX's mark commands are redefined -% to store an additional color value. -% -% Use: Load after package color: -% \usepackage[pdftex]{color} -% \usepackage{pdfcolmk} -% -% Compatibility: -% * Load the following packages after `pdfcolmk': -% mparhack.sty -% * Load the following packages before `pdfcolmk': -% marn.sty -% newmarn.sty -% * Supported \@addmarginpar patch: -% latex/base/latex.ltx -% memoir.cls -% poemscol/marn.sty, poemscol/newmarn.sty -% mparhack.sty -% * Unsupported \@addmarginpar patch: -% lineno.sty -% sttools/marginal.sty -% revtex4.cls -% -% History: 2000/08/27 v0.1: -% first published version -% (comp.text.tex, pdftex@tug.org) -% 2000/09/02 v0.2: -% * next try. -% 2000/09/02 v0.3: -% * solution without e-TeX added. -% 2000/09/06 v0.4: -% * Patch commands added. -% * Patch for seminar.cls added. -% 2000/09/06 v0.5: -% * Bug fix: initialization of \pec@value added. -% 2005/06/15 v0.6: -% * Support for \marginpar added. -% See thread in comp.text.tex -% (Message-ID: d86d3r$kpv$1@news.BelWue.DE). -% 2005/07/09 v0.7: -% * Output support added for memoir, -% provided by Lars Madsen. -% -\NeedsTeXFormat{LaTeX2e}[1997/11/09] -\ProvidesPackage{pdfcolmk}[2005/07/09 v0.7 PDFtex COLor MarK (HO)] - +%% +%% This is file `pdfcolmk.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pdfcolmk.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2000, 2005, 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 pdfcolmk.dtx +%% and the derived files +%% pdfcolmk.sty, pdfcolmk.pdf, pdfcolmk.ins, pdfcolmk.drv. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{pdfcolmk}% + [2006/02/20 v0.8 PDFtex COLor MarK (HO)] \@ifundefined{ver@pdftex.def}{% \PackageWarningNoLine{pdfcolmk}{% Nothing to fix, because \string`pdftex.def\string' not loaded% @@ -145,9 +91,6 @@ \def\pec@getmark{\xdef\pec@botcolor{\botmarks\pec@marks}} \fi - -% \marginpar fix - \chardef\pec@result\z@ \def\pec@temp#1{% \chardef\pec@result\@ne @@ -158,8 +101,6 @@ }% \endgroup } - -% Variant: latex/base/latex.ltx \def\pec@addmarginpar{% \@next\@marbox\@currlist{% \@cons\@freelist\@marbox @@ -217,8 +158,6 @@ \ifx\pec@addmarginpar\@addmarginpar \pec@temp{latex/base}% \fi - -% Variant: memoir.cls \def\pec@addmarginpar{% \checkoddpage \@next\@marbox\@currlist{% @@ -284,8 +223,6 @@ \ifx\pec@addmarginpar\@addmarginpar \pec@temp{memoir.cls}% \fi - -% Variant: poemscol/marn.sty, poemscol/newmarn.sty \def\pec@addmarginpar{% \@next \@marbox\@currlist{% \@cons\@freelist\@marbox @@ -358,8 +295,6 @@ \ifx\pec@addmarginpar\@addmarginpar \pec@temp{poemscol/(new)marn.sty}% \fi - -% Variant: refman/refart.cls, refnam/refrep.cls \def\pec@addmarginpar{% \@next\@marbox\@currlist{% \@cons\@freelist\@marbox @@ -444,9 +379,6 @@ }% \expandafter\pec@PatchAddMarginpar\@addmarginpar\@nil \fi - -% color fix - \def\set@color{% \pdfliteral{\current@color}% \ifinner @@ -527,5 +459,6 @@ } \expandafter\expandafter\expandafter\pec@output \expandafter\@firstofone\the\output\pec@end - \endinput +%% +%% End of file `pdfcolmk.sty'. |