diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-06 22:04:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-06 22:04:17 +0000 |
commit | f946e83a3e1602921a33b84330397adf3b9b4c22 (patch) | |
tree | 26dba25cba698420be56b0a8ea4d77bbae364675 /Master | |
parent | 8cb1f8bb85c22a13ea39018c68cb89d47ff968c5 (diff) |
linegoal 1.1 (5jun10)
git-svn-id: svn://tug.org/texlive/trunk@18778 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/linegoal/linegoal.pdf | bin | 119499 -> 120437 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/linegoal/linegoal.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/linegoal/linegoal.drv | 6 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/linegoal/linegoal.dtx | 32 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/linegoal/linegoal.ins | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/linegoal/linegoal.sty | 14 |
6 files changed, 32 insertions, 28 deletions
diff --git a/Master/texmf-dist/doc/latex/linegoal/linegoal.pdf b/Master/texmf-dist/doc/latex/linegoal/linegoal.pdf Binary files differindex 310ca3d5033..b8703cd0aae 100644 --- a/Master/texmf-dist/doc/latex/linegoal/linegoal.pdf +++ b/Master/texmf-dist/doc/latex/linegoal/linegoal.pdf diff --git a/Master/texmf-dist/doc/latex/linegoal/linegoal.tex b/Master/texmf-dist/doc/latex/linegoal/linegoal.tex index 61e9c72b7fa..07acecb1f60 100644 --- a/Master/texmf-dist/doc/latex/linegoal/linegoal.tex +++ b/Master/texmf-dist/doc/latex/linegoal/linegoal.tex @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% linegoal : 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line +%% linegoal : 2010/06/06 v1.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 diff --git a/Master/texmf-dist/source/latex/linegoal/linegoal.drv b/Master/texmf-dist/source/latex/linegoal/linegoal.drv index cbbed99d336..a5bb496c203 100644 --- a/Master/texmf-dist/source/latex/linegoal/linegoal.drv +++ b/Master/texmf-dist/source/latex/linegoal/linegoal.drv @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% linegoal : 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line +%% linegoal : 2010/06/06 v1.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 @@ -25,8 +25,8 @@ %% \edef\thisfile{\jobname} \def\thisinfo{A new ``dimen'' corresponding to the remainder of the line} -\def\thisdate{2010/05/07} -\def\thisversion{1.0} +\def\thisdate{2010/06/06} +\def\thisversion{1.1} \def\CTANbaseurl{http://www.ctan.org/tex-archive/macros/latex} \def\CTANdisplay{CTAN:macros/latex} \makeatletter\protected\def\CTANhref{\@ifstar\CTANhrefstar\CTANhrefnost}\makeatother diff --git a/Master/texmf-dist/source/latex/linegoal/linegoal.dtx b/Master/texmf-dist/source/latex/linegoal/linegoal.dtx index fd613d8a99b..08a6339c1eb 100644 --- a/Master/texmf-dist/source/latex/linegoal/linegoal.dtx +++ b/Master/texmf-dist/source/latex/linegoal/linegoal.dtx @@ -1,5 +1,5 @@ % \iffalse meta-comment -% enumitem-zref : 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line] +% linegoal : 2010/06/06 v1.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 @@ -37,7 +37,7 @@ \tracingall \tracingonline=0 \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line} +\Msg{* Package: 2010/06/06 v1.1 - linegoal : a new dimen corresponding to the remainder of the line} \Msg{************************************************************************} \keepsilent @@ -48,7 +48,7 @@ This is a generated file. -linegoal : 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line +linegoal : 2010/06/06 v1.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 @@ -100,8 +100,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %<*driver> \edef\thisfile{\jobname} \def\thisinfo{A new ``dimen'' corresponding to the remainder of the line} -\def\thisdate{2010/05/07} -\def\thisversion{1.0} +\def\thisdate{2010/06/06} +\def\thisversion{1.1} \def\CTANbaseurl{http://www.ctan.org/tex-archive/macros/latex} \def\CTANdisplay{CTAN:macros/latex} \makeatletter\protected\def\CTANhref{\@ifstar\CTANhrefstar\CTANhrefnost}\makeatother @@ -290,7 +290,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \label{userinterface} % % \begin{VerbLines} -% This is a tabular in the remainder of the line: +% This is a tabular that fills the remainder of the line: % \begin{tabularx}\linegoal{|l|X|}\hline % Something & Something else \\ % Something & Something else \\\hline @@ -300,14 +300,14 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \DeleteShortVerb{\+} % \tracingtabularx % -% This is a tabular in the remainder of the line: +% This is a tabular that fills the remainder of the line: % \ifcsname ver@linegoal.sty\endcsname % \begin{tabularx}\linegoal{|l|X|}\hline % Something & Something else \\ % Something & Something else \\\hline % \end{tabularx} % \else -% \begin{tabularx}{302pt}{|l|X|}\hline +% \begin{tabularx}{279.6pt}{|l|X|}\hline % Something & Something else \\ % Something & Something else \\\hline % \end{tabularx}% @@ -331,9 +331,9 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \begin{macrocode} %<*package> \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) - [2005/12/01]% LaTeX must be 2005/12/01 or younger (see kvsetkeys.dtx). + [2005/12/01]% LaTeX must be 2005/12/01 or younger \ProvidesPackage{linegoal} - [2010/05/07 v1.0 - A new dimen corresponding to the remainder of the line] + [2010/06/06 v1.1 - A new dimen corresponding to the remainder of the line] \def\LNGL@pkg@name{linegoal} % \end{macrocode} % @@ -369,8 +369,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> \global\advance\LNGL@unique\@ne \pdfsavepos \zref@labelbyprops{linegoal.\the\LNGL@unique}{posx,LNGL@page}% - #1=\dimexpr\linewidth-\zposx{linegoal.\the\LNGL@unique}sp% - +\ifodd\zref@extractdefault{linegoal.\the\LNGL@unique}{LNGL@page}{0} + #1=\dimexpr\linewidth-\zref@extractdefault{linegoal.\the\LNGL@unique}{posx}0sp + +\ifodd\zref@extractdefault{linegoal.\the\LNGL@unique}{LNGL@page}0 \oddsidemargin \else \evensidemargin \fi @@ -383,8 +383,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> \def\LNGL@AtBeginDocument@hook{% \let\LNGL@ORI@setlength\setlength \protected\def\setlength##1##2{% - \ifx\linegoal##2 \expandafter\set@linegoal - \else \expandafter\LNGL@ORI@setlength + \ifx\linegoal##2\expandafter\set@linegoal + \else \expandafter\LNGL@ORI@setlength \fi{##1}{##2}% }% \setlength }% \LNGL@AtBeginDocument@hook @@ -397,6 +397,10 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % % \DeleteShortVerb{\+} % \begin{History} +% +% \begin{Version}{2010/06/06 v1.1} +% \item The first release required some small corrections ! +% \end{Version} % % \begin{Version}{2010/05/07 v1.0} % \item First version. diff --git a/Master/texmf-dist/source/latex/linegoal/linegoal.ins b/Master/texmf-dist/source/latex/linegoal/linegoal.ins index 5c37370ce81..c36de638dd6 100644 --- a/Master/texmf-dist/source/latex/linegoal/linegoal.ins +++ b/Master/texmf-dist/source/latex/linegoal/linegoal.ins @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% linegoal : 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line +%% linegoal : 2010/06/06 v1.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 @@ -27,7 +27,7 @@ \tracingall \tracingonline=0 \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line} +\Msg{* Package: 2010/06/06 v1.1 - linegoal : a new dimen corresponding to the remainder of the line} \Msg{************************************************************************} \keepsilent @@ -38,7 +38,7 @@ This is a generated file. -linegoal : 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line +linegoal : 2010/06/06 v1.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 diff --git a/Master/texmf-dist/tex/latex/linegoal/linegoal.sty b/Master/texmf-dist/tex/latex/linegoal/linegoal.sty index 2c7116f05b1..ca2e1cc6da0 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/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line +%% linegoal : 2010/06/06 v1.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 @@ -24,9 +24,9 @@ %% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %% \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) - [2005/12/01]% LaTeX must be 2005/12/01 or younger (see kvsetkeys.dtx). + [2005/12/01]% LaTeX must be 2005/12/01 or younger \ProvidesPackage{linegoal} - [2010/05/07 v1.0 - A new dimen corresponding to the remainder of the line] + [2010/06/06 v1.1 - A new dimen corresponding to the remainder of the line] \def\LNGL@pkg@name{linegoal} \ifdefined\pdfsavepos\else \PackageWarning\LNGL@pkg@name @@ -44,8 +44,8 @@ \global\advance\LNGL@unique\@ne \pdfsavepos \zref@labelbyprops{linegoal.\the\LNGL@unique}{posx,LNGL@page}% - #1=\dimexpr\linewidth-\zposx{linegoal.\the\LNGL@unique}sp% - +\ifodd\zref@extractdefault{linegoal.\the\LNGL@unique}{LNGL@page}{0} + #1=\dimexpr\linewidth-\zref@extractdefault{linegoal.\the\LNGL@unique}{posx}0sp + +\ifodd\zref@extractdefault{linegoal.\the\LNGL@unique}{LNGL@page}0 \oddsidemargin \else \evensidemargin \fi @@ -58,8 +58,8 @@ \def\LNGL@AtBeginDocument@hook{% \let\LNGL@ORI@setlength\setlength \protected\def\setlength##1##2{% - \ifx\linegoal##2 \expandafter\set@linegoal - \else \expandafter\LNGL@ORI@setlength + \ifx\linegoal##2\expandafter\set@linegoal + \else \expandafter\LNGL@ORI@setlength \fi{##1}{##2}% }% \setlength }% \LNGL@AtBeginDocument@hook |