]>
git.lyx.org Git - features.git/log
Richard Kimberly Heck [Sat, 29 Jul 2023 16:34:38 +0000 (12:34 -0400)]
Fix silly mistake in
04fc48d79
Richard Kimberly Heck [Sat, 29 Jul 2023 16:27:31 +0000 (12:27 -0400)]
Fix copy/paste error
Kornel Benko [Sat, 29 Jul 2023 13:13:34 +0000 (15:13 +0200)]
Update sk.po
Richard Kimberly Heck [Sat, 29 Jul 2023 03:08:39 +0000 (23:08 -0400)]
Catch another potential crash of the same kind as in the previous commit.
Also refactor.
Richard Kimberly Heck [Sat, 29 Jul 2023 02:57:57 +0000 (22:57 -0400)]
Fix crash when modifying an InsetRef inserted by the current author.
The problem was that, in this case, we actually delete the current inset
in changeCmdName. So when we return from that and attempt to call initView(),
we're in a non-existent inset.
Richard Kimberly Heck [Fri, 28 Jul 2023 23:54:02 +0000 (19:54 -0400)]
Documentation for new layout features: RefFormat
Richard Kimberly Heck [Fri, 28 Jul 2023 22:22:14 +0000 (18:22 -0400)]
Add a bunch of RefFormat and PrettyFormat tags.
Richard Kimberly Heck [Fri, 28 Jul 2023 22:21:47 +0000 (18:21 -0400)]
Update layouts.
Richard Kimberly Heck [Fri, 28 Jul 2023 21:51:55 +0000 (17:51 -0400)]
Remove debug code
Richard Kimberly Heck [Fri, 28 Jul 2023 21:37:13 +0000 (17:37 -0400)]
New RefFormat tag for counters, and PrettyFormat for floats.
Layout format updated to 104.
Richard Kimberly Heck [Fri, 28 Jul 2023 21:16:06 +0000 (17:16 -0400)]
Whitespace
Richard Kimberly Heck [Fri, 28 Jul 2023 21:12:13 +0000 (17:12 -0400)]
Polish
Richard Kimberly Heck [Fri, 28 Jul 2023 16:49:53 +0000 (12:49 -0400)]
Fix some pretty counters.
Polish for
c609e9cbcf .
Daniel Ramoeller [Fri, 28 Jul 2023 16:19:29 +0000 (12:19 -0400)]
Fix bug #12006. New icons for changes.
Richard Kimberly Heck [Fri, 28 Jul 2023 16:10:21 +0000 (12:10 -0400)]
Fix bug #12337. Reorder plural and caps indicators.
Richard Kimberly Heck [Thu, 27 Jul 2023 22:45:10 +0000 (18:45 -0400)]
Fix bug #12235: Select text in search field on opening.
Patch slightly modified from one by Daniel.
Richard Kimberly Heck [Thu, 27 Jul 2023 05:18:55 +0000 (01:18 -0400)]
Hack to display section symbol
Pavel Sanda [Fri, 28 Jul 2023 08:31:54 +0000 (10:31 +0200)]
Fix wrong nesting in Outline.
Fixes #12814, patch from Yuriy.
Kornel Benko [Fri, 28 Jul 2023 08:17:08 +0000 (10:17 +0200)]
Update sk.po
Richard Kimberly Heck [Fri, 28 Jul 2023 01:22:17 +0000 (21:22 -0400)]
Update layouts
Richard Kimberly Heck [Fri, 28 Jul 2023 01:20:53 +0000 (21:20 -0400)]
Fix bug #11822.
Allow counter formatting strings in PrettyFormat. Patch from Daniel.
Richard Kimberly Heck [Thu, 27 Jul 2023 22:12:54 +0000 (18:12 -0400)]
Fix bug #12819.
Pop a warning and mark the buffer dirty if the file is deleted from disk.
Richard Kimberly Heck [Thu, 27 Jul 2023 22:08:23 +0000 (18:08 -0400)]
Add FIXME for bug #12828
Pavel Sanda [Thu, 27 Jul 2023 21:24:45 +0000 (23:24 +0200)]
* cs.po
Pavel Sanda [Thu, 27 Jul 2023 21:02:39 +0000 (23:02 +0200)]
Remerge cs.po
Pavel Sanda [Thu, 27 Jul 2023 21:23:18 +0000 (23:23 +0200)]
Save translators time, already used on different places.
Richard Kimberly Heck [Thu, 27 Jul 2023 20:56:48 +0000 (16:56 -0400)]
Fix warning
Pavel Sanda [Thu, 27 Jul 2023 20:39:49 +0000 (22:39 +0200)]
Revert
a9c6fb0c .
Causes regression, see #12841.
Richard Kimberly Heck [Thu, 27 Jul 2023 20:36:11 +0000 (16:36 -0400)]
Use non breaking space
Kornel Benko [Thu, 27 Jul 2023 09:31:21 +0000 (11:31 +0200)]
Update sk.po
Daniel Ramoeller [Tue, 22 Sep 2020 04:28:06 +0000 (06:28 +0200)]
More consistent line spacing/leading
Uses maxHeight (= maxAscent + maxDescent) as leading.
Fix for bug #11818.
Thibaut Cuvelier [Thu, 27 Jul 2023 01:12:56 +0000 (03:12 +0200)]
XHTML: remove deferred text in InsetListings, fixing 12007.
Thibaut Cuvelier [Thu, 27 Jul 2023 05:21:46 +0000 (01:21 -0400)]
Before this patch, each character within InsetMathClass was output separately, without understanding their meaning, using the default text output (with [] around each character). This commit changes the behaviour to skip the InsetMathClass during the MathML output. This effectively renders the inset useless for MathML (instead of controlling spacing), as expected, because the MathML processor is supposed to handle the spacing itself.
Another implementation would have been to use the lspace and rspace attributes in MathML, but they require to give the exact spacing before and after the operator instead of relying on rules like TeX.
For instance, `$a\mathbin{+}b$` resulted in this MathML output before the patch:
```
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<mi>a</mi><!-- -->
<mi>[mathbin [char + mathalpha]]</mi>
<mi>b</mi>
</mrow>
</math>
```
For comparison, this was the output with LyX 2.3.7
```
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mrow><mi>a</mi><!-- -->
<mi>[mathbin [char + mathalpha]]
</mi><mi>b</mi>
</mrow>
</mrow></math>
```
After this patch, it looks like:
```
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mstyle class='math'>
<mrow>
<mi>a</mi>
<mo>+</mo>
<mi>b</mi>
</mrow>
</mstyle>
</math>
```
Richard Kimberly Heck [Thu, 27 Jul 2023 04:40:13 +0000 (00:40 -0400)]
Slight rearrangement
Kornel Benko [Thu, 27 Jul 2023 05:10:32 +0000 (07:10 +0200)]
Amend
137fd291c2a for cmake (change of AC_INIT params)
Richard Kimberly Heck [Thu, 27 Jul 2023 04:09:26 +0000 (00:09 -0400)]
Fix bug #8741
Richard Kimberly Heck [Wed, 26 Jul 2023 23:45:16 +0000 (19:45 -0400)]
Change version to one that RPM will accept.
Pavel Sanda [Wed, 26 Jul 2023 22:45:01 +0000 (00:45 +0200)]
Fix make rpmdist
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/metainfo/org.lyx.LyX.metainfo.xml
Thibaut Cuvelier [Wed, 26 Jul 2023 21:58:18 +0000 (23:58 +0200)]
Beamer layout: fix issue 8767
The "Frame" label was shown for each Beamer frame.
Richard Kimberly Heck [Wed, 26 Jul 2023 20:52:17 +0000 (16:52 -0400)]
Make Alt-escape work for search as well
Jean-Marc Lasgouttes [Wed, 26 Jul 2023 19:13:51 +0000 (21:13 +0200)]
Restore some checks that were useful for search
It is really back of the enveloppe spacing, but people liked it this way.
Fixes ticket #12767.
Richard Kimberly Heck [Wed, 26 Jul 2023 18:24:37 +0000 (14:24 -0400)]
Use Alt-Escape to float and unfloat dock widgets.
For some reason, redocking is not working for me at all. This
key seems free.
Alexander Dunlap [Wed, 26 Jul 2023 17:35:42 +0000 (13:35 -0400)]
Display equation/theorem numbers in insert cross reference dialog.
Fixes bug #11466,
Juergen Spitzmueller [Wed, 26 Jul 2023 07:53:25 +0000 (09:53 +0200)]
Improve AllowedOccurrences
This does now apply to the whole inset or paragraph group (not to the
current paragraph only) unless the new boolean AllowedOccurrencesPerItem
is set and we are in a list-type environment.
Amends
729ab602ca70
Richard Kimberly Heck [Wed, 26 Jul 2023 02:04:23 +0000 (22:04 -0400)]
Update from Koji
Juergen Spitzmueller [Tue, 25 Jul 2023 13:49:53 +0000 (15:49 +0200)]
To finish up #6854, also add AllowedOccurrences
Again very basic for now (this only considers the current paragraph,
not the whole inset or a serious of grouped layouts
Juergen Spitzmueller [Tue, 25 Jul 2023 11:44:29 +0000 (13:44 +0200)]
Update layouts
Juergen Spitzmueller [Tue, 25 Jul 2023 11:40:23 +0000 (13:40 +0200)]
Implement new tags in some layouts
Juergen Spitzmueller [Tue, 25 Jul 2023 11:37:07 +0000 (13:37 +0200)]
Add AllowedInInsets and AllowedInLayouts InsetLayout tags
This allows to restrict the use of flex insets to specific contexts.
Note that this is currently very basis. It only considers immediately
containing insets/layouts and can be surpassed via cut and paste.
The use case that made me finally implement this are macros in covington
that make sense only in specific environments (but also consider \inst
in some article classes)
Juergen Spitzmueller [Tue, 25 Jul 2023 09:13:18 +0000 (11:13 +0200)]
Whitespace
Juergen Spitzmueller [Mon, 24 Jul 2023 14:59:32 +0000 (16:59 +0200)]
de.po
jpc [Mon, 24 Jul 2023 09:54:06 +0000 (11:54 +0200)]
Update fr.po
Pavel Sanda [Mon, 24 Jul 2023 09:39:44 +0000 (11:39 +0200)]
* RELEASE-NOTES
Jean-Marc Lasgouttes [Sat, 22 Jul 2023 14:53:14 +0000 (16:53 +0200)]
Display footnote labels as superscripts
A new counter type \superarabic is introduced, that transforms the
counter into superscript Unicode numbers.
This is used for the footnote counter.
The Foot inset layout is modified to use an empty LabelString (in size
Normal, since the numbers could be too small).
We use this occasion to set footnote text in footnotesize, as it should.
A couple of changes are done to the code to make the button label and
tooltip look better.
Fixes bug #12238.
Juergen Spitzmueller [Mon, 24 Jul 2023 08:33:20 +0000 (10:33 +0200)]
Add accelerators
Juergen Spitzmueller [Mon, 24 Jul 2023 08:26:57 +0000 (10:26 +0200)]
Fix casing
Richard Kimberly Heck [Mon, 24 Jul 2023 01:07:55 +0000 (21:07 -0400)]
Add Edit External to ERT context menu
Pavel Sanda [Sun, 23 Jul 2023 23:21:52 +0000 (01:21 +0200)]
Add a "nogui" option to the inset-edit lfun (bug 11956).
Jean-Marc Lasgouttes [Thu, 20 Jul 2023 21:42:34 +0000 (23:42 +0200)]
Improve branch activatiion LFUNs
* put the code that is called both from Buffer and InsetBrach in the
two helper methods Buffer::branchActivationStatus() and
Buffer::branchActivationDispatch().
* Cleanup the code so that _MASTER_ lfuns are disabled when there is
no master document.
* When changing branches in the master buffer, make the buffer visible
if it is not, and make sure that undo information is recorded.
* The code in Buffer::dispatch is used first, and it gives control to
the branch inset code if no branch name has been specified.
Fixes bug #12588.
Jean-Marc Lasgouttes [Sun, 23 Jul 2023 15:34:01 +0000 (17:34 +0200)]
Fix issues with inset-dissolve in mathed
* do not try to dissolve a macro template inset (avoids a crash)
* disable inset-dissolve when an argument is given
* when triggered by the AtPoint mechanism, make sur to dissolve the
right inset.
Fixes bug #12562.
Jean-Marc Lasgouttes [Sat, 22 Jul 2023 22:22:22 +0000 (00:22 +0200)]
Revert "Fix crash when dissolving a top level math inset"
The code was too convoluted and actually wrong (the -1 should have been -2).
This reverts commit
c75522bbb7a0044f2370ced294a27738d47935ea .
Jean-Marc Lasgouttes [Sat, 22 Jul 2023 21:36:34 +0000 (23:36 +0200)]
update layout files to format 101
Jean-Marc Lasgouttes [Sat, 22 Jul 2023 21:27:09 +0000 (23:27 +0200)]
Replace hardcoded inheritFont() with InheritFont InsetLayout tag
Each removed inheritFont method is replaced by a 'InheritFont false'
line in the relevant InsetLayout entry.
Add code to layout2layout that does this automatically when the entry
is missing.
The case of InsetScript is special, since the inheritFont() was not
needed here: the default is indeed true.
Fixes bug #12238.
Kornel Benko [Sat, 22 Jul 2023 18:38:44 +0000 (20:38 +0200)]
Update sk.po
Pavel Sanda [Sat, 22 Jul 2023 15:46:23 +0000 (17:46 +0200)]
Fix application of PARAGRAPH_PARAMS* in selection.
- Setting in the last paragraph of selection was not applied
at certain conditions (i.e. relative cursor position in first
paragraph > rel.c.pos. in last paragraph).
Getting back + fixing typo from
e2b42b17265f .
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg220019.html
Jean-Marc Lasgouttes [Sun, 16 Jul 2023 17:05:55 +0000 (19:05 +0200)]
Introduce new InsetLayout tag InheritFont
The font inside the inset is inherited from the parent for LaTeX
export if this parameter is true, as well as on screen. Otherwise
the document default font is used.
The default value is true.
Update tufte layouts to use this tag for sidenote and marginnote flex
insets.
Increase layout format to 101.
Fixes bug #12238.
Jean-Marc Lasgouttes [Fri, 9 Dec 2022 13:45:14 +0000 (14:45 +0100)]
Detect when one tries to bind a lfun to a prefix of longer commands
Change KeyMap::getBinding to return FuncRequest::prefix in this case.
Add handling of this case in PrefShortcuts::validateNewShortcut.
What does not seem to work is that if, for example, accent-acute is
bound to M-s (which is a prefix for size-related bindings), and then
the binding is removed, the functions are not visibly restored.
Part of bug #10131.
Jean-Marc Lasgouttes [Tue, 18 Jul 2023 12:27:24 +0000 (14:27 +0200)]
Use macros with parameters for modulo macros
It turns out that it is possible to use macros with parameters in lib/symbols.
I use this to simplify the use of mod-like macros.
Update documentation.
Pavel Sanda [Fri, 21 Jul 2023 21:37:39 +0000 (23:37 +0200)]
Switch delimiters for hebrew keyboard (bug #12829).
Patch from Udi Fogiel.
Pavel Sanda [Fri, 21 Jul 2023 21:19:05 +0000 (23:19 +0200)]
* RELEASE-NOTES
Pavel Sanda [Fri, 21 Jul 2023 21:17:55 +0000 (23:17 +0200)]
Create the other side of conversion chain when IM is banned (bug #12646).
We allow png, jpg to channel through already existing tiff2ps (library
libtiff-tools). Other formats can be added if there is a request.
For future reference:
- using pnmtops seem to have issues with landscape/portrait flip, so
tiff2ps seems better alternative.
- using GraphicsMagick won't help because some distros ban postscript
processing directly in its code (e.g. openSUSE)
This patch finishes IM policy ban handling, we can't probably do much
better.
Juergen Spitzmueller [Fri, 21 Jul 2023 12:31:45 +0000 (14:31 +0200)]
Current covington requires varwidth
Juergen Spitzmueller [Fri, 21 Jul 2023 07:46:47 +0000 (09:46 +0200)]
Fix lyx2lyx reversion problem for covington examples
Do not take arguments of nested insets/layouts as your own
Juergen Spitzmueller [Fri, 21 Jul 2023 07:09:30 +0000 (09:09 +0200)]
Merge branch 'master' of git.lyx.org:lyx
Jean-Marc Lasgouttes [Thu, 20 Jul 2023 21:39:15 +0000 (23:39 +0200)]
Send some debug info to ACTION
Richard Kimberly Heck [Thu, 20 Jul 2023 17:20:48 +0000 (13:20 -0400)]
Improve format specification for 616.
Kornel Benko [Thu, 20 Jul 2023 16:36:26 +0000 (18:36 +0200)]
Update sk.po
Juergen Spitzmueller [Thu, 20 Jul 2023 14:47:19 +0000 (16:47 +0200)]
de.po
Juergen Spitzmueller [Thu, 20 Jul 2023 14:45:43 +0000 (16:45 +0200)]
Update linguistics manual
Juergen Spitzmueller [Thu, 20 Jul 2023 14:26:17 +0000 (16:26 +0200)]
Forgot these
Scott Kostyshak [Thu, 20 Jul 2023 14:11:53 +0000 (10:11 -0400)]
FORMAT: more details on 616
Juergen Spitzmueller [Thu, 20 Jul 2023 13:31:36 +0000 (15:31 +0200)]
de.po
Juergen Spitzmueller [Thu, 20 Jul 2023 13:22:47 +0000 (15:22 +0200)]
Update tex2lyx tests
Juergen Spitzmueller [Thu, 20 Jul 2023 13:19:42 +0000 (15:19 +0200)]
Add missing FORMAT entries
616 could be a bit more verbose. Enrico? Riki?
Juergen Spitzmueller [Thu, 20 Jul 2023 13:09:47 +0000 (15:09 +0200)]
Update covington support in linguistics module (file format change)
Kornel Benko [Thu, 20 Jul 2023 10:28:35 +0000 (12:28 +0200)]
FindAdv: Handle negthinspace, negmedspace and negthickspace also in regexes
Pavel Sanda [Wed, 19 Jul 2023 09:56:31 +0000 (11:56 +0200)]
Adding binary path for Homebrew on MacOS-arm64 (bug 12619).
Patch from Koji.
Pavel Sanda [Tue, 18 Jul 2023 20:25:28 +0000 (22:25 +0200)]
Group most verbose dbg output into more intuitive categories.
From now on, having all dbg level except of painting and scrolling
shows debug output which can be actually followed.
Jean-Marc Lasgouttes [Tue, 11 Jul 2023 20:26:00 +0000 (22:26 +0200)]
Honor scroll_below_document when jumping to end of document
While fixing #12491 at
0fed10e4 , some band-aids were removed at the
end of `BufferView::scrollToBuffer`. One of them ensured that
scrolling to last paragraph would not leave the last row alone on
screen.
This behavior is actually correct when the scroll_below_document pref is true.
This commit restores the test that avoids the issue.
Of course, this does not fix the real issue, since for example opening
Tutorial.lyx and jumping to "5.3 Errors!" produces the same unwanted
effect.
Juergen Spitzmueller [Tue, 18 Jul 2023 16:11:59 +0000 (18:11 +0200)]
Another tiny correction (not yet ideal)
Juergen Spitzmueller [Tue, 18 Jul 2023 15:55:08 +0000 (17:55 +0200)]
Remove bogus condition and add comments
Juergen Spitzmueller [Tue, 18 Jul 2023 15:35:48 +0000 (17:35 +0200)]
LaTeXHighlighter: handle grouped values with commas in keyval options
Juergen Spitzmueller [Tue, 18 Jul 2023 15:05:56 +0000 (17:05 +0200)]
Improve keyval highlighter
Juergen Spitzmueller [Tue, 18 Jul 2023 13:27:17 +0000 (15:27 +0200)]
At end of children, language needs to be reset
This amends
243b0ef90c09d5
Juergen Spitzmueller [Tue, 18 Jul 2023 13:12:54 +0000 (15:12 +0200)]
Support option snippets in the LaTeXHighlighter
Kornel Benko [Tue, 18 Jul 2023 11:09:55 +0000 (13:09 +0200)]
Acount for all non-negative spaces used by lyx
The unicode representation in an ascii-string string is
\302\240 Normal space
\342\200\257 Non-breaking Thin (1/6 em)
\342\200\213\342\200\205\342\200\213 Medium(2/9 em)
\342\200\213\342\200\204\342\200\213 Thick (5/18 em)
\342\201\240\342\200\202\342\201\240 Half Quad(0.5 em)
\342\200\203 Quad(1 em)
\342\200\203\342\200\203 Double Quad(2 em)
\342\220\243 Visible space
'Double Quad' counts as 2 spaces, all others count as 1 space in the search regex
Juergen Spitzmueller [Tue, 18 Jul 2023 05:28:18 +0000 (07:28 +0200)]
Fix thinspace search regex
Jean-Marc Lasgouttes [Sun, 16 Jul 2023 18:15:48 +0000 (20:15 +0200)]
Fix display of comment char in "lyxlex" debug channel
Juergen Spitzmueller [Mon, 17 Jul 2023 15:14:50 +0000 (17:14 +0200)]
THINSPACE is nonbreakable (i.e., 0x202f, not 0x2009)
Juergen Spitzmueller [Mon, 17 Jul 2023 14:58:04 +0000 (16:58 +0200)]
Support protected and thin space in simple search (#12836)