Commit Graph

45350 Commits

Author SHA1 Message Date
Juergen Spitzmueller
2cd6903d76 de.po: typo 2023-02-10 12:34:57 +01:00
Juergen Spitzmueller
80521487b5 de.po 2023-02-10 12:32:57 +01:00
Juergen Spitzmueller
afbbf42d60 Add layouts for luatexja LaTeX classes, by Koji Yokota (#11103) 2023-02-10 12:11:07 +01:00
jpc
77ebd1dcdf Update French Tutorial (section 5.4) 2023-02-10 11:47:38 +01:00
jpc
1fbb212c7e Update fr.po 2023-02-10 11:16:41 +01:00
Juergen Spitzmueller
8c6db95135 Add missing empty line (par break) between pars with differing line spacing (#12638) 2023-02-09 17:23:18 +01:00
Kornel Benko
c7b5d156a2 Update sk.po 2023-02-09 12:10:58 +01:00
Scott Kostyshak
bb9ef421fd Fix a layout error in newly added file
Fix the following terminal output:

  TextClass.cpp (850): Unable to remove counter: chapter
2023-02-08 13:11:34 -05:00
Scott Kostyshak
1ac7dfc174 Remove executable flag on some image files 2023-02-08 11:59:40 -05:00
Scott Kostyshak
ba264ec485 Fix layout font settings of newly added file
Change "TextFont" to "Font". This fixes the following terminal
errors when opening the file:

  LyX: Unknown InsetLayout tag [around line 247 of file
  [layouts/jlreq-common.inc] current token: 'TextFont' context: '']
  LyX: Unknown InsetLayout tag [around line 247 of file
  [layouts/jlreq-common.inc] current token: 'Family' context: '']
  LyX: Unknown InsetLayout tag [around line 248 of file
  [layouts/jlreq-common.inc] current token: 'Typewriter' context: '']
  LyX: Unknown InsetLayout tag [around line 249 of file
  [layouts/jlreq-common.inc] current token: 'EndFont' context: '']
2023-02-08 11:46:42 -05:00
Scott Kostyshak
afbf9dc6f7 Fix a \origin of newly added file 2023-02-08 11:30:59 -05:00
Scott Kostyshak
2d6341cdb4 Remove executable flag on newly added files 2023-02-08 11:30:55 -05:00
Jean-Marc Lasgouttes
f23085ae40 typo 2023-02-08 17:11:14 +01:00
Jean-Marc Lasgouttes
2a626f76fd Revert "Fix crash with info inset and dialogs"
This reverts commit 17e60e2e85.
2023-02-08 12:53:39 +01:00
Jean-Marc Lasgouttes
f0b60d0b4e fix comment. 2023-02-08 12:28:01 +01:00
Juergen Spitzmueller
a7e797079f de.po 2023-02-08 11:41:28 +01:00
Juergen Spitzmueller
8820b0e441 Adapt documentation of Japanese classes 2023-02-08 11:27:20 +01:00
Juergen Spitzmueller
882f738792 Improve labeling of Japanese classes 2023-02-08 11:26:54 +01:00
Juergen Spitzmueller
83d281f81e Support for the JLReq class, by Koji Yokota (#12657) 2023-02-08 11:19:11 +01:00
Juergen Spitzmueller
713264ae2b Disable "search in selection only" with instant search
These two do not go well together. Making it work requires some major
overhaul of selection while searching (see #12655)
2023-02-07 14:48:09 +01:00
Kornel Benko
fbc0f04437 Update sk.po 2023-02-07 12:52:27 +01:00
jpc
e4807c9d7c Update fr.po 2023-02-07 11:33:15 +01:00
Pavel Sanda
354fab2191 * cs.po 2023-02-06 21:52:04 +01:00
Pavel Sanda
b920cb352e Two forgotten entries. 2023-02-06 21:48:16 +01:00
Jean-Marc Lasgouttes
17e60e2e85 Fix crash with info inset and dialogs
See the thread
  2.4 Crash (was: Updated LaTeXConfig.lyx (bxjsclasses added))
on lyx-devel (26/01/2023).

The backtrace imply a problem like:
1/ metrics are computed for some info inset
2/ the info inset is regenerated (and thus the paragraph it held is now invalid)
3/ We draw the inset and because of the new (disabled by default)
   bookmark display code, we access the id() of the invalid paragraph.
4/ boom!

To fix the issue, introduce a new boolean member that indicates when
the Row object of the metrics should not be used. In this case, the
draw() method returns early.
2023-02-06 21:34:08 +01:00
Jean-Marc Lasgouttes
04ece4f0d6 Remove space between button and text with inlines collapsible insets
Typically there are two sources of spacing:
* the button has two pixels added to the left and to the right
* the frame around the text also has 2 pixels to the left and to the right

Note that this value of two pixels is given here for simplicity, but
these are parameterized by methods like textOffset or leftOffset.

What we want to remove is the space after the button and the space
before the frame. This is done in 3 places

In dimensionCollapsed(), the extra space is removed from the dimension
after its computation

In metrics(), the space avoided before the frame is removed from width.

In draw, the whome text inset is drawn with a negative offset.

Fixes #12335.
2023-02-06 20:28:37 +01:00
Juergen Spitzmueller
fb37682d74 Check whether we have a selection before issuing warning (#12655) 2023-02-06 11:47:14 +01:00
Juergen Spitzmueller
34b2b3b45f Remove acknowledgement theorems from docs 2023-02-05 14:38:51 +01:00
Juergen Spitzmueller
af2ebaf186 Re-fix translation 2023-02-05 12:16:18 +01:00
Juergen Spitzmueller
5403302a95 de.po 2023-02-05 12:14:41 +01:00
Juergen Spitzmueller
6e5b3a1e31 Properly fix acknowledgment issue part 2/2
Remove acknowledgment theorem types

As we have learned, these shouldn't have been added from the get go.

Documents having it get a local layout definition.
2023-02-05 12:07:37 +01:00
Juergen Spitzmueller
0ab6a5c6d6 Add forgotten case 2023-02-05 09:34:04 +01:00
Juergen Spitzmueller
97a5433bed Update tex2lyx tests 2023-02-04 17:48:57 +01:00
Juergen Spitzmueller
ac6314b834 Properly fix acknowledgment issue part 1/2
Bump file format and convert/revert styles to unique spelling
2023-02-04 17:47:52 +01:00
Pavel Sanda
6746949f39 * cs.po 2023-02-03 23:41:17 +01:00
Pavel Sanda
0683fedaec * cs.po - start working on 2.4 translations 2023-02-03 23:35:42 +01:00
Pavel Sanda
e635062479 * cs.po import 2.3 & remerge 2023-02-03 22:05:16 +01:00
Jean-Marc Lasgouttes
2712c9807e Update to boost 1.81 2023-02-02 10:56:46 +01:00
Kornel Benko
168cbee9ac Update sk.po 2023-02-02 10:16:03 +01:00
Juergen Spitzmueller
9c33b588ba Fix typos 2023-02-01 19:05:32 +01:00
Juergen Spitzmueller
e8e3146e25 Amend ce7eb7734b
When a style is defunc'ed, defunc the obsoleted variant as well
2023-02-01 18:16:33 +01:00
Juergen Spitzmueller
ce7eb7734b Disambiguate Acknowledgment[[credits]] and Acknowledgment[[theorem]] 2023-02-01 16:24:16 +01:00
Juergen Spitzmueller
77fbd7be69 Amend 8d47ffd200
the AEA layout includes and modifies AMS extended
2023-02-01 12:55:37 +01:00
Jean-Marc Lasgouttes
418fd911f8 Revert "Extended comment and indentation for source code"
This was pushed by mistake. A different version of this patch will
eventually be committed.

This reverts commit 439c099124.
2023-02-01 00:12:14 +01:00
Jean-Marc Lasgouttes
1081893e97 Fixup 0fed10e4: make sure redraw happens as needed
This commit had had an additional not documented change: redraws
happen only when they are needed. This did not help fix the bug, but
looked smart on first sight. Alas, I find that these smart changes
added because "why not?" tend to come back to haunt me eventually.

In particular this case, the problem was that the code tested whether
the offset of anchor paragraph had changed, but not whether the
paragraph itself had changed. This means that, when switching from one
section to another with the outliner, the view was not updated.
2023-02-01 00:09:49 +01:00
Daniel Ramoeller
439c099124 Extended comment and indentation for source code
- automatically inherit indentation from previous block
- (un)indent blocks
- (un)comment blocks
- add feature to show tabs and spaces
2023-02-01 00:09:49 +01:00
Pavel Sanda
60d0cc2611 * lib/layouttranslations
Revert part of the update. It needs manual check for the rest.
2023-01-31 20:59:00 +01:00
jpc
b89e66ae36 Update fr.po 2023-01-31 17:20:23 +01:00
Kornel Benko
64fd4a7b41 Update sk.po 2023-01-31 11:59:22 +01:00
Juergen Spitzmueller
8d47ffd200 Acknowledgement > Acknowledgment 2023-01-31 07:39:27 +01:00