* demo/xml2doc/templates/html/css.css,
* demo/xml2doc/templates/html/main.xsl: Add new CSS rules.
---
scribo/ChangeLog | 7 +++++++
scribo/demo/xml2doc/templates/html/css.css | 8 ++++++++
scribo/demo/xml2doc/templates/html/main.xsl | 1 +
3 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index f351b82..92ddca3 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,10 @@
+2011-09-13 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ Fix text justification in HTML document reconstruction.
+
+ * demo/xml2doc/templates/html/css.css,
+ * demo/xml2doc/templates/html/main.xsl: Add new CSS rules.
+
2011-09-12 Guillaume Lazzara <z(a)lrde.epita.fr>
Small fixes in Scribo.
diff --git a/scribo/demo/xml2doc/templates/html/css.css
b/scribo/demo/xml2doc/templates/html/css.css
index 0443390..6c74f43 100644
--- a/scribo/demo/xml2doc/templates/html/css.css
+++ b/scribo/demo/xml2doc/templates/html/css.css
@@ -13,6 +13,9 @@
margin:0px;
filter:alpha(opacity=100);
font-family:"Times New Roman", Times, serif;
+
+ text-align: justify;
+ display: block;
}
.para
{
@@ -28,4 +31,9 @@
{
position:absolute;
border:0;
+}
+.line noop
+{
+ width:1000px;
+ display: inline-block;
}
\ No newline at end of file
diff --git a/scribo/demo/xml2doc/templates/html/main.xsl
b/scribo/demo/xml2doc/templates/html/main.xsl
index 9492604..d1aa2d9 100644
--- a/scribo/demo/xml2doc/templates/html/main.xsl
+++ b/scribo/demo/xml2doc/templates/html/main.xsl
@@ -222,6 +222,7 @@
color:<xsl:value-of select="$color" />;
</xsl:attribute>
<xsl:value-of select="@text"/>
+ <noop>
</span>
<!-- ENF OF TEXT LINE -->
</xsl:template>
--
1.7.2.5