texlive[45339] Master/texmf-dist: bytefield (19sep17)

commits+karl at tug.org commits+karl at tug.org
Wed Sep 20 00:01:41 CEST 2017


Revision: 45339
          http://tug.org/svn/texlive?view=revision&revision=45339
Author:   karl
Date:     2017-09-20 00:01:41 +0200 (Wed, 20 Sep 2017)
Log Message:
-----------
bytefield (19sep17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bytefield/README
    trunk/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf
    trunk/Master/texmf-dist/source/latex/bytefield/bytefield.dtx
    trunk/Master/texmf-dist/source/latex/bytefield/bytefield.ins
    trunk/Master/texmf-dist/tex/latex/bytefield/bytefield.sty

Modified: trunk/Master/texmf-dist/doc/latex/bytefield/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bytefield/README	2017-09-19 22:01:25 UTC (rev 45338)
+++ trunk/Master/texmf-dist/doc/latex/bytefield/README	2017-09-19 22:01:41 UTC (rev 45339)
@@ -23,18 +23,17 @@
 latex bytefield.dtx     <== Incorporates the index and change log into
                             bytefield.dvi
 
-Note that bytefield comes with pre-built documentation (PDF format,
-U.S. letter-sized paper, 24 pages).  Also, there is an example.tex
-file that shows how one might include hyperlinks in a protocol
-diagram.  example.tex needs the hyperref package and should be run
-through pdfLaTeX, VTeX, dvipdfm, or any other backend that supports
-hyperref hyperlinks.
+Note that bytefield comes with pre-built documentation.  Also, there
+is an example.tex file that shows how one might include hyperlinks in
+a protocol diagram.  example.tex needs the hyperref package and should
+be run through pdfLaTeX, VTeX, dvipdfm, or any other backend that
+supports hyperref hyperlinks.
 
 
 Copyright and license
 ---------------------
 
-Copyright (C) 2015 Scott Pakin, scott+bf at pakin.org
+Copyright (C) 2017 Scott Pakin, scott+bf at 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

Modified: trunk/Master/texmf-dist/doc/latex/bytefield/bytefield.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/bytefield/bytefield.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bytefield/bytefield.dtx	2017-09-19 22:01:25 UTC (rev 45338)
+++ trunk/Master/texmf-dist/source/latex/bytefield/bytefield.dtx	2017-09-19 22:01:41 UTC (rev 45339)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2015 by Scott Pakin <scott+bf at pakin.org>
+% Copyright (C) 2017 by Scott Pakin <scott+bf at 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 at 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 at wide}
 % \begin{macro}{\old at nl}
 % \begin{macro}{\amp}
@@ -2089,6 +2092,8 @@
 %    \begin{macrocode}
 \newenvironment{bytefield}[2][]{%
   \bf at bytefieldsetup{#1}%
+  \renewcommand{\baselinestretch}{}%
+  \selectfont
   \def\bits at wide{#2}%
   \let\old at nl=\\%
   \let\amp=&%

Modified: trunk/Master/texmf-dist/source/latex/bytefield/bytefield.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/bytefield/bytefield.ins	2017-09-19 22:01:25 UTC (rev 45338)
+++ trunk/Master/texmf-dist/source/latex/bytefield/bytefield.ins	2017-09-19 22:01:41 UTC (rev 45339)
@@ -1,5 +1,5 @@
 %%
-%% Copyright (C) 2015 by Scott Pakin <scott+bf at pakin.org>
+%% Copyright (C) 2017 by Scott Pakin <scott+bf at 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 at pakin.org>
+Copyright (C) 2017 by Scott Pakin <scott+bf at 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

Modified: trunk/Master/texmf-dist/tex/latex/bytefield/bytefield.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bytefield/bytefield.sty	2017-09-19 22:01:25 UTC (rev 45338)
+++ trunk/Master/texmf-dist/tex/latex/bytefield/bytefield.sty	2017-09-19 22:01:41 UTC (rev 45339)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2015 by Scott Pakin <scott+bf at pakin.org>
+%% Copyright (C) 2017 by Scott Pakin <scott+bf at 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}
-    [2015/10/28 v2.3 Network protocol diagrams]
+    [2017/09/15 v2.4 Network protocol diagrams]
 \RequirePackage{calc}[1998/07/07]
 \RequirePackage{keyval}
 \def\bf at newdimen#1{\advance\count11 by 1
@@ -50,6 +50,8 @@
 \newsavebox{\entire at bytefield@picture}
 \newenvironment{bytefield}[2][]{%
   \bf at bytefieldsetup{#1}%
+  \renewcommand{\baselinestretch}{}%
+  \selectfont
   \def\bits at wide{#2}%
   \let\old at nl=\\%
   \let\amp=&%



More information about the tex-live-commits mailing list