Scott Kostyshak
378c19bfc2
Guard some debug code
...
Amend f352a375
and 3bf1b97a
.
2022-11-05 14:35:27 -04:00
Juergen Spitzmueller
3bbce7f24a
Introduce index-tag-all lfun
...
This is a convenience function for indexing. It adds a copy of the
index inset under cursor after any word in the buffer that is equal
(case-insensitively) to the word preceding the index inset.
The function can be easily used to generate bad indexes (and I warn
about that in the UserGuide), but if used with care, it can also be
extremely convenient.
2022-11-05 18:39:33 +01:00
Scott Kostyshak
c52808ce1a
ctests: log a waste
2022-11-05 10:37:48 -04:00
Scott Kostyshak
0fe28df08f
ctests: ignore a couple fragile lyx2lyx tests
...
From Kornel [1]:
Exporting to 2.3 format and exporting from the exported differ in extra lines and
in changed sequence of 2 lines at begin.
$ diff doc/fr/UserGuide.23.lyx fr/UserGuide.23.23.lyx
[1] https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg218252.html
2022-11-05 10:37:48 -04:00
Juergen Spitzmueller
e2105bed61
Update RELEASE_NOTES
2022-11-05 08:34:36 +01:00
Daniel Ramoeller
89394bcd0f
Show suggestions containing the input in the command buffer
...
Previously, only the suggestions starting with the current input were
shown.
Contains the following minor improvements:
- Add space to indicate when only one suggestion is found
- Select first item in suggestion-list in order to make selecting with
arrow keys more intuitive
- Fix selection with Shift+Up/Down in text-field
Fix for bug #12572 .
2022-11-04 22:27:31 +01:00
Jean-Marc Lasgouttes
fad170be1a
New lfun to copy index insets from ToC
...
The new function inset-insert-copy can only be invoked from the ToC.
It is currently only implemented for Index inset.
It is a special lfun because Inset::dispatch is called directly from
the ToC widget with cursor pointing to the inset, whereas the patch
happens in the workarea at caret position. This function cannot be
called directly.
Add an entry for this function in the toc context menu.
Fixes bug #4582 .
2022-11-04 21:52:46 +01:00
Jean-Marc Lasgouttes
d2f05b9e6f
When Inset::dispatch is called from TOC, process screen flags
...
This is needed because we are not using the complete dispatch
machinery here.
Part of bug #4582 .
2022-11-04 21:46:32 +01:00
Jean-Marc Lasgouttes
0b27eb7deb
Introduce new function copyInsetToTemp
...
This is a version of copyInset that does touch the cut stack and the X
selection.
Part of bug #4582 .
2022-11-04 21:44:24 +01:00
Jean-Marc Lasgouttes
2c53f0315e
Fix another use of unqualified std::move
2022-11-04 21:36:43 +01:00
jpc
9dc6f09c65
Update fr.po
2022-11-04 18:05:43 +01:00
Kornel Benko
2333af615d
Amend 9be6a425
, Workaround for advanced search in 'uncover'-inset.
...
Use getInset(i)->toString() instead of getInset(i)->plaintext()
if searching, so that we get the option of 'uncover' visible to the search engine.
2022-11-04 15:34:49 +01:00
Kornel Benko
3b3f43cf35
Update sk.po
2022-11-04 12:47:35 +01:00
Juergen Spitzmueller
1b910e3fd9
de.po
2022-11-04 11:37:38 +01:00
Juergen Spitzmueller
68e268e117
Add some options to index context menu
2022-11-04 11:29:56 +01:00
Juergen Spitzmueller
4299d842e8
Adapt French docs to new index features
2022-11-04 09:03:55 +01:00
Juergen Spitzmueller
55870df5c7
Do not \protect stuff in index when we postpone the index
...
\protect us not needed here and affects sorting
2022-11-04 08:32:34 +01:00
Juergen Spitzmueller
d41e0c9231
Fix page range without page format
2022-11-04 07:57:56 +01:00
Scott Kostyshak
4bb576e940
ctests: log a waste and a success
...
A couple of the lyx2lyx tests were helpful, and a couple did not
lead to a fix. In particular, testing compilation was not helpful in
this case.
2022-11-03 16:05:10 -04:00
Scott Kostyshak
a1d127efeb
ctests: ignore some lyx2lyx tests that fail
...
From Jürgen [1]:
These are old problems. One is related to a questionable nomencl change
which we addressed in master but not in stable, see
https://www.lyx.org/trac/ticket/10634#comment:2
The other is due to CJK quotation marks which are not supported in 2.3.
We ignore, rather than invert, since no plans to fix these.
[1] https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg218237.html
2022-11-03 16:00:22 -04:00
Juergen Spitzmueller
e316e21aa1
Amend b8502a3ea2
2022-11-03 07:14:14 +01:00
Juergen Spitzmueller
b8502a3ea2
Fix glitch in index reversion routine
2022-11-03 05:54:50 +01:00
Juergen Spitzmueller
975f304185
Indicate see[also] refs in label and outliner
2022-11-02 15:56:59 +01:00
Juergen Spitzmueller
0e710626b8
Adapt all German and English manuals to new index features
2022-11-02 15:24:13 +01:00
Juergen Spitzmueller
293b8dbe67
Do not unnecessarily reset the outliner to TOC on internal model changes
...
The activated() signal is only issued on user changes, what we want here,
not internal model changes (as with currentIndexChanged())
2022-11-02 12:33:20 +01:00
Juergen Spitzmueller
b51f1f7800
Remove wrong count comment
2022-11-02 10:46:52 +01:00
Kornel Benko
9be6a425df
Workaround for advanced search in 'uncover'-inset.
...
Allows for matches inside style Uncover if used
Settings->Adhere to search string formatting
This does not cover all of #12594 though.
2022-11-02 10:33:29 +01:00
Kornel Benko
75d10993c9
Update sk.po
2022-11-02 10:33:06 +01:00
Juergen Spitzmueller
886d881ba3
lyx2lyx: fix index reversion
...
This was only a warning, but it made the tests fail
2022-11-02 09:33:09 +01:00
jpc
ef10697391
Update fr.po
2022-11-01 16:51:01 +01:00
Juergen Spitzmueller
f41546d73c
German documentation of new index features
2022-11-01 14:45:37 +01:00
Juergen Spitzmueller
657ab04d8e
de.po
2022-11-01 12:13:45 +01:00
Juergen Spitzmueller
5a53a5f608
Fix output of subentry with sortkey
2022-11-01 11:55:57 +01:00
Juergen Spitzmueller
262f0b528a
UserGuide: use new features for all index entries
2022-11-01 11:06:50 +01:00
Juergen Spitzmueller
fd5adacef2
Handle empty index subentries ( #7820 )
2022-11-01 10:20:50 +01:00
Thibaut Cuvelier
3bf1b97ae5
InsetIndex: hide printTree behind a LYX_INSET_INDEX_DEBUG flag
...
The change ensures that the function is not seen by the compiler when
the debug mode is not enabled. The flag is not set by default, because
it might have a significant performance impact for large indices.
The reason for the flag is that the default configuration under Linux
forbids the definition of unused functions.
2022-11-01 00:00:37 +01:00
Kornel Benko
6f7b39f842
Update sk.po
2022-10-31 22:57:02 +01:00
Juergen Spitzmueller
3c488c22e1
Update tex2lyx tests
2022-10-31 21:11:07 +01:00
Juergen Spitzmueller
4e50da3e65
Merge branch 'features/indexmacros'
2022-10-31 19:32:52 +01:00
Juergen Spitzmueller
f4d588cea5
Document new inset features
2022-10-31 19:26:39 +01:00
Juergen Spitzmueller
ca89c6c18e
Typo
2022-10-31 07:52:11 +01:00
Juergen Spitzmueller
077ccf905d
Rename subindex to subentry
...
Makes more sense, and distinguishes it better from printsubindex
2022-10-31 06:51:38 +01:00
Juergen Spitzmueller
fba3dace9e
Display subinsets in inset button and outliner
2022-10-31 06:04:13 +01:00
Juergen Spitzmueller
9dc9fa68ce
Enter subindex on Enter in index
2022-10-31 05:25:04 +01:00
Juergen Spitzmueller
0df63e3773
Add Christopher Hillenbrand to the credits
2022-10-31 04:33:07 +01:00
Juergen Spitzmueller
5a7c6aaeee
Add some comments
2022-10-29 15:40:06 +02:00
jpc
fd1fb56634
Update fr.po
2022-10-29 15:17:32 +02:00
Juergen Spitzmueller
874f559bc7
Add last missing bit to insetindexmacros: file format change and lyx2lyx
...
The feature is now ready for primetime!
2022-10-29 15:11:11 +02:00
Juergen Spitzmueller
43365d2bbd
format change stub (to be updated before merge)
2022-10-29 12:51:17 +02:00
Juergen Spitzmueller
e39c755b85
Enable pagination property with inset sortkey
2022-10-29 12:48:45 +02:00