Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catcode change issue in 2.11 version? #16

Closed
coatless opened this issue Sep 7, 2019 · 13 comments

Comments

@coatless
Copy link

commented Sep 7, 2019

With the latest titlesec in texlive, 2019/07/16 v2.11 Sectioning titles, we're running into:

(/usr/share/texlive/texmf-dist/tex/latex/titlesec/titlesec.sty)

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...                                              
                                                  
l.331 \newlength\pnas@
                      vertadjust

We didn't have this problem with titlesec on 2016/03/21 v2.10.2 Sectioning titles. From discussions, Kurt noticed that the \makeatletter in the old titlesec.sty set the catcode back to 11, but the new one no longer does, c.f. :

< \ProvidesPackage{titlesec}[2019/07/16 v2.11 Sectioning titles]
---
> \ProvidesPackage{titlesec}[2016/03/21 v2.10.2 Sectioning titles]
76c90,94
<     \ttl@keys
---
>     \makeatletter
>     \edef\ttl@d{%
>       \noexpand\input{ttlkeys.def}%
>       \catcode`\noexpand\@=\the\catcode`\@}%
>     \ttl@d

Would it be possible to advise more here? A minimal test is given here: pnastest.tar.gz

/ cc @eddelbuettel, tracking eddelbuettel/pinp#77

