Hello,
making figures in tikz, especially in big documents it is useful to place them in subdocuments. Thus either include or input commands are used within i.e. the figure environment. Both of them cause the problem in the structure view described below.
Here is a mimimum example to reproduce this issue:
\section{SECTION}
\subsection{SUBSECTION-A}
\begin{figure}
\input{figure.tiz}
\include{figure.tiz}
\end{figure}
\subsection{SUBSECTION-B}
In the structure view this results in:
SECTION
-> SUBSECTION-A
figure.tiz (placed at chapter level, collapsing SECTION this keeps visible)
figure.tiz (placed at chapter level, collapsing SECTION this keeps visible)
SUBSECTION-B (placed at chapter level, collapsing SECTION this keeps visible)
instead of:
SECTION
-> SUBSECTION-A
--> figure.tiz
--> figure.tiz
-> SUBSECTION-B
If there are more i.e. subsections after the figure with nested a include command, the hierarchical structure is crunched.
I make tikz-figures in TikzEdt. Consequentially the content of these files are encapsulated within a tikzpicture-environment. This should be covered as well.
Keep up the good work!
Thomas
Anonymous
this is an advanced options.
activate advanced option:
option/advanced editor/Structure panel: Keep indentation of includes ...
Shouldn't this be the default? Or are there good reasons this option is unchecked initially?