I've been using titlesec in XeLaTeX for quite a long time and never had problems with it. But recently, I updated it via tlmgr (as I have TeXLive 2015) to 2.10.1 and now I'm facing this situation:  When I load the package, section and subsection numberings disappear. I tried to explicitly show the numbering (see MWE below) without luck. Of course, when I comment the package including line (and its associated commands), the numberings appear again.  Here is a MWE:  \documentclass{article}  \usepackage{titlesec} \titleformat{\section}[hang]{\normalfont\Large\bfseries}{\thesection.}{1em}{}[] \titleformat{\subsection}[hang]{\normalfont\large\bfseries}{\thesubsection.}{0.5em}{}[] \titleformat{\subsubsection}[runin]{\normalfont\normalsize\bfseries}{\thesubsubsection.}{0.25em}{}[.---]  \begin{document}  \section{A fancy section}  \subsection{A subsection}  \subsubsection{A sub-subsection}  \end{document}   Here is an image of the output I get:    I've never had this issue since I installed TeXLive. How can I solve it?  EDIT: I forgot to say I have TeXLive in another computer without the update and the MWE works fine. Here is an image of the output:
After reinstalling TeXLive distribution (install-tl-20160318, Ubuntu 14.04), a issue occurs with the updated version of the titlesec package: the section numbering is lost.  What could it be missing? Is there a modification I have not seen?  Below is a MWE comparison of the two versions. The prevtitlesec package is a reinstall of the previous version (2011/12/15).  \documentclass{book} \usepackage[margin=2cm,a4paper]{geometry} %\usepackage{prevtitlesec}% 2011/12/15 version \usepackage{titlesec}% 2016/03/15 version \usepackage{lipsum}  \begin{document}  \chapter{Title of the first chapter} \lipsum[1] \section{A test section} \lipsum[4] \subsection{A test subsection} \lipsum[4] \subsection{A test subsection} \lipsum[4]  \end{document}   titlesec package 2011/12/15:    titlesec package 2016/03/15:
Extended Euclidean Algorithm: backward vs. forward Normalizing constant in Bayes theorem I read that in Bayes rule, the denominator $\Pr(\textrm{data})$ of   $$\Pr(\text{parameters} \mid \text{data}) = \frac{\Pr(\textrm{data} \mid \textrm{parameters}) \Pr(\text{parameters})}{\Pr(\text{data})}$$   is called a normalizing constant. What exactly is it? What is its purpose? Why does it look like $\Pr(data)$? Why doesn't it depend on the parameters? What is the number of triangles with integer sides, given the length of the longest side? Suppose $a,b,c \in\mathbb N$, and the value of $c$ is known and fixed, while $a$ and $b$ are unknown and are both smaller than $c$. What is the total number of unique triangles possible with $a, b$ and $c$ as its sides? Zero visitors? What happened to site analytics about a week ago? This is the views section of the site analytics visible to 25k users on one of my sites:    That's, uh, not correct.  Our site has had its usual activity level during this time.  I checked a couple other sites, and the pattern is consistent.  This looks like a problem in the analytics data that's coming in; did Google change their API?  Update: Same site a week later; note that in addition to the brief spike of accuracy, page views have dropped to (near-)zero for the whole period, unlike the earlier report.  (I know this question has been closed as a dupe, but I thought having the two screen shots together might help somebody.) How can I do a Cache Refresh in Google Chrome? I don't know what exactly it's called, by cache refresh I mean, refresh the page after clearing its cache. I don't want to clear the entire browser cache.  I can't seem to cache refresh my pages. In Firefox, I know it to be Shift+Refresh.  In Chrome, I've tried Ctrl+R, Ctrl+Refresh, Alt+Refresh, Shift+Refresh but none of them work. I accidentally deleted a file from my laptop. I'm using Fedora. Is it possible to recover the file? Find all integral solutions of $y^2=x^3+7$ Find all integral solutions of $y^2 = x^3+7$.  I tried to use many different moduli, but it never works. With modulo $9$, you can get $x$ is divisible by $3$. Meaning of Conditional sentences with 'should' and 'happen to' I'm a bit familarized with conditional sentences. But the following sentences with 'should' and 'happen to' are quite confusing too me. They are:   If it should rain, I will stay at home. 2.If it should happen to rain, I'll stay at home   If it happens to rain, I'll stay at home.    What are the meaings of those sentences ? Do they all mean the same ? Thank you a lot in Advance for your answer. Most people say I wish I could, I wish you would.    Can we use I wish I can, I wish you will?    I'd like to know what the main differences between the usage of can/will and could/would are when wishing.  Is it related to the subjunctive? Because one says “I wish I were”, not “I wish I am”, so are would and could the subjunctive forms of can and will?  Or is it something else entirely? How to create python bytes object from long hex string? Find All Solutions to System of Congruence $$ \begin{cases} x\equiv 2 \pmod{3}\\ x\equiv 1 \pmod{4}\\ x\equiv 3 \pmod{5} \end{cases} $$  $ n_1=3\\ n_2=4\\ n_3=5\\ N=n_1 * n_2 * n_3 =60\\ m_1 = 60/3 = 20\\ m_2 = 60/4 = 15\\ m_3 = 60/5 = 12\\ gcd(20,3)=1=-20*1+3*7\\ gcd(15,4)=1=-15*1+4*4\\ gcd(12,5)=1=12*3-5*7\\ x=-20*2-15*1+12*3\equiv -19 \equiv 41 \pmod{60}\\ $  The above is what I've tried so far. Can someone tell me where I'm going wrong? It's my first time doing this and looking at the explanation and examples for the Chinese Remainder Theorem makes my head want to explode. Can I store all the content of my previous iPhone in a new iPhone using iTunes? Select organic group on the user registration form There's a post already on the post installation forum, but I'm not sure if this is a OG bug.   I am using Drupal 7 and OG 7.x-2.1 version. There is no "Group Audience" in the manage fields page and I think it is replaced with "Group membership", the field type is "Entity Reference" and the widget is "OG Reference". Also there is no input type in the field setting page and I can not find any field that has a "Always show other groups" option. I have checked the option "Show on registration form of that field, but the combo box on the registration form does not have any option. Any suggestion? Changing order of features in shapefile This started to happen immediately after I had rebooted the first time after doing a system upgrade. It first starts with a dialogue that says "System program problem detected". Then when I try to hit 'report problem' not much happens. I am led through a dialogue that always ends up the problem cannot be solved.  I am aware this is not a lot of information, however I'm not sure which information I need to publish and how should I obtain it to debug this problem.  Here's a screenshot! How to find a suitable association of color with data value in a visualization? I'm working on a software project that involves creating a visualizer for flood simulations. As part of this project, I've created a water gradient that shows water depth at particular points. To set what values will represent what colors, I go through the data and get the minimum and maximum values that occur and evenly distribute the colors according to that scale.  However, there are often times points in these simulations that have significantly deeper water at them than anywhere else in the simulation. This causes most of the points on the map to have very similar colors and this is not very informative and makes the areas where the water is deeper very hard to see.  My goal is to dedicate a larger range of colors to depths that occur more frequently. For example, if depths go from 0 to 12 but most depths are between 1 and 2, I want more color variation to occur within that range than does between say 11 and 12 or 4 and 5. It seems I need to use standard deviation or something involving normal distribution to do this, but I'm a bit fuzzy on how these things work and how I can use them to accomplish my goal.  Any help that can be provided will be appreciated. Thank you. Find files in directory with paired names I'm running tests of a variable-size-and-contents test set. Data files are added and removed frequently. I'm looking for an automated way of gathering a file list.  All files are in subdirectories of D; I need the full directory and name added to a text file. However, I only need those files that have a "paired" file, which has the same filename but a different extension (so... different filename, but in a structured way). So, if there is a MyFileName.A and MyFileName.B, then I want D/.../MyFileName added to the file list.  There are .A files without .B files, but no .B files without .A files. If a .A has a .B file, then both files are in the same directory.   Any advice? Are these adjectives interchangeable?  I always hear: 'An Arab man.' but never 'An Arabic man.' and I always hear 'Arabic coffee' but never hear 'Arab coffee.' How do I spamtrap with Postfix? How do I setup spamtraps with Postfix so clients that send to trapped addresses are prevented from sending me more spam? Can Sasuke use Tsukuyomi?