log of latex compilation
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2019.9.5)  7 SEP 2019 20:56
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**pnastest.tex
(./pnastest.tex
LaTeX2e <2018-12-01>
(./pnas-new.cls
Document Class: pnas-new 28/02/2015, v1.2
(/usr/share/texlive/texmf-dist/tex/latex/extsizes/extarticle.cls
Document Class: extarticle 1996/10/08 v1.0 Non Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/extsizes/size9.clo
File: size9.clo 1999/11/11 v1.4a NON-Standard LaTeX file (size option)
)
(/usr/share/texlive/texmf-dist/tex/latex/base/exscale.sty
Package: exscale 2018/09/24 v2.1i Standard LaTeX package exscale
LaTeX Font Info:    Redeclaring symbol font `largesymbols' on input line 57.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `normal'
(Font)                  OMX/cmex/m/n --> OMX/cmex/m/n on input line 57.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `bold'
(Font)                  OMX/cmex/m/n --> OMX/cmex/m/n on input line 57.
\big@size=\dimen102
)
\c@part=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen103
)
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2018/08/11 v1.3c Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
)
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2019/07/19 3.33 The Babel package

(/usr/share/texlive/texmf-dist/tex/generic/babel/switch.def
File: switch.def 2019/07/19 3.33 Babel switching mechanism
)
(/usr/share/texlive/texmf-dist/tex/generic/babel-english/english.ldf
Language: english 2017/06/06 v3.3r English support from the babel system

(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2019/07/19 3.33 Babel common definitions
\babel@savecnt=\count88
\U@D=\dimen104

(/usr/share/texlive/texmf-dist/tex/generic/babel/txtbabel.def)
\bbl@dirlevel=\count89
)
\l@canadian = a dialect from \language\l@american
\l@australian = a dialect from \language\l@british
\l@newzealand = a dialect from \language\l@british
))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2018/12/01 v2.17b AMS math features
\@mathmargin=\skip43

For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01 AMS text

(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
\@emptytoks=\toks16
\ex@=\dimen105
))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
\pmbraise@=\dimen106
)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2016/03/08 v2.02 operator names
)
\inf@bad=\count90
LaTeX Info: Redefining \frac on input line 223.
\uproot@=\count91
\leftroot@=\count92
LaTeX Info: Redefining \overline on input line 385.
\classnum@=\count93
\DOTSCASE@=\count94
LaTeX Info: Redefining \ldots on input line 482.
LaTeX Info: Redefining \dots on input line 485.
LaTeX Info: Redefining \cdots on input line 606.
\Mathstrutbox@=\box27
\strutbox@=\box28
\big@size=\dimen107
LaTeX Font Info:    Redeclaring font encoding OML on input line 729.
LaTeX Font Info:    Redeclaring font encoding OMS on input line 730.
\macc@depth=\count95
\c@MaxMatrixCols=\count96
\dotsspace@=\muskip10
\c@parentequation=\count97
\dspbrk@lvl=\count98
\tag@help=\toks17
\row@=\count99
\column@=\count100
\maxfields@=\count101
\andhelp@=\toks18
\eqnshift@=\dimen108
\alignsep@=\dimen109
\tagshift@=\dimen110
\tagwidth@=\dimen111
\totwidth@=\dimen112
\lineht@=\dimen113
\@envbody=\toks19
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks20
LaTeX Info: Redefining \[ on input line 2844.
LaTeX Info: Redefining \] on input line 2845.
)
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 106.
)
(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2013/01/14 v3.01 AMS font symbols
)
(/usr/share/texmf/tex/latex/lm/lmodern.sty
Package: lmodern 2009/10/30 v1.6 Latin Modern Fonts
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  OT1/cmr/m/n --> OT1/lmr/m/n on input line 22.
LaTeX Font Info:    Overwriting symbol font `letters' in version `normal'
(Font)                  OML/cmm/m/it --> OML/lmm/m/it on input line 23.
LaTeX Font Info:    Overwriting symbol font `symbols' in version `normal'
(Font)                  OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 24.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `normal'
(Font)                  OMX/cmex/m/n --> OMX/lmex/m/n on input line 25.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info:    Overwriting symbol font `letters' in version `bold'
(Font)                  OML/cmm/b/it --> OML/lmm/b/it on input line 27.
LaTeX Font Info:    Overwriting symbol font `symbols' in version `bold'
(Font)                  OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 28.
LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `bold'
(Font)                  OMX/cmex/m/n --> OMX/lmex/m/n on input line 29.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `normal'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 31.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `normal'
(Font)                  OT1/cmss/m/n --> OT1/lmss/m/n on input line 32.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `normal'
(Font)                  OT1/cmr/m/it --> OT1/lmr/m/it on input line 33.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `normal'
(Font)                  OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 34.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `bold'
(Font)                  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 35.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
(Font)                  OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 36.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
(Font)                  OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 37.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
(Font)                  OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 38.
)
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/helvet.sty
Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks21
))
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2018/08/11 v2.0j Standard LaTeX package

(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2018/08/11 v2.0j Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 48.
))
(/usr/share/texlive/texmf-dist/tex/latex/lettrine/lettrine.sty
File: lettrine.sty 2019-04-06 v2.22 (Daniel Flipo)

(/usr/share/texlive/texmf-dist/tex/generic/minifp/minifp.sty
Package: minifp 2013/12/30 v0.96. Macros for real number operations and a stack
-based programing language.
\MFP@loopctr=\count102
)
\c@DefaultLines=\count103
\c@DefaultDepth=\count104
\DefaultFindent=\dimen114
\DefaultNindent=\dimen115
\DefaultSlope=\dimen116
\DiscardVskip=\dimen117
\L@lbox=\box29
\L@tbox=\box30
\c@L@lines=\count105
\c@L@depth=\count106
\L@Pindent=\dimen118
\L@Findent=\dimen119
\L@Nindent=\dimen120
\L@lraise=\dimen121
\L@first=\dimen122
\L@next=\dimen123
\L@slope=\dimen124
\L@height=\dimen125
\L@novskip=\dimen126
\L@target@ht=\dimen127
\L@target@dp=\dimen128
\L@target@tht=\dimen129
\LettrineWidth=\dimen130
\LettrineHeight=\dimen131
\LettrineDepth=\dimen132
\Llist@everypar=\toks22

Loading lettrine.cfg
(/usr/share/texlive/texmf-dist/tex/latex/lettrine/lettrine.cfg))
(/usr/share/texlive/texmf-dist/tex/latex/tools/afterpage.sty
Package: afterpage 2014/10/28 v1.08 After-Page Package (DPC)
\AP@output=\toks23
\AP@partial=\box31
\AP@footins=\box32
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2018/09/07 v3.3 Provides the ifpdf switch
)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)

(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: pdftex.def on input line 225.

(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352.
Package xcolor Info: Model `RGB' extended on input line 1364.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371.
)
(/home/Hornik/lib/texmf/tex/latex/pgf/frontendlayer/tikz.sty
(/home/Hornik/lib/texmf/tex/latex/pgf/basiclayer/pgf.sty
(/home/Hornik/lib/texmf/tex/latex/pgf/utilities/pgfrcs.sty
(/home/Hornik/lib/texmf/tex/generic/pgf/utilities/pgfutil-common.tex
\pgfutil@everybye=\toks24
\pgfutil@tempdima=\dimen133
\pgfutil@tempdimb=\dimen134

(/home/Hornik/lib/texmf/tex/generic/pgf/utilities/pgfutil-common-lists.tex))
(/home/Hornik/lib/texmf/tex/generic/pgf/utilities/pgfutil-latex.def
\pgfutil@abb=\box33

(/usr/share/texlive/texmf-dist/tex/latex/ms/everyshi.sty
Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)
))
(/home/Hornik/lib/texmf/tex/generic/pgf/utilities/pgfrcs.code.tex
(/home/Hornik/lib/texmf/tex/generic/pgf/pgf.revision.tex)
Package: pgfrcs 2019/08/03 v3.1.4b (3.1.4b)
))
Package: pgf 2019/08/03 v3.1.4b (3.1.4b)

(/home/Hornik/lib/texmf/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2017/06/01 v1.1a Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2017/06/25 v1.2c Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 99.
)
\Gin@req@height=\dimen135
\Gin@req@width=\dimen136
)
(/home/Hornik/lib/texmf/tex/latex/pgf/systemlayer/pgfsys.sty
(/home/Hornik/lib/texmf/tex/generic/pgf/systemlayer/pgfsys.code.tex
Package: pgfsys 2019/08/03 v3.1.4b (3.1.4b)

(/home/Hornik/lib/texmf/tex/generic/pgf/utilities/pgfkeys.code.tex
\pgfkeys@pathtoks=\toks25
\pgfkeys@temptoks=\toks26

(/home/Hornik/lib/texmf/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
\pgfkeys@tmptoks=\toks27
))
\pgf@x=\dimen137
\pgf@y=\dimen138
\pgf@xa=\dimen139
\pgf@ya=\dimen140
\pgf@xb=\dimen141
\pgf@yb=\dimen142
\pgf@xc=\dimen143
\pgf@yc=\dimen144
\pgf@xd=\dimen145
\pgf@yd=\dimen146
\w@pgf@writea=\write3
\r@pgf@reada=\read1
\c@pgf@counta=\count107
\c@pgf@countb=\count108
\c@pgf@countc=\count109
\c@pgf@countd=\count110
\t@pgf@toka=\toks28
\t@pgf@tokb=\toks29
\t@pgf@tokc=\toks30
\pgf@sys@id@count=\count111

(/home/Hornik/lib/texmf/tex/generic/pgf/systemlayer/pgf.cfg
File: pgf.cfg 2019/08/03 v3.1.4b (3.1.4b)
)
Driver file for pgf: pgfsys-pdftex.def

(/home/Hornik/lib/texmf/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
File: pgfsys-pdftex.def 2019/08/03 v3.1.4b (3.1.4b)

(/home/Hornik/lib/texmf/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
File: pgfsys-common-pdf.def 2019/08/03 v3.1.4b (3.1.4b)
)))
(/home/Hornik/lib/texmf/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
File: pgfsyssoftpath.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgfsyssoftpath@smallbuffer@items=\count112
\pgfsyssoftpath@bigbuffer@items=\count113
)
(/home/Hornik/lib/texmf/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
File: pgfsysprotocol.code.tex 2019/08/03 v3.1.4b (3.1.4b)
))
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcore.code.tex
Package: pgfcore 2019/08/03 v3.1.4b (3.1.4b)

(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmath.code.tex
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathcalc.code.tex
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathutil.code.tex)
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathparser.code.tex
\pgfmath@dimen=\dimen147
\pgfmath@count=\count114
\pgfmath@box=\box34
\pgfmath@toks=\toks31
\pgfmath@stack@operand=\toks32
\pgfmath@stack@operation=\toks33
)
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathfunctions.trigonometric.cod
e.tex)
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathfunctions.random.code.tex)
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathfunctions.comparison.code.t
ex) (/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathfunctions.base.code.tex
) (/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathfunctions.integerarithmetic
s.code.tex)))
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmathfloat.code.tex
\c@pgfmathroundto@lastzeros=\count115
))
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfint.code.tex)
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex
File: pgfcorepoints.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgf@picminx=\dimen148
\pgf@picmaxx=\dimen149
\pgf@picminy=\dimen150
\pgf@picmaxy=\dimen151
\pgf@pathminx=\dimen152
\pgf@pathmaxx=\dimen153
\pgf@pathminy=\dimen154
\pgf@pathmaxy=\dimen155
\pgf@xx=\dimen156
\pgf@xy=\dimen157
\pgf@yx=\dimen158
\pgf@yy=\dimen159
\pgf@zx=\dimen160
\pgf@zy=\dimen161
)
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.te
x
File: pgfcorepathconstruct.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgf@path@lastx=\dimen162
\pgf@path@lasty=\dimen163
) (/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
File: pgfcorepathusage.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgf@shorten@end@additional=\dimen164
\pgf@shorten@start@additional=\dimen165
) (/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex
File: pgfcorescopes.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgfpic=\box35
\pgf@hbox=\box36
\pgf@layerbox@main=\box37
\pgf@picture@serial@count=\count116
)
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex
File: pgfcoregraphicstate.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgflinewidth=\dimen166
)
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcoretransformations.code.
tex
File: pgfcoretransformations.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgf@pt@x=\dimen167
\pgf@pt@y=\dimen168
\pgf@pt@temp=\dimen169
) (/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
File: pgfcorequick.code.tex 2019/08/03 v3.1.4b (3.1.4b)
)
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex
File: pgfcoreobjects.code.tex 2019/08/03 v3.1.4b (3.1.4b)
)
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.t
ex
File: pgfcorepathprocessing.code.tex 2019/08/03 v3.1.4b (3.1.4b)
) (/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex
File: pgfcorearrows.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgfarrowsep=\dimen170
)
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
File: pgfcoreshade.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgf@max=\dimen171
\pgf@sys@shading@range@num=\count117
\pgf@shadingcount=\count118
)
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
File: pgfcoreimage.code.tex 2019/08/03 v3.1.4b (3.1.4b)

(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex
File: pgfcoreexternal.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgfexternal@startupbox=\box38
))
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex
File: pgfcorelayers.code.tex 2019/08/03 v3.1.4b (3.1.4b)
)
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex
File: pgfcoretransparency.code.tex 2019/08/03 v3.1.4b (3.1.4b)
) (/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex
File: pgfcorepatterns.code.tex 2019/08/03 v3.1.4b (3.1.4b)
)
(/home/Hornik/lib/texmf/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex
File: pgfcorerdf.code.tex 2019/08/03 v3.1.4b (3.1.4b)
)))
(/home/Hornik/lib/texmf/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
File: pgfmoduleshapes.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgfnodeparttextbox=\box39
)
(/home/Hornik/lib/texmf/tex/generic/pgf/modules/pgfmoduleplot.code.tex
File: pgfmoduleplot.code.tex 2019/08/03 v3.1.4b (3.1.4b)
)
(/home/Hornik/lib/texmf/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty
Package: pgfcomp-version-0-65 2019/08/03 v3.1.4b (3.1.4b)
\pgf@nodesepstart=\dimen172
\pgf@nodesepend=\dimen173
)
(/home/Hornik/lib/texmf/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty
Package: pgfcomp-version-1-18 2019/08/03 v3.1.4b (3.1.4b)
))
(/home/Hornik/lib/texmf/tex/latex/pgf/utilities/pgffor.sty
(/home/Hornik/lib/texmf/tex/latex/pgf/utilities/pgfkeys.sty
(/home/Hornik/lib/texmf/tex/generic/pgf/utilities/pgfkeys.code.tex))
(/home/Hornik/lib/texmf/tex/latex/pgf/math/pgfmath.sty
(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmath.code.tex))
(/home/Hornik/lib/texmf/tex/generic/pgf/utilities/pgffor.code.tex
Package: pgffor 2019/08/03 v3.1.4b (3.1.4b)

(/home/Hornik/lib/texmf/tex/generic/pgf/math/pgfmath.code.tex)
\pgffor@iter=\dimen174
\pgffor@skip=\dimen175
\pgffor@stack=\toks34
\pgffor@toks=\toks35
))
(/home/Hornik/lib/texmf/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
Package: tikz 2019/08/03 v3.1.4b (3.1.4b)

(/home/Hornik/lib/texmf/tex/generic/pgf/libraries/pgflibraryplothandlers.code.t
ex
File: pgflibraryplothandlers.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgf@plot@mark@count=\count119
\pgfplotmarksize=\dimen176
)
\tikz@lastx=\dimen177
\tikz@lasty=\dimen178
\tikz@lastxsaved=\dimen179
\tikz@lastysaved=\dimen180
\tikz@lastmovetox=\dimen181
\tikz@lastmovetoy=\dimen182
\tikzleveldistance=\dimen183
\tikzsiblingdistance=\dimen184
\tikz@figbox=\box40
\tikz@figbox@bg=\box41
\tikz@tempbox=\box42
\tikz@tempbox@bg=\box43
\tikztreelevel=\count120
\tikznumberofchildren=\count121
\tikznumberofcurrentchild=\count122
\tikz@fig@count=\count123
(/home/Hornik/lib/texmf/tex/generic/pgf/modules/pgfmodulematrix.code.tex
File: pgfmodulematrix.code.tex 2019/08/03 v3.1.4b (3.1.4b)
\pgfmatrixcurrentrow=\count124
\pgfmatrixcurrentcolumn=\count125
\pgf@matrix@numberofcolumns=\count126
)
\tikz@expandcount=\count127

(/home/Hornik/lib/texmf/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrar
ytopaths.code.tex
File: tikzlibrarytopaths.code.tex 2019/08/03 v3.1.4b (3.1.4b)
)))
(/usr/share/texlive/texmf-dist/tex/latex/mdframed/mdframed.sty
Package: mdframed 2013/07/01 1.9b: mdframed

(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO)

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO)

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
))))
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2019-08-25 L3 programming layer (loader)

