New DocBook support (0004)
Pavel Sanda
sanda at lyx.org
Mon Jul 6 23:20:20 UTC 2020
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
More information about the lyx-devel
mailing list