Vincent van Ravesteijn - TNW wrote:
Right now (in Lyx 1.5.6) it's impossible to change the
headings of TOC using the latex trick \section[foo]{bar}.
This is not correct, please read the user guide. To have
short titles, use the menu Insert -> Short title.
Stated that: I, personally, never read user guides
(and probably never will).
If I would like to change the way a section heading appears
in the TOC, I would start by right-clicking a section heading
and look for a menu item that does what I want.
So, shouldn't we blame ourselves that there isn't a context-menu
item called "Insert Short Title" ?
Author: younes
Date: Mon Sep 8 16:22:03 2008
New Revision: 26337
URL:http://www.lyx.org/trac/changeset/26337
Log:
Insert Short Title context menu
Modified:
lyx-devel/trunk/lib/ui/stdcontext.inc
Modified: lyx-devel/trunk/lib/ui/stdcontext.inc
URL:http://www.lyx.org/trac/file/lyx-devel/trunk/lib/ui/stdcontext.inc?rev=26337
==============================================================================
--- lyx-devel/trunk/lib/ui/stdcontext.inc (original)
+++ lyx-devel/trunk/lib/ui/stdcontext.inc Mon Sep 8 16:22:03 2008
@@ -253,6 +253,7 @@
OptItem "Demote Section|m" "outline-in"
OptItem "Move Section down|d" "outline-down"
OptItem "Move Section up|u" "outline-up"
+ OptItem "Insert Short Title|T" "optional-insert"
Separator
Item "Apply Last Text Style|A" "textstyle-apply"
Submenu "Text Style|S" "edit_textstyles"