https://bugs.kde.org/show_bug.cgi?id=392247

            Bug ID: 392247
           Summary: Structure tree construction does not ignore sectioning
                    within comment environment
           Product: kile
           Version: unspecified
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: michel.lud...@kdemail.net
          Reporter: eyal...@technion.ac.il
  Target Milestone: ---

I'm  using Kile 2.1.3 (on Mint 18.3).

After everything else in my document (report class), I have the following code:

\begin{comment}
\appendix
\chapter*{Appendix}
\section*{Frobnicate the bar}
Bunch of text here, etc. etc.
\endcomment}

... and this shows up as part of the document structure tree, which it really
shouldn't - especially seeing how the comment environment is identified and its
contents is grayed-out.

This bug seems very related to bug 63121, which was about line comments (text
after the % symbol). However, that one was resolved 15 years ago. In fact, if I
add line comments within the comment environment, the appendix and the section
disappear from the structure tree; so it really looks like they're treated like
a normal part of the document.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to