]> git.lyx.org Git - features.git/commit
Enhancements and bugfixes to the TOCs
authorGuillaume Munch <gm@lyx.org>
Sun, 27 Sep 2015 06:05:00 +0000 (07:05 +0100)
committerGuillaume Munch <gm@lyx.org>
Thu, 1 Oct 2015 20:44:22 +0000 (21:44 +0100)
commitd5a5fbb8ee87d4a8ae1c55f9ba72819251bb6fb7
tree48a455d153be215815a59ae5b4b3b8dc1200d010
parent89342f2946abd5d01b019a729d1f160b0c9d3d50
Enhancements and bugfixes to the TOCs

* New TOC "math-macro". This means that math macros can now be accessed in the
  outline pane in their order of appearance or in alphabetical order, and can be
  searched using the filter.

* Lists of floats now show subfloats deeper in the navigation menu

* The arbitrary 30 element cut-off after which nothing is shown except "Open
  Navigator..." is removed. Menus now have no limit in size, so Qt may display
  them scrollable. In exchange, we always show "Open outliner..." at the
  beginning. I tested for performance issues with a rather complex document and
  it is fine; but this does not exclude corner cases with lots of TOC entries of
  a certain kind. If necessary, populating the navigation sub-menu should be
  delayed like the main menu.

* Elements that do not contribute to the output (e.g. in a note, a disabled
  branch) are now preceded with a symbol indicating this status. (The machinery
  was already there; I wonder why it was not implemented already.) I have chosen
  U+274E NEGATIVE SQUARED CROSS MARK.

* Fix the contextual menus in the outliner (bug introduced at 94e992c5).

* Toc item now move to the caption when present, but first center on the float,
  to prevent the situation where the caption is at the top of the screen and the
  contents of the float is off-screen above the caption.
  (Internally, the action of the toc items can now be customised)

* Fix the LyXHTML output. Disabled captions no longer appear in the list of
  figures.
43 files changed:
src/Buffer.cpp
src/TocBackend.cpp
src/TocBackend.h
src/frontends/qt4/Menus.cpp
src/frontends/qt4/TocModel.cpp
src/frontends/qt4/TocWidget.cpp
src/frontends/qt4/qt_helpers.cpp
src/insets/Inset.h
src/insets/InsetBranch.cpp
src/insets/InsetBranch.h
src/insets/InsetCaption.cpp
src/insets/InsetCaption.h
src/insets/InsetCaptionable.cpp
src/insets/InsetCaptionable.h
src/insets/InsetCitation.cpp
src/insets/InsetCitation.h
src/insets/InsetFloatList.cpp
src/insets/InsetFoot.cpp
src/insets/InsetFoot.h
src/insets/InsetGraphics.cpp
src/insets/InsetGraphics.h
src/insets/InsetInclude.cpp
src/insets/InsetInclude.h
src/insets/InsetIndex.cpp
src/insets/InsetIndex.h
src/insets/InsetLabel.cpp
src/insets/InsetLabel.h
src/insets/InsetMarginal.cpp
src/insets/InsetMarginal.h
src/insets/InsetNomencl.cpp
src/insets/InsetNomencl.h
src/insets/InsetNote.cpp
src/insets/InsetNote.h
src/insets/InsetRef.cpp
src/insets/InsetRef.h
src/insets/InsetTabular.cpp
src/insets/InsetTabular.h
src/insets/InsetText.cpp
src/insets/InsetText.h
src/mathed/InsetMathHull.cpp
src/mathed/InsetMathHull.h
src/mathed/MathMacroTemplate.cpp
src/mathed/MathMacroTemplate.h