(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex
Package: expl3 2019-08-25 L3 programming layer (code)
\c_max_int=\count128
\l_tmpa_int=\count129
\l_tmpb_int=\count130
\g_tmpa_int=\count131
\g_tmpb_int=\count132
\g__kernel_prg_map_int=\count133
\c__ior_term_noprompt_ior=\count134
\c_log_iow=\count135
\l_iow_line_count_int=\count136
\l__iow_line_target_int=\count137
\l__iow_one_indent_int=\count138
\l__iow_indent_int=\count139
\c_zero_dim=\dimen185
\c_max_dim=\dimen186
\l_tmpa_dim=\dimen187
\l_tmpb_dim=\dimen188
\g_tmpa_dim=\dimen189
\g_tmpb_dim=\dimen190
\c_zero_skip=\skip46
\c_max_skip=\skip47
\l_tmpa_skip=\skip48
\l_tmpb_skip=\skip49
\g_tmpa_skip=\skip50
\g_tmpb_skip=\skip51
\c_zero_muskip=\muskip11
\c_max_muskip=\muskip12
\l_tmpa_muskip=\muskip13
\l_tmpb_muskip=\muskip14
\g_tmpa_muskip=\muskip15
\g_tmpb_muskip=\muskip16
\l_keys_choice_int=\count140
\l__intarray_loop_int=\count141
\c__intarray_sp_dim=\dimen191
\g__intarray_font_int=\count142
\c__fp_leading_shift_int=\count143
\c__fp_middle_shift_int=\count144
\c__fp_trailing_shift_int=\count145
\c__fp_big_leading_shift_int=\count146
\c__fp_big_middle_shift_int=\count147
\c__fp_big_trailing_shift_int=\count148
\c__fp_Bigg_leading_shift_int=\count149
\c__fp_Bigg_middle_shift_int=\count150
\c__fp_Bigg_trailing_shift_int=\count151
\c__kernel_randint_max_int=\count152
\g__fp_array_int=\count153
\l__fp_array_loop_int=\count154
\l__sort_length_int=\count155
\l__sort_min_int=\count156
\l__sort_top_int=\count157
\l__sort_max_int=\count158
\l__sort_true_max_int=\count159
\l__sort_block_int=\count160
\l__sort_begin_int=\count161
\l__sort_end_int=\count162
\l__sort_A_int=\count163
\l__sort_B_int=\count164
\l__sort_C_int=\count165
\l__str_internal_int=\count166
\c__str_replacement_char_int=\count167
\l__tl_analysis_normal_int=\count168
\l__tl_analysis_index_int=\count169
\l__tl_analysis_nesting_int=\count170
\l__tl_analysis_type_int=\count171
\l__regex_internal_a_int=\count172
\l__regex_internal_b_int=\count173
\l__regex_internal_c_int=\count174
\l__regex_balance_int=\count175
\l__regex_group_level_int=\count176
\l__regex_mode_int=\count177
\c__regex_cs_in_class_mode_int=\count178
\c__regex_cs_mode_int=\count179
\l__regex_catcodes_int=\count180
\l__regex_default_catcodes_int=\count181
\c__regex_catcode_D_int=\count182
\c__regex_catcode_S_int=\count183
\c__regex_catcode_L_int=\count184
\c__regex_catcode_O_int=\count185
\c__regex_catcode_A_int=\count186
\c__regex_all_catcodes_int=\count187
\l__regex_show_lines_int=\count188
\l__regex_min_state_int=\count189
\l__regex_max_state_int=\count190
\l__regex_left_state_int=\count191
\l__regex_right_state_int=\count192
\l__regex_capturing_group_int=\count193
\l__regex_min_pos_int=\count194
\l__regex_max_pos_int=\count195
\l__regex_curr_pos_int=\count196
\l__regex_start_pos_int=\count197
\l__regex_success_pos_int=\count198
\l__regex_curr_char_int=\count199
\l__regex_curr_catcode_int=\count266
\l__regex_last_char_int=\count267
\l__regex_case_changed_char_int=\count268
\l__regex_curr_state_int=\count269
\l__regex_step_int=\count270
\l__regex_min_active_int=\count271
\l__regex_max_active_int=\count272
\l__regex_replacement_csnames_int=\count273
\l__regex_match_count_int=\count274
\l__regex_min_submatch_int=\count275
\l__regex_submatch_int=\count276
\l__regex_zeroth_submatch_int=\count277
\g__regex_trace_regex_int=\count278
\c_empty_box=\box44
\l_tmpa_box=\box45
\l_tmpb_box=\box46
\g_tmpa_box=\box47
\g_tmpb_box=\box48
\l__box_top_dim=\dimen192
\l__box_bottom_dim=\dimen193
\l__box_left_dim=\dimen194
\l__box_right_dim=\dimen195
\l__box_top_new_dim=\dimen196
\l__box_bottom_new_dim=\dimen197
\l__box_left_new_dim=\dimen198
\l__box_right_new_dim=\dimen199
\l__box_internal_box=\box49
\l__coffin_internal_box=\box50
\l__coffin_internal_dim=\dimen256
\l__coffin_offset_x_dim=\dimen257
\l__coffin_offset_y_dim=\dimen258
\l__coffin_x_dim=\dimen259
\l__coffin_y_dim=\dimen260
\l__coffin_x_prime_dim=\dimen261
\l__coffin_y_prime_dim=\dimen262
\c_empty_coffin=\box51
\l__coffin_aligned_coffin=\box52
\l__coffin_aligned_internal_coffin=\box53
\l_tmpa_coffin=\box54
\l_tmpb_coffin=\box55
\g_tmpa_coffin=\box56
\g_tmpb_coffin=\box57
\l__coffin_bounding_shift_dim=\dimen263
\l__coffin_left_corner_dim=\dimen264
\l__coffin_right_corner_dim=\dimen265
\l__coffin_bottom_corner_dim=\dimen266
\l__coffin_top_corner_dim=\dimen267
\l__coffin_scaled_total_height_dim=\dimen268
\l__coffin_scaled_width_dim=\dimen269
\c__coffin_empty_coffin=\box58
\l__coffin_display_coffin=\box59
\l__coffin_display_coord_coffin=\box60
\l__coffin_display_pole_coffin=\box61
\l__coffin_display_offset_dim=\dimen270
\l__coffin_display_x_dim=\dimen271
\l__coffin_display_y_dim=\dimen272
\g__file_internal_ior=\read2
\l__seq_internal_a_int=\count279
\l__seq_internal_b_int=\count280
)
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def
File: l3backend-pdfmode.def 2019-04-06 v L3 Experimental backend support: PDF m
ode
\l__kernel_color_stack_int=\count281
\l__pdf_internal_box=\box62
))
Package: xparse 2019-05-28 L3 Experimental document command parser
\l__xparse_current_arg_int=\count282
\g__xparse_grabber_int=\count283
\l__xparse_m_args_int=\count284
\l__xparse_v_nesting_int=\count285
)
(/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2018/08/19 v2.5f e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count286
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/zref-abspage.sty
Package: zref-abspage 2018/11/21 v2.27 Module abspage for zref (HO)

(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/zref-base.sty
Package: zref-base 2018/11/21 v2.27 Module base for zref (HO)

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2019/07/25 v0.30 Utility functions of pdfTeX for LuaTeX (HO
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty
Package: auxhook 2016/05/16 v1.4 Hooks for auxiliary files (HO)
)
Package zref Info: New property list: main on input line 759.
Package zref Info: New property: default on input line 760.
Package zref Info: New property: page on input line 761.
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/atbegshi.sty
Package: atbegshi 2016/06/09 v1.18 At begin shipout hook (HO)
)
\c@abspage=\count287
Package zref Info: New property: abspage on input line 62.
)
(/usr/share/texlive/texmf-dist/tex/latex/needspace/needspace.sty
Package: needspace 2010/09/12 v1.3d reserve vertical space
)
\mdf@templength=\skip52
\c@mdf@globalstyle@cnt=\count288
\mdf@skipabove@length=\skip53
\mdf@skipbelow@length=\skip54
\mdf@leftmargin@length=\skip55
\mdf@rightmargin@length=\skip56
\mdf@innerleftmargin@length=\skip57
\mdf@innerrightmargin@length=\skip58
\mdf@innertopmargin@length=\skip59
\mdf@innerbottommargin@length=\skip60
\mdf@splittopskip@length=\skip61
\mdf@splitbottomskip@length=\skip62
\mdf@outermargin@length=\skip63
\mdf@innermargin@length=\skip64
\mdf@linewidth@length=\skip65
\mdf@innerlinewidth@length=\skip66
\mdf@middlelinewidth@length=\skip67
\mdf@outerlinewidth@length=\skip68
\mdf@roundcorner@length=\skip69
\mdf@footenotedistance@length=\skip70
\mdf@userdefinedwidth@length=\skip71
\mdf@needspace@length=\skip72
\mdf@frametitleaboveskip@length=\skip73
\mdf@frametitlebelowskip@length=\skip74
\mdf@frametitlerulewidth@length=\skip75
\mdf@frametitleleftmargin@length=\skip76
\mdf@frametitlerightmargin@length=\skip77
\mdf@shadowsize@length=\skip78
\mdf@extratopheight@length=\skip79
\mdf@subtitleabovelinewidth@length=\skip80
\mdf@subtitlebelowlinewidth@length=\skip81
\mdf@subtitleaboveskip@length=\skip82
\mdf@subtitlebelowskip@length=\skip83
\mdf@subtitleinneraboveskip@length=\skip84
\mdf@subtitleinnerbelowskip@length=\skip85
\mdf@subsubtitleabovelinewidth@length=\skip86
\mdf@subsubtitlebelowlinewidth@length=\skip87
\mdf@subsubtitleaboveskip@length=\skip88
\mdf@subsubtitlebelowskip@length=\skip89
\mdf@subsubtitleinneraboveskip@length=\skip90
\mdf@subsubtitleinnerbelowskip@length=\skip91

(/usr/share/texlive/texmf-dist/tex/latex/mdframed/md-frame-1.mdf
File: md-frame-1.mdf 2013/07/01\ 1.9b: md-frame-1
)
\mdf@frametitlebox=\box63
\mdf@footnotebox=\box64
\mdf@splitbox@one=\box65
\mdf@splitbox@two=\box66
\mdf@splitbox@save=\box67
\mdfsplitboxwidth=\skip92
\mdfsplitboxtotalwidth=\skip93
\mdfsplitboxheight=\skip94
\mdfsplitboxdepth=\skip95
\mdfsplitboxtotalheight=\skip96
\mdfframetitleboxwidth=\skip97
\mdfframetitleboxtotalwidth=\skip98
\mdfframetitleboxheight=\skip99
\mdfframetitleboxdepth=\skip100
\mdfframetitleboxtotalheight=\skip101
\mdffootnoteboxwidth=\skip102
\mdffootnoteboxtotalwidth=\skip103
\mdffootnoteboxheight=\skip104
\mdffootnoteboxdepth=\skip105
\mdffootnoteboxtotalheight=\skip106
\mdftotallinewidth=\skip107
\mdfboundingboxwidth=\skip108
\mdfboundingboxtotalwidth=\skip109
\mdfboundingboxheight=\skip110
\mdfboundingboxdepth=\skip111
\mdfboundingboxtotalheight=\skip112
\mdf@freevspace@length=\skip113
\mdf@horizontalwidthofbox@length=\skip114
\mdf@verticalmarginwhole@length=\skip115
\mdf@horizontalspaceofbox=\skip116
\mdfsubtitleheight=\skip117
\mdfsubsubtitleheight=\skip118
\c@mdfcountframes=\count289

