summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/bytefield
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-19 22:01:41 +0000
committerKarl Berry <karl@freefriends.org>2017-09-19 22:01:41 +0000
commit25f52d925614aa8433200addac102a4b9a2dffe3 (patch)
tree0150c32f52f7f66a6ec5603ecc127961fc56421f /Master/texmf-dist/source/latex/bytefield
parente36a1d38bb0e8fad65deca28cd6267575aeb544f (diff)
bytefield (19sep17)
git-svn-id: svn://tug.org/texlive/trunk@45339 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/bytefield')
-rw-r--r--Master/texmf-dist/source/latex/bytefield/bytefield.dtx13
-rw-r--r--Master/texmf-dist/source/latex/bytefield/bytefield.ins4
2 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/bytefield/bytefield.dtx b/Master/texmf-dist/source/latex/bytefield/bytefield.dtx
index d5592242307..deb30c81bed 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) 2015 by Scott Pakin <scott+bf@pakin.org>
+% Copyright (C) 2017 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>
- [2015/10/28 v2.3 Network protocol diagrams]
+ [2017/09/15 v2.4 Network protocol diagrams]
%</package>
%
%<*driver>
@@ -45,7 +45,7 @@
pdfauthor={Scott Pakin},
pdfsubject={Protocol diagrams for LaTeX},
pdfkeywords={bits, bytes, bit fields, communication, network protocol diagrams, LaTeX2e, memory maps},
- pdfcopyright={Copyright (C) 2015, Scott Pakin},
+ pdfcopyright={Copyright (C) 2017, Scott Pakin},
pdflicenseurl={http://www.latex-project.org/lppl/},
pdfcaptionwriter={Scott Pakin},
pdfcontactemail={scott+bf@pakin.org},
@@ -67,7 +67,7 @@
%</driver>
% \fi
%
-% \CheckSum{1025}
+% \CheckSum{1028}
%
% \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
@@ -2075,6 +2075,9 @@
%
% \begin{environment}{bytefield}
% \usermacro
+% \changes{v2.4}{2017/09/15}{Make the code resilient to changes in
+% \texttt{\string\string\string\baselinestretch}. Thanks to
+% Karst Koymans for the bug report}
% \begin{macro}{\bits@wide}
% \begin{macro}{\old@nl}
% \begin{macro}{\amp}
@@ -2089,6 +2092,8 @@
% \begin{macrocode}
\newenvironment{bytefield}[2][]{%
\bf@bytefieldsetup{#1}%
+ \renewcommand{\baselinestretch}{}%
+ \selectfont
\def\bits@wide{#2}%
\let\old@nl=\\%
\let\amp=&%
diff --git a/Master/texmf-dist/source/latex/bytefield/bytefield.ins b/Master/texmf-dist/source/latex/bytefield/bytefield.ins
index f85ddeb20a4..37197a9ab0c 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) 2015 by Scott Pakin <scott+bf@pakin.org>
+%% Copyright (C) 2017 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) 2015 by Scott Pakin <scott+bf@pakin.org>
+Copyright (C) 2017 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