From 8d4f9772f3f51150aebafbbb1863d8064a94f502 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 21 Nov 2010 23:50:05 +0000 Subject: linegoal (20nov10) git-svn-id: svn://tug.org/texlive/trunk@20517 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/linegoal/linegoal.sty | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/linegoal') diff --git a/Master/texmf-dist/tex/latex/linegoal/linegoal.sty b/Master/texmf-dist/tex/latex/linegoal/linegoal.sty index 9ce40a1714e..ec9347476fc 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/10/31 v2.1 - linegoal : a new dimen corresponding to the remainder of the line +%% linegoal : 2010/11/19 v2.2 - 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 @@ -26,7 +26,7 @@ \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/10/31 v2.1 - A new dimen corresponding to the remainder of the line] + [2010/11/19 v2.2 - 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 @@ -39,7 +39,7 @@ \newcommand*\linegoal{% \zref@extract{linegoal.\the\LNGL@unique}{linegoal}\LNGL@setlinegoal }% \linegoal -\zref@newprop*{linegoal}[\the\linewidth]{\the\dimexpr +\zref@newprop*{linegoal}[\linewidth]{\dimexpr \linewidth-\the\pdflastxpos sp +\ifodd\zref@extractdefault{linegoal/page.\the\LNGL@unique}{page}\c@page \oddsidemargin -- cgit v1.2.3