summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-10-29 21:08:42 +0000
committerKarl Berry <karl@freefriends.org>2015-10-29 21:08:42 +0000
commit1e35a2ab442dbc7cb043bb2a03e547b8e5ec4ba6 (patch)
tree695fa1e0efff994f3b9d465e6f751ede689c2778 /Master
parent7e33e6000679305609d385b053f99030de9c3496 (diff)
bytefield
git-svn-id: svn://tug.org/texlive/trunk@38736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/bytefield/README2
-rw-r--r--Master/texmf-dist/doc/latex/bytefield/bytefield.pdfbin788204 -> 736060 bytes
-rw-r--r--Master/texmf-dist/source/latex/bytefield/bytefield.dtx50
-rw-r--r--Master/texmf-dist/source/latex/bytefield/bytefield.ins4
-rw-r--r--Master/texmf-dist/tex/latex/bytefield/bytefield.sty13
5 files changed, 44 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/latex/bytefield/README b/Master/texmf-dist/doc/latex/bytefield/README
index 7a8c2177cce..ea336b2d952 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) 2014 Scott Pakin, scott+bf@pakin.org
+Copyright (C) 2015 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
index 473ae1318b5..13ca3942a9d 100644
--- a/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf
+++ b/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/bytefield/bytefield.dtx b/Master/texmf-dist/source/latex/bytefield/bytefield.dtx
index fe5b22e933e..d5592242307 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) 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
@@ -22,7 +22,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{bytefield}
%<*package>
- [2014/06/03 v2.2 Network protocol diagrams]
+ [2015/10/28 v2.3 Network protocol diagrams]
%</package>
%
%<*driver>
@@ -35,16 +35,24 @@
\usepackage{calc}
\usepackage{array}
\usepackage{wasysym}
-\IfFileExists{hypdoc.sty}{\usepackage{hypdoc}}{}
+\usepackage{hyperxmp}
+\usepackage{hypdoc}
\usepackage{hyperref}
-\IfFileExists{hypcap.sty}{\usepackage[figure]{hypcap}}{}
+\usepackage[figure]{hypcap}
\hypersetup{%
pdftitle={The bytefield package},
- pdfauthor={Scott Pakin <scott+bf@pakin.org>},
+ pdfauthor={Scott Pakin},
pdfsubject={Protocol diagrams for LaTeX},
- pdfkeywords={bits, bytes, bit fields, communication, network protocol
- diagrams, LaTeX2e, memory maps},
+ pdfkeywords={bits, bytes, bit fields, communication, network protocol diagrams, LaTeX2e, memory maps},
+ pdfcopyright={Copyright (C) 2015, Scott Pakin},
+ pdflicenseurl={http://www.latex-project.org/lppl/},
+ pdfcaptionwriter={Scott Pakin},
+ pdfcontactemail={scott+bf@pakin.org},
+ pdfcontacturl={http://www.pakin.org/\xmptilde scott/},
+ pdflang={en-US},
+ baseurl={http://mirrors.ctan.org/macros/latex/contrib/bytefield/bytefield.pdf},
+ pdfstartview=Fit,
colorlinks=false,
bookmarksopen=true}
\EnableCrossrefs
@@ -59,7 +67,7 @@
%</driver>
% \fi
%
-% \CheckSum{1020}
+% \CheckSum{1025}
%
% \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
@@ -1998,20 +2006,28 @@
% \end{macro}
%
% \begin{macro}{\bf@newdimen}
-% If we're using $\varepsilon$-\TeX\ then we have access to many more
-% \meta{dimen}s than in original \TeX\@. The \textsf{etex} package
-% makes these extra \meta{dimen}s 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|.
+% $\varepsilon$-\TeX\ provides many more \meta{dimen}s than the original
+% \TeX's 255. When running newer versions of $\varepsilon$-\TeX\ we
+% rebind |\bf@newdimen| to |\newdimen|. If the \pkgname{etex} package
+% is loaded, however, we instead rebind |\bf@newdimen| to |\locdimen| to
+% keep the allocation local. Finally, if we're not running
+% $\varepsilon$-\TeX\ we leave |\bf@newdimen| defined as above to help
+% reduce register pressure when only 255 \meta{dimen}s are available.
% \changes{v1.3}{2010/10/31}{Added support for $\varepsilon$-\TeX's larger
% local \meta{dimen} pool (code provided by Heiko Oberdiek)}
+% \changes{v2.3}{2015/10/28}{Rewrote the macro based on discussions with
+% David Carlisle to avoid producing ``\texttt{No room for a new
+% \string\string\string\dimen}'' errors in newer versions of $\varepsilon$-\TeX\
+% (cf.~\url{http://tex.stackexchange.com/q/275042})}
% \begin{macrocode}
\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
}
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/bytefield/bytefield.ins b/Master/texmf-dist/source/latex/bytefield/bytefield.ins
index 62fd6fbe610..f85ddeb20a4 100644
--- a/Master/texmf-dist/source/latex/bytefield/bytefield.ins
+++ b/Master/texmf-dist/source/latex/bytefield/bytefield.ins
@@ -1,5 +1,5 @@
%%
-%% 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
@@ -21,7 +21,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
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}