summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/textpos
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-09-04 23:14:57 +0000
committerKarl Berry <karl@freefriends.org>2006-09-04 23:14:57 +0000
commitdae621e56cd089da1084f4a6098579db66c9931a (patch)
tree2a6c7a49e6e89405827a55a5a2b85b7d129240c6 /Master/texmf-dist/tex/latex/textpos
parent10480a3003a1d75aa3e3a47873317e2deb7c7236 (diff)
textpos 1.7a (5sep06)
git-svn-id: svn://tug.org/texlive/trunk@2079 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/textpos')
-rw-r--r--Master/texmf-dist/tex/latex/textpos/textpos.sty29
1 files changed, 20 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/textpos/textpos.sty b/Master/texmf-dist/tex/latex/textpos/textpos.sty
index b9d6f0b236b..559932ffc10 100644
--- a/Master/texmf-dist/tex/latex/textpos/textpos.sty
+++ b/Master/texmf-dist/tex/latex/textpos/textpos.sty
@@ -6,7 +6,7 @@
%%
%% textpos.dtx (with options: `package')
%% Textpos: absolute positioning of text on the page
-%% This software is copyright, 1999, 2001--2003, 2005, 2006 Norman Gray.
+%% This software is copyright, 1999, 2001--2003, 2005-6 Norman Gray.
%%
%% This program is free software; you can redistribute it and/or
%% modify it under the terms of the GNU General Public License
@@ -28,14 +28,14 @@
%% See the file LICENCE for a copy of the GPL.
%% You can also find an online copy at http://www.gnu.org/copyleft/gpl.html .
%%
-%%% Source: $Id: textpos.dtx.in,v 1.9 2006/08/24 13:59:21 norman Exp $
+%%% Source: $Id: textpos.dtx.in,v 1.11 2006/09/04 10:13:51 norman Exp $
%%
%%\def\ParseRCSDate$#1: #2 #3 ${\def\TP@Date{#2}}
-%%\ParseRCSDate$Date: 2006/08/24 13:59:21 $
+%%\ParseRCSDate$Date: 2006/09/04 10:13:51 $
\def\filename{textpos}
-\def\fileversion{1.7}
-\def\filedate{2006/08/24}
-\def\docdate{2006 August 24}
+\def\fileversion{1.7a}
+\def\filedate{2006/09/02}
+\def\docdate{2006 September 2}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{textpos}[\filedate\space v\fileversion]
\typeout{Package: `textpos' \fileversion\space<\docdate>}
@@ -141,7 +141,11 @@
\def\textblocklabel#1{\gdef\TP@textblocklabel{#1}}
\def\textblockcolour#1{%
\@ifundefined{color}%
- {\gdef\TP@blockcolour{}}% ignore argument, switch off colour blocking below
+ {%
+ \gdef\TP@blockcolour{}% ignore argument, switch off colour blocking below
+ \PackageWarning{textpos}{command textblockcolour used, but
+ {color} package not loaded.\MessageBreak Colour changes ignored.}%
+ }
{%
\def\@tempa{#1}
\gdef\TP@blockcolour{#1}
@@ -154,7 +158,10 @@
\let\tekstblokkulur\textblockcolour
\def\textblockrulecolour#1{%
\@ifundefined{color}%
- {\gdef\TP@rulecolour{}}% ignore argument, switch off colour blocking below
+ {%
+ \gdef\TP@rulecolour{}% ignore argument, switch off colour blocking below
+ \PackageWarning{textpos}{command textblockrulecolour used, but
+ {color} package not loaded.\MessageBreak Colour changes ignored.}}%
{%
\def\@tempa{#1}
\gdef\TP@rulecolour{#1}%
@@ -162,6 +169,10 @@
\def\TP@rulecolour{black}
\let\textblockrulecolor\textblockrulecolour
\let\tekstblokroolkulur\textblockrulecolour
+\@ifundefined{color}%
+ {\gdef\color#1{}%
+ \gdef\color@block#1#2#3{}%
+ }{}
\def\textblock#1{%
\@tempdima=#1\TPHorizModule
\ifvmode\else
@@ -201,7 +212,7 @@
}
\setbox\TP@textbox=\vbox\bgroup
\ifTPshowboxes
- {\color{\TP@rulecolour} \hrule height0pt depth \TPboxrulesize }%
+ {\color{\TP@rulecolour}\hrule height0pt depth \TPboxrulesize }%
\vskip-\TPboxrulesize
\fi
\hsize=\@tempdima