diff options
author | Karl Berry <karl@freefriends.org> | 2012-10-31 21:45:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-10-31 21:45:29 +0000 |
commit | fe292a00361ba423d6f6fa42be3d88782b664c0b (patch) | |
tree | 48e2c96affe6cf169a970ab9dd7cba81edb038b2 /Master | |
parent | 54ba93bf0a6f72847b3981af2e763a8ce60b9d07 (diff) |
monofill (31oct12)
git-svn-id: svn://tug.org/texlive/trunk@28140 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/monofill/Announce.txt | 19 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/monofill/README | 38 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/monofill/SrcFILEs.txt | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/monofill/monofill.pdf | bin | 320689 -> 324368 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/monofill/monofill.tex | 24 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/monofill/srcfiles.tex | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/monofill/monofill.RLS | 1 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/monofill/monofill.sty | 32 |
8 files changed, 107 insertions, 36 deletions
diff --git a/Master/texmf-dist/doc/latex/monofill/Announce.txt b/Master/texmf-dist/doc/latex/monofill/Announce.txt new file mode 100644 index 00000000000..e3c67008868 --- /dev/null +++ b/Master/texmf-dist/doc/latex/monofill/Announce.txt @@ -0,0 +1,19 @@ + +v0.2 2012-10-30 + + `monofill.sty' addresses horizontal alignment with plain + text as in the result of LaTeX's \listfiles for plain text + output. v0.2 in fact provides a tool for use with the + `hardwrap' package that addresses console output: an + "other" "blank token" as "filling element", "\MFotherspace". + +v0.1 2012-03-19 + + `monofill.sty' addresses horizontal alignment with plain + text as in the result of LaTeX's \listfiles, extending the + `longnamefilelist' package for ideas by Martin Muench. + It may also be useful for alignment in typesetting + monospaced characters as in figure tables, for simulating + a typewriter, or for code listings. The implementation + also has "philosophical aspects," avoiding use of a counter + register. diff --git a/Master/texmf-dist/doc/latex/monofill/README b/Master/texmf-dist/doc/latex/monofill/README index 797203767d4..3fcceea1a0c 100644 --- a/Master/texmf-dist/doc/latex/monofill/README +++ b/Master/texmf-dist/doc/latex/monofill/README @@ -1,21 +1,29 @@ - README for the `monofill' package - (C) Uwe Lueck 2012/03/19 + + README for the `monofill' package + + "Alignment with Plain Text or Monospaced Characters" + + (C) Uwe Lueck 2012/10/30 `monofill.sty' addresses horizontal alignment with plain text -as in the result of LaTeX's \listfiles, extending the -longnamefilelist package for ideas by Martin Muench. -It may also be useful for alignment in typesetting monospaced -characters as in figure tables, for simulating a typewriter, -or for code listings. The implementation also has "philosophical -aspects," avoiding use of a counter register. - -The package file `monofill.sty' and the documentation files -`monofill.pdf' and `monofill.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 +as in the result of LaTeX's \listfiles. In the first instance, +it has been developed as the shared tool to adjust each column +with the `nicefilelist' package. It may also be useful for +alignment in typesetting monospaced characters as in figure +tables, for simulating a typewriter, or for code listings. +v0.2 in fact provides a tool for use with the `hardwrap' +package that in turn has been made for console output. +The implementation also has "philosophical aspects" in +avoiding use of a counter register. + +LICENSE: The package file `monofill.sty' and the documentation + files `monofill.pdf' and `monofill.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 There is NO WARRANTY, actually this is somewhat experimental. diff --git a/Master/texmf-dist/doc/latex/monofill/SrcFILEs.txt b/Master/texmf-dist/doc/latex/monofill/SrcFILEs.txt new file mode 100644 index 00000000000..cd5091ceebd --- /dev/null +++ b/Master/texmf-dist/doc/latex/monofill/SrcFILEs.txt @@ -0,0 +1,11 @@ + + *File List* +monofill.sty 2012/10/29 v0.2 monospace alignment (UL) +monofill.tex 2012/10/29 -- documenting monofill.sty +monofill.RLS 2012/10/29 v0.2 \MFotherspace +srcfiles.tex 2012/10/30 -- file infos -> SrcFILEs.txt + *********** + + List made at 2012/10/30, 21:30 + from script file srcfiles.tex + diff --git a/Master/texmf-dist/doc/latex/monofill/monofill.pdf b/Master/texmf-dist/doc/latex/monofill/monofill.pdf Binary files differindex 8001fb3a606..4b83648eca6 100644 --- a/Master/texmf-dist/doc/latex/monofill/monofill.pdf +++ b/Master/texmf-dist/doc/latex/monofill/monofill.pdf diff --git a/Master/texmf-dist/source/latex/monofill/monofill.tex b/Master/texmf-dist/source/latex/monofill/monofill.tex index 58507ad9cd1..9efed129b30 100644 --- a/Master/texmf-dist/source/latex/monofill/monofill.tex +++ b/Master/texmf-dist/source/latex/monofill/monofill.tex @@ -1,4 +1,4 @@ -\ProvidesFile{monofill.tex}[2012/09/30 documenting monofill.sty] +\ProvidesFile{monofill.tex}[2012/10/30 documenting monofill.sty] \title{\textsf{\huge monofill.sty}\\---\\Alignment with Plain Text\\ or Monospaced Characters\thanks{This document describes version @@ -19,12 +19,18 @@ \maketitle \begin{abstract}\noindent 'monofill.sty' addresses horizontal alignment with plain text -as in the result of \LaTeX's `\listfiles', extending the -\ctanpkgref{longnamefilelist} package. +as in the result of \LaTeX's `\listfiles'. +%% 2012/10/30: +In the first instance, it has been developed as the shared +tool to adjust each column with the \ctanpkgref{nicefilelist} package. +%% /2012/10/30 It may also be useful for alignment in typesetting monospaced characters as in figure tables, for simulating a typewriter, -or for code listings.---The implementation also has ``philosophical -aspects," avoiding use of a counter register. +or for code listings. +v0.2 in fact provides a tool for use with the %% 2012/10/30 +\ctanpkgref{hardwrap} package that in turn has been made for console output. +The implementation also has ``philosophical aspects" +in avoiding use of a counter register. \end{abstract} \tableofcontents @@ -97,6 +103,8 @@ followed by I get % \MFfieldtemplate[\MFspace]{tt}{leftright} \MFfieldtemplate[\MFenspace]{tt}{leftright} +% \MFfieldtemplate[\MFotherspace]{tt}{leftright} +%% <- works to % \MFfieldtemplate[\enspace]{tt}{leftright} % \MFfieldtemplate[\kern.5em ]{tt}{leftright} % \renewcommand*{\MFfillelement}{\kern.5em } @@ -153,7 +161,8 @@ It works, believe me. \input{monofill.doc} \section{Credit} -The package actually is motivated by good ideas of Martin Muench's about +The package actually is motivated by good ideas of +\ctanpkgauref{muench-hm}{Martin M\"unch}'s about extending the \ctanpkgref{longnamefilelist} package. \end{document} @@ -164,3 +173,6 @@ VERSION HISTORY 2012/03/19 completed 2012/03/19 for v0.1a enlargened first title line 2012/09/30 for v0.1b ize -> ese +2012/10/29 for v0.2 just used example to try \MFotherspace, + typing M\"unch +2012/10/30 mention nicefilelist diff --git a/Master/texmf-dist/source/latex/monofill/srcfiles.tex b/Master/texmf-dist/source/latex/monofill/srcfiles.tex index 8ac79e2da59..3b87270bb27 100644 --- a/Master/texmf-dist/source/latex/monofill/srcfiles.tex +++ b/Master/texmf-dist/source/latex/monofill/srcfiles.tex @@ -1,9 +1,9 @@ -\ProvidesFile{srcfiles.tex}[2012/09/30 file infos -> SrcFILEs.txt] +\ProvidesFile{srcfiles.tex}[2012/10/30 file infos -> SrcFILEs.txt] +\RequirePackage{filedate} \RequirePackage[r]{nicefilelist} -\MFfieldtemplate{f-base}{.monofill} +%\MFfieldtemplate{f-base}{monofill} %\def\NFLspaceII{ } -\RequirePackage{myfilist} -\EmptyFileList[monofill.sty] %%% [readprov.sty,myfilist.sty] +\MaxBaseEmptyList*[monofill.sty] %% packages: \ReadPackageInfos{monofill} %% documentation: @@ -12,6 +12,14 @@ %\ReadPackageInfos{fifinddo,makedoc,niceverb} %\ReadFileInfos{makedoc.cfg,mdoccorr.cfg} \ReadFileInfos{monofill.RLS} +%\FileListRemark{USED....} +%\ReadPackageInfos{texlinks} %\ReadFileInfos{srcfiles} +%\NoStopListInfos[SrcFILEs.txt] +\ReadFileInfos{srcfiles.tex} +\CheckDateOfPDFmod{monofill.sty} +\CheckDateOfPDFmod{monofill.tex} +\CheckDateOfPDFmod{monofill.RLS} +\CheckDateOfPDFmod{srcfiles.tex} +%\stop \ListInfos[SrcFILEs.txt] - diff --git a/Master/texmf-dist/tex/latex/monofill/monofill.RLS b/Master/texmf-dist/tex/latex/monofill/monofill.RLS index 478aabcc622..3791d89a47a 100644 --- a/Master/texmf-dist/tex/latex/monofill/monofill.RLS +++ b/Master/texmf-dist/tex/latex/monofill/monofill.RLS @@ -1,2 +1,3 @@ \ProvidesFile{monofill.RLS} %% RELEASE INFO + [2012/10/29 v0.2 \string\MFotherspace] [2012/09/30 r0.1b doc.: ize -> ese] diff --git a/Master/texmf-dist/tex/latex/monofill/monofill.sty b/Master/texmf-dist/tex/latex/monofill/monofill.sty index 30371026b0d..486bc977393 100644 --- a/Master/texmf-dist/tex/latex/monofill/monofill.sty +++ b/Master/texmf-dist/tex/latex/monofill/monofill.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{monofill}[2012/03/29 v0.1a monospace alignment (UL)] +\ProvidesPackage{monofill}[2012/10/29 v0.2 monospace alignment (UL)] %% Copyright (C) 2012 Uwe Lueck, %% http://www.contact-ednotes.sty.de.vu @@ -18,7 +18,8 @@ %% %% == User Commands == %% \label{sec:user} -%% |\MFfieldtemplate[<fill-element>]{<field>}{<template>}|\\[\smallskipamount] +%% %% \[...\] rather than \\[...] 2012/10/29: +%% \[|\MFfieldtemplate[<fill-element>]{<field>}{<template>}|\] %% determines the width of fields with id <field> to be the same %% as of <template>: \newcommand*{\MFfieldtemplate}[3][\MFfillelement]{% @@ -30,13 +31,14 @@ %% `\MF@make@bg' is defined in Sec.~\ref{sec:field}. %% \medbreak\noindent %% \medbreak 2012/03/29 %% %% <- TODO as in morgan.sty "vert. cmd. box" -%% |\MFfillelement| is the default for <fill-element>, +%% \[|\MFfillelement|\] %% \[...\] 2012/10/29 +%% is the default for <fill-element>, %% defined to be (like) `\space' here: \newcommand*{\MFfillelement}{} \let\MFfillelement\space %% <fill-element> \emph{must} be a \emph{``single item"} %% (that \TeX\ converts into a single token, due to our %% comparison mechanism), so for using somewhat more complex <complex> than `\space', -%% \[`\renewcommand*{\MFfillelement}{<complex>}'\] +%% \[|\renewcommand*{\MFfillelement}{<complex>}|\] %% |...| 2012/10/29 %% must be used instead of the optional argument.---It was very hard %% for me with \emph{typesetting}, what finally worked were %% |\MFspace| and @@ -46,18 +48,27 @@ \newcommand*{\MFspace}{\mbox{ }} % \newcommand*{\MFenspace}{\leavevmode\enspace} \newcommand*{\MFenspace}{\mbox{\enspace}} -%% \medbreak\noindent %% \medbreak 2012/03/29 -%% %% <- TODO as in morgan.sty "vert. cmd. box" -%% |\MFleftinfield{<text>}{<field>}|\\[\smallskipamount] returns <text>, +%% For using the \ctanpkgref{nicefilelist} and \ctanpkgref{hardwrap} +%% packges together, I needed the following |\MFotherspace| as +%% `\MFfillelement'---expanding to a character token that is a +%% blank space according to its character code, but belongs to the +%% ``other" category: +\newcommand*{\MFotherspace}{} {\@makeother\ \gdef\MFotherspace{ }} +%% More generally, I guess that this is the perfect ``filling +%% element" in text to be wrapped by 'hardwrap'. +%% \medbreak\noindent %% \medbreak 2012/10/29 +%% \[|\MFleftinfield{<text>}{<field>}|\] +%% returns <text>, %% followed by <fill-elements> to get as many elements %% (characters) as the <template> associated with <field>: \newcommand*{\MFleftinfield}{\MF@check@field l} -%% \smallskip\noindent -%% |\MFrightinfield{<text>}{<field>}| returns the <fill-elements> -%% before giving <text>: +%% % \smallskip\noindent +%% \[|\MFrightinfield{<text>}{<field>}|\] %% \[...\] 2012/10/29 +%% returns the <fill-elements> before giving <text>: \newcommand*{\MFrightinfield}{\MF@check@field r} %% `\MF@check@field' is defined in Sec.~\ref{sec:text}. %% +%% \pagebreak %% 2012/10/29 %% == Internal Commands == %% === Tools === %% We test arguments <arg> on emptiness by @@ -187,3 +198,4 @@ v0.1 2012/03/18 started 2012/03/19 completed v0.1a 2012/03/29 doc.: \medbreak (fix); \strong +v0.2 2012/10/29 \MFotherspace; doc. slightly reformatted |