On Wed, Jul 17, 2024 at 01:49:47AM +0200, Pavel Sanda wrote:
> At the moment I do not see better option to clearly state this in release
> notes and suggest there manual fixes of the files doing xhtml export.
> (Which might be pretty ugly for more lengthy documents...)

Like the attached. Comments?

Pavel
diff --git a/lib/RELEASE-NOTES b/lib/RELEASE-NOTES
index de8ee9e0b8..8f81812734 100644
--- a/lib/RELEASE-NOTES
+++ b/lib/RELEASE-NOTES
@@ -381,6 +381,20 @@
   or layout and argument to the appropriate list, or dictionary in  
   the function "convert_hebrew_parentheses(document)" in lyx_2_4.py.
 
+* Hyperlink inset, which is set to the type "file" now exports as
+  file: target in href in xHTML export, not the web link as in 2.3.
+  This will break export of the old documents containing this type of
+  hyperlink as the web browser will not be able to locate the referenced
+  file anymore.
+
+  Possible way how to detect affected files in your directory (on linux systems):
+  find -type f -name "*.lyx"|xargs grep -E '^type..file:'
+
+  For fixing you need to either manually change the hyperlink inset from "File"
+  to "Web" inside LyX, or simply delete the lines
+  type "file:"
+  inside .lyx file in your favorite plain text editor.
+
 
 !! If upgrading from a LyX version before 2.3.0
 
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to