****** mdframed patching \endmdf@trivlist

****** -- success******

\mdf@envdepth=\count290
\c@mdf@env@i=\count291
\c@mdf@env@ii=\count292
\c@mdf@zref@counter=\count293
Package zref Info: New property: mdf@pagevalue on input line 895.
)
(./widetext.sty
Package: widetext
(/usr/share/texlive/texmf-dist/tex/latex/sttools/flushend.sty
Package: flushend 2017/03/27 v3.3 Balancing columns in twocolumn mode
\flushend@@lastskip@a=\skip119
\flushend@@lastskip@b=\skip120
\flushend@@lastskip@c=\skip121
\flushend@@penalty@a=\count294
\flushend@@lastkern@a=\dimen273
\var@@temp@spread=\dimen274
\var@@temp@a=\dimen275
\flushend@@page@rule=\dimen276
\flushend@@varbox@a=\box68
\flushend@@varbox@c=\box69
\flushend@@tempbox@a=\box70
\flushend@@tempbox@c=\box71
\@viper=\box72
\hold@viper=\box73
\atColsBreak=\toks36
\atColsEnd=\toks37
)
(/usr/share/texlive/texmf-dist/tex/latex/sttools/cuted.sty
Package: cuted 2012/10/04 v1.5 Mixing onecolumn and twocolumn modes
\At@ViperColsBreak=\toks38
\v@aaa=\box74
\v@ccc=\box75
\lastskip@a=\skip122
\lastskip@b=\skip123
\lastskip@d=\skip124
\lastbox@a=\box76
\stripsep=\skip125
\viper@penalty=\count295
\ht@viper=\dimen277
)
\@parindent=\skip126
)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2019/06/12 v6.88h Hypertext links for LaTeX

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
Package: hobsub-hyperref 2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO)


(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
Package: hobsub-generic 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO)
Package: hobsub 2016/05/16 v1.14 Construct package bundles (HO)
Package hobsub Info: Skipping package `infwarerr' (already loaded).
Package hobsub Info: Skipping package `ltxcmds' (already loaded).
Package hobsub Info: Skipping package `ifluatex' (already loaded).
Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
Package: intcalc 2016/05/16 v1.2 Expandable calculations with integers (HO)
Package hobsub Info: Skipping package `ifpdf' (already loaded).
Package hobsub Info: Skipping package `etexcmds' (already loaded).
Package hobsub Info: Skipping package `kvsetkeys' (already loaded).
Package hobsub Info: Skipping package `kvdefinekeys' (already loaded).
Package hobsub Info: Skipping package `pdftexcmds' (already loaded).
Package: pdfescape 2016/05/16 v1.14 Implements pdfTeX's escape features (HO)
Package: bigintcalc 2016/05/16 v1.4 Expandable calculations on big integers (HO
)
Package: bitset 2016/05/16 v1.2 Handle bit-vector datatype (HO)
Package: uniquecounter 2016/05/16 v1.3 Provide unlimited unique counter (HO)
)
Package hobsub Info: Skipping package `hobsub' (already loaded).
Package: letltxmacro 2016/05/16 v1.5 Let assignment for LaTeX macros (HO)
Package: hopatch 2016/05/16 v1.3 Wrapper for package hooks (HO)
Package: xcolor-patch 2016/05/16 xcolor patch
Package: atveryend 2016/05/16 v1.9 Hooks at the very end of document (HO)
Package atveryend Info: \AP@enddocument detected (standard20110627).
Package hobsub Info: Skipping package `atbegshi' (already loaded).
Package: refcount 2016/05/16 v3.5 Data extraction from label references (HO)
Package: hycolor 2016/05/16 v1.8 Color options for hyperref/bookmark (HO)
)
\@linkdim=\dimen278
\Hy@linkcounter=\count296
\Hy@pagecounter=\count297

(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2019/06/12 v6.88h Hyperref: PDFDocEncoding definition (HO)
Now handling font encoding PD1 ...
... no UTF-8 mapping file for font encoding PD1
)
\Hy@SavedSpaceFactor=\count298

