From 189f64a298afa584658cca304141c281713dfd93 Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Mon, 9 Feb 2015 17:54:20 +0100 Subject: [PATCH] XMLmind related docs --- .../Xmlmind/Modifications/changes.txt | 86 +++++++++++++++++++ .../Xmlmind/Modifications/xmlmind.files | 14 +++ 2 files changed, 100 insertions(+) create mode 100644 ws/Docbook/Extensions/Xmlmind/Modifications/changes.txt create mode 100644 ws/Docbook/Extensions/Xmlmind/Modifications/xmlmind.files diff --git a/ws/Docbook/Extensions/Xmlmind/Modifications/changes.txt b/ws/Docbook/Extensions/Xmlmind/Modifications/changes.txt new file mode 100644 index 000000000..66a93ef25 --- /dev/null +++ b/ws/Docbook/Extensions/Xmlmind/Modifications/changes.txt @@ -0,0 +1,86 @@ +Step 1: +Install the following plugins: + -German + -German dictionary + -RenderX XEP + -FTP virtual drive + -WebDAV virtual drive + -Integrated spreadsheet engine + +Step 2: +Initialize RenderX plugin by converting a docbook sample instance +to pdf thereby choosing XEP's root installation directory + +Step 3: Make copy xmlmind-XX.YY.plugins of current installation for later patch creation + +Step 4: +Patches in subdirectory "Patches" of this file. +------------------------------------------------------------------------------------------------ + +1: addon/config/docbook5/rng/V5.0/docbook.sch + Additional rules + + <s:pattern name="Mandatory title in exercise"> + <s:rule context="db:qandaset"> + <s:assert test="db:title">title required for qandaset.</s:assert> + </s:rule> + </s:pattern> + + <s:pattern name="Mandatory Id definition constraint"> + <s:rule context="db:chapter|db:section|db:figure|db:equation|db:table"> + <s:assert test="@xml:id">Each chapter,section, subection,... must have a unique id.</s:assert> + </s:rule> + </s:pattern> + + <s:pattern name="Mandatory coref target constraint"> + <s:rule context="db:coref"> + <s:assert test="//db:co[@xml:id=current()/@linkend]">coref target must be a co element.</s:assert> + </s:rule> + </s:pattern> + + patch1.txt + +2.: addon/config/kkabrechnung + +3. Fig Support, Mathml: + New: addon/config/unix + + cp Vorlesungen/bin/figspecial2p* /usr/bin + + In xmlmind-5.3/addon/config/docbook5/docbook5.xxe vorletzte Zeile: + <include location="../unix/imagetoolkits.incl" /> (patch3a.txt) + + In addon/config/docbook5/xslMenu.incl patch3b.txt + +4. addon/config/docbook5/docbook5_support_base.incl after <xi:include> + skipped Elements, add namespace Prefix: xmlns:mml="http://www.w3.org/1998/Math/MathML" + local additions start with "mml:math" + patch4.txt + +5. docbook5/xsl/{html,xhtml,xhtml-1_1}/graphics.xsl + Caution: Different patch base!!!! + Treatment of videos + + patch5.txt + +6. Modifizierte Highlighting Library addon/config/common/xslthl/xslthl.jar, + highlighter sind integriert +7. Support fuer .dia files in imagetoolkit.incl bzw. xslMenu.xxe, harmlose Fehlermeldung .dia-->.pdf + +8. Link highlighting in addon/config/docbook/css/inline1.imp : + ... + @namespace xlink "http://www.w3.org/1999/xlink"; + methodname[xlink|href] { + color: blue; + } + +9. <db:answer> javascript addition in xsl/xhtml-1_1/qandaset.xsl + +10: xmlmind.files + +Step 5: Provides: + -gs + -pnmtopng + -figspecial2png + -figspecial2pdf + -dia diff --git a/ws/Docbook/Extensions/Xmlmind/Modifications/xmlmind.files b/ws/Docbook/Extensions/Xmlmind/Modifications/xmlmind.files new file mode 100644 index 000000000..56e364298 --- /dev/null +++ b/ws/Docbook/Extensions/Xmlmind/Modifications/xmlmind.files @@ -0,0 +1,14 @@ +/usr/bin/xxe +/usr/bin/createTexModifier.sh +/usr/bin/dia2svgmult +/usr/bin/fig2mpdf +/usr/bin/figspecial2pdf +/usr/bin/figspecial2png +/usr/bin/stripUnicode.sh +/usr/share/xmlmind +/usr/share/icons/hicolor/32x32/apps/xxe.png +/usr/share/icons/hicolor/64x64/apps/xxe.png +/usr/share/icons/hicolor/48x48/apps/xxe.png +/usr/share/icons/hicolor/16x16/apps/xxe.png +/usr/share/applications/xmlmind.desktop +/usr/share/pixmaps/xxe.png -- GitLab