Commit Graph

46466 Commits

Author SHA1 Message Date
Richard Kimberly Heck
2db9eb463d Update build file 2024-05-13 17:39:44 -04:00
Richard Kimberly Heck
e6ee31ef53 2.4.0! 2024-05-13 17:34:41 -04:00
jpc
e1cb3cf25a Close notes about status of translation 2024-05-13 11:33:56 +02:00
jpc
0b9c832977 Typo 2024-05-13 10:24:29 +02:00
jpc
b24a3d207c Translate documentation of NeedCProtect 2024-05-13 10:16:16 +02:00
Juergen Spitzmueller
ea004cdb28 Document NeedCProtect -1 2024-05-13 06:53:19 +02:00
Juergen Spitzmueller
50cd148bd2 Amend 207eaeee90
FragileFrame, as opposed to normal frame, supports cprotect (and needs
it in the usual circumstances)

(cherry picked from commit eeb3f9e719)
2024-05-12 19:03:58 +02:00
Juergen Spitzmueller
f05fd78754 Introduce NeedCProtect -1 layout option
It turns out beamer frame does not allow \cprotect and errors if it is
used. Hence we need to prevent it in this context entirely.

(cherry picked from commit 207eaeee90)
2024-05-12 19:02:59 +02:00
Richard Kimberly Heck
965661f07c Status 2024-05-11 13:03:54 -04:00
Juergen Spitzmueller
8b0546dfe7 Consider CT in dash mechanism (#13062)
(cherry picked from commit fe4f0dbf0b)
2024-05-11 13:02:39 -04:00
Richard Kimberly Heck
544cf0794e Remerge strings for 2.4.0 release 2024-05-10 13:14:09 -04:00
Richard Kimberly Heck
4d39fd835b Update LFUNs 2024-05-10 13:11:08 -04:00
jpc
578f4f764c Typo 2024-04-26 18:33:33 +02:00
jpc
bcf35e52cd Last review of French Tutorial manual before 2.4.0 2024-04-26 18:16:22 +02:00
jpc
e69875c316 Last review of French Math manual before 2.4.0 2024-04-26 11:43:30 +02:00
jpc
2b3a1decfc Last review of French Math manual before 2.4.0 2024-04-26 11:42:41 +02:00
Jean-Marc Lasgouttes
13a34d6cd1 Set buffer_ correctly when inseting a math macro over a selection
The code that handles this special macro insertion (in
Cursor::mathMacroClose())) is very weird: it inserts the contents of
the macro _after_ the macro and later, since the macro is 'greedy', it
will eat this contents and put it in its first macro cell.

Does it make sense to you? It does not ake sense to me either. Anyway,
this is the point where one should make sure that the buffer is set.

Fixes ticket #12682.

(cherry picked from commit b45a957929)
2024-04-25 20:27:36 +02:00
jpc
857cfb1dcd Last review of French Intro manual before 2.4.0 2024-04-25 18:26:47 +02:00
jpc
391c64f0fc Last review of French Customization manual before 2.4.0 2024-04-25 18:00:16 +02:00
jpc
d8a3369e21 Check spelling of the French EmbeddedObjects manual 2024-04-24 10:44:06 +02:00
jpc
04f4746541 Translation of French Additional manual completed 2024-04-22 18:22:52 +02:00
Jean-Marc Lasgouttes
21096f696a Sanitize cursors after a buffer has been reloaded
When a buffer is reloaded, its content may remain the same, but the
memory allocation is new, so that the inset pointers in cursors are
now wrong. This requires to sanitize the cursors held by the buffer
views.

Before the biginset branch, some full metrics computation call that is
now removed probably did that as a side effect. Now we have to be more
precise.

To this effect, introduce WorkAreaManager::sanitizeCursors() and use
it in Buffer::reload().

