diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-04 00:10:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-04 00:10:04 +0000 |
commit | 4782bba527fabe58488f7cf7119e7b0609ff9861 (patch) | |
tree | 9c5ae27cc1b3bf364d9c5e138e4f58185378ea1a /Master/texmf-dist | |
parent | fd3ad4097309e4e4b732778b17ce6024c19e2641 (diff) |
bytefield 1.3 (4nov10)
git-svn-id: svn://tug.org/texlive/trunk@20297 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/bytefield/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/bytefield/bytefield.pdf | bin | 273534 -> 267485 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/bytefield/bytefield.dtx | 22 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/bytefield/bytefield.ins | 24 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bytefield/bytefield.sty | 11 |
5 files changed, 41 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/bytefield/README b/Master/texmf-dist/doc/latex/bytefield/README index ca778a0a6a6..66ba8b7a5bd 100644 --- a/Master/texmf-dist/doc/latex/bytefield/README +++ b/Master/texmf-dist/doc/latex/bytefield/README @@ -34,7 +34,7 @@ hyperref hyperlinks. Copyright and license --------------------- -Copyright (C) 2008 Scott Pakin, scott+bf@pakin.org +Copyright (C) 2010 Scott Pakin, scott+bf@pakin.org This package may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3a of this diff --git a/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf b/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf Binary files differindex 2fbf1925b7f..e2d1e3bbcf0 100644 --- a/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf +++ b/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf diff --git a/Master/texmf-dist/source/latex/bytefield/bytefield.dtx b/Master/texmf-dist/source/latex/bytefield/bytefield.dtx index 7504d58c68e..4f6d096cb78 100644 --- a/Master/texmf-dist/source/latex/bytefield/bytefield.dtx +++ b/Master/texmf-dist/source/latex/bytefield/bytefield.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2008 by Scott Pakin <scott+bf@pakin.org> +% Copyright (C) 2010 by Scott Pakin <scott+bf@pakin.org> % ------------------------------------------------------ % % This file may be distributed and/or modified under the @@ -22,7 +22,7 @@ %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{bytefield} %<*package> - [2005/07/31 v1.2a Network protocol diagrams] + [2010/10/31 v1.3 Network protocol diagrams] %</package> % %<*driver> @@ -64,7 +64,7 @@ %</driver> % \fi % -% \CheckSum{599} +% \CheckSum{615} % % \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 @@ -924,6 +924,22 @@ \dimendef#1=\allocationnumber \wlog{\string#1=\string\dimen\the\allocationnumber\space (locally)}} % \end{macrocode} +% If we're using $\varepsilon$-\TeX, we have access to many more +% \meta{dimen}s. The \textsf{etex} package makes these available via +% the |\locdimen| macro. At the start of the document we check if +% |\locdimen| is defined and, if so, replace the preceding definition of +% |\bf@newdimen| with \textsf{etex}'s |\locdimen|. +% \changes{v1.3}{2010/10/31}{Added support for $\varepsilon$-\TeX's larger +% local \meta{dimen} pool (code provided by Heiko Oberdiek)} +% \begin{macrocode} +\AtBeginDocument{% + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname locdimen\endcsname\relax + \else + \let\bf@newdimen\locdimen + \fi +} +% \end{macrocode} % \end{macro} % % \begin{macro}{\bytefield@height} diff --git a/Master/texmf-dist/source/latex/bytefield/bytefield.ins b/Master/texmf-dist/source/latex/bytefield/bytefield.ins index 1957cc355b2..adfda84046e 100644 --- a/Master/texmf-dist/source/latex/bytefield/bytefield.ins +++ b/Master/texmf-dist/source/latex/bytefield/bytefield.ins @@ -1,13 +1,13 @@ %% -%% Copyright (C) 2008 by Scott Pakin <scott+bf@pakin.org> +%% Copyright (C) 2010 by Scott Pakin <scott+bf@pakin.org> %% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.3a of this license %% or (at your option) any later version. The latest version of this %% license is in: -%% +%% %% http://www.latex-project.org/lppl.txt -%% +%% %% and version 1.3c or later is part of all distributions of LaTeX version %% 2006/05/20 or later. %% @@ -21,7 +21,7 @@ This is a generated file. -Copyright (C) 2008 by Scott Pakin <scott+bf@pakin.org> +Copyright (C) 2010 by Scott Pakin <scott+bf@pakin.org> This file may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3a of this license @@ -37,15 +37,15 @@ and version 1.3c or later is part of all distributions of LaTeX version \generate{\file{bytefield.sty}{\from{bytefield.dtx}{package}}} +\obeyspaces \Msg{***************************************************************} -\Msg{*} -\Msg{* To finish the installation, move bytefield.sty into a} -\Msg{* directory searched by TeX.} -\Msg{*} -\Msg{* To produce the documentation, run the file bytefield.dtx} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} +\Msg{* To finish the installation, move bytefield.sty into a *} +\Msg{* directory searched by TeX. *} +\Msg{* *} +\Msg{* To produce the documentation, run the file bytefield.dtx *} +\Msg{* through LaTeX. *} +\Msg{* *} +\Msg{* Happy TeXing! *} \Msg{***************************************************************} \endbatchfile diff --git a/Master/texmf-dist/tex/latex/bytefield/bytefield.sty b/Master/texmf-dist/tex/latex/bytefield/bytefield.sty index b145fdffef9..40ce86b2517 100644 --- a/Master/texmf-dist/tex/latex/bytefield/bytefield.sty +++ b/Master/texmf-dist/tex/latex/bytefield/bytefield.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2008 by Scott Pakin <scott+bf@pakin.org> +%% Copyright (C) 2010 by Scott Pakin <scott+bf@pakin.org> %% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.3a of this license @@ -22,13 +22,20 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{bytefield} - [2005/07/31 v1.2a Network protocol diagrams] + [2010/10/31 v1.3 Network protocol diagrams] \RequirePackage{calc}[1998/07/07] \def\bf@newdimen#1{\advance\count11 by 1 \ch@ck1\insc@unt\dimen% Check room \allocationnumber=\count11 \dimendef#1=\allocationnumber \wlog{\string#1=\string\dimen\the\allocationnumber\space (locally)}} +\AtBeginDocument{% + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname locdimen\endcsname\relax + \else + \let\bf@newdimen\locdimen + \fi +} \newlength{\bytefield@height} \newif\ifcounting@words \newlength{\bytefield@height@increment} |