(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
Package hyperref Info: Option `colorlinks' set `true' on input line 4424.
Package hyperref Info: Hyper figures OFF on input line 4550.
Package hyperref Info: Link nesting OFF on input line 4555.
Package hyperref Info: Hyper index ON on input line 4558.
Package hyperref Info: Plain pages OFF on input line 4565.
Package hyperref Info: Backreferencing OFF on input line 4570.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4803.
\c@Hy@tempcnt=\count299

(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip17
Package: url 2013/09/16  ver 3.4  Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 5156.
\XeTeXLinkMargin=\dimen279
\Fld@menulength=\count300
\Field@Width=\dimen280
\Fld@charsize=\dimen281
Package hyperref Info: Hyper figures OFF on input line 6411.
Package hyperref Info: Link nesting OFF on input line 6416.
Package hyperref Info: Hyper index ON on input line 6419.
Package hyperref Info: backreferencing OFF on input line 6426.
Package hyperref Info: Link coloring ON on input line 6429.
Package hyperref Info: Link coloring with OCG OFF on input line 6436.
Package hyperref Info: PDF/A mode OFF on input line 6441.
LaTeX Info: Redefining \ref on input line 6481.
LaTeX Info: Redefining \pageref on input line 6485.
\Hy@abspage=\count301
\c@Item=\count302
\c@Hfootnote=\count303
)
Package hyperref Info: Driver (autodetected): hpdftex.

(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
File: hpdftex.def 2019/06/12 v6.88h Hyperref driver for pdfTeX
\HyAnn@Count=\count304
\Fld@listcount=\count305
\c@bookmark@seq@number=\count306

(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
Package: rerunfilecheck 2016/05/16 v1.8 Rerun checks for auxiliary files (HO)
Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
82.
)
\Hy@SectionHShift=\skip127
)
(/usr/share/texlive/texmf-dist/tex/latex/preprint/authblk.sty
Package: authblk 2001/02/27 1.3 (PWD)
\affilsep=\skip128
\@affilsep=\skip129
\c@Maxaffil=\count307
\c@authors=\count308
\c@affil=\count309
)
(/usr/share/texlive/texmf-dist/tex/latex/xifthen/xifthen.sty
Package: xifthen 2015/11/05 v1.4.0 Extended ifthen features

(/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty
Package: calc 2017/05/25 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count310
\calc@Bcount=\count311
\calc@Adimen=\dimen282
\calc@Bdimen=\dimen283
\calc@Askip=\skip130
\calc@Bskip=\skip131
LaTeX Info: Redefining \setlength on input line 80.
LaTeX Info: Redefining \addtolength on input line 81.
\calc@Ccount=\count312
\calc@Cskip=\skip132
)
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/ifmtarg/ifmtarg.sty
Package: ifmtarg 2018/04/16 v1.2b check for an empty argument
))
(/usr/share/texlive/texmf-dist/tex/latex/xwatermark/xwatermark.sty
(/usr/share/texlive/texmf-dist/tex/latex/catoptions/catoptions.sty
\m@one=\count313
\z@pt=\dimen284
Package: catoptions 2014/08/29 v0.2.7h Securing catcodes and parsing options (A
M)
\cpt@csvdepth=\count314
\cpt@optdepth=\count315
\cpt@cnta=\count316
\indrisdepth=\count317
\cpt@foreachdepth=\count318
\cpt@exprcnt=\count319
)
Package: xwatermark 2012/10/23 v1.5.2d A dynamic watermarking scheme (Ahmed Mus
a)

(/usr/share/texlive/texmf-dist/tex/latex/base/fix-cm.sty
Package: fix-cm 2015/01/14 v1.1t fixes to LaTeX

(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def
File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
Now handling font encoding TS1 ...
... processing UTF-8 mapping file for font encoding TS1

(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.dfu
File: ts1enc.dfu 2018/10/05 v1.2f UTF-8 support for inputenc
   defining Unicode char U+00A2 (decimal 162)
   defining Unicode char U+00A3 (decimal 163)
   defining Unicode char U+00A4 (decimal 164)
   defining Unicode char U+00A5 (decimal 165)
   defining Unicode char U+00A6 (decimal 166)
   defining Unicode char U+00A7 (decimal 167)
   defining Unicode char U+00A8 (decimal 168)
   defining Unicode char U+00A9 (decimal 169)
   defining Unicode char U+00AA (decimal 170)
   defining Unicode char U+00AC (decimal 172)
   defining Unicode char U+00AE (decimal 174)
   defining Unicode char U+00AF (decimal 175)
   defining Unicode char U+00B0 (decimal 176)
   defining Unicode char U+00B1 (decimal 177)
   defining Unicode char U+00B2 (decimal 178)
   defining Unicode char U+00B3 (decimal 179)
   defining Unicode char U+00B4 (decimal 180)
   defining Unicode char U+00B5 (decimal 181)
   defining Unicode char U+00B6 (decimal 182)
   defining Unicode char U+00B7 (decimal 183)
   defining Unicode char U+00B9 (decimal 185)
   defining Unicode char U+00BA (decimal 186)
   defining Unicode char U+00BC (decimal 188)
   defining Unicode char U+00BD (decimal 189)
   defining Unicode char U+00BE (decimal 190)
   defining Unicode char U+00D7 (decimal 215)
   defining Unicode char U+00F7 (decimal 247)
   defining Unicode char U+0192 (decimal 402)
   defining Unicode char U+02C7 (decimal 711)
   defining Unicode char U+02D8 (decimal 728)
   defining Unicode char U+02DD (decimal 733)
   defining Unicode char U+0E3F (decimal 3647)
   defining Unicode char U+2016 (decimal 8214)
   defining Unicode char U+2020 (decimal 8224)
   defining Unicode char U+2021 (decimal 8225)
   defining Unicode char U+2022 (decimal 8226)
   defining Unicode char U+2030 (decimal 8240)
   defining Unicode char U+2031 (decimal 8241)
   defining Unicode char U+203B (decimal 8251)
   defining Unicode char U+203D (decimal 8253)
   defining Unicode char U+2044 (decimal 8260)
   defining Unicode char U+204E (decimal 8270)
   defining Unicode char U+2052 (decimal 8274)
   defining Unicode char U+20A1 (decimal 8353)
   defining Unicode char U+20A4 (decimal 8356)
   defining Unicode char U+20A6 (decimal 8358)
   defining Unicode char U+20A9 (decimal 8361)
   defining Unicode char U+20AB (decimal 8363)
   defining Unicode char U+20AC (decimal 8364)
   defining Unicode char U+20B1 (decimal 8369)
   defining Unicode char U+2103 (decimal 8451)
   defining Unicode char U+2116 (decimal 8470)
   defining Unicode char U+2117 (decimal 8471)
   defining Unicode char U+211E (decimal 8478)
   defining Unicode char U+2120 (decimal 8480)
   defining Unicode char U+2122 (decimal 8482)
   defining Unicode char U+2126 (decimal 8486)
   defining Unicode char U+2127 (decimal 8487)
   defining Unicode char U+212E (decimal 8494)
   defining Unicode char U+2190 (decimal 8592)
   defining Unicode char U+2191 (decimal 8593)
   defining Unicode char U+2192 (decimal 8594)
   defining Unicode char U+2193 (decimal 8595)
   defining Unicode char U+2329 (decimal 9001)
   defining Unicode char U+232A (decimal 9002)
   defining Unicode char U+2422 (decimal 9250)
   defining Unicode char U+25E6 (decimal 9702)
   defining Unicode char U+25EF (decimal 9711)
   defining Unicode char U+266A (decimal 9834)
   defining Unicode char U+FEFF (decimal 65279)
)))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/picture.sty
Package: picture 2016/05/16 v1.4 Dimens for picture macros (HO)
Package picture Info: Calculation method: calc.
)
(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
Package: fancyhdr 2019/01/31 v3.10 Extensive control of page headers and footer
s
\f@nch@headwidth=\skip133
\f@nch@O@elh=\skip134
\f@nch@O@erh=\skip135
\f@nch@O@olh=\skip136
\f@nch@O@orh=\skip137
\f@nch@O@elf=\skip138
\f@nch@O@erf=\skip139
\f@nch@O@olf=\skip140
\f@nch@O@orf=\skip141
)
(/usr/share/texlive/texmf-dist/tex/latex/ltxkeys/ltxkeys.sty
Package: ltxkeys 2012/11/17 v0.0.3c A robust key-value parser (AM) (Ahmed Musa)

\ltxkeys@csvdepth=\count320
\ltxkeys@keydepth=\count321
)
(/usr/share/texlive/texmf-dist/tex/latex/framed/framed.sty
Package: framed 2011/10/22 v 0.96: framed or shaded text with page breaks
\OuterFrameSep=\skip142
\fb@frw=\dimen285
\fb@frh=\dimen286
\FrameRule=\dimen287
\FrameSep=\dimen288
)
\AtBeginShipoutBox=\box77
\xwm@boxa=\box78
\xwm@boxb=\box79
\xwm@cnta=\count322
\xwm@wrt=\write4
\openout4 = `pnastest.xwm'.

)
(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty
Package: textcomp 2018/08/11 v2.0j Standard LaTeX package
Package textcomp Info: Sub-encoding information:
(textcomp)               5 = only ISO-Adobe without \textcurrency
(textcomp)               4 = 5 + \texteuro
(textcomp)               3 = 4 + \textohm
(textcomp)               2 = 3 + \textestimated + \textcurrency
(textcomp)               1 = TS1 - \textcircled - \t
(textcomp)               0 = TS1 (full)
(textcomp)             Font families with sub-encoding setting implement
(textcomp)             only a restricted character set as indicated.
(textcomp)             Family '?' is the default used for unknown fonts.
(textcomp)             See the documentation for details.
Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 80.

(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def
File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding TS1 on input line 47.
)
LaTeX Info: Redefining \oldstylenums on input line 334.
Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 349.
Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 350.
Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 351.
Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 352.
Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 353.
Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 354.
Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 355.
Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 356.
Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 357.
Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 358.
Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 359.
Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 360.
Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 361.
Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 362.
Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 363.
Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 364.
Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 365.
Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 366.
Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 367.
Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 368.
Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 369.
Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line 370.
Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line 371.
Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line 372.

Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 373.
Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 374.
Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 375.
Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 376.
Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 377.
Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 378.
Package textcomp Info: Setting lmr sub-encoding to TS1/0 on input line 379.
Package textcomp Info: Setting lmdh sub-encoding to TS1/0 on input line 380.
Package textcomp Info: Setting lmss sub-encoding to TS1/0 on input line 381.
Package textcomp Info: Setting lmssq sub-encoding to TS1/0 on input line 382.
Package textcomp Info: Setting lmvtt sub-encoding to TS1/0 on input line 383.
Package textcomp Info: Setting lmtt sub-encoding to TS1/0 on input line 384.
Package textcomp Info: Setting qhv sub-encoding to TS1/0 on input line 385.
Package textcomp Info: Setting qag sub-encoding to TS1/0 on input line 386.
Package textcomp Info: Setting qbk sub-encoding to TS1/0 on input line 387.
Package textcomp Info: Setting qcr sub-encoding to TS1/0 on input line 388.
Package textcomp Info: Setting qcs sub-encoding to TS1/0 on input line 389.
Package textcomp Info: Setting qpl sub-encoding to TS1/0 on input line 390.
Package textcomp Info: Setting qtm sub-encoding to TS1/0 on input line 391.
Package textcomp Info: Setting qzc sub-encoding to TS1/0 on input line 392.
Package textcomp Info: Setting qhvc sub-encoding to TS1/0 on input line 393.
Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 394.
Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 395.
Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 396.
Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 397.
Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 398.
Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 399.
Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 400.
Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 401.
Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 402.
Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 403.
Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 404.
Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 405.
Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 406.
Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 407.
Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 408.
Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 409.
)
(/usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty
Package: colortbl 2018/12/12 v1.0d Color table columns (DPC)

(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty
Package: array 2018/12/30 v2.4k Tabular extension package (FMi)
\col@sep=\dimen289
\ar@mcellbox=\box80
\extrarowheight=\dimen290
\NC@list=\toks39
\extratabsurround=\skip143
\backup@length=\skip144
\ar@cellbox=\box81
)
\everycr=\toks40
\minrowclearance=\skip145
)
(/usr/share/texlive/texmf-dist/tex/latex/booktabs/booktabs.sty
Package: booktabs 2016/04/27 v1.618033 publication quality tables
\heavyrulewidth=\dimen291
\lightrulewidth=\dimen292
\cmidrulewidth=\dimen293
\belowrulesep=\dimen294
\belowbottomsep=\dimen295
\aboverulesep=\dimen296
\abovetopsep=\dimen297
\cmidrulesep=\dimen298
\cmidrulekern=\dimen299
\defaultaddspace=\dimen300
\@cmidla=\count323
\@cmidlb=\count324
\@aboverulesep=\dimen301
\@belowrulesep=\dimen302
\@thisruleclass=\count325
\@lastruleclass=\count326
\@thisrulewidth=\dimen303
)
(/usr/share/texlive/texmf-dist/tex/latex/algorithms/algorithm.sty
Package: algorithm 2009/08/24 v0.1 Document Style `algorithm' - floating enviro
nment

