Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an issue #8

Open
mtsiknia opened this issue Oct 11, 2023 · 3 comments
Open

Not an issue #8

mtsiknia opened this issue Oct 11, 2023 · 3 comments

Comments

@mtsiknia
Copy link

Hi!

I just wanted to say thank you for the plug-in!
It works perfect and saved me!!

Great job!

Cheers,
Myrto

@liuxiawei
Copy link

me come here for same reason ! Thanks for the author!!

@wangzk
Copy link

wangzk commented Oct 22, 2023

For the same reason! Thanks a lot for the author.

@vmartinezarias
Copy link

vmartinezarias commented Apr 24, 2024

I will use this post too. Thank you very much!!!! I just installed it on my WPS office in Manjaro Linux (an Arch-based distro). In my case, I obtained an "AssertionError". A small modification on "register" function allowed me to properly install your plugin. Here is what I used:

def register(fp, tagname, record):
with open(fp) as f:
content = f.read()
pos = [m.end() for m in re.finditer(r'<' + tagname + r'>\s*', content)]
if len(pos) == 0:
content += f'<{tagname}></{tagname}>'
pos = [content.index(f'</{tagname}>')]
i = pos[0]
with open(fp, 'w') as f:
f.write(content[:i] + record + os.linesep + content[I:])

After that modification, everything is working fine!. I also checked the compatibility with MS Office's Zotero. All is perfect. You are simply, the best. Thank you very much.

Cheers,

Victor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants