Mercurial > hg > documentViewer
diff documentViewer.py @ 564:31f562fa7214
first version of MpiwgXmlTextServer.
author | casties |
---|---|
date | Mon, 08 Oct 2012 20:36:00 +0200 |
parents | 60f5a636bc57 |
children | 1b483194901c |
line wrap: on
line diff
--- a/documentViewer.py Mon Oct 08 12:36:11 2012 +0200 +++ b/documentViewer.py Mon Oct 08 20:36:00 2012 +0200 @@ -586,7 +586,7 @@ docinfo = self.getDocinfoFromTexttool(docinfo, texttool) # document info (including toc) from full text if docinfo.get('textURLPath', None): - docinfo = self.getTextInfo(mode=tocMode, docinfo=docinfo) + docinfo = self.getTextInfo(mode='pages', docinfo=docinfo) # bib info bib = self.metadataService.getBibData(dom=metaDom) @@ -723,6 +723,7 @@ if self.getRepositoryType() == textRepo: docinfo['textURLPath'] = textUrl docinfo['textURLRepository'] = textRepo + break else: # no repo attribute - use always