(/usr/share/texlive/texmf-dist/tex/latex/float/float.sty
Package: float 2001/11/08 v1.3d Float enhancements (AL)
\c@float@type=\count327
\float@exts=\toks41
\float@box=\box82
\@float@everytoks=\toks42
\@floatcapt=\box83
)
\@float@every@algorithm=\toks43
\c@algorithm=\count328
)
(/usr/share/texlive/texmf-dist/tex/latex/algorithmicx/algpseudocode.sty
Package: algpseudocode

(/usr/share/texlive/texmf-dist/tex/latex/algorithmicx/algorithmicx.sty
Package: algorithmicx 2005/04/27 v1.2 Algorithmicx

Document Style algorithmicx 1.2 - a greatly improved `algorithmic' style
\c@ALG@line=\count329
\c@ALG@rem=\count330
\c@ALG@nested=\count331
\ALG@tlm=\skip146
\ALG@thistlm=\skip147
\c@ALG@Lnr=\count332
\c@ALG@blocknr=\count333
\c@ALG@storecount=\count334
\c@ALG@tmpcounter=\count335
\ALG@tmplength=\skip148
)
Document Style - pseudocode environments for use with the `algorithmicx' style
) (/usr/share/texlive/texmf-dist/tex/latex/changepage/changepage.sty
Package: changepage 2009/10/20 v1.0c check page and change page layout
\c@cp@cntr=\count336
\cp@tempcnt=\count337
)
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2018/04/16 v5.8 Page Geometry
\Gm@cnth=\count338
\Gm@cntv=\count339
\c@Gm@tempcnt=\count340
\Gm@bindingoffset=\dimen304
\Gm@wd@mp=\dimen305
\Gm@odd@mp=\dimen306
\Gm@even@mp=\dimen307
\Gm@layoutwidth=\dimen308
\Gm@layoutheight=\dimen309
\Gm@layouthoffset=\dimen310
\Gm@layoutvoffset=\dimen311
\Gm@dimlist=\toks44
)
(/home/Hornik/lib/texmf/tex/latex/caption/caption.sty
Package: caption 2019/09/01 v3.3d Customizing captions (AR)

(/home/Hornik/lib/texmf/tex/latex/caption/caption3.sty
Package: caption3 2019/09/01 v1.8d caption3 kernel (AR)
Package caption3 Info: TeX engine: e-TeX on input line 64.
\captionmargin=\dimen312
\captionmargin@=\dimen313
\captionwidth=\dimen314
\caption@tempdima=\dimen315
\caption@indent=\dimen316
\caption@parindent=\dimen317
\caption@hangindent=\dimen318
)
Package caption Info: We need package `newfloat' on input line 289.

(/home/Hornik/lib/texmf/tex/latex/caption/newfloat.sty
Package: newfloat 2019/09/01 v1.1k Defining new floating environments (AR)
Package newfloat Info: `float' package detected.
)
\c@caption@flags=\count341
\c@ContinuedFloat=\count342
Package caption Info: float package is loaded.
Package caption Info: hyperref package is loaded.
)
(/usr/share/texlive/texmf-dist/tex/latex/natbib/natbib.sty
Package: natbib 2010/09/13 8.31b (PWD, AO)
\bibhang=\skip149
\bibsep=\skip150
LaTeX Info: Redefining \cite on input line 694.
\c@NAT@ctr=\count343
)
(/usr/share/texlive/texmf-dist/tex/latex/lastpage/lastpage.sty
Package: lastpage 2015/03/29 v1.2m Refers to last page's name (HMM; JPG)
)
(/usr/share/texlive/texmf-dist/tex/latex/titlesec/titlesec.sty
Package: titlesec 2019/07/16 v2.11 Sectioning titles
\ttl@box=\box84
\beforetitleunit=\skip151
\aftertitleunit=\skip152
\ttl@plus=\dimen319
\ttl@minus=\dimen320
\ttl@toksa=\toks45
\titlewidth=\dimen321
\titlewidthlast=\dimen322
\titlewidthfirst=\dimen323
)
\c@ttlp@side=\count344
\ttlp@side=\count345
\pnas=\skip153


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...                                              
                                                  
l.331 \newlength\pnas@
                      vertadjust
? x
Here is how much of TeX's memory you used:
35621 strings out of 492609
664080 string characters out of 6131463
786472 words of memory out of 5000000
39094 multiletter control sequences out of 15000+600000
533402 words of font info for 26 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
62i,0n,71p,451b,317s stack positions out of 5000i,500n,10000p,200000b,80000s
No pages of output.
PDF statistics:
3 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
@eddelbuettel

This comment has been minimized.

Copy link

commented Sep 7, 2019

Hi @jbezos -- this came to us as a bug report on a class / style we did derived off the pnas-new style hence our backtracking to the original pnas example (as in the tarball @coatless referenced). The issue is not reproducible with Ubuntu 19.04 (and a 2018 texlive) but bites on Debian testing with a very recent texlive. Some astute debugging found a cat-code change in the pnas-new.cls:

%% Author and affiliation
\RequirePackage{authblk}
\setlength{\affilsep}{8.5pt} % 16.5pts between base of author line and base of affil line
\renewcommand\Authfont{\color{color0}\normalfont\sffamily\bfseries\fontsize{9}{11}\selectfont}
\renewcommand\Affilfont{\color{color0}\normalfont\sffamily\fontsize{7}{8}\selectfont}
\makeatletter
\renewcommand\AB@affilsepx{; \protect\Affilfont}
\makeatother
\renewcommand\Authands{, and }

and with your older version everything was fine, whereas with your newer version "things bite". The error may actually be with this segment here ... but I am out of my depth about how to accomodate.

Insights would be greatly appreciated.

@eddelbuettel

This comment has been minimized.

Copy link

commented Sep 8, 2019

Update -- turns out that there is a new PNAS style at https://www.pnas.org/page/authors/latex which seems to work so the issue can probably be closed. So feel free to close as you see.

If however you have some advice on how best to avoid this or other approaches we would be all ears.

@jbezos

This comment has been minimized.

Copy link
Owner

commented Sep 8, 2019

It's a bug in the class: either a missing \makeatletter or an extra \makeatother (l. 234). The \makeatletter in titlesec is no longer necessary because the code for the keys is not an external file any more.

@jbezos jbezos reopened this Sep 8, 2019

@jbezos jbezos closed this Sep 8, 2019

@eddelbuettel

This comment has been minimized.

Copy link

commented Sep 8, 2019

Hi @jbezos and thanks for the follow-up. We do have an issue, still, with our derived-from-pnas class and the titlesec in texlive.

If I dropped you a tarball or file could you take a peek?

@jbezos

This comment has been minimized.

Copy link
Owner

commented Sep 8, 2019

Sure, I could.

@eddelbuettel

This comment has been minimized.

Copy link

commented Sep 8, 2019

Hugely appreciate it. Tarball attached.

Context is that we use this with R which acts a kind of preprocessor taking (R)Markdown, possibly computation and figure creation, while going from a foo.Rmd to a foo.tex. At that point it is plain latex. The actual files are from our package pinp ("Pinp is not PNAS" -- a riff on PNAS).

The tarball has the pinp.Rmd source, but also the pinp.tex. It will break

  • with recent texlive eg 20190830 as on Debian
  • with current titlesec
  • so as we treat this programmatically with helper scripts (in the Rmd -> tex) transformation
    • I now copy an older titlesec.sty (from my Ubuntu 19.04 box with a 2018 texlive)
    • and the ttlkeys.def it needs

So the tarball "as is" should work, it should fail once your two files are removed.

All our code is in pinp.cls, and it is "mostly" pnas but undoing / altering some definitions (and we have / had -- need to patch it back in) support for papersize other than usletter and little things like that.

Our repo is here https://github.com/eddelbuettel/pinp, I also (in local/) added a copy of the most recent PNAS style files.

Again, big thanks for looking into it.

pinp_pnas_titlesec.tar.gz

@eddelbuettel

This comment has been minimized.

Copy link

commented Sep 9, 2019

And just to be plain a log of steps to reproduce the failure is

  dirk@cloud-devel:~/pinp$ mkdir demo_tarball
  dirk@cloud-devel:~/pinp$ cd demo_tarball/
  dirk@cloud-devel:~/pinp/demo_tarball$ wget -q https://github.com/jbezos/titlesec/files/3587991/pinp_pnas_titlesec.tar.gz
  dirk@cloud-devel:~/pinp/demo_tarball$ tar xaf pinp_pnas_titlesec.tar.gz
  dirk@cloud-devel:~/pinp/demo_tarball$ cd vignettes/
  dirk@cloud-devel:~/pinp/demo_tarball/vignettes$ rm titlesec.sty ttlkeys.def
  dirk@cloud-devel:~/pinp/demo_tarball/vignettes$ pdflatex pinp.tex

then in ends in

  (/usr/share/texlive/texmf-dist/tex/latex/lastpage/lastpage.sty)
  (/usr/share/texlive/texmf-dist/tex/latex/titlesec/titlesec.sty)

  ! LaTeX Error: Missing \begin{document}.

  See the LaTeX manual or LaTeX Companion for explanation.
  Type  H <return>  for immediate help.
   ...

  l.442 \newlength\pnas@
                        vertadjust
  ?

If we keep the older titlesec.sty and ttlkeys.def it works. I suspect the error is in our pinp.cls / its use of pnas-new.cls but have been unable to isolate it.

@norbusan

This comment has been minimized.

Copy link

commented Sep 9, 2019

The following trivial patch fixes the problem. The ttl@keys restores the @ catcode to the one previously set, and it is necessary to have it set to letter.

@@ -73,6 +73,7 @@
     \edef\ttl@b{\expandafter\@gobble\string#1}%
     \let\ttl@a\ttl@b
   \else
+    \makeatletter
     \ttl@keys
     \ttl@getkeys{#1}{#2}%
   \fi}
@jbezos

This comment has been minimized.

Copy link
Owner

commented Sep 9, 2019

I confirm the bug is in the class. A \makeatother in pinp.cls (line 346) is left “open”, and it's not closed by the corresponding \makeatletter. Either remove the former (which is not necessary) or add the latter at line ~386. Adding \makeatletter in titlesec of course works, because it's closing the \makeatother in pinp.cls, but it works by chance.

@eddelbuettel

This comment has been minimized.

Copy link

commented Sep 9, 2019

Confirmed!!

Based on the same tarball I shipped, on the same Debian testing box

  vi pinp.cls                        # remove that one bad \makeatother
  mkdir hide
  mv titlesec.sty ttlkeys.def hide/
  pdflatex pinp.tex                  # works !!
  render.r pinp.Rmd                  # also works via littler wrapper around rmarkdown::render

I owe you a (virtual) beer or coffee. Thanks so much. WIll propagate a fix to my end, and texlive is indeed free of all blame. "Errors were all mine."

Edit: s/letter/other in first comment. Also pushing fix to to pinp repo: eddelbuettel/pinp@b24fdbb

@eddelbuettel

This comment has been minimized.

Copy link

commented Sep 9, 2019

Also works if I rm -r hide/.

Well, on the upside we got a much needed upgrade to pnas-new.cls out of this ... so not all lost.

Edit: Done in eddelbuettel/pinp@b24fdbb

@norbusan

This comment has been minimized.

Copy link

commented Sep 9, 2019

Thanks @jbezos for the real fix!

@jbezos

This comment has been minimized.

Copy link
Owner

commented Sep 9, 2019

Glad to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.