<div dir="ltr"><div><div><div><div><div><div><div>Dear all,<br><br></div>since the last time I have upgraded my texlive distribution, I am experiencing the following problem  at compilation-time:<br><br>! Missing number, treated as zero.<br><to be read again> <br>\c@1 <br>l.389 \section{Local in $\G$}\label{section:local_in_G}<br><br></div>The problem seems to be the titlesec package; in particular its behavior with the primitive "\thesection", which appears to not store any number in my case.<br></div>In fact, my .tex file include the following code<br><br>\titleformat{\section}[display]%<br>    {\SmallCaps\large}%<br>    {\Roman{\thesection}}%<br>    {1em}%<br>    {\centering}<br><br></div>and when I try to compile with <br><br>\titleformat{\section}[display]%<br>    {\SmallCaps\large}%<br>    {\Roman}%<br>    {1em}%<br>    {\centering}<br><br></div>namely without "thesection", everything runs perfectly.<br></div>I hereby specify that I am running texlive updated at its latest version (i.e. 2016.41290-9) on Arch Linux, and LuaLaTex is 0.95.0.<br></div><div>I compile my .tex file simply launching "lualatex foo.tex" in my shell.<br></div><div><br></div><div>Do you have any suggestions/comments/remarks? If there exists, may you advise me on any workaround? Maybe some luatex primitive that I can make use of?<br><br></div><div>Thanks in advances!<br><br></div><div>Best,<br></div><div>andrea<br></div></div>