summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/linegoal
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-04 22:54:23 +0000
committerKarl Berry <karl@freefriends.org>2010-11-04 22:54:23 +0000
commitda96e42d00bfa5af4b4d7e72fd441b85ff4d3280 (patch)
tree4e0d26590810901bb1b1f3a81309a546954954a4 /Master/texmf-dist/tex/latex/linegoal
parent97feaccaf34dfd3ad2d01c2d31a71d82a3a2e845 (diff)
linegoal (3nov10)
git-svn-id: svn://tug.org/texlive/trunk@20316 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/linegoal')
-rw-r--r--Master/texmf-dist/tex/latex/linegoal/linegoal.sty14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/linegoal/linegoal.sty b/Master/texmf-dist/tex/latex/linegoal/linegoal.sty
index d53b0c1ee0c..9ce40a1714e 100644
--- a/Master/texmf-dist/tex/latex/linegoal/linegoal.sty
+++ b/Master/texmf-dist/tex/latex/linegoal/linegoal.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% linegoal : 2010/09/25 v2.0 - linegoal : a new dimen corresponding to the remainder of the line
+%% linegoal : 2010/10/31 v2.1 - linegoal : a new dimen corresponding to the remainder of the line
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -18,7 +18,7 @@
%%
%% This work consists of the main source file linegoal.dtx
%% and the derived files
-%% linegoal.sty, linegoal.pdf, linegoal.ins,
+%% linegoal.sty, linegoal.pdf, linegoal.ins
%%
%% linegoal : linegoal : a new dimen corresponding to the remainder of the line
%% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
@@ -26,11 +26,13 @@
\NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
[2005/12/01]% LaTeX must be 2005/12/01 or younger
\ProvidesPackage{linegoal}
- [2010/09/25 v2.0 - A new dimen corresponding to the remainder of the line]
-\ifdefined\pdfsavepos\else
+ [2010/10/31 v2.1 - A new dimen corresponding to the remainder of the line]
+\ifdefined\pdfsavepos\else % works also in dvi mode
\PackageWarning{linegoal}
{This package requires pdfTeX for its \string\pdfsavepos\space primitive\MessageBreak
- pdfTeX has not been detected and linegoal.sty will not be loaded}%
+ pdfTeX has not been detected and \string\linegoal\space will expand\MessageBreak
+ to \string\linewidth\space in any case}
+ \gdef\linegoal{\linewidth}%
\expandafter\endinput
\fi
\RequirePackage{etex,zref,zref-savepos,scrlfile}
@@ -72,7 +74,7 @@
\else\LNGL@noauxerr
\fi
\@esphack
-}% \set@linegoal
+}% \LNGL@set
\def\LNGL@warn#1\relax{\PackageWarning{linegoal}
{\string\linegoal\space value on page #1
\MessageBreak has changed since last run