altairwei / ZoteroLinkCitation

An MS Word macro that links author-date or number style citations of Zotero to their bibliography entry.
23 stars 0 forks source link

Can't import : "Too many line continuations" #1

Closed BSNCH34 closed 6 months ago

BSNCH34 commented 6 months ago

Hi, When right-clicking on "normal" and trying to import the file, here's the error i'm gettting :

image

Can't do anything else, it won't import the file.

Microsoft® Word for Microsoft 365 MSO (Version 2404 Build 16.0.17531.20140) 64-bit

Thanks a lot

altairwei commented 6 months ago

How do you download ZoteroLinkCitation.bas file? Copy & Paste?

altairwei commented 6 months ago

Please open the bas file with any code editor and check if the file encoding is UTF-8 and if the line breaks are CRLF.

BSNCH34 commented 6 months ago

I downloaded thru the readme (right click > save link) then moved it to another folder.

Re-downloaded thru the download raw tab in github, directly into the folder this time and i've been able to succesfully import it into word !

Rapidly tried it on a dummy file, it seems to work OK so far. (it only make the year "clickable", no the whole citation, but that's not a major concern)

Thanks for the assistance.

altairwei commented 6 months ago

it only make the year "clickable"

This default behaviour can be changed, see README.