[Bibus-biblio-users] bibus: Finalizing Word document trouble
Brought to you by:
pmartino
From: Jan B. <ja...@be...> - 2010-06-20 21:34:07
|
Bonsoir Pierre, unfortunately, I have to use MS Word to write a paper. And I ran into the following error message: Error for Res = Error for Code = EMBED Equation.3 Traceback (most recent call last): File "C:\Program Files\bibus\BibFrame.py", line 2062, in onMenuMSWFinalize aDoc.fuseCitations(aDoc.application.ActiveDocument.Fields) File "C:\Program Files\bibus\mswDoc.py", line 307, in fuseCitations self.mswFormatter.fuseCitations(mFields) File "C:\Program Files\bibus\bibMSW\mswFormatter.py", line 934, in fuseCitations citationGroups = self.__groupCitations(mswFields) File "C:\Program Files\bibus\bibMSW\mswFormatter.py", line 1213, in __groupCitations codeText = sortedCitationGroupInfo[grNb][citeNb][1] IndexError: list index out of range After some tests I suspect, that there is a problem when citations are inserted just before a formula, separated by only a whitespace. It already helps to replace this whitespace by a non-breaking whitespace. Or just one more word. But somehow it seems, that some bibus code gets confused, when there is a citation followed by a whitespace followed by a formula. Do you maybe have some idea on that one? (Where does the "Error for Code = EMBED Equation.3" come from?) Many thanks! Best Regards, Jan -- Jan Beyer Functional Electronic Materials Department of Physics, Chemistry and Biology IFM Linköping university SE-581 83 Linköping, Sweden mail be...@if... GPG-key ID 0x1B48196F phone +46 13 28 5775 office F:E210 |