diff documentViewer.py @ 568:694935574177

more new MpiwgXmlTextServer.
author casties
date Thu, 11 Oct 2012 18:27:14 +0200
parents 4a31608f8b0e
children f1906951be2a
line wrap: on
line diff
--- a/documentViewer.py	Thu Oct 11 10:21:49 2012 +0200
+++ b/documentViewer.py	Thu Oct 11 18:27:14 2012 +0200
@@ -588,9 +588,11 @@
             texttool = self.metadataService.getTexttoolData(dom=metaDom, recursive=1, all=True)
             if texttool:
                 docinfo = self.getDocinfoFromTexttool(docinfo, texttool)
-                # document info (including toc) from full text
+                # document info from full text server
                 if docinfo.get('textURLPath', None):
                     docinfo = self.getTextInfo(mode=None, docinfo=docinfo)
+                    # include list of pages TODO: do we need this always? 
+                    docinfo = self.getTextInfo(mode='pages', docinfo=docinfo)
             
             # bib info
             bib = self.metadataService.getBibData(dom=metaDom)