## ideas for a better (IMHO) structure view document.SUBSCRIPTION_OPTIONS = { "thing": "thread", "subscribed": false, "url": "subscribe", "icon": { "css": "fa fa-envelope-o" } };

elwood151
2011-03-14
2012-10-17
• elwood151 - 2011-03-14

Hi,

the structure view is one of the reasons (after code folding), why I switched
from TeXShop to TexmakerX and I'd like to discuss some points which have
potential for (I think mostly quite easy to implement) improvement:

1) in a large document (report or book) where all sections are used from
chapter to subsubsection, the large indentation in the structure view wastes a
lot of screen space - would it be possible (and wouldn't it make sense) to
just make the indents smaller, so more of the section title would be shown.

2) would it be possible to also show tables and images in the structure view?
I admit that it would make the view very crowded, but it could be interesting
nevertheless.

3) the blue icons for the sections in the structure don't make much sense
imho, as they look nearly identical, so they don't add much information, but
they use a lot of space
-> include an option, to not show them?
Maybe it could be more helpful to integrate the actual number of the chapter
"2.5.3" etc. or just show the hierarchy by indentation.

-> What do you other users think of my suggestions?
-> @ developers: what could/would you integrate in future versions?

Kind regards

Martin

• honich - 2011-03-22

Hi,

• 1) would be useful to me too
• 2) don't know; at the moment I habe a relatively long TeX file with lots of images, I can't say that I am missing this feature... perhaps an option to show / hide these things... what about a small button bar on top of the structure view with on/off buttons to show/hide external files, show/hide images, show/hide tables
• 3) blue icons: /signed, number of the chapter: not useful for me (again just my personal opinion)

adding some things I saw in a feature request by Tim Hoffman (Improve
readability of structure - ID: 3231893)
- 4) line numbers: not useful for me too. There is also no blank between Name and line number, e.g. "Introduction(line 20)" - at least in the german version. Perhaps one or two blanks would improve readablility
- 5) menu items to expand / collapse all: good thing to have, could also be a feature for the fancy little menu from 2)

By the way: did I write that I like TexMakerX? So thanks alot to all the
people working on this project :-)

• I'm not going to change the structure view now, because I work on other
things,
but you can add it to the brand new idea torrent
(https://sourceforge.net/apps/ideatorrent/texmakerx/ideatorrent/), so

1) the indentation comes from qt, i don't know if it can be changed
2) perhaps
4) line numbers could be useful if you want to know where a line is
(e.g. errors), but i can add an option (actually calculating the correct
line numbers to show them is quite difficult )

• elwood151 - 2011-03-23

but you can add it to the brand new idea torrent

done :-)

• Tim Hoffmann - 2011-03-26

1) the indentation comes from qt, i don't know if it can be changed
this can be adapted using QTreeView::setIndentation

Maybe I'll have a look at the code of the structure view to see what can be
done easily.

btw is the idea torrent now the preferred platform to discuss feature
requests?

• btw is the idea torrent now the preferred platform to discuss feature
requests?

The advantage of the idea torrent is that you can vote for the issues,
and so you decide which features should be added instead of us. And it
is probably better in the long-term use, because older forum post and
feature request are always forgotten. In the torrent the top issues
always stay on top.

But discussion may be a little bit difficult there (e.g. no mail

Maybe I'll have a look at the code of the structure view to see what
can be done easily.

patches are always welcome (but the structure view is quite fragile)

• Anonymous - 2011-04-20

I fully support all the points elwood151 made.

The switching on and off of the images etc. is a good thing because everyone
has his own needs for showing things.

One thing I like most about LYX is their structure view (=outliner) concept.
There you can choose if the view should show:
a) document structure, i.e. sections etc.
b) images
c) citations
d) equations

etc.

It's really neat.

Another thing I like about the LYX outliner and that I really miss in TMX is
an easy way to shift sections in terms of sequence and in terms of changing a
subsection into a section or subsubsection via an indentation kind of
operation.

I'll have a look at the ideatorrent for that..

TMX is great!!!

Personally, I did recommend it to every latex newbie I know instead of Auctex,
Texlipse, Winshell, Texmaker, Texworks, Texniccenter, LED and WinEdt. There is
still a way to go to make it perfect and nice features to implement but it is

• Jan Sundermeyer - 2011-04-20

you can change section into subsection by using the context menu in the
structure view (indent/unindent section).

• Denis Bitouzé - 2011-04-20

you can change section into subsection by using the context menu in the
structure view (indent/unindent section).

Funny!

IMHO, it could be more useful if indent/unindent section could be done on many
sections in one shot.

Also, why unindent \chapter doesn't lead to \part?

Regards.

• Jan Sundermeyer - 2011-04-20

at the moment, it considers chapter as top.
Apart from that it takes all sub-categories into account,e.g.
\section
\subsection
\subsection

is changed to (if section is unindented)
\chapter
\section
\section

in my opinion, that is the most often use case ...

• Denis Bitouzé - 2011-04-20

OK but it could lead to unexpected result. Let us consider the following .tex
file:

\documentclass{report}
\begin{document}
\chapter{Foo 1}
\section{Foo 2}
\section{Foo 3}
\section{Foo 4}
\section{Foo 5}
\end{document}


Suppose you plan to make all the sections become chapters. So you unindent
\section{Foo 2}. Then \section{Foo 3}, \section{Foo 4} and \section{Foo 5}
"belong" to \chapter{Foo 2} and you have to go in this chapter's tree to
unindent \section{Foo 3}. And so on...

It could be convenient to be able to select many \section(s) and unindent
theme in one go.