From da96e42d00bfa5af4b4d7e72fd441b85ff4d3280 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 4 Nov 2010 22:54:23 +0000
Subject: linegoal (3nov10)

git-svn-id: svn://tug.org/texlive/trunk@20316 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/linegoal/linegoal.sty | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/linegoal/linegoal.sty')

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
-- 
cgit v1.2.3

