changeset 567:8b1e20bf300d

more new textserver
author casties
date Thu, 11 Oct 2012 10:21:49 +0200
parents 4a31608f8b0e
children 694935574177
files MpiwgXmlTextServer.py css/docuviewer.css
diffstat 2 files changed, 16 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MpiwgXmlTextServer.py	Wed Oct 10 18:09:49 2012 +0200
+++ b/MpiwgXmlTextServer.py	Thu Oct 11 10:21:49 2012 +0200
@@ -309,7 +309,7 @@
         # plain text or text-with-links mode
         if textmode == "text" or textmode == "dict":
             if pagediv is not None:
-                self._processPbTag(pagediv, pageinfo)
+                #self._processPbTag(pagediv, pageinfo)
                 self._processFigures(pagediv, docinfo)
                 #self._fixEmptyDivs(pagediv)
                 # get full url assuming documentViewer is parent
--- a/css/docuviewer.css	Wed Oct 10 18:09:49 2012 +0200
+++ b/css/docuviewer.css	Thu Oct 11 10:21:49 2012 +0200
@@ -1,4 +1,8 @@
-
+/*
+ * Documentviewer style sheet.
+ * 
+ * Robert Casties 2012.
+ */
 body {
     background-color: #ebebeb;
     margin: 5px;
@@ -263,6 +267,14 @@
     margin-top: 0.5em;
     margin-bottom: 0.25em;
 }
+/* page break */
+div.col.main div.content.text span.pb span.n,
+div.col.main div.content.text span.pb span.o {
+	display: none;
+}
+div.col.main div.content.text span.pb span.rhead {
+	display: block;
+}
 /* running head */
 div.col.main div.content.text div.pageHeaderTitle {
     text-align: center;
@@ -384,9 +396,9 @@
 }
 div.footer div.content {
 	font-size: 10px;
-	color: grey;	
+	color: gray;	
 }
 div.footer div.content a:link,
 div.footer div.content a:visited {
-	color: grey;
+	color: gray;
 }
\ No newline at end of file