commit 5228953322c3ddd2d27aacae95b7cabaa7eb0635
Author: Juergen Spitzmueller <[email protected]>
Date:   Tue Jul 29 17:41:40 2025 +0200

    Micro amendments to 2bbd4256fc
---
 lib/lyx2lyx/lyx_2_5.py | 5 +----
 src/version.h          | 4 ++--
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/lib/lyx2lyx/lyx_2_5.py b/lib/lyx2lyx/lyx_2_5.py
index f680a0f839..ffbf3ace07 100644
--- a/lib/lyx2lyx/lyx_2_5.py
+++ b/lib/lyx2lyx/lyx_2_5.py
@@ -3198,23 +3198,20 @@ def convert_justification_pref(document):
 
 def revert_plimsoll(document):
     """Add plimsoll package when that is used"""
-    document.warning("Starting...")
     i = 0
     while True:
         i = find_token(document.body, "\\begin_inset Formula")
         if i == -1:
             return
-        document.warning(str(i))
         j = find_end_of_inset(document.body, i)
         if j == -1:
-            document.warning("Malformed LyX document: Could not find end of 
URL inset.")
+            document.warning("Malformed LyX document: Could not find end of 
Formula inset.")
             i += 1
             continue
         k = find_substring(document.body, "\\plimsoll", i, j)
         if k == -1:
             i = j
             continue
-        document.warning("adding...")
         add_to_preamble(document, ["\\usepackage{plimsoll}"])
         return
 
diff --git a/src/version.h b/src/version.h
index 0fa51765c7..231da74a49 100644
--- a/src/version.h
+++ b/src/version.h
@@ -32,8 +32,8 @@ extern char const * const lyx_version_info;
 
 // Do not remove the comment below, so we get merge conflict in
 // independent branches. Instead add your own.
-#define LYX_FORMAT_LYX 642 // spitz: justification2pref
-#define LYX_FORMAT_TEX2LYX 642
+#define LYX_FORMAT_LYX 642 // rikiheck: plimsoll symbol
+#define LYX_FORMAT_TEX2LYX 642 // rikiheck: plimsoll symbol
 
 #if LYX_FORMAT_TEX2LYX != LYX_FORMAT_LYX
 #ifndef _MSC_VER
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to