author | František Kučera <franta-hg@frantovo.cz> |
Mon, 22 Aug 2022 17:03:11 +0200 | |
branch | v_0 |
changeset 76 | 3d1a196aab73 |
parent 67 | 78eca0b3ab5f |
permissions | -rw-r--r-- |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
2 |
<!-- |
51
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
3 |
Sane software manifesto helper tools |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
4 |
Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info) |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
5 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
6 |
This program is free software: you can redistribute it and/or modify |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
7 |
it under the terms of the GNU General Public License as published by |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
8 |
the Free Software Foundation, version 3. |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
9 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
10 |
This program is distributed in the hope that it will be useful, |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
13 |
GNU General Public License for more details. |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
14 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
15 |
You should have received a copy of the GNU General Public License |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
16 |
along with this program. If not, see <https://www.gnu.org/licenses/>. |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
17 |
--> |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
18 |
<xsl:stylesheet |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
19 |
version="1.0" |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
20 |
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
21 |
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
22 |
xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
23 |
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
24 |
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
25 |
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
26 |
xmlns:m="tag:globalcode.info,2019:sane-software/manifesto" |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
27 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
28 |
xmlns:fn="http://www.w3.org/2005/xpath-functions" |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
29 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
49
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
30 |
exclude-result-prefixes="fn m xs"> |
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
31 |
|
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
32 |
<xsl:import href="common.xsl"/> |
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
33 |
|
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
34 |
<xsl:param name="versionTag"/> |
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
35 |
<xsl:param name="versionDistance"/> |
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
36 |
<xsl:param name="versionHash"/> |
51
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
37 |
<xsl:param name="versionChangedFiles"/> |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
38 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
39 |
<xsl:output |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
40 |
method="xml" |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
41 |
indent="yes" |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
42 |
encoding="UTF-8"/> |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
43 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
44 |
<xsl:template match="/m:manifesto"> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
45 |
<office:document office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
46 |
<xsl:call-template name="styles"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
47 |
<office:body> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
48 |
<office:text> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
49 |
<text:p text:style-name="Title"> |
29
5ed5b68408e4
CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents:
25
diff
changeset
|
50 |
<xsl:value-of select="m:title"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
51 |
</text:p> |
49
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
52 |
<text:p text:style-name="Subtitle"> |
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
53 |
<xsl:call-template name="version"> |
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
54 |
<xsl:with-param name="tag" select="$versionTag"/> |
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
55 |
<xsl:with-param name="distance" select="$versionDistance"/> |
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
56 |
<xsl:with-param name="hash" select="$versionHash"/> |
51
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
57 |
<xsl:with-param name="changedFiles" select="$versionChangedFiles"/> |
49
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
58 |
</xsl:call-template> |
1dc027689f93
print version from Mercurial
František Kučera <franta-hg@frantovo.cz>
parents:
36
diff
changeset
|
59 |
</text:p> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
60 |
<text:p text:style-name="Paragraph"> |
29
5ed5b68408e4
CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents:
25
diff
changeset
|
61 |
<xsl:value-of select="m:preamble"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
62 |
</text:p> |
29
5ed5b68408e4
CSS: max-width: 800px; + text-align: justify;
František Kučera <franta-hg@frantovo.cz>
parents:
25
diff
changeset
|
63 |
<xsl:apply-templates select="m:chapter"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
64 |
</office:text> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
65 |
</office:body> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
66 |
</office:document> |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
67 |
</xsl:template> |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
68 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
69 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
70 |
<xsl:template match="m:chapter"> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
71 |
<text:h text:style-name="Heading_1" text:outline-level="1"> |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
72 |
<xsl:value-of select="m:name"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
73 |
</text:h> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
74 |
<text:list text:style-name="List_1"> |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
75 |
<xsl:apply-templates select="m:item"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
76 |
</text:list> |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
77 |
</xsl:template> |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
78 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
79 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
80 |
<xsl:template match="m:item"> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
81 |
<text:list-item> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
82 |
<text:p> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
83 |
<xsl:apply-templates select="m:text"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
84 |
</text:p> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
85 |
|
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
86 |
<xsl:if test="m:item"> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
87 |
<text:list text:style-name="List_1"> |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
88 |
<xsl:apply-templates select="m:item"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
89 |
</text:list> |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
90 |
</xsl:if> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
91 |
|
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
92 |
</text:list-item> |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
93 |
</xsl:template> |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
94 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
95 |
<xsl:template match="m:text"> |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
96 |
<xsl:apply-templates/> |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
97 |
<xsl:text> </xsl:text> |
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
98 |
</xsl:template> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
99 |
|
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
100 |
<xsl:template name="styles"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
101 |
<office:font-face-decls> |
67
78eca0b3ab5f
style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents:
51
diff
changeset
|
102 |
<style:font-face style:name="CMU Serif" svg:font-family="'CMU Serif'" style:font-adornments="Roman" style:font-family-generic="roman" style:font-pitch="variable"/> |
78eca0b3ab5f
style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents:
51
diff
changeset
|
103 |
<style:font-face style:name="CMU Typewriter Text" svg:font-family="'CMU Typewriter Text'" style:font-adornments="Běžné" style:font-family-generic="modern" style:font-pitch="fixed"/> |
78eca0b3ab5f
style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents:
51
diff
changeset
|
104 |
<style:font-face style:name="FreeMono" svg:font-family="FreeMono" style:font-adornments="obyčejné" style:font-family-generic="modern" style:font-pitch="fixed"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
105 |
<style:font-face style:name="OpenSymbol" svg:font-family="OpenSymbol" style:font-charset="x-symbol"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
106 |
</office:font-face-decls> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
107 |
|
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
108 |
<office:styles> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
109 |
<style:default-style style:family="paragraph"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
110 |
<style:paragraph-properties fo:orphans="2" fo:widows="2" fo:hyphenation-ladder-count="no-limit" style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging" style:line-break="strict" style:tab-stop-distance="1.251cm" style:writing-mode="page"/> |
67
78eca0b3ab5f
style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents:
51
diff
changeset
|
111 |
<style:text-properties style:use-window-font-color="true" style:font-name="CMU Serif" fo:font-size="12pt" fo:language="cs" fo:country="CZ" style:letter-kerning="true" style:font-name-asian="Noto Sans CJK SC" style:font-size-asian="10.5pt" style:language-asian="zh" style:country-asian="CN" style:font-name-complex="Lohit Devanagari" style:font-size-complex="12pt" style:language-complex="hi" style:country-complex="IN" fo:hyphenate="false" fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
112 |
</style:default-style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
113 |
<style:style style:name="Standard" style:family="paragraph" style:class="text"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
114 |
<style:paragraph-properties fo:text-align="justify" style:justify-single-word="false"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
115 |
<style:text-properties style:font-size-asian="10.5pt"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
116 |
</style:style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
117 |
<style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Paragraph" style:class="text"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
118 |
<style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false" fo:keep-with-next="always"/> |
67
78eca0b3ab5f
style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents:
51
diff
changeset
|
119 |
<style:text-properties style:font-name="CMU Serif" fo:font-family="'CMU Serif'" style:font-family-generic="swiss" style:font-pitch="variable" fo:font-size="14pt" style:font-name-asian="Noto Sans CJK SC" style:font-family-asian="'Noto Sans CJK SC'" style:font-family-generic-asian="system" style:font-pitch-asian="variable" style:font-size-asian="14pt" style:font-name-complex="Lohit Devanagari" style:font-family-complex="'Lohit Devanagari'" style:font-family-generic-complex="system" style:font-pitch-complex="variable" style:font-size-complex="14pt"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
120 |
</style:style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
121 |
<style:style style:name="Paragraph" style:display-name="Text body" style:family="paragraph" style:parent-style-name="Standard" style:class="text"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
122 |
<style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.247cm" loext:contextual-spacing="false" fo:line-height="115%"/> |
67
78eca0b3ab5f
style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents:
51
diff
changeset
|
123 |
<style:text-properties style:font-name="CMU Serif" fo:font-family="'CMU Serif'" style:font-style-name="Běžné" style:font-family-generic="swiss" style:font-pitch="variable" style:font-size-asian="10.5pt"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
124 |
</style:style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
125 |
<style:style style:name="Title" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Paragraph" style:class="chapter"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
126 |
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/> |
67
78eca0b3ab5f
style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents:
51
diff
changeset
|
127 |
<style:text-properties style:font-name="CMU Serif" fo:font-family="CMU Serif" style:font-style-name="Tučné" style:font-pitch="variable" fo:font-size="28pt" fo:font-weight="bold" style:font-size-asian="28pt" style:font-weight-asian="bold" style:font-size-complex="28pt" style:font-weight-complex="bold"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
128 |
</style:style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
129 |
<style:style style:name="Subtitle" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Paragraph" style:class="chapter"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
130 |
<style:paragraph-properties fo:margin-top="0.106cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false" fo:text-align="center" style:justify-single-word="false"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
131 |
<style:text-properties fo:font-size="10pt" style:font-size-asian="18pt" style:font-size-complex="18pt"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
132 |
</style:style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
133 |
<style:style style:name="Heading_1" style:display-name="Heading 1" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Paragraph" style:default-outline-level="1" style:class="text"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
134 |
<style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false"/> |
67
78eca0b3ab5f
style: change font to more classic Computer Modern (CMU) + change the anchor symbol
František Kučera <franta-hg@frantovo.cz>
parents:
51
diff
changeset
|
135 |
<style:text-properties style:font-name="CMU Serif" fo:font-family="CMU Serif" style:font-style-name="Tučné" style:font-pitch="variable" fo:font-size="130%" fo:font-weight="bold" style:font-size-asian="130%" style:font-weight-asian="bold" style:font-size-complex="130%" style:font-weight-complex="bold"/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
136 |
</style:style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
137 |
<style:style style:name="Footer" style:family="paragraph" style:parent-style-name="Standard" style:class="extra"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
138 |
<style:paragraph-properties text:number-lines="false" text:line-number="0"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
139 |
<style:tab-stops> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
140 |
<style:tab-stop style:position="8.5cm" style:type="center"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
141 |
<style:tab-stop style:position="17cm" style:type="right"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
142 |
</style:tab-stops> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
143 |
</style:paragraph-properties> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
144 |
<style:text-properties fo:font-size="6pt"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
145 |
</style:style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
146 |
|
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
147 |
<style:style style:name="Numbering_20_Symbols" style:display-name="Numbering Symbols" style:family="text"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
148 |
<text:list-style style:name="List_1" style:display-name="List 1"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
149 |
<text:list-level-style-bullet text:level="1" text:style-name="Numbering_20_Symbols" text:bullet-char="•"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
150 |
<style:list-level-properties text:list-level-position-and-space-mode="label-alignment"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
151 |
<style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="0.4cm" fo:text-indent="-0.4cm" fo:margin-left="0.4cm"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
152 |
</style:list-level-properties> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
153 |
<style:text-properties style:font-name="OpenSymbol"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
154 |
</text:list-level-style-bullet> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
155 |
<text:list-level-style-bullet text:level="2" text:style-name="Numbering_20_Symbols" text:bullet-char="•"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
156 |
<style:list-level-properties text:list-level-position-and-space-mode="label-alignment"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
157 |
<style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="0.801cm" fo:text-indent="-0.4cm" fo:margin-left="0.801cm"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
158 |
</style:list-level-properties> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
159 |
<style:text-properties style:font-name="OpenSymbol"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
160 |
</text:list-level-style-bullet> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
161 |
<text:list-level-style-bullet text:level="3" text:style-name="Numbering_20_Symbols" text:bullet-char="•"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
162 |
<style:list-level-properties text:list-level-position-and-space-mode="label-alignment"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
163 |
<style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="1.199cm" fo:text-indent="-0.4cm" fo:margin-left="1.199cm"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
164 |
</style:list-level-properties> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
165 |
<style:text-properties style:font-name="OpenSymbol"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
166 |
</text:list-level-style-bullet> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
167 |
</text:list-style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
168 |
|
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
169 |
<text:notes-configuration text:note-class="footnote" style:num-format="1" text:start-value="0" text:footnotes-position="page" text:start-numbering-at="document"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
170 |
<text:notes-configuration text:note-class="endnote" style:num-format="i" text:start-value="0"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
171 |
|
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
172 |
</office:styles> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
173 |
|
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
174 |
<office:automatic-styles> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
175 |
<style:page-layout style:name="pm1"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
176 |
<style:page-layout-properties fo:page-width="21.001cm" fo:page-height="29.7cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm" style:writing-mode="lr-tb" style:layout-grid-color="#c0c0c0" style:layout-grid-lines="20" style:layout-grid-base-height="0.706cm" style:layout-grid-ruby-height="0.353cm" style:layout-grid-mode="none" style:layout-grid-ruby-below="false" style:layout-grid-print="false" style:layout-grid-display="false" style:footnote-max-height="0cm"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
177 |
<style:footnote-sep style:width="0.018cm" style:distance-before-sep="0.101cm" style:distance-after-sep="0.101cm" style:line-style="solid" style:adjustment="left" style:rel-width="25%" style:color="#000000"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
178 |
</style:page-layout-properties> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
179 |
<style:header-style/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
180 |
<style:footer-style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
181 |
<style:header-footer-properties fo:min-height="0cm" fo:margin-top="0.2cm"/> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
182 |
</style:footer-style> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
183 |
</style:page-layout> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
184 |
</office:automatic-styles> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
185 |
|
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
186 |
<office:master-styles> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
187 |
<style:master-page style:name="Standard" style:page-layout-name="pm1"> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
188 |
<style:footer> |
51
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
189 |
<text:p text:style-name="Footer"> |
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
190 |
<xsl:value-of select="/m:manifesto/m:title"/> |
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
191 |
<xsl:text> <</xsl:text> |
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
192 |
<xsl:value-of select="/m:manifesto/m:url"/> |
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
193 |
<xsl:text>> Copyright © </xsl:text> |
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
194 |
<xsl:value-of select="/m:manifesto/m:license/m:year"/> |
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
195 |
<xsl:text> </xsl:text> |
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
196 |
<xsl:value-of select="/m:manifesto/m:author"/> |
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
197 |
<xsl:text> </xsl:text> |
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
198 |
<xsl:value-of select="/m:manifesto/m:license/m:abbreviation"/> |
21dfb69028a0
name: Sane software manifesto (lower case)
František Kučera <franta-hg@frantovo.cz>
parents:
49
diff
changeset
|
199 |
<text:tab/> |
36
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
200 |
<text:page-number text:select-page="current">1</text:page-number> / <text:page-count>1</text:page-count> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
201 |
</text:p> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
202 |
</style:footer> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
203 |
</style:master-page> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
204 |
</office:master-styles> |
9e5c3383ba50
add PDF output (using LibreOffice)
František Kučera <franta-hg@frantovo.cz>
parents:
30
diff
changeset
|
205 |
</xsl:template> |
15
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
206 |
|
96fc2f42b1e1
conversion to XML format, XSD, XSLT
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
207 |
</xsl:stylesheet> |