diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-04 22:54:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-04 22:54:23 +0000 |
commit | da96e42d00bfa5af4b4d7e72fd441b85ff4d3280 (patch) | |
tree | 4e0d26590810901bb1b1f3a81309a546954954a4 /Master | |
parent | 97feaccaf34dfd3ad2d01c2d31a71d82a3a2e845 (diff) |
linegoal (3nov10)
git-svn-id: svn://tug.org/texlive/trunk@20316 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/linegoal/linegoal.pdf | bin | 133384 -> 138395 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/linegoal/linegoal.tex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/linegoal/linegoal.drv | 40 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/linegoal/linegoal.dtx | 229 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/linegoal/linegoal.ins | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/linegoal/linegoal.sty | 14 |
6 files changed, 155 insertions, 142 deletions
diff --git a/Master/texmf-dist/doc/latex/linegoal/linegoal.pdf b/Master/texmf-dist/doc/latex/linegoal/linegoal.pdf Binary files differindex b8c93edbcb1..91691926dd6 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 a8cfd4ca2c5..fc06c52d02e 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/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> diff --git a/Master/texmf-dist/source/latex/linegoal/linegoal.drv b/Master/texmf-dist/source/latex/linegoal/linegoal.drv index f8edebf3b23..ba5d669a429 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/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,15 +18,15 @@ %% %% 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> %% \edef\thisfile{\jobname} -\def\thisinfo{A new ``dimen'' corresponding to the remainder of the line} -\def\thisdate{2010/09/25} -\def\thisversion{2.0} +\def\thisinfo{A new ``dimen'' corresponding to the remainder of the line (\FC)} +\def\thisdate{2010/10/31} +\def\thisversion{2.1} \def\CTANbaseurl{http://www.ctan.org/tex-archive/macros/latex} \def\CTANdisplay{CTAN:macros/latex} \makeatletter\protected\def\CTANhref{\@ifstar\CTANhrefstar\CTANhrefnost}\makeatother @@ -34,30 +34,28 @@ \newcommand*\CTANhrefnost[2][/contrib/]{\href{\CTANbaseurl#1#2}{\nolinkurl{\CTANdisplay#1#2}}} \let\loadclass\LoadClass \def\LoadClass#1{\loadclass[abstracton]{scrartcl}\let\scrmaketitle\maketitle\AtEndOfClass{\let\maketitle\scrmaketitle}} -\documentclass[a4paper,oneside]{ltxdoc} -\usepackage[latin1]{inputenc} -\usepackage[american]{babel} +\PassOptionsToPackage{svgnames}{xcolor} +\documentclass[a4paper,oneside,american,latin1,T1]{ltxdoc} +\AtBeginDocument{\DeleteShortVerb{\|}} +\usepackage{inputenc,babel} \usepackage[T1]{fontenc} -\usepackage{etex,etoolbox,geometry,lastpage,tocloft,graphicx,xspace,tabularx,fancyhdr,color,bbding,embedfile,framed,multirow,txfonts,multirow,makecell,enumitem,arydshln,atveryend,catchfile} -\usepackage[hyperindex=false,pdfusetitle,colorlinks,pdfpagelabels,pdfencoding=auto]{hyperref} +\usepackage{etoolbox,geometry,xcolor,bbding,txfonts,xspace,hologo,graphicx} +\usepackage{lastpage,fancyhdr,enumitem,framed,tocloft,tabu,multirow,makecell} +\usepackage{embedfile} +\usepackage{interfaces} \csname endofdump\endcsname -\usepackage{holtxdoc} -\RequirePackage{grffile,eso-pic}% to include the example -\CodelineNumbered -\usepackage{fancyvrb} -\lastlinefit999 -\geometry{top=2cm,headheight=1cm,headsep=.3cm,bottom=1.4cm,footskip=.5cm,left=2.5cm,right=1cm} +\CodelineNumbered\lastlinefit999 +\usepackage{holtxdoc,bookmark} +\usepackage{fancyvrb}\fvset{gobble=1,listparameters={\topsep=0pt}} \hypersetup{% pdftitle={The linegoal package}, pdfsubject={A new dimen corresponding to the remainder of the line}, pdfauthor={Florent CHERVET}, colorlinks,linkcolor=reflink, - pdfstartview={FitH}, - hyperindex=true, - pdfkeywords={tex, e-tex, latex, package, zref, linegoal}, - bookmarksopen=true,bookmarksopenlevel=2} -\usepackage{bookmark} + pdfstartview=FitH, + pdfkeywords={TeX, LaTeX, e-TeX, pdfTeX, package, zref, linegoal}} \embedfile{\thisfile.dtx} +\geometry{top=0pt,headheight=1cm,includehead,headsep=.6cm,bottom=1.4cm,footskip=.5cm,left=2.5cm,right=1cm} \begin{document} \DocInput{\thisfile.dtx} \end{document} diff --git a/Master/texmf-dist/source/latex/linegoal/linegoal.dtx b/Master/texmf-dist/source/latex/linegoal/linegoal.dtx index 9304d037154..d4ca46b44bc 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 -% 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 @@ -37,7 +37,7 @@ \tracingall \tracingonline=0 \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: 2010/09/25 v2.0 - linegoal : a new dimen corresponding to the remainder of the line} +\Msg{* Package: 2010/10/31 v2.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/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 @@ -58,7 +58,7 @@ version. The latest version of this license is in 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> @@ -99,9 +99,9 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %</ignore> %<*driver> \edef\thisfile{\jobname} -\def\thisinfo{A new ``dimen'' corresponding to the remainder of the line} -\def\thisdate{2010/09/25} -\def\thisversion{2.0} +\def\thisinfo{A new ``dimen'' corresponding to the remainder of the line (\FC)} +\def\thisdate{2010/10/31} +\def\thisversion{2.1} \def\CTANbaseurl{http://www.ctan.org/tex-archive/macros/latex} \def\CTANdisplay{CTAN:macros/latex} \makeatletter\protected\def\CTANhref{\@ifstar\CTANhrefstar\CTANhrefnost}\makeatother @@ -109,37 +109,35 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> \newcommand*\CTANhrefnost[2][/contrib/]{\href{\CTANbaseurl#1#2}{\nolinkurl{\CTANdisplay#1#2}}} \let\loadclass\LoadClass \def\LoadClass#1{\loadclass[abstracton]{scrartcl}\let\scrmaketitle\maketitle\AtEndOfClass{\let\maketitle\scrmaketitle}} -\documentclass[a4paper,oneside]{ltxdoc} -\usepackage[latin1]{inputenc} -\usepackage[american]{babel} +\PassOptionsToPackage{svgnames}{xcolor} +\documentclass[a4paper,oneside,american,latin1,T1]{ltxdoc} +\AtBeginDocument{\DeleteShortVerb{\|}} +\usepackage{inputenc,babel} \usepackage[T1]{fontenc} -\usepackage{etex,etoolbox,geometry,lastpage,tocloft,graphicx,xspace,tabularx,fancyhdr,color,bbding,embedfile,framed,multirow,txfonts,multirow,makecell,enumitem,arydshln,atveryend,catchfile} -\usepackage[hyperindex=false,pdfusetitle,colorlinks,pdfpagelabels,pdfencoding=auto]{hyperref} +\usepackage{etoolbox,geometry,xcolor,bbding,txfonts,xspace,hologo,graphicx} +\usepackage{lastpage,fancyhdr,enumitem,framed,tocloft,tabu,multirow,makecell} +\usepackage{embedfile} +\usepackage{interfaces} \csname endofdump\endcsname -\usepackage{holtxdoc} -\RequirePackage{grffile,eso-pic}% to include the example -\CodelineNumbered -\usepackage{fancyvrb} -\lastlinefit999 -\geometry{top=2cm,headheight=1cm,headsep=.3cm,bottom=1.4cm,footskip=.5cm,left=2.5cm,right=1cm} +\CodelineNumbered\lastlinefit999 +\usepackage{holtxdoc,bookmark} +\usepackage{fancyvrb}\fvset{gobble=1,listparameters={\topsep=0pt}} \hypersetup{% pdftitle={The linegoal package}, pdfsubject={A new dimen corresponding to the remainder of the line}, pdfauthor={Florent CHERVET}, colorlinks,linkcolor=reflink, - pdfstartview={FitH}, - hyperindex=true, - pdfkeywords={tex, e-tex, latex, package, zref, linegoal}, - bookmarksopen=true,bookmarksopenlevel=2} -\usepackage{bookmark} + pdfstartview=FitH, + pdfkeywords={TeX, LaTeX, e-TeX, pdfTeX, package, zref, linegoal}} \embedfile{\thisfile.dtx} +\geometry{top=0pt,headheight=1cm,includehead,headsep=.6cm,bottom=1.4cm,footskip=.5cm,left=2.5cm,right=1cm} \begin{document} \DocInput{\thisfile.dtx} \end{document} %</driver> % \fi % -% \CheckSum{133} +% \CheckSum{143} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -157,8 +155,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % -% \DoNotIndex{\begin,\CodelineIndex,\CodelineNumbered,\def,\DisableCrossrefs,\~,\@ifpackagelater,\z@,\@ne} -% \DoNotIndex{\DocInput,\documentclass,\EnableCrossrefs,\end,\GetFileInfo} +% \DoNotIndex{\begin,\CodelineIndex,\CodelineNumbered,\def,\DisableCrossrefs,\~,\@ifpackagelater,\z@,\@ne,\end,\endinput} +% \DoNotIndex{\DocInput,\documentclass,\EnableCrossrefs,\GetFileInfo} % \DoNotIndex{\NeedsTeXFormat,\OnlyDescription,\RecordChanges,\usepackage} % \DoNotIndex{\ProvidesClass,\ProvidesPackage,\ProvidesFile,\RequirePackage} % \DoNotIndex{\filename,\fileversion,\filedate,\let} @@ -177,77 +175,88 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \DoNotIndex{\the,\width,\star,\space,\section,\subsection,\textasteriskcentered,\textwidth} % \DoNotIndex{\",\:,\@empty,\@for,\@gtempa,\@latex@error,\@namedef,\@nameuse,\@tempa,\@testopt,\@width,\\,\m@ne,\makeatletter,\makeatother} % \DoNotIndex{\maketitle,\parindent,\setbox,\x,\kernel@ifnextchar} -% \DoNotIndex{\KVS@CommaComma,\KVS@CommaSpace,\KVS@EqualsSpace,\KVS@Equals,\KVS@Global,\KVS@SpaceEquals,\KVS@SpaceComma,\KVS@Comma} -% \DoNotIndex{\DefineShortVerb,\DeleteShortVerb,\UndefineShortVerb,\MakeShortVerb,\endinput} -% \makeatletter +% \makeatletter +% \parindent\z@\parskip.4\baselineskip\topsep\parskip\partopsep\z@ +% \newrobustcmd*\FC{{\color{copper}\usefont{T1}{fts}xn FC}} % \newrobustcmd\ClearPage{\@ifstar\clearpage{}} -% \makeatletter -% \MakeShortVerb{\+}\DeleteShortVerb{\|}\DefineShortVerb{\|} +% \def\M{\@ifstar{\M@i\@firstofone}{\M@i\meta}} +% \def\M@i#1{\@ifnextchar[^^A] +% {\M@square#1} +% {\@ifnextchar(^^A) +% {\M@paren#1} +% {\M@brace#1}}^^A +% } +% \def\M@square#1[#2]{\M@Bracket[{#1{#2}}]} +% \def\M@paren#1(#2){\M@Bracket({#1{#2}})} +% \def\M@brace#1#2{\M@Bracket\{{#1{#2}}\}} +% \def\M@Bracket#1#2#3{{\ttfamily#1#2#3}} +% \def\pkgcolor{\color{pkgcolor}}\colorlet{pkgcolor}{teal} % \catcode`\§ \active \def§{\@ifnextchar §{\par\nobreak\vskip-2\parskip}{\par\nobreak\vskip-\parskip}} -% \def\thispackage{\xpackage{{\db\thisfile}}\xspace} +% \def\thispackage{\xpackage{{\pkgcolor\thisfile}}\xspace} % \def\ThisPackage{\Xpackage{\thisfile}\xspace} % \def\Xpackage{\@dblarg\X@package} % \def\X@package[#1]#2{\@testopt{\X@@package{#1}{#2}}{}} % \def\X@@package#1#2[#3]{\xpackage{#2\footnote{\noindent\xpackage{#2}: \CTANhref{#1}#3}}} -% \def\Underbrace#1_#2{$\underbrace{\vtop to2ex{}\hbox{#1}}_{\footnotesize\hbox{#2}}$} -% -% \parindent\z@\parskip.4\baselineskip\topsep\parskip\partopsep\z@ +% \newrobustcmd*\thisyear{\begingroup +% \def\thisyear##1/##2\@nil{\endgroup +% \oldstylenums{##1\ifnum##1=\year\else\,\textendash\,\the\year\fi}% +% }\expandafter\thisyear\thisdate\@nil +% } % \g@addto@macro\macro@font{\macrocodecolor\let\AltMacroFont\macro@font} % \g@addto@macro\@list@extra{\parsep\parskip\topsep\z@\itemsep\z@} -% \DefineVerbatimEnvironment{VerbLines}{Verbatim}{gobble=1,frame=lines,framesep=6pt,fontfamily=txtt,fontseries=m} +% \newcommand\macrocodecolor{\color{macrocode}}\definecolor{macrocode}{rgb}{0.08,0.00,0.15} +% \newcommand\reflinkcolor{\color{reflink}}\definecolor{reflink}{rgb}{0.49,0.00,0.00} +% \newrobustcmd\stform{\@ifnextchar*{\@stform[]\textasteriskcentered\@gobble}\@stform} +% \newrobustcmd\@stform[2][\string]{\texttbf{#1#2}\xspace} +% \DefineVerbatimEnvironment{VerbLines}{Verbatim}{gobble=1,frame=lines,framesep=6pt,fontfamily=\ttdefault,fontseries=m} +% \DefineVerbatimEnvironment{Verb*}{Verbatim}{gobble=1,fontfamily=\ttdefault,fontseries=m,commandchars=$()} % \def\smex{\leavevmode\hb@xt@2em{\hfil$\longrightarrow$\hfil}} -% \newrobustcmd\verbfont{\usefont{T1}{\ttdefault}{\f@series}{n}} \let\vb\verbfont -% \newrobustcmd\vbbf{\usefont{T1}{\ttdefault}bn} % \renewrobustcmd\#[1]{{\usefont{T1}{pcr}{bx}{n}\char`\##1}} % \newrobustcmd\csred[1]{\textcolor{red}{\cs{#1}}} -% \renewrobustcmd\cs[2][]{\mbox{\vb#1\expandafter\@gobble\string\\#2}} -% \newrobustcmd\CSbf[1]{\textbf{\CS{#1}}} +% \renewrobustcmd\cs[2][]{\mbox{\ttfamily#1\expandafter\@gobble\string\\#2}} % \newrobustcmd\csbf[2][]{\textbf{\cs[{#1}]{#2}}} -% \newrobustcmd\textttbf[1]{\textbf{\texttt{#1}}} -% \renewrobustcmd*\bf{\bfseries}\newcommand\nnn{\normalfont\mdseries\upshape}\newcommand\nbf{\normalfont\bfseries\upshape} +% \newrobustcmd\textt[2][]{\texttt{#1{#2}}} +% \newrobustcmd\texttbf{\textt[\bfseries]} +% \newcommand\nnn{\normalfont\mdseries\upshape}\newcommand\nbf{\normalfont\bfseries\upshape} % \newrobustcmd*\blue{\color{blue}}\newcommand*\red{\color{dr}}\newcommand*\green{\color{green}}\newcommand\rred{\color{red}} -% \newrobustcmd\rrbf{\color{red}\bfseries} % \definecolor{copper}{rgb}{0.67,0.33,0.00} \newcommand\copper{\color{copper}} % \definecolor{dg}{rgb}{0.02,0.29,0.00} \newcommand\dg{\color{dg}} % \definecolor{db}{rgb}{0,0,0.502} \newcommand\db{\color{db}} % \definecolor{dr}{rgb}{0.49,0.00,0.00} \let\dr\red % \definecolor{lk}{rgb}{0.2,0.2,0.2} \newrobustcmd\lk{\color{lk}} -% \newrobustcmd\bk{\color{black}}\newcommand\md{\mdseries} +% \newrobustcmd\bk{\color{black}} % \newrobustcmd\ie{\emph{ie.}} -% \newrobustcmd\textt[2][]{\texttt{#1#2}} -% \newcommand\cellstrut{}\let\cellstrut\bottopstrut -% \DefineVerbatimEnvironment{Verb*}{Verbatim}{gobble=1,fontfamily=txtt,fontseries=m,commandchars=$()} -% -% \fancyhf{}\fancyhead[L]{\footnotesize\color[gray]{.35} The \thispackage package -- \thisinfo} -% \fancyfoot[L]{\color[gray]{.35}\scriptsize\thispackage\quad[rev.\thisversion]\quad\copyright\oldstylenums{2010}\,\lower.3ex\hbox{\NibRight}\,Florent Chervet} -% \fancyfoot[R]{\oldstylenums{\thepage} / \oldstylenums{\pageref{LastPage}}} +% \let\cellstrut\bottopstrut +% \pagesetup{% +% head/rule/width=.1pt, +% head/rule/font=\color[gray]{.55}, +% font=\scriptsize\color[gray]{.55}, +% head/left=The \thispackage package -- \thisinfo, +% foot/left=\vbox to\baselineskip{\vss{{\rotatebox[origin=l]{90}{\thispackage\,[rev.\thisversion]\,\copyright\,\thisyear\,\lower.4ex\hbox{\pkgcolor\NibRight}\,\FC}}}}, +% left/offset=1.5cm, +% foot/right=\oldstylenums{\arabic{page}}/\oldstylenums{\pageref{LastPage}}, +% } % \pagestyle{fancy} -% \fancypagestyle{plain}{% -% \let\headrulewidth\z@ -% \fancyhf{}% -% \fancyfoot[R]{\oldstylenums{\thepage} / \oldstylenums{\pageref{LastPage}}}} -% -% \newcommand\macrocodecolor{\color{macrocode}}\definecolor{macrocode}{rgb}{0.18,0.00,0.45} -% \newcommand\reflinkcolor{\color{reflink}}\definecolor{reflink}{rgb}{0.49,0.00,0.00} -% \newrobustcmd\stform{\@ifnextchar*{\@stform[]\textasteriskcentered\@gobble}\@stform} -% \newrobustcmd\@stform[2][\string]{\textttbf{\rred#1#2}\xspace} -% +% \pagesetup[plain]{% +% norules, +% foot/right/font=\scriptsize\color[gray]{.55}, +% foot/right=\oldstylenums{\arabic{page}}/\oldstylenums{\pageref{LastPage}}, +% } +% \bookmarksetup{openlevel=3} % \makeatother % % \deffootnote{1em}{0pt}{\rlap{\textsuperscript{\thefootnotemark}}\kern1em} -% % \title{\vspace*{-28pt}\mdseries The {\bfseries\thispackage\footnotemark}\kern.6em package} % \author{\tiny\xemail{florent.chervet at free.fr}} % \date{\thisdate~--~version \thisversion} % \subtitle{\thisinfo} -% ^^A\subject{\thisinfo} % \maketitle % % \makeatletter\begingroup\let\@thefnmark\@empty\let\@makefntext\@firstofone % \footnotetext{\noindent % This documentation is produced with the +DocStrip+ utility. % \begin{tabbing} -% \qquad\=\smex\=To get the documentation, \= run (thrice):\quad\= \texttt{pdflatex \thisfile.dtx} \\ +% \qquad\=\smex\=To get the documentation, \= run (thrice):\quad\= \textt{pdflatex \thisfile.dtx} \\ % \qquad\>\>To get the index, \> run:\>\texttt{makeindex -s gind.ist \thisfile.idx} \\ % \>\smex\>To get the package, \> run:\> \texttt{etex \thisfile.dtx} % \end{tabbing}§ @@ -255,49 +264,49 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \endgroup\makeatother % % \deffootnote{1em}{0pt}{\rlap{\thefootnotemark.}\kern1em} -% \vspace*{-26pt} -% \begin{abstract}\parskip\medskipamount\parindent0pt\noindent\lastlinefit0\relax\linewidth\dimexpr\hsize-\leftmargin-\rightmargin\relax +% {\vspace*{-16pt}\let\quotation\relax +% \begin{abstract}\parskip\medskipamount\parindent0pt\lastlinefit0\relax\rightskip1.5cm\leftskip\rightskip\advance\linewidth by-2\leftskip % % \thispackage provides a macro \csbf{linegoal} which expands to the dimension of the remainder of the line. -% It requires pdf\TeX{} for its \cs{pdfsavepos} primitive. Two compilations (at least) are necessary to get -% the correct line goal. -% -% Saying:\par\vskip-2\parskip -% \begin{Verb*} -% \somedimen=\linegoal -% ($nnn or:) -% \setlength\somedimen{\linegoal} -% \end{Verb*} +% It requires \hologo{pdfTeX} for its \cs{pdfsavepos} primitive. With \hologo{pdfTeX}, \cs{pdfsavepos} works +% in \textt{pdf} mode (\cs{pdfoutput}>0) \textbf{and also in} \textt{dvi} mode (\cs{pdfoutput}=0). +% Two compilations (at least) are necessary to get the correct line goal.§ +% {\centering\extrarowheight\parskip +% \begin{tabular}{ll} +% Saying: &\Verb+\somedimen = \linegoal+ \\ +% or: &\Verb+\setlength \somedimen {\linegoal}+ +% \end{tabular}\par} +% % sets \cs{somedimen} to be the (horizontal) length of the remainder of the current line. This can be useful for -% use with \xpackage{tabularx} or \xpackage{tabular*} for example (see \nameref{userinterface}). -% -% More precisely: -% -% \begin{tabularx}\linewidth{lX} +% use with \textt{tabularx},\, \textt{tabular\stform*}\, or\, \textt{tabu}\, for example.§ +% {\centering\extrarowheight\parskip +% \begin{tabu} to\linewidth{@{}lX} % At first run: &\cs{linegoal} expands to \cs{linewidth} and writes the correct line goal into the \xext{aux} file. \\ % Other runs: &\cs{linegoal} expands to the value read in the \xext{aux} file and (eventually) updates the -% correct line-goal into the \xext{aux} file, it its value has changed. -% \end{tabularx} +% correct line-goal into the \xext{aux} file, if the value has changed. +% \end{tabu}\par} % -% \thispackage requires pdf\TeX{} and uses the \xpackage{zref-savepos} module of \Xpackage[/oberdiek/]{zref} package. +% \thispackage requires pdf\TeX{} (in \textt{pdf} or \textt{dvi} mode) and the module \xpackage{zref-savepos} of \Xpackage[/oberdiek/]{zref} package. % % \end{abstract} % -% \DeleteShortVerb{\+}\enlargethispage{\baselineskip} -% \cftbeforesecskip=4pt plus2pt minus2pt -% \cftbeforesubsecskip=0pt plus2pt minus2pt -% \renewcommand\contentsname{\vspace*{-12pt}Contents\quad\leaders\vrule height3.4pt depth-3pt\hfill\null\kern0pt\vskip-6pt} +% \tocsetup{% +% section/skip=4pt plus2pt minus2pt, +% subsection/skip=0pt plus2pt minus2pt, +% section/dotsep, +% dotsep=1mu, +% dot=\hbox{$\scriptscriptstyle\ldotp$}, +% title=Contents\quad\leaders\vrule height3.4pt depth-3pt\hfill\null, +% title/bottom=6pt, +% after=\leavevmode\hrule, +% } % ^^A\vskip-.8\baselineskip % \tableofcontents -% \leavevmode\leaders\vrule height3.4pt depth-3pt\hfill\null -% \ClearPage -% \hypersetup{bookmarksopenlevel=2} -% -% ^^A\clearpage -% \MakeShortVerb{\+} % % \def\B#1{\texttt{[}\meta{#1}\texttt{]}} % +% \ClearPage* +% % \section{User interface} % \label{userinterface} % @@ -309,35 +318,31 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \end{tabularx} % \end{VerbLines} % -% \DeleteShortVerb{\+} -% \tracingtabularx % % This is a tabular that fills the remainder of the line: % \ifcsname ver@linegoal.sty\endcsname -% \begin{tabularx}\linegoal{|l|X|}\hline +% \begin{tabu}\linegoal{|l|X|}\hline % Something & Something else \\ % Something & Something else \\\hline -% \end{tabularx} +% \end{tabu} % \else -% \begin{tabularx}{279.6pt}{|l|X|}\hline +% \begin{tabu} to279.6pt{|l|X|}\hline % Something & Something else \\ % Something & Something else \\\hline -% \end{tabularx}% +% \end{tabu}% % \fi % % % \StopEventually{ % } % -% \hypersetup{bookmarksopenlevel=1} % \section{Implementation} \label{sec:implementation} % \csdef{HDorg@PrintMacroName}#1{\hbox to4em{\strut \MacroFont \string #1\ \hss}} % % \subsection{Identification} % % \begin{itemize} -% \item This package is intended to use with \LaTeX{} so we don't check if it is loaded twice. -% \item The package namespace is \textttbf{\db\string\LNGL@} +% \item The package namespace is \texttbf{\macrocodecolor\string\LNGL@} % \end{itemize} % % \begin{macrocode} @@ -345,7 +350,7 @@ 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 \ProvidesPackage{linegoal} - [2010/09/25 v2.0 - A new dimen corresponding to the remainder of the line] + [2010/10/31 v2.1 - A new dimen corresponding to the remainder of the line] % \end{macrocode} % % \subsection{Requirements} @@ -355,10 +360,12 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % It requires \xpackage{srclfile} for a patch when using the \xpackage{calc} package. % % \begin{macrocode} -\ifdefined\pdfsavepos\else +\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} @@ -407,8 +414,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> \global\advance\LNGL@unique\@ne \else\LNGL@noauxerr \fi - \@esphack -}% \set@linegoal + \@esphack +}% \LNGL@set \def\LNGL@warn#1\relax{\PackageWarning{linegoal} {\string\linegoal\space value on page #1 \MessageBreak has changed since last run @@ -425,6 +432,12 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \DeleteShortVerb{\+} % \begin{History} % +% \begin{Version}{2010/10/31 v2.1} +% \item \thispackage works also without \hologo{pdfTeX}, but \cs{linegoal} +% is replaced by \cs{linewidth} in any case. \\ +% A warning is displayed. +% \end{Version} +% % \begin{Version}{2010/09/25 v2.0} % \item New approach: \cs{setlength} is not used anymore. \\ % \cs{linegoal} behaves more like a real dimen. \\ @@ -454,7 +467,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \CTAN{macros/latex/contrib/oberdiek/}. % % \end{thebibliography} -% \clearpage +% ^^A\clearpage % \PrintIndex % % \Finale
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/linegoal/linegoal.ins b/Master/texmf-dist/source/latex/linegoal/linegoal.ins index ad75a778b85..4b671c4eb41 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/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> @@ -27,7 +27,7 @@ \tracingall \tracingonline=0 \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: 2010/09/25 v2.0 - linegoal : a new dimen corresponding to the remainder of the line} +\Msg{* Package: 2010/10/31 v2.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/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 @@ -48,7 +48,7 @@ version. The latest version of this license is in 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> 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 |