Public bug reported:

Ubuntu 15.10
TeXstudio 2.9.4 (hg 5006:b43062855b2d) - from Ubuntu 15.10 repo

I expected that ts scans structure entries only between \begin{document}
and \end{document}. And everything was fine before upgrade to 15.10.

I did MWE to represent a bug. That's an actual part of code used in my
tex file.

--------------------------------------------------------------------------

\documentclass[a4paper]{report}

\usepackage[small]{titlesec}
\titleformat{\chapter}[block]{\Large\bfseries}{\LARGE\Roman{chapter}.}{0.8em}{}
\titleformat{\section}{\large\bfseries}{{\itshape\thesection}}{1em}{}
\titleformat{\subsection}{\normalfont\bfseries}{{\itshape\thesubsection}}{1em}{}

\begin{document}
\end{document}

** Affects: texstudio (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Screenshot of structure"
   
https://bugs.launchpad.net/bugs/1511941/+attachment/4509730/+files/2015-10-31%2014.02.11.png

** Description changed:

  Ubuntu 15.10
  TeXstudio 2.9.4 (hg 5006:b43062855b2d) - from Ubuntu 15.10 repo
  
  I expected that ts scans structure entries only between \begin{document}
  and \end{document}. And everything was fine before upgrade to 15.10.
  
  I did MWE to represent a bug. That's an actual part of code used in my
  tex file.
  
- 
------------------------------------------------------------------------------------------------------
+ --------------------------------------------------------------------------
  
  \documentclass[a4paper]{report}
  
  \usepackage[small]{titlesec}
  
\titleformat{\chapter}[block]{\Large\bfseries}{\LARGE\Roman{chapter}.}{0.8em}{}
  \titleformat{\section}{\large\bfseries}{{\itshape\thesection}}{1em}{}
  
\titleformat{\subsection}{\normalfont\bfseries}{{\itshape\thesubsection}}{1em}{}
  
  \begin{document}
  \end{document}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1511941

Title:
  \chapter inside \titleformat accessible in structure view

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texstudio/+bug/1511941/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to