You can also add the following after \usepackage{titlesec} to only apply
the patch when you're on the specific version of titlesec (which is what
I did on a shared project). Remove the \makeatletter and \makeatother
and change \usepackage to \RequirePackage when you're adding it to your
classfile right after \RequirePackage{titlesec}.

        % Package titlesec is on version 2.10.2 or higher, nothing to do %
        % Check if package titlesec is on version 2.10.1 %
                % Package titlesec on version 2.10.1, patch accordingly %
                % Package titlsecon is on version 2.10.0 or lower, nothing to 
do %

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to texlive-extra in Ubuntu.

  titlesec does not render section numbers

Status in texlive-extra package in Ubuntu:

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!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:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to