On Tue, Jul 07, 2020 at 12:21:58AM +0200, Thibaut Cuvelier wrote:
> So, here is the new (final?) version of that patch.


Hmm, this layout2layout snippet:

+        if format == 81:
+            match = re.compile(b'(\\s*Header\\s+)(\\w+)', 
re.IGNORECASE).match(lines[i])
+            if match:
+                del lines[i]
+                continue

Do I get correctly that you want to catch stuff like:
Header          "PUBLIC "-//OASIS//DTD DocBook V4.3//EN""
(which won't work because " is not \w)
and avoid stuff like 
layouts/foils.layout:# Header definitions:
layouts/moderncv.layout:          Tooltip       "Header content"
which will be caught on contrary by the regexp?

>I also include another
> patch for AGU, which can be merged at any time, now.

Makefile part is missing :)

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

Reply via email to