Commit Graph

779 Commits

Author SHA1 Message Date
Juergen Spitzmueller
11d6708781 Fix tristate toolbar toggling via toolbar (#12177) 2021-03-05 17:12:51 +01:00
Richard Kimberly Heck
3aea4eec45 No reason not to use M as shortcut for Messages Pane. 2021-02-14 12:05:45 -05:00
Juergen Spitzmueller
c2822d684b Add LFUN_LYXFILES_OPEN
This opens the new templates/examples dialog and creates a view if
necessary (#12106).
2021-02-10 09:36:32 +01:00
Richard Kimberly Heck
b1e9206cab Shortcut for custom insets 2021-01-21 16:51:16 -05:00
Richard Kimberly Heck
8d8f9339f1 Revert "Remove elipses after 'Open'"
I totally misread this bug report! (#12019)

This reverts commit 8871229f5f.
2021-01-04 14:52:20 -05:00
Richard Kimberly Heck
7ad9e2ab49 Fix bug #11500 2021-01-04 00:12:10 -05:00
Richard Kimberly Heck
8871229f5f Remove elipses after 'Open' 2021-01-03 14:13:36 -05:00
Juergen Spitzmueller
18f7dce3d9 Implement inset-split (only for text insets for now) (#10260) 2020-12-24 10:48:52 +01:00
Scott Kostyshak
8896c2b62e Move "LyX Documentation Tools" toolbar to "Others"
This move is done because not many users likely use this toolbar.

Those who use it now need to go through the extra submenu "Other
Toolbars" and also need to move the toolbar from the bottom to the
top (if they want previous behavior). But once that is done, the
toolbar stays across sessions.
2020-12-17 20:59:10 -05:00
Scott Kostyshak
12285354e0 Mv "Math Panels" toolbar item by other math items
Now in View > Toolbars the math items are together, ordered as
follows:

5. Math
6. Math Panels
7. Math Macros

"Math Macros" is last because it seems the least important.

This commit makes no change to the toolbar contents (I just
cut/pasted to reorder).
2020-12-17 10:28:21 -05:00
Richard Kimberly Heck
5eb913ca99 Whitespace 2020-10-30 12:18:41 -04:00
Richard Kimberly Heck
4770cfebaf Fixed date 2020-10-13 17:18:05 -04:00
Pavel Sanda
0ea9df7467 Add inset for \nopagebreak.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg213388.html
2020-10-13 19:13:59 +02:00
Yuriy Skalko
6b85dd5ac0 Separate string for translation 2020-09-19 08:47:35 +02:00
Juergen Spitzmueller
c5c3323f32 Properly disable function 2020-08-27 10:59:15 +02:00
Juergen Spitzmueller
8365eabd6f Make paper search function accessible and customizable 2020-08-27 08:48:55 +02:00
Juergen Spitzmueller
24c2b8e21a Add ellipses 2020-08-20 16:39:34 +02:00
Pavel Sanda
e648202e7e Allow LyX to find pdfs and urls of citation references and follow them from context menu.
Currently tested:
- url & doi fields for bibtex.
- all documented eprinttypes of biblatex
- absolute paths of first entry of 'file' field for jabref and kbibtex
- external script searching for author + year pdf

Additional polishing will follow.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg212505.html
2020-08-20 09:12:54 +02:00
Pavel Sanda
48b1e8a0ac New attempt on #9906: allow following hyperlinks via context menu.
Now safer version with the help of Qt.
2020-08-14 19:48:47 +02:00
Pavel Sanda
28968b1f0d Add required elements in the layouts to support DocBook.
Slightly modified patch from Thibaut Cuvelier.
2020-07-07 09:49:48 +02:00
Juergen Spitzmueller
e121bd04bb Support halfline and fullline also in vspace. 2020-06-28 18:27:59 +02:00
Juergen Spitzmueller
a68b0389bc Add support for medspace and thickspace (in text) (#11893)
File format change.
2020-06-26 11:12:35 +02:00
Juergen Spitzmueller
3579a13a50 Harmonize some space shortcuts (math/text context menu) 2020-06-25 16:22:42 +02:00
Juergen Spitzmueller
05eae049d8 Add negmedspace and negthickspace to context menu 2020-06-24 14:47:12 +02:00
Enrico Forestieri
5a80f7bb6a Add support for the doublestroke package
This commit adds the mathed command \mathds that selects a
font more appropriate than \mathbb for typesetting the
mathematical symbols for the natural (N), whole numbers (Z),
rational numbers (Q), real numbers (R), complex numbers (C),
and some others.

As in the \mathbb case, only capital letters are supported,
but in addition one can also typeset a symbol often used for
representing the indicator function (\mathds{1}) and the
letters a, h, k.

Fixes bug #11887.
2020-06-11 16:42:31 +02:00
Jean-Marc Lasgouttes
b08791f731 Use combined toolbar icons for depth-(in|de)crement and outline-(in|out)
The Tab binding already combines those (and more).
2020-06-06 01:44:06 +02:00
Juergen Spitzmueller
3be8726695 Add missing ellipses 2020-05-03 13:30:04 +02:00
Juergen Spitzmueller
e40fe3a15d Update link 2020-05-03 09:13:59 +02:00
Richard Kimberly Heck
bc4ca12ab5 Polish the counter UI a bit and add some to the documentation. 2020-05-01 19:03:54 -04:00
Richard Kimberly Heck
9a147255df GUI for new counter inset. 2020-04-30 23:11:59 -04:00
Jean-Marc Lasgouttes
bb0117d182 Simplify code for bidi icons
Most of the RtL icons that we provide are simply mirrors of the LtR ones.
Therefore let the code do that by default if no +rtl icon is found.

The only RtL icon left for now is for "layout Enumerate" (notice the
numbers in it).

Also remove useless getPixmap wrapper and several old bidi_xxx icons
that were forgotten in previous patch.
2020-04-16 20:54:53 +02:00
Jean-Marc Lasgouttes
43eda5ad73 Reimplement properly bidi icons
When the cursor in RTL text, icons for "depth-increment" or
"layout-toggle Enumerate" look wrong.

Instead of relying on the clumsy "bidi" lfun of 2898c335, this new
version relies on a new Toobar tag BidiItem that inserts an action
which can have two icons, depending on the direction of the paragraph
containing the caret (or of the direction of the UI when no file is
open).

The alternative icon has the same name as the original one, with a
"+rtl" string appended to the lfun string. The alternative icon is
only active if the file is found. The icon themes `default', `oxygen'
and `classic' have been updated accordingly.

Fixes bug #4451.
2020-04-14 22:47:56 +02:00
Jean-Marc Lasgouttes
ce0538e372 Revert "Add mechanism to change icons in RTL mode"
This is really too clumsy. Revert in preparation for a better
mechanism.

This reverts commit 2898c335be.
2020-04-14 22:47:50 +02:00
Jean-Marc Lasgouttes
c8ebd2117c Change tootip for Labeling layout toolbar button
Labeled List sounds better that Labeling.

Part of bug #11770.
2020-04-03 19:16:04 +02:00
Richard Kimberly Heck
d34bb46387 Fix bug #11799.
I've made cut, etc, OptItems, as this menu is already very long.
2020-03-28 23:34:44 -04:00
Jean-Marc Lasgouttes
cf9827dfc1 List is obsoleted by Labeling: update icons
This does not change much in master but it is cleaner since the List
layout has been obsolete since 2010 (7f8b868f).

See bug #11770.
2020-03-04 11:52:52 +01:00
Jean-Marc Lasgouttes
0f0ed8073a This should not have been reverted 2020-01-12 21:47:54 +01:00
Jean-Marc Lasgouttes
dba1e40b52 Revert "Automatically show the review toolbar if the document has tracked changes"
We will replace this with a better solution

For now, only keep
- Changes::isChanged()
- Buffer::areChangesPresent(), replaced by a dummy function

Next step will be to provide a working areChangesPresent() and to
compute Inset::isChanged in updateBuffer.

This reverts commit 6d4e6aad24.
2020-01-12 20:26:35 +01:00
Juergen Spitzmueller
64775b7875 Introduce Menu item to accept/reject all changes in master/children
Fixes #11652
2020-01-02 14:10:22 +01:00
Jean-Marc Lasgouttes
2898c335be Add mechanism to change icons in RTL mode
When the cursor in RTL text, icons for "depth-increment" or
"layout-toggle Enumerate" look wrong.

To fix this, the lfun "bidi" is introduced. "bidi ltr func" behaves
like "func" in LTR text, but is unknown in RTL text. "bidi rtl" does
the opposite. This allows to add two icons, but only have one icon
available. When no document is available, only LTR is assumed.

To make this work, the handling of unknown functions in toolbar has
been changed so this these functions can change dynamically their
existence.

The icon themes `default', `oxygen' and `classic' have been updated
accordingly.

Fixes bug #4451.
2019-07-22 15:20:38 +02:00
Juergen Spitzmueller
47eb0452e3 Fix grammar 2019-05-31 18:29:30 +02:00
Juergen Spitzmueller
a3780f8939 Rename List/TOC menu item 2019-05-31 15:46:58 +02:00
Juergen Spitzmueller
f162b040b5 Fix spacing 2019-05-31 11:26:40 +02:00
Juergen Spitzmueller
4d4f03c857 Resolve shortcut conflict
Since all used letters are taken, we use the slash
2019-05-31 11:24:08 +02:00
Juergen Spitzmueller
ad78b02b80 Remove superfluous "Insert"
This is in the "Insert" menu.
2019-05-31 10:58:03 +02:00
Richard Kimberly Heck
29d80772fc Re-order and re-shortcut the edit menu. 2019-05-28 16:40:50 -04:00
Richard Kimberly Heck
959ba4a6a0 Add a separator. 2019-05-28 00:23:32 -04:00
Richard Kimberly Heck
8965d5eb8c Put "cancel" option in visible position at top of menu when it is
active.
2019-05-27 23:34:49 -04:00
Enrico Forestieri
ff7eb0eb38 Add submenu to math context menu
The "Rows & Columns" optional submenu is more easily accessible in
the math context menu rather having to navigate to the "Edit" menu.
All possible accelerators are already taken, so use the space bar.
2019-05-19 11:45:13 +02:00
Juergen Spitzmueller
3bbcfda3db Add option to reset to default booktabs lines
Addresses: #10106
2019-04-01 07:08:13 +02:00