(cherry picked from commit c1fd622c51)
2024-04-22 11:35:15 +02:00
Jean-Marc Lasgouttes
3941c487e8 small changes backported from master 2024-04-22 11:32:37 +02:00
jpc
a8a94fdfb3 Typo 2024-04-22 10:27:07 +02:00
jpc
723af05069 Remove non supported Article classes in UserGuide 2024-04-22 09:19:35 +02:00
Pavel Sanda
2f6fba2749 * metainfo.xml - homepage missing 2024-04-21 22:29:26 +02:00
Jean-Marc Lasgouttes
9b4b05e64e Document biginset branch 2024-04-21 22:26:41 +02:00
Richard Kimberly Heck
e83f91252c Status 2024-04-21 15:56:00 -04:00
jpc
b3e5f363a6 Update fr.po 2024-04-21 17:19:08 +02:00
Kornel Benko
462cb3c3c6 Update sk.po 2024-04-21 12:12:39 +02:00
Pavel Sanda
a5e7ff70f7 * cs.po 2024-04-21 11:57:29 +02:00
Juergen Spitzmueller
075fdbd4f9 de.po 2024-04-21 11:25:12 +02:00
Juergen Spitzmueller
4d8316402d remerge strings 2024-04-21 11:24:02 +02:00
Juergen Spitzmueller
237b0404ff Handle the case of outdated chkconfig.ltx in user directory
(cherry picked from commit b8ff824a4f)
2024-04-21 09:36:21 +02:00
Juergen Spitzmueller
64393c7c6e Status update 2024-04-21 09:34:35 +02:00
Juergen Spitzmueller
9871c17ec2 gbrief-2 loads babel internally. So don't load it ourselves.
This makes the class fully functional with non-TeX fonts (it uses
\babelfont for the purpose). Before, docs were compiling but the
output was wrong.

(cherry picked from commit c3c96a446b)
2024-04-21 09:32:15 +02:00
Juergen Spitzmueller
7b7322b831 g-brief loads babel internally. So don't load it ourselves.
This makes the class fully functional with non-TeX fonts (it uses
\babelfont for the purpose). Before, docs were compiling but the
output was wrong.
2024-04-21 09:30:27 +02:00
José Matos
cc75da1c3e Convert $${python} placeholder for graphic conversions
(cherry picked from commit cdcaf0e7b6)
2024-04-20 20:20:21 +01:00
Kornel Benko
d85e281973 Cmake install: Forgotten to install tabletemplates.
(cherry picked from commit d05e295ddc)
2024-04-20 19:38:17 +02:00
Kornel Benko
10ca66a7fa Cmake install: Forgotten to install tabletemplates.
(cherry picked from commit d05e295ddc)
2024-04-20 19:36:52 +02:00
jpc
e38b429418 French UserGuide: check spelling and remove no more exiting article classes 2024-04-19 18:54:55 +02:00
Stephan Witt
5554fe9aeb #13049 add window activation for preferences to avoid it be hidden by main window on mac after alert prompts
(cherry picked from commit 4c1db7cad8)
2024-04-19 14:01:41 +02:00
jpc
217315be0f Typos in Additional.lyx, seen while translating in French 2024-04-19 11:41:53 +02:00
jpc
2867cc397d Typo in fr.po 2024-04-19 11:22:45 +02:00
jpc
556e75d3ad Typos iun Franch Additional manual 2024-04-19 11:21:08 +02:00
jpc
70089a8f40 Update translation of the French Additional manual, section 4.12 missing 2024-04-19 10:57:29 +02:00
Pavel Sanda
ebbbfca213 * another update fo zh_CN.po 2024-04-19 00:15:38 +02:00
Jean-Marc Lasgouttes
c9f5f34fd7 Always repaint the gray area below main inset
Now that SingleParUpdate does not always lead to a full screen update
when the height of the paragraph changes (see new behavior of
updateMatrics(bool)), it is necessary to make sure that the grey area
below the main page is always repainted.

(cherry picked from commit 1a11abe439)
2024-04-18 16:46:38 +02:00
Jean-Marc Lasgouttes
15eef6a2c7 Do not compute metrics at each preview when loading file
With the branch-test.lyx file from #12297, loading takes forever when
previews are activated. This is because each preview element causes a
full screen metrics recomputation.

This commit just skips these calls and only does one when all previews
have been obtained. As a result, computing the previews takes 1 second
instead of 25 seconds on branch-test.lyx.

Part of bug #12297.

(cherry picked from commit 2449693301)
2024-04-18 16:45:58 +02:00
Jean-Marc Lasgouttes
e5aaa64b63 Improve the code that limits scrolling at top/bottom
The most visible part of this commit is the move of part of
BufferView::updateMetrics to a new TextMetrics::updateMetrics. This
new method makes sure that metrics are known for all visible paragraphs
(starting from anchor), and that the positions of the paragraphs have
been recorded.

This method is called up to 3 times in BufferView::updateMetrics:
* unconditionally, to update all visible metrics,
* then, if the bottom of the document is visible and too high, after
  updating the anchor ypos,
* and similarly if the top of the document is visible and too low.

This fixes for example the case where one jumps to Section 5.3 at the
end of Tutorial and 'scroll_below_document' is false.

Some now redundant code is removed from BufferView::scrollToCursor.

The anchor-setting code in BufferView::draw is not clearly useful, but
left here just in case. It generates a debug warning, though.

Part of bug #12297.

(cherry picked from commit f15d2ebf38)
2024-04-18 16:45:58 +02:00