[LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

Thibaut Cuvelier tcuvelier at lyx.org
Tue Mar 23 22:27:35 UTC 2021


On Tue, 23 Mar 2021 at 22:08, Richard Kimberly Heck <rikiheck at lyx.org>
wrote:

> On 3/23/21 4:13 PM, Thibaut Cuvelier wrote:
>
> On Tue, 23 Mar 2021 at 15:48, Richard Kimberly Heck <rikiheck at lyx.org>
> wrote:
>
>> On 3/22/21 7:33 PM, Thibaut Cuvelier wrote:
>> > commit 0f782b0ded08953dbcde48f22d51ba87133bc029
>> > Author: Thibaut Cuvelier <tcuvelier at lyx.org>
>> > Date:   Tue Mar 23 00:08:50 2021 +0100
>> >
>> >     DocBook: add a parameter to change the namespace prefix for MathML.
>>
>> Any time the syntax of semantics of the LyX file itself changes, it's a
>> format change, so: (1) Bump the document format; (2) Write a lyx2lyx
>> routine to remove the new parameter; (3) Do what needs doing with
>> tex2lyx. See lib/doc/Document.lyx, section 2.2.
>>
>
> I had missed that, thanks for the notice. It should be corrected in the
> new commit: 7a1e048f. There is nothing to add in tex2lyx, as its behaviour
> should not change with this new parameter.
>
> The one last thing to do, then, is to update the tex2lyx tests. Otherwise,
> Scott will very soon complain that they are all failing.
>
With CMake, according to the docs, it should just be running the
updatetex2lyxtests target. However, it does not do a lot of things: in one
hour, it only changed one file. Here is the patch:

Index: src/tex2lyx/test/test.lyx.lyx
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/tex2lyx/test/test.lyx.lyx b/src/tex2lyx/test/test.lyx.lyx
--- a/src/tex2lyx/test/test.lyx.lyx (revision
d0120078fd1b36076ee77972de068cd459378e5a)
+++ b/src/tex2lyx/test/test.lyx.lyx (date 1616535391572)
@@ -1,5 +1,5 @@
 #LyX file created by tex2lyx 2.4
-\lyxformat 607
+\lyxformat 608
 \begin_document
 \begin_header
 \save_transient_properties true
@@ -89,6 +89,7 @@
 \html_css_as_file 0
 \html_be_strict false
 \docbook_table_output 0
+\docbook_mathml_prefix 1
 \end_header

 \begin_body
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210323/a71cf94f/attachment-0001.html>


More information about the lyx-devel mailing list