mabentwickeltsich / MendeleyMacros

New functionalities for Mendeley's plugin: hyperlinks for citations pointing to bibliography, hyperlinks for URLs in bibliography, and fix to maintain Microsoft Word style of bibliography.
41 stars 25 forks source link

Macro doesn't find the bibliography created by Mendeley #16

Open PanagiotisIliop opened 1 year ago

PanagiotisIliop commented 1 year ago

This code doesn't work for the latest versions of Mendeley.

An error message is presnted :"the bibliography could not be located in the document. make sure that you have inserted the bibliography via the Mendeley's plugin and that the custom configuration of the GAUG_* macros is correct. Cannot continue removing hyperlinks."

Any ideas on how to update the code to work for the latest versions of Mendeley?

mabentwickeltsich commented 1 year ago

Dear @PanagiotisIliop,

I have not being able to test the macros with the new version of Mendelay. It is probably this line that should be changed: If sectionField.Type = wdFieldAddin And Trim(sectionField.Code) = "ADDIN Mendeley Bibliography CSL_BIBLIOGRAPHY" Then I assume the name of the ADDIN has changed with the new version of Mendelay.

The easiest way would be to use an older version of Mendelay to avoid the issue as I am not sure when I would be able to correct the code.

Cheers

PanagiotisIliop commented 1 year ago

Thanks for the reply, Best wishes!!!

chadouhoney commented 10 months ago

@PanagiotisIliop did you manage to overcome the issue? If yes, how?