[NTG-context] Missing number, treated as zero

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Fri Feb 15 13:59:46 CET 2019


Gour schrieb am 15.02.19 um 13:54:
> Hello,
> 
> another attempt with ConTeXt and I'm getting this:
> 
> $  context t.tex
> mtx-context     | run 1: luatex --fmt="/home/gour/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en" --jobname="t" --lua="/home/gour/.texlive/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./t.tex" --c:input="./t.tex" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv"
> 
> This is LuaTeX, Version 1.07.0 (TeX Live 2018/Arch Linux)
>   system commands enabled.
> open source     > level 1, order 1, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-yes.mkiv'
> system          >
> system          > ConTeXt  ver: 2018.04.04 00:51 MKIV beta  fmt: 2019.2.14  int: english/english
> system          >
> system          > 'cont-new.mkiv' loaded
> open source     > level 2, order 2, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
> close source    > level 2, order 2, name '/usr/share/texmf-dist/tex/context/base/mkiv/cont-new.mkiv'
> system          > files > jobname 't', input './t', result 't'
> fonts           > latin modern fonts are not preloaded
> languages       > language 'en' is active
> open source     > level 2, order 3, name '/home/gour/tmp/t.tex'
> fonts           > preloading latin modern fonts (second stage)
> fonts           > 'fallback modern-designsize rm 12pt' is loaded
> structure       > sectioning > section @ level 3 : 0.0.1 -> Testing ConTeXt
> 
> tex error       > tex error on line 4 in file /home/gour/tmp/t.tex: ! Missing number, treated as zero
> 
> <to be read again>
> \23>>currentnamedsection
> \popmacro ...m_syst_helpers_push_macro \endcsname
>                                                    \global \advance \lastname...
> l.4 \stopsection
>                
> 
> 1     \starttext
> 2     \section[title={Testing ConTeXt}]

You need (note the “start”)

     \startsection[title={...}]

when you use \stopsection.

Wolfgang


More information about the ntg-context mailing list