etex package still seems to be necessary in LaTeX2e 2015/10/01?
This issue is fixed in bytefield v2.3.
Original answer follows.
The issue arises as the bytefield
package trees to set up 'local' allocation of dimen registers. If etex
is loaded it uses the functionality from that package but if not uses an 'internal' version of the original allocator code which ignores e-TeX and the kernel improvements. That can all be bypassed with
\let\locdimen\newdimen
anywhere before
\usepackage{bytefield}
A long-term solution is to get the package altered: the team will try to get that to happen.
Because the error does not occur with the current MiKTeX (updated today) I add this as answer here.
I reduced the given MWE and added command \listfiles
:
\listfiles
\documentclass{scrartcl}
\usepackage{bytefield}
\begin{document}
\begin{figure}
\begin{bytefield}{32}
\bitheader{0,8,16,24,32} \\
\bitbox{16}{Kind} & \bitbox{16}{} \\
\wordbox{3}{Payload} \\
\end{bytefield}
\end{figure}
Then TeXnicCenter shows me in the log area:
and the .log
file (only parts, with list of used packages and versions):
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2015.7.19) 26 OCT 2015 21:05
entering extended mode
**275042.tex
(275042.tex
LaTeX2e <2015/01/01> patch level 2 <=====================================
seems that MiKTeX does still use version 2015/01/01. And the list of used packages:
*File List*
scrartcl.cls 2015/10/03 v3.19a KOMA-Script document class (article)
scrkbase.sty 2015/10/03 v3.19a KOMA-Script package (KOMA-Script-dependent basics and keyval usage)
scrbase.sty 2015/10/03 v3.19a KOMA-Script package (KOMA-Script-independent basics and keyval usage)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
scrlfile.sty 2015/10/03 v3.19a KOMA-Script package (loading files)
tocbasic.sty 2015/10/03 v3.19a KOMA-Script package (handling toc-files)
scrsize11pt.clo 2015/10/03 v3.19a KOMA-Script font size class option (11pt)
typearea.sty 2015/10/03 v3.19a KOMA-Script package (type area)
bytefield.sty 2014/06/03 v2.2 Network protocol diagrams
calc.sty 2014/10/28 v4.3 Infix arithmetic (KKT,FJ)
***********
Edit:
If I use the complete given MVE, I get only 7 warnings, resulting from the usage of titlesec
with KOMA-Script and one warning to better use \pgfplotsset{compat=1.12}
. No other error or warnings!
If needed I can add the complete .log
file, here only the relevant parts with the warnings:
Class scrartcl Warning: Usage of package `titlesec' together
(scrartcl) with a KOMA-Script class is not recommended.
(scrartcl) I'd suggest to use the package only
(scrartcl) if you really need it, because it breaks several
(scrartcl) KOMA-Script features, i.e., option `headings' and
(scrartcl) the extended optional argument of the section
(scrartcl) commands.
(scrartcl) Nevertheless, using requested
(scrartcl) package `titlesec' on input line 19.
("C:\Program Files\MiKTeX 2.9\tex\latex\titlesec\titlesec.sty"
Package: titlesec 2011/12/15 v2.10.0 Sectioning titles
\ttl@box=\box53
\beforetitleunit=\skip82
\aftertitleunit=\skip83
\ttl@plus=\dimen190
\ttl@minus=\dimen191
\ttl@toksa=\toks39
\titlewidth=\dimen192
\titlewidthlast=\dimen193
\titlewidthfirst=\dimen194
Package titlesec Warning: Non standard sectioning command detected
(titlesec) Using default spacing and no format.
Package titlesec Warning: Non standard sectioning command detected
(titlesec) Using default spacing and no format.
Package titlesec Warning: Non standard sectioning command detected
(titlesec) Using default spacing and no format.
Package titlesec Warning: Non standard sectioning command detected
(titlesec) Using default spacing and no format.
Package titlesec Warning: Non standard sectioning command detected
(titlesec) Using default spacing and no format.
)
Package scrartcl Warning: Activating an ugly workaround for a missing
(scrartcl) feature of package `titlesec` on input line 19.
and
ABD: EveryShipout initializing macros
Package pgfplots Warning: running in backwards compatibility mode (unsuitable tick labels; missing features). Consider w
riting \pgfplotsset{compat=1.12} into your preamble.
on input line 20.
\height=\dimen197 (locally)
\depth=\dimen198 (locally)
\totalheight=\dimen199 (locally)
\width=\dimen200 (locally)
Used packages and versions:
*File List*
scrartcl.cls 2015/10/03 v3.19a KOMA-Script document class (article)
scrkbase.sty 2015/10/03 v3.19a KOMA-Script package (KOMA-Script-dependent basics and keyval usage)
scrbase.sty 2015/10/03 v3.19a KOMA-Script package (KOMA-Script-independent basics and keyval usage)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
scrlfile.sty 2015/10/03 v3.19a KOMA-Script package (loading files)
tocbasic.sty 2015/10/03 v3.19a KOMA-Script package (handling toc-files)
scrsize11pt.clo 2015/10/03 v3.19a KOMA-Script font size class option (11pt)
typearea.sty 2015/10/03 v3.19a KOMA-Script package (type area)
listings.sty 2015/06/04 1.6 (Carsten Heinz)
lstmisc.sty 2015/06/04 1.6 (Carsten Heinz)
listings.cfg 2015/06/04 1.6 listings configuration
graphicx.sty 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2014/10/28 v1.0p Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/error messages (HO)
ltxcmds.sty 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
framed.sty 2011/10/22 v 0.96: framed or shaded text with page breaks
hyperref.sty 2012/11/06 v6.83m Hypertext links for LaTeX
hobsub-hyperref.sty 2012/04/25 v1.12 Bundle oberdiek, subset hyperref (HO)
hobsub-generic.sty 2012/04/25 v1.12 Bundle oberdiek, subset generic (HO)
hobsub.sty 2012/04/25 v1.12 Construct package bundles (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
ifvtex.sty 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
intcalc.sty 2007/09/27 v1.1 Expandable calculations with integers (HO)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
etexcmds.sty 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
kvsetkeys.sty 2012/04/25 v1.16 Key value parser (HO)
kvdefinekeys.sty 2011/04/07 v1.3 Define keys (HO)
pdftexcmds.sty 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
pdfescape.sty 2011/11/25 v1.13 Implements pdfTeX's escape features (HO)
bigintcalc.sty 2012/04/08 v1.3 Expandable calculations on big integers (HO)
bitset.sty 2011/01/30 v1.1 Handle bit-vector datatype (HO)
uniquecounter.sty 2011/01/30 v1.2 Provide unlimited unique counter (HO)
letltxmacro.sty 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
hopatch.sty 2011/06/24 v1.1 Wrapper for package hooks (HO)
xcolor-patch.sty 2011/01/30 xcolor patch
atveryend.sty 2011/06/30 v1.8 Hooks at the very end of document (HO)
atbegshi.sty 2011/10/05 v1.16 At begin shipout hook (HO)
refcount.sty 2011/10/16 v3.4 Data extraction from label references (HO)
hycolor.sty 2011/01/30 v1.7 Color options for hyperref/bookmark (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
auxhook.sty 2011/03/04 v1.3 Hooks for auxiliary files (HO)
kvoptions.sty 2011/06/30 v3.11 Key value format for package options (HO)
pd1enc.def 2012/11/06 v6.83m Hyperref: PDFDocEncoding definition (HO)
hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
url.sty 2013/09/16 ver 3.4 Verb mode for urls, etc.
hpdftex.def 2012/11/06 v6.83m Hyperref driver for pdfTeX
rerunfilecheck.sty 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
multirow.sty
pgfplots.sty 2015/05/02 v1.12.1 Data Visualization (1.12.1)
tikz.sty 2015/08/07 v3.0.1a (rcs-revision 1.151)
pgf.sty 2015/08/07 v3.0.1a (rcs-revision 1.15)
pgfrcs.sty 2015/08/07 v3.0.1a (rcs-revision 1.31)
everyshi.sty 2001/05/15 v3.00 EveryShipout Package (MS)
pgfrcs.code.tex
pgfcore.sty 2010/04/11 v3.0.1a (rcs-revision 1.7)
pgfsys.sty 2014/07/09 v3.0.1a (rcs-revision 1.48)
pgfsys.code.tex
pgfsyssoftpath.code.tex 2013/09/09 (rcs-revision 1.9)
pgfsysprotocol.code.tex 2006/10/16 (rcs-revision 1.4)
xcolor.sty 2007/01/21 v2.11 LaTeX color extensions (UK)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
colortbl.sty 2012/02/13 v1.0a Color table columns (DPC)
array.sty 2014/10/28 v2.4c Tabular extension package (FMi)
pgfcore.code.tex
pgfcomp-version-0-65.sty 2007/07/03 v3.0.1a (rcs-revision 1.7)
pgfcomp-version-1-18.sty 2007/07/23 v3.0.1a (rcs-revision 1.1)
pgffor.sty 2013/12/13 v3.0.1a (rcs-revision 1.25)
pgfkeys.sty
pgfkeys.code.tex
pgfmath.sty
pgfmath.code.tex
pgffor.code.tex
tikz.code.tex
algorithm.sty 2009/08/24 v0.1 Document Style `algorithm' - floating environment
float.sty 2001/11/08 v1.3d Float enhancements (AL)
ifthen.sty 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
bytefield.sty 2014/06/03 v2.2 Network protocol diagrams
calc.sty 2014/10/28 v4.3 Infix arithmetic (KKT,FJ)
longtable.sty 2014/10/28 v4.11 Multi-page Table package (DPC)
ulem.sty 2012/05/18
syntax.sty 1996/05/17 1.07 Syntax typesetting (MDW)
titlesec.sty 2011/12/15 v2.10.0 Sectioning titles
supp-pdf.mkii
nameref.sty 2012/10/27 v2.43 Cross-referencing by name of section
gettitlestring.sty 2010/12/03 v1.4 Cleanup title references (HO)
275042-1.out
275042-1.out
***********