Niels, thanks for that conditional patch code! But don't you need the \makeatletter *before* the \@ifpackagelater?
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to texlive-extra in Ubuntu. https://bugs.launchpad.net/bugs/1574052 Title: titlesec does not render section numbers Status in texlive-extra package in Ubuntu: Triaged Bug description: The titlesec package does not work properly after distribution upgrade to 16.04LTS. Steps to reproduce: 1) Create a tex document and include titlesec 2) Create some sections headers via \section{Some section} 3) Run pdflatex/lualatex/xelatex What should happen The section should be created with the corresponding number: 1 Some Section What happens Only the text is present: Some Section If the section header format is changed via \titleformat, the entire formatting disappears from the final pdf. Might be related to https://groups.google.com/forum/#!topic/comp.text.tex/MBd3-o2Dzx8 Ubuntu Version: 16.04 LTS texlive-latex-extra Version: 2015.20160320-1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/1574052/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp