Declan O'Byrne wrote:
> Even though I now know that I should switch between open documents
> using the View menu, rather than the Document menu, there's something
> somehow counter-intuitive about it. I understand that I want to change
> the document I am VIEWing, but as far as first instincts are concerned
> it is the DOCUMENT I want to view, rather than the VIEW I want to
> change. Maybe I'm alone in this, and if so the observation won't be
> useful. Many other programmes use a Window menu for this. Other types
> of programmes use these things tabs.
If you really want it this way, you can make it this way. Copy the file
stdmenus.ui (at /usr/share/lyx/ui/, in my install) to your local LyX
directory (~/.lyx, in my case) and edit it. You should find something
like this there:
Menu "view"
# FIXME: this must become Open Footnote, Close Margin Note etc. as appropriate
# Item "Open Float|O" "inset-toggle"
# A common feature request JMarc wants to see
# Item "Open All Footnotes|F" "open-footnotes"
# Item "Close All Footnotes|C" "close-footnotes"
Item "Display Tooltips|i" "toggle-tooltips"
Separator
Submenu "Update|U" "document_update"
ViewFormats
Separator
Documents
End
The "Documents" entry is what gives the list of open documents. If you
wanted, you could move the last two lines to the bottom of the Document
menu. Or create a new "Windows" menu. To do the latter, just insert this:
Menu "windows"
Documents
End
and then at the top of the file you'll find this:
Menubar
# Make the first 4 menus be as much as expected as possible
Submenu "File|F" "file"
Submenu "Edit|E" "edit"
Submenu "View|V" "view"
Submenu "Insert|I" "insert"
Submenu "Navigate|N" "navigate"
Submenu "Document|D" "document"
Submenu "Tools|T" "tools"
Submenu "Help|H" "help"
End
Just add
Submenu "Windows|W" "windows"
where you want it to appear.
If you mess up, just re-copy the stdmenus.ui from the original location.
By the way, is the exact syntax of these ui files documented somewhere?
I mean, besides the source?
Richard Heck