diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bytefield/bytefield.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/bytefield/bytefield.sty | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/bytefield/bytefield.sty b/Master/texmf-dist/tex/latex/bytefield/bytefield.sty index 251c5fd5021..9086ac5f08e 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) 2014 by Scott Pakin <scott+bf@pakin.org> +%% Copyright (C) 2015 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,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{bytefield} - [2014/06/03 v2.2 Network protocol diagrams] + [2015/10/28 v2.3 Network protocol diagrams] \RequirePackage{calc}[1998/07/07] \RequirePackage{keyval} \def\bf@newdimen#1{\advance\count11 by 1 @@ -32,10 +32,13 @@ \wlog{\string#1=\string\dimen\the\allocationnumber\space (locally)}% } \AtBeginDocument{% - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname locdimen\endcsname\relax + \expandafter\ifx\csname e@alloc\endcsname\relax + \expandafter\ifx\csname locdimen\endcsname\relax + \else + \let\bf@newdimen=\locdimen + \fi \else - \let\bf@newdimen\locdimen + \let\bf@newdimen=\newdimen \fi } \newlength{\bytefield@height} |