diff options
author | Karl Berry <karl@freefriends.org> | 2015-10-29 21:08:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-10-29 21:08:42 +0000 |
commit | 1e35a2ab442dbc7cb043bb2a03e547b8e5ec4ba6 (patch) | |
tree | 695fa1e0efff994f3b9d465e6f751ede689c2778 /Master/texmf-dist/tex/latex/bytefield/bytefield.sty | |
parent | 7e33e6000679305609d385b053f99030de9c3496 (diff) |
bytefield
git-svn-id: svn://tug.org/texlive/trunk@38736 c570f23f-e606-0410-a88d-b1316a301751
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} |