diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bytefield/bytefield.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/bytefield/bytefield.sty | 11 |
1 files changed, 9 insertions, 2 deletions
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} |