From 9649da86f7152a61e448041269468e9c748f142d Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Fri, 23 Jun 2017 08:26:24 +0200 Subject: [PATCH] Xmlmind editor 7.4.1 upgrade --- ws/Xmlmind/Patch/010_docbookCss.patch | 0 ws/Xmlmind/Patch/010_makeLinksBlue.patch | 18 ------------------ .../Patch/040_hdmBusinessIntegrityRules.patch | 11 +++++------ 3 files changed, 5 insertions(+), 24 deletions(-) create mode 100644 ws/Xmlmind/Patch/010_docbookCss.patch delete mode 100644 ws/Xmlmind/Patch/010_makeLinksBlue.patch diff --git a/ws/Xmlmind/Patch/010_docbookCss.patch b/ws/Xmlmind/Patch/010_docbookCss.patch new file mode 100644 index 000000000..e69de29bb diff --git a/ws/Xmlmind/Patch/010_makeLinksBlue.patch b/ws/Xmlmind/Patch/010_makeLinksBlue.patch deleted file mode 100644 index d4bf1580a..000000000 --- a/ws/Xmlmind/Patch/010_makeLinksBlue.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- xmlmind.orig/addon/config/docbook/css/inline1.imp 2014-03-17 12:50:24.000000000 +0100 -+++ xmlmind/addon/config/docbook/css/inline1.imp 2015-10-16 23:31:25.207536386 +0200 -@@ -11,6 +11,15 @@ - * Note that default display is inline, so there is no need to specify it. - */ - -+/* Goik: Links should be blue ... */ -+@namespace xlink "http://www.w3.org/1999/xlink"; -+ -+*[xlink|href] { -+ color: blue; -+} -+ -+/* end goik */ -+ - keycombo { - display: inline; - } diff --git a/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch b/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch index 362345b7c..2b84251a7 100644 --- a/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch +++ b/ws/Xmlmind/Patch/040_hdmBusinessIntegrityRules.patch @@ -1,14 +1,12 @@ -diff -Naur xmlmind.orig/addon/config/docbook5/rng/V5.0/docbook.sch xmlmind/addon/config/docbook5/rng/V5.0/docbook.sch ---- xmlmind.orig/addon/config/docbook5/rng/V5.0/docbook.sch 2008-05-09 09:09:10.000000000 +0200 -+++ xmlmind/addon/config/docbook5/rng/V5.0/docbook.sch 2016-01-11 17:02:39.337498986 +0100 -@@ -244,4 +244,36 @@ +--- xmlmind.7_4_1/addon/config/docbook5/rng/V5.0/docbook.sch 2008-05-09 09:09:10.000000000 +0200 ++++ xmlmind/addon/config/docbook5/rng/V5.0/docbook.sch 2017-06-23 08:22:14.265273054 +0200 +@@ -244,4 +244,42 @@ <s:assert test="not(.//db:sidebar)">sidebar must not occur in the descendants of sidebar</s:assert> </s:rule> </s:pattern> -</s:schema> \ No newline at end of file -+ -+ <!-- Goik's additions --> ++<!-- Start Goik's additions --> + <s:pattern name="Mandatory title in exercise"> + <s:rule context="db:qandaset"> + <s:assert test="db:title or name(preceding-sibling::*[1])='db:title'">Must be IMMEDIATELY following title or contain a title itself.</s:assert> @@ -45,4 +43,5 @@ diff -Naur xmlmind.orig/addon/config/docbook5/rng/V5.0/docbook.sch xmlmind/addon + </s:rule> + </s:pattern> + ++<!-- End Goik's additions --> +</s:schema> -- GitLab