diff options
author | Karl Berry <karl@freefriends.org> | 2011-02-10 00:13:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-02-10 00:13:25 +0000 |
commit | a8c35125a771efeb6aaa6d2cd8425367b946fa4d (patch) | |
tree | d902a5e6ed3f4b76035c0e8186269c9c4ffef20b /Master | |
parent | 236a7ef87717b35a12b901386d849d01885b3fab (diff) |
new latex package finstrut (9feb11)
git-svn-id: svn://tug.org/texlive/trunk@21355 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/finstrut/README | 36 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/finstrut/SRCFILEs.txt | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/finstrut/finstrut.pdf | bin | 0 -> 123156 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/finstrut/finstrut.tex | 66 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/finstrut/srcfiles.tex | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/finstrut/finstrut.sty | 51 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/finstrut.tlpsrc | 0 |
9 files changed, 173 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/finstrut/README b/Master/texmf-dist/doc/latex/finstrut/README new file mode 100644 index 00000000000..c75bb4711e4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/finstrut/README @@ -0,0 +1,36 @@ + README for the `finstrut' package + \@finalstrut allowing vertical mode + (C) Uwe Lueck 2011/02/09 + + +`finstrut.sty' changes LaTeX's \@finalstrut (that is +automatically inserted at the end of footnote text) so that +it does not produce an extra empty line in vertical mode, +e.g., with \lipsum from lipsum.sty for dummy text. + +KEYWORDs: footnotes; tables, dummy text, macro programming + +The package file `finstrut.sty' and the documentation files +`finstrut.pdf' and `finstrut.tex' can be redistributed and/or +modified under the terms of the LaTeX Project Public License; +either version 1.3c of the License, or any later version, see + + http://www.latex-project.org/lppl.txt + +We did our best to help you, but there is NO WARRANTY. + +The `finstrut' package is author-maintained in the sense of +this license. + +The latest public version of the package is available at + + http://mirror.ctan.org/macros/latex/contrib/finstrut/ + +A TDS version `finstrut.tds.zip' is available at + + http://mirror.ctan.org/install/macros/latex/contrib/ + +Please report bugs, problems, and suggestions via + + http://www.contact-ednotes.sty.de.vu + diff --git a/Master/texmf-dist/doc/latex/finstrut/SRCFILEs.txt b/Master/texmf-dist/doc/latex/finstrut/SRCFILEs.txt new file mode 100644 index 00000000000..5730810bb46 --- /dev/null +++ b/Master/texmf-dist/doc/latex/finstrut/SRCFILEs.txt @@ -0,0 +1,12 @@ + + *File List* +finstrut.sty 2010/12/20 v0.1 vmode final strut (UL) +finstrut.tex 2011/02/08 documenting finstrut.sty (UL) + makedoc.cfg 2011/01/24 documentation settings +mdoccorr.cfg 2011/01/27 local typographical corrections with makedoc.sty +srcfiles.tex 2011/02/09 collect file infos + *********** + + List made at 2011/02/09, 17:48 + from script file srcfiles.tex + diff --git a/Master/texmf-dist/doc/latex/finstrut/finstrut.pdf b/Master/texmf-dist/doc/latex/finstrut/finstrut.pdf Binary files differnew file mode 100644 index 00000000000..1b7d8862dcb --- /dev/null +++ b/Master/texmf-dist/doc/latex/finstrut/finstrut.pdf diff --git a/Master/texmf-dist/source/latex/finstrut/finstrut.tex b/Master/texmf-dist/source/latex/finstrut/finstrut.tex new file mode 100644 index 00000000000..273610998d5 --- /dev/null +++ b/Master/texmf-dist/source/latex/finstrut/finstrut.tex @@ -0,0 +1,66 @@ +\ProvidesFile{finstrut.tex}[2011/02/08 documenting finstrut.sty (UL)] +\title{\textsf{finstrut.sty}\\---\\Final Strut Allowing Vertical + Mode\thanks{This document describes version + \textcolor{blue}{\UseVersionOf{finstrut.sty}} + of \textsf{finstrut.sty} as of \UseDateOf{finstrut.sty}.}} +% \listfiles %% 2010/12/22 +{ \RequirePackage{makedoc}[2010/12/20] \ProcessLineMessage{} + \MakeJobDoc{19}{\SectionLevelThreeParseInput} %% 2010/12/16 + %% 2010/12/20: + \input{mdoccorr.cfg} + \SetPatternCodes{\MakeOther\\} + \PrependExpandableAllReplacer{LaTeX}{LaTeX}{\LaTeX} + \SetCorrectHookJobLast + \ResultFile{finstrut.doc} + \HeaderLines{18} + \MainDocParser{\ProcessInputWith{PPScomment}} + \MakeCloseDoc{finstrut.sty} +} +\documentclass{article}%% TODO paper dimensions!? +\input{makedoc.cfg} %% shared formatting settings +\newcommand*{\lt}{<} \newcommand*{\gt}{>} %% 2010/12/22 +\providecommand*{\strong}{\textbf} %% 2010/12/15 +\ReadPackageInfos{finstrut} +\usepackage{color} +\makeatletter \@beginparpenalty\@lowpenalty \makeatother +\sloppy +\begin{document} +\maketitle +\begin{abstract}\noindent +\LaTeX\ internally inserts `\@finalstrut<strutbox>' +at the end of footnotes or `p' (paragraph) `tabular' cells. +When the user's entry ends on a `\par' token---which may +be issued by some more-general-purpose user macro +such as the `\lipsum' command from the \ctanpkgref{lipsum} +package\urlfoot{CtanPkgRef}{lipsum} for dummy text---this +produces a usually unwanted extra, empty line. +'finstrut.sty' changes `\@finalstrut' in order to avoid +this effect. + \par\smallskip\noindent +\strong{Keywords:}\quad footnotes; tables, dummy text, +macro programming +\end{abstract} +% \tableofcontents + +% \newpage +\section{Installing and Calling} +The package file 'finstrut.sty' is provided ready, +installation only requires putting it somewhere where \TeX\ finds it +(which may need updating the filename data + base).\urlfoot{ukfaqref}{inst-wlcf} + +Below the `\documentclass' line(s) and above `\begin{document}', +you load 'finstrut.sty' (as usually) by +\begin{verbatim} + \usepackage{finstrut} +\end{verbatim} +There are no package options. + +\section{The Package File} +\input{finstrut.doc} +\end{document} + +VERSION HISTORY + +2011/02/08 cut out from `fnlineno.sty' + diff --git a/Master/texmf-dist/source/latex/finstrut/srcfiles.tex b/Master/texmf-dist/source/latex/finstrut/srcfiles.tex new file mode 100644 index 00000000000..201d25b8809 --- /dev/null +++ b/Master/texmf-dist/source/latex/finstrut/srcfiles.tex @@ -0,0 +1,6 @@ +\RequirePackage{myfilist} +\ProvidesFile{srcfiles.tex}[2011/02/09 collect file infos] +\EmptyFileList %%% [readprov.sty,myfilist.sty] +\ReadPackageInfos{finstrut} +\ReadFileInfos{finstrut,makedoc.cfg,mdoccorr.cfg,srcfiles} +\ListInfos[SRCFILEs.txt] diff --git a/Master/texmf-dist/tex/latex/finstrut/finstrut.sty b/Master/texmf-dist/tex/latex/finstrut/finstrut.sty new file mode 100644 index 00000000000..71604491c1f --- /dev/null +++ b/Master/texmf-dist/tex/latex/finstrut/finstrut.sty @@ -0,0 +1,51 @@ +\NeedsTeXFormat{LaTeX2e}[1994/12/01] +\ProvidesPackage{finstrut}[2010/12/20 v0.1 vmode final strut (UL)] + +%% Copyright (C) 2010 Uwe Lueck, +%% http://www.contact-ednotes.sty.de.vu +%% -- author-maintained in the sense of LPPL below -- +%% +%% This file can be redistributed and/or modified under +%% the terms of the LaTeX Project Public License; either +%% version 1.3c of the License, or any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% We did our best to help you, but there is NO WARRANTY. +%% +%% Please report bugs, problems, and suggestions via +%% +%% http://www.contact-ednotes.sty.de.vu +%% +%% This is a variant of LaTeX's `\@finalstrut' +%% that doesn't produce a spurious empty line +%% in vmode. In general, this deals with a +%% closing `\par' from users in footnotes, +%% the idea especially came from using the +%% 'lipsum' package. +%% See `source2e.pdf' for the rationale +%% behind the original definition; it may imply +%% that the present suggestion is bad with +%% `p' columns in `tabular' etc. +\renewcommand*{\@finalstrut}[1]{% + \unskip + \ifhmode + \nobreak +%% ... allows hyphenation of last word. + \vrule \@width\z@ \@height\z@ + \@depth \expandafter \dp + \else +%% Assuming it's vmode: + \kern -\prevdepth + \kern \expandafter \dp + \fi +%% With the applications in `latex.ltx', namely with +%% one-token parameters only, the parameter could be +%% dropped. Keeping it may once be useful for referring +%% to a box register by `\box<n>'. + #1% +} +\endinput +%% +%% == VERSION HISTORY == + +v0.1 2010/12/20 very first diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index f3cded332d8..8d6cf138e90 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -141,7 +141,7 @@ my @TLP_working = qw( fancybox fancyhdr fancynum fancypar fancyref fancytooltips fancyvrb FAQ-en fbithesis fbs featpost fenixpar feyn feynmf fge fig4latex figbas figbib figflow figsize - filecontents filehook fileinfo findhyph fink first-latex-doc + filecontents filehook fileinfo findhyph fink finstrut first-latex-doc fix2col fixfoot fixme fixpdfmag fjodor flabels flacards flagderiv flashcards flashmovie flippdf float floatrow diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index f7df651d5ca..6f64bbfc4c2 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -230,6 +230,7 @@ depend filecontents depend filehook depend fileinfo depend fink +depend finstrut depend fixfoot depend fixme depend fjodor diff --git a/Master/tlpkg/tlpsrc/finstrut.tlpsrc b/Master/tlpkg/tlpsrc/finstrut.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/finstrut.tlpsrc |