--- a/RelaxNG/publidoc.rnc jeu. janv. 12 18:17:05 2012 +0100
+++ b/RelaxNG/publidoc.rnc sam. janv. 14 12:44:31 2012 +0100
@@ -356,9 +356,9 @@
attribution?
# ~~~~~~ attribution
-attribution = element attribution { attribtuion.content }
+attribution = element attribution { attribution.content }
-attribtuion.content =
+attribution.content =
inlines
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- a/RelaxNG/publidoc.rng jeu. janv. 12 18:17:05 2012 +0100
+++ b/RelaxNG/publidoc.rng sam. janv. 14 12:44:31 2012 +0100
@@ -539,7 +539,7 @@
DIVISION LEVEL
=============================================================================
-->
- <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ division ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ division ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<define name="division">
<element name="division">
<ref name="division.content"/>
@@ -774,10 +774,10 @@
<!-- ~~~~~~ attribution -->
<define name="attribution">
<element name="attribution">
- <ref name="attribtuion.content"/>
+ <ref name="attribution.content"/>
</element>
</define>
- <define name="attribtuion.content">
+ <define name="attribution.content">
<ref name="inlines"/>
</define>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ table ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
Binary file Xml/Documents/Images/prismallia_logo.png has changed
Binary file Xml/Documents/Images/torture_test_cover.jpg has changed
Binary file Xml/Documents/Images/torture_test_cover.png has changed
--- a/Xml/Documents/torture_test.xml jeu. janv. 12 18:17:05 2012 +0100
+++ b/Xml/Documents/torture_test.xml sam. janv. 14 12:44:31 2012 +0100
@@ -235,33 +235,23 @@
<title>Les listes</title>
</head>
<section>
+ <head>
+ <title>la pâte à crêpes</title>
+ </head>
+
<list>
<head>
- <title>Listes imbriquées : la météo aéronautique</title>
+ <title>Liste non ordonnée : les ingrédients</title>
</head>
- <item>
- <list>
- <head>
- <title>METAR</title>
- </head>
- <item>METAR LFPB 230900Z 13003KT CAVOK 18/10 Q1015 NOSIG=</item>
- <item>METAR LFOR 230900Z 18003KT CAVOK 17/09 Q1015=</item>
- </list>
- </item>
- <item>
- <list>
- <head>
- <title>TAF</title>
- </head>
- <item>TAF LFOP 230800Z 230918 18005KT CAVOK BECMG 1416 24010KT BKN014 TEMPO 1618 RA BKN005=</item>
- <item>TAF LFOT 230800Z 230918 23007KT CAVOK=</item>
- </list>
- </item>
+ <item>250 g de farine</item>
+ <item>3 œufs</item>
+ <item>75 cl de lait</item>
+ <item>2 cuillères à soupe de sucre</item>
</list>
<list type="ordered">
<head>
- <title>Liste ordonnée : la pâte à crêpes</title>
+ <title>Liste ordonnée : la recette</title>
</head>
<item>
<p>Versez dans une terrine 250 g de farine en fontaine, et
@@ -289,7 +279,8 @@
crêpes.</p>
</item>
</list>
-
+ </section>
+ <section>
<list type="glossary">
<head>
<title>Glossaire : la comptabilité</title>
@@ -307,6 +298,31 @@
</item>
</list>
</section>
+ <section>
+ <list>
+ <head>
+ <title>Listes imbriquées : la météo aéronautique</title>
+ </head>
+ <item>
+ <list>
+ <head>
+ <title>METAR</title>
+ </head>
+ <item>METAR LFPB 230900Z 13003KT CAVOK 18/10 Q1015 NOSIG=</item>
+ <item>METAR LFOR 230900Z 18003KT CAVOK 17/09 Q1015=</item>
+ </list>
+ </item>
+ <item>
+ <list>
+ <head>
+ <title>TAF</title>
+ </head>
+ <item>TAF LFOP 230800Z 230918 18005KT CAVOK BECMG 1416 24010KT BKN014 TEMPO 1618 RA BKN005=</item>
+ <item>TAF LFOT 230800Z 230918 23007KT CAVOK=</item>
+ </list>
+ </item>
+ </list>
+ </section>
</topic>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<topic>
--- a/Xxe/Css/publidoc.css jeu. janv. 12 18:17:05 2012 +0100
+++ b/Xxe/Css/publidoc.css sam. janv. 14 12:44:31 2012 +0100
@@ -322,8 +322,9 @@
p:before, speech:before, list:before,
blockquote:before, table:before, media:before {
display: marker;
- content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
- insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
+ color: #7f7f7f;
+ content: insert-before-button(icon, icon(left-half-disc))
+ insert-after-button(icon, icon(right-half-disc));
}
p, speech, list, blockquote, table, media {
@@ -355,7 +356,25 @@
/* list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+list:before {
+ content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
+ insert-after-button(color, #7f7f7f, icon, icon(right-half-disc))
+ command-button(command, "putAttribute", parameter, "type ordered", icon, icon(convert));
+}
+list[type="ordered"]:before {
+ content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
+ insert-after-button(color, #7f7f7f, icon, icon(right-half-disc))
+ command-button(command, "removeAttribute", parameter, "type", icon, icon(convert));
+}
+list[type="glossary"]:before {
+ content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
+ insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
+}
+
list {
+ margin: .3em 0 .3em 36px;
+}
+list[type="glossary"] {
margin: .3em 0 .3em 24px;
}
@@ -368,21 +387,36 @@
}
list[type="ordered"] > item {
list-style-type: decimal;
+ list-style-position: inside;
}
item:after {
content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc));
}
+list:not([type="glossary"]) > item > p:before {
+ color: #7f7f7f;
+ content: insert-same-before-button(icon, icon(left-half-disc))
+ insert-same-after-button(icon, icon(right-half-disc));
+}
+list:not([type="glossary"]) > item > p {
+ display: inline;
+}
+list:not([type="glossary"]) > item > p:after {
+ color: #7f7f7f;
+ content: "\A";
+}
+
list[type="glossary"] > item > label {
font-weight: bold;
}
/* blockquote ~~~~~~~~~~~~~~~~~~~~~~ */
+blockquote { color: #004080; }
+
attribution { font-style: italic; }
-
/* media ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
media {