[LyX/master] Fix lyx2lyx bug reported by Herbert Voss.

2023-06-15 Thread Richard Kimberly Heck
commit 67178df9792f4c24160a5842ff23347b4ed3703e
Author: Richard Kimberly Heck 
Date:   Fri Jun 16 01:21:56 2023 -0400

Fix lyx2lyx bug reported by Herbert Voss.

For some reason, files converted from really old versions have fewer
lines in reference insets than in more recent versions.
---
 lib/lyx2lyx/lyx_2_4.py |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py
index 5af5872..a295e0a 100644
--- a/lib/lyx2lyx/lyx_2_4.py
+++ b/lib/lyx2lyx/lyx_2_4.py
@@ -4623,7 +4623,7 @@ def convert_starred_refs(document):
 document.warning("Malformed LyX document: Can't find end of inset 
at line %d" % i)
 i += 1
 continue
-newlineat = end - 2
+newlineat = end - 1
 document.body.insert(newlineat, "nolink \"false\"")
 i = end + 1
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Name menu item according to UI guidelines

2023-06-15 Thread Yuriy Skalko
commit 771bb50552cf55db6958a80dba0505d61e607e78
Author: Yuriy Skalko 
Date:   Fri Jun 16 00:34:05 2023 +0200

Name menu item according to UI guidelines
---
 lib/ui/stdcontext.inc |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/ui/stdcontext.inc b/lib/ui/stdcontext.inc
index b594814..fdef5b4 100644
--- a/lib/ui/stdcontext.inc
+++ b/lib/ui/stdcontext.inc
@@ -644,7 +644,7 @@ Menuset
OptItem "Bold Page Formatting|B" "inset-modify changeparam 
pagefmt textbf"
OptItem "Italic Page Formatting|I" "inset-modify changeparam 
pagefmt textit"
OptItem "Emphasized Page Formatting|z" "inset-modify 
changeparam pagefmt emph"
-   OptItem "Custom Page Formatting|u" "inset-modify changeparam 
pagefmt custom"
+   OptItem "Custom Page Formatting...|u" "inset-modify changeparam 
pagefmt custom"
End

Menu "context-edit-index"
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Remove the mathed "BUGS" file (#3493)

2023-06-15 Thread Scott Kostyshak
commit eac460e4381b7ccf657f4a56755812cd42b4e821
Author: Scott Kostyshak 
Date:   Thu Jun 15 05:11:32 2023 -0400

Remove the mathed "BUGS" file (#3493)

Jürgen cleaned up the previous contents of this "BUGS" file. What
was left (before the rm in this commit) had been written in 2001 at
2dd1a460, and it is not clear if it is still relevant.
---
 src/mathed/BUGS |   15 ---
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/src/mathed/BUGS b/src/mathed/BUGS
deleted file mode 100644
index 7e444e2..000
--- a/src/mathed/BUGS
+++ /dev/null
@@ -1,15 +0,0 @@
-Álvaro Tejero Cantero 
-
-   Flattening macros. Sometimes it's annoying the fact that once you have
- written a macro, you can't touch at it's "constant parts". I call flattening
- to the process of substituting all macros with LaTeX code.
-
-   Task: designing a macro substitution system that reads from a file
- (possibly the same file as the document's) the macros and parses the document
- doing the appropriate replacements
-
-  This is very useful, because sometimes you have a big expression in a macro
- and you want to change an index only. What do you do then?. You retype
- everything (perhaps several times in the document) or you create extremely
- generic and parametrizable macros that aren't very fast to fill in the
- majority of cases.
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Fix margins and spacing of InsetParamsUI

2023-06-15 Thread Scott Kostyshak
commit c13c95997402ae9c82ba3e5a13aac8006ff13476
Author: Daniel Ramoeller 
Date:   Thu Jun 15 07:18:31 2023 +0200

Fix margins and spacing of InsetParamsUI

Fix for bug #12244.
---
 src/frontends/qt/InsetParamsDialog.cpp |4 ++
 src/frontends/qt/ui/InsetParamsUi.ui   |   73 +++
 2 files changed, 39 insertions(+), 38 deletions(-)

diff --git a/src/frontends/qt/InsetParamsDialog.cpp 
b/src/frontends/qt/InsetParamsDialog.cpp
index d2c0cae..67cbfdd 100644
--- a/src/frontends/qt/InsetParamsDialog.cpp
+++ b/src/frontends/qt/InsetParamsDialog.cpp
@@ -80,6 +80,8 @@ InsetParamsDialog::InsetParamsDialog(GuiView & lv, 
InsetParamsWidget * widget)
widget->dialogTitle()), d(new Private)
 {
setupUi(this);
+   // Remove margins since the widget is embedded in dialog which provides 
them
+   widget->layout()->setContentsMargins(0, 0, 0, 0);
setInsetParamsWidget(widget);
immediateApplyCB->setChecked(false);
synchronizedCB->setChecked(true);
@@ -87,6 +89,8 @@ InsetParamsDialog::InsetParamsDialog(GuiView & lv, 
InsetParamsWidget * widget)
setFocusProxy(widget);
newPB = buttonBox->addButton(qt_("Ne Inset"),
 QDialogButtonBox::ActionRole);
+   // fix height to minimum
+   setFixedHeight(sizeHint().height());
 }
 
 InsetParamsDialog::~InsetParamsDialog()
diff --git a/src/frontends/qt/ui/InsetParamsUi.ui 
b/src/frontends/qt/ui/InsetParamsUi.ui
index af6312f..c7e6ee1 100644
--- a/src/frontends/qt/ui/InsetParamsUi.ui
+++ b/src/frontends/qt/ui/InsetParamsUi.ui
@@ -7,7 +7,7 @@
 0
 0
 484
-108
+104

   
   
@@ -17,31 +17,41 @@
Inset Parameter Configuration
   
   
-   
+   
+12
+   
+   
 
  
-  0
+  1
  
  
  
 

-   
-
- 
-  Qt::Horizontal
+   
+
+ 
+  
QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset
  
- 
-  
-   31
-   31
-  
- 
-
+

-   
+   
 
  
+  
+   
+Qt::Horizontal
+   
+   
+
+ 0
+ 0
+
+   
+  
+ 
+ 
   

 Update dialog when moving context
@@ -66,31 +76,18 @@
  
 

-   
-
- 
-  6
- 
- 
-  0
- 
- 
-  0
- 
- 
-  0
+   
+
+ 
+  Qt::Vertical
  
- 
-  0
+ 
+  
+   20
+   10
+  
  
- 
-  
-   
-
QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset
-   
-  
- 
-
+

   
  
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] de/UserGuide: updates

2023-06-15 Thread Juergen Spitzmueller
commit 96e5ca81c029d50ee5b8a6515b97e926ca60f9a1
Author: Juergen Spitzmueller 
Date:   Thu Jun 15 10:06:25 2023 +0200

de/UserGuide: updates
---
 lib/doc/de/UserGuide.lyx |  317 +-
 1 files changed, 199 insertions(+), 118 deletions(-)

diff --git a/lib/doc/de/UserGuide.lyx b/lib/doc/de/UserGuide.lyx
index 576f8ca..6d2b8b6 100644
--- a/lib/doc/de/UserGuide.lyx
+++ b/lib/doc/de/UserGuide.lyx
@@ -1,5 +1,5 @@
 #LyX 2.4 created this file. For more info see https://www.lyx.org/
-\lyxformat 615
+\lyxformat 616
 \begin_document
 \begin_header
 \save_transient_properties true
@@ -9301,10 +9301,12 @@ Unformatiert
 \end_layout
 
 \begin_layout Verbatim
+
 Dies ist Unformatiert.
 \end_layout
 
 \begin_layout Verbatim
+
 Die folgenden 2 Zeilen sind leer:
 \end_layout
 
@@ -9317,6 +9319,7 @@ Die folgenden 2 Zeilen sind leer:
 \end_layout
 
 \begin_layout Verbatim
+
 Fast alles ist in Unformatiert erlaubt:"%&$§#~'`
 \backslash
 }][{|
@@ -9342,6 +9345,7 @@ Unformatiert
 \end_layout
 
 \begin_layout Verbatim*
+
 Dies ist Unformatiert*.
 \end_layout
 
@@ -31248,6 +31252,16 @@ blue
 .
 \end_layout
 
+\begin_layout Standard
+Direkt aus \SpecialChar LyX
+ können Sie einen Link über das Kontextmenü oder direkt mit 
+\family sans
+Strg+rechter Maustaste
+\family default
+ öffnen.
+ 
+\end_layout
+
 \begin_layout Section
 Zähler
 \begin_inset Index idx
@@ -36497,7 +36511,7 @@ Es gibt auch umgekehrte Zweig-Einfügungen,
 \emph on
 nicht
 \emph default
- aktiviert ist.
+ aktiviert ist (diese Zweige sind mit einem ~ vor dem Namen gekennzeichnet).
  Dadurch kann leicht alternativer Text für verschiedene Versionen eines 
Dokuments eingegeben werden.
  Um zu schauen,
  ob eine spezifische Einfügung umgekehrt ist,
@@ -36759,6 +36773,22 @@ Flexible Einfügungen und InsetLayout
 ).
 \end_layout
 
+\begin_layout Standard
+Falls es Ihnen wichtig ist,
+ dass alle Zweige eines Namens gleichzeitig geöffnet oder geschlossen sind,
+ können Sie die \SpecialChar LyX
+-Funktion 
+\family typewriter
+branch-sync-all 
+\family default
+verwenden.
+ Diese öffnet oder schließt alle Zweige desselben Namens,
+ je nachdem,
+ ob der Zweig an der Cursorposition geöffnet oder geschlossen ist.
+ Sie können dieser Funktion natürlich auch ein eigenes Tastenkürzel zuweisen 
oder es zu einem benutzerdefinierten Kontextmenü für Zweige hinzufügen.
+ 
+\end_layout
+
 \begin_layout Section
 PDF-Eigenschaften
 \begin_inset Index idx
@@ -39585,7 +39615,7 @@ Einstellungen
 \end_layout
 
 \begin_layout Subsection
-Benutzung mit regulären Ausdrücken
+Erweiterte Möglichkeiten
 \end_layout
 
 \begin_layout Standard
@@ -39669,15 +39699,20 @@ Suchen
 
 \begin_layout Enumerate
 Suche nach Text in einem bestimmten Stil:
- ist die Option 
+ ist die Optionen 
 \family sans
-Ignoriere Format
+Sucheintragsformatierung beachten bzgl.
+
 \family default
  im Reiter 
 \family sans
 Einstellungen
 \family default
- ausgeschaltet,
+ ausgewählt und der Knopf 
+\family sans
+Alle auswählen
+\family default
+ im selben Abschnitt gedrückt,
  kann man den regulären Ausdruck 
 \series bold
 
@@ -39692,8 +39727,67 @@ Einstellungen
 \end_inset
 
  in einer nummerierten Liste oder einer Abschnittsüberschrift findet alle 
nummerierten Listen oder Abschnittsüberschriften.
+ Die Bedeutung der verschiedenen Stiloptionen (falls ausgewählt) ist:
 \end_layout
 
+\begin_deeper
+\begin_layout Description
+Sprache erlaubt es,
+ nach Stellen in einer bestimmten Sprache zu suchen (relevant sind hier,
+ wie bei den anderen Optionen,
+ die Einstellungen des Suchbegriffs)
+\end_layout
+
+\begin_layout Description
+Schriftfarbe sucht nur nach farbigem Text
+\end_layout
+
+\begin_layout Description
+Schriftfamilie sucht nur nach bestimmten Schriftfamilien wie serifenlos oder 
Schreibmaschine
+\end_layout
+
+\begin_layout Description
+Strichstärke schränkt die Suche auf fett gedruckten Text etc.
+ ein
+\end_layout
+
+\begin_layout Description
+Schriftschnitt entsprechend auf kursiv,
+ aufrecht etc.
+\end_layout
+
+\begin_layout Description
+Schriftgrad berücksichtigt die Schriftgröße
+\end_layout
+
+\begin_layout Description
+Hervorh./Eigenname berücksichtigt,
+ ob der Suchbegriff hervorgehoben oder als Eigenname formatiert ist
+\end_layout
+
+\begin_layout Description
+Unterstreichung entsprechend,
+ ob er unterstrichen ist
+\end_layout
+
+\begin_layout Description
+Durchstreichung entsprechend,
+ ob er durchgestrichen ist
+\end_layout
+
+\begin_layout Description
+Löschung
+\begin_inset space ~
+\end_inset
+
+(Änderungen) sucht auch in im Änderungsmodus gelöschten Passagen
+\end_layout
+
+\begin_layout Description
+Überschriftenformat achtet auf Überschriftenformatierungen
+\end_layout
+
+\end_deeper
 \begin_layout Standard
 Allgemein können Referenzen auf (Unter)Ausdrücke in Regexp wie üblich 
verwendet werden:
  Gruppieren eines Teils des Ausdrucks mit runden Klammern 
@@ -39715,9 +39809,17 @@ Allgemein können Referenzen auf (Unter)Ausdrücke in 
Regexp wie üblich 

[LyX/master] UserGuide: small amendments

2023-06-15 Thread Juergen Spitzmueller
commit 129cb86e64d050df9db9298909353da100963d85
Author: Juergen Spitzmueller 
Date:   Thu Jun 15 10:06:09 2023 +0200

UserGuide: small amendments
---
 lib/doc/UserGuide.lyx |  146 +---
 1 files changed, 136 insertions(+), 10 deletions(-)

diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx
index 1d4e37d..e112cdd 100644
--- a/lib/doc/UserGuide.lyx
+++ b/lib/doc/UserGuide.lyx
@@ -10223,12 +10223,14 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim
+
 This is Verbatim.
 \end_layout
 
 \begin_layout Verbatim
 \noindent
 \align block
+
 The following 2 lines are empty:
 \end_layout
 
@@ -10241,6 +10243,7 @@ The following 2 lines are empty:
 \end_layout
 
 \begin_layout Verbatim
+
 Almost everything is allowed in Verbatim:"%&$§#~'`
 \backslash
 }][{|
@@ -10264,6 +10267,7 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim*
+
 This is Verbatim*.
 \end_layout
 
@@ -34560,7 +34564,19 @@ Additional options
 
 \change_inserted 5863208 1686631630
 To open the link while editing in \SpecialChar LyX
- you can use context menu (or Ctrl + click).
+ you can use context menu (or 
+\change_inserted -712698321 1686813434
+directly via 
+\change_inserted 5863208 1686631630
+
+\family sans
+Ctrl + 
+\change_inserted -712698321 1686813424
+right mouse button
+\family default
+ 
+\change_inserted 5863208 1686631630
+click).
 \change_inserted -584632292 1588303457
 
 \end_layout
@@ -41545,13 +41561,91 @@ Flex insets and InsetLayout
 \begin_layout Standard
 
 \change_inserted 5863208 1650148601
-In case one extensively needs syncing activation branch status with open/close 
status of all branch insets in the document we provide 
+In case 
+\change_deleted -712698321 1686813809
+one
+\change_inserted -712698321 1686813809
+you
+\change_inserted 5863208 1650148601
+ 
+\change_deleted -712698321 1686813823
+extensively
+\change_inserted -712698321 1686813823
+often
+\change_inserted 5863208 1650148601
+ need
+\change_deleted -712698321 1686813812
+s
+\change_inserted 5863208 1650148601
+ 
+\change_inserted -712698321 1686813845
+to keep all branches of a given name in 
+\change_inserted 5863208 1650148601
+sync
+\change_deleted -712698321 1686813847
+ing
+\change_inserted 5863208 1650148601
+ 
+\change_inserted -712698321 1686813855
+as far as their 
+\change_deleted -712698321 1686813873
+activation branch status with 
+\change_inserted 5863208 1650148601
+open/close status 
+\change_inserted -712698321 1686813886
+is concerned,
+ you can use the 
+\change_deleted -712698321 1686813893
+of all branch insets in the document we provide
+\change_inserted -712698321 1686813893
+\SpecialChar LyX
+ function
+\change_inserted 5863208 1650148601
+ 
 \family typewriter
 branch-sync-all
+\change_deleted -712698321 1686813903
+
 \family default
  \SpecialChar LyX
- function,
- which can be bound to keyboard shortcut or added to user-defined context menu 
of branch inset.
+ function
+\change_inserted -712698321 1686813949
+ that sets the open/close state to all branches of the same name from the 
branch currently at cursor.
+\change_deleted -712698321 1686813904
+,
+
+\change_inserted 5863208 1650148601
+ 
+\change_inserted -712698321 1686813911
+You can bind it 
+\change_deleted -712698321 1686813959
+which can be bound
+\change_inserted 5863208 1650148601
+ to 
+\change_inserted -712698321 1686813962
+a 
+\change_inserted 5863208 1650148601
+keyboard shortcut or add
+\change_deleted -712698321 1686813966
+ed
+\change_inserted -712698321 1686813966
+ it
+\change_inserted 5863208 1650148601
+ to 
+\change_inserted -712698321 1686813971
+a 
+\change_inserted 5863208 1650148601
+user-defined context menu 
+\change_inserted -712698321 1686813975
+for 
+\change_deleted -712698321 1686813976
+of 
+\change_inserted 5863208 1650148601
+branch inset
+\change_inserted -712698321 1686813978
+s
+\change_inserted 5863208 1650148601
+.
 \change_unchanged
 
 \end_layout
@@ -44745,10 +44839,14 @@ Searching for all text with a given style:
 un
 \change_unchanged
 checking the 
-\change_inserted 1549938239 1651390710
+\change_deleted -712698321 1686814407
 
 \family sans
-'Adhere to search string formatting of'
+'
+\change_inserted 1549938239 1651390710
+Adhere to search string formatting of
+\change_deleted -712698321 1686814409
+'
 \change_deleted 1549938239 1651390724
 Ignore format
 \change_unchanged
@@ -44756,13 +44854,35 @@ Ignore format
 \family default
  
 \change_inserted 1549938239 1651390961
-and the 'Select all' 
+and the 
+\change_deleted -712698321 1686814412
+'
+\change_inserted 1549938239 1651390961
+
+\family sans
+Select all
+\change_deleted -712698321 1686814414
+
+\family default
+'
+\change_inserted 1549938239 1651390961
+ 
+\change_deleted -712698321 1686814534
+option
+\change_inserted -712698321 1686814534
+button
 \change_unchanged
-option from the 
+ 
+\change_deleted -712698321 1686814548
+from the 
 \family sans
 Settings
 \family default
- tab,
+ tab
+\change_inserted -712698321 

[LyX/master] de.po

2023-06-15 Thread Juergen Spitzmueller
commit 71e2539860204506c15f7d7c1055f23d7ba2df6e
Author: Juergen Spitzmueller 
Date:   Thu Jun 15 09:06:39 2023 +0200

de.po

 po/de.gmo |  Bin 645359 -> 645476 bytes
 po/de.po  |  829 +++--
 2 files changed, 417 insertions(+), 412 deletions(-)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs