summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/linegoal/linegoal.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/linegoal/linegoal.sty')
-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