I started to work on a bibtex plugin for WordPress, named papercite. It is based on bib2html plugin of Sergio Andreozzi.
See http://wordpress.org/extend/plugins/papercite/
Note that I closed the comments on this page – it was hard to track anything. Please use the bug tracker tool to report any bug or suggest enhancements on github. You can also discuss on the forum on the WordPress plugin site.
Instructions
Please look at this page for up to date instructions.
Demo
You can see a demonstration of papercite in the following pages:
Hi Benjamin,
papercite is great – it’s the first sensible WordPress citation management plugin I’ve come across.
I have noticed one problem, though – the “electronic citation” type isn’t supported, and adding it to the style XML files still causes a warning to be shown in the generated post.
Thanks,
Keith
Hi,
first of all, thanks for the comments!
I know there are a few troubles with the support of non-standard bibtex types; I want to change the backend (which is hard to customise) but have not much time for the moment; when it is done, then it will be much easier to add support for new bibtex types.
best,
benjamin
Hi Benjamin,
Thanks for the reply! I’ve hacked my local installation to suppress the warning for now, but I look forward to when you get a chance to fix it.
Thanks again,
Keith
Hi Benjamin,
I have just installed your plugin. It is great. I can use it on my local computer just fine. But after installing the plugin to another server it started giving me the warning:
Warning: (—) Invalid argument supplied for foreach() in /—/wp-content/plugins/papercite/OSBiB/format/bibtexParse/PARSEENTRIES.php on line 233
Have you encountered this before?
No, never had this issue reported – not sure where it comes from. I will try to have a look at this latter.
thanks,
benjamin
Hi,
it would help if you send me the source of the page + the bibtex file so I can check what is wrong.
Thanks
Benjamin
hi Benjamin,
got the same problem…
I really like papercite. I have one question though:
Is it possible to display the notes of the bibtex as well.
For some publications I have to use the MISC type and want to add some more infos, but the note field doesn’t get displayed.
Best,
St
Hi,
thanks!
I am not sure for displaying notes, but you can try the different styles (see the documentation). I am planning a major revision where styles will be easier to edit, which will be based on an alternative and more lightweight bibtex parser.
Not sure about following citation formatting detail:
S. Guy, “Some title,” …
Comma before closing quotation mark seems wrong to me, but I am not a native English speaker…
Again, if you don’t mind or, say, if you prefer, I could (try to) fix it and post the result back here.
Hi,
that’s correct English formatting. It should be soon easier to customise the formatting.
benjamin
The Javascript seems to have problems with publication keys like that:
cont/swap/BuschbeckBS08 (taken from bibsonomy.org)
Changing to “cont-swap-…” fixed the problem, but modifying the key is pretty bad.
Maybe the module ifself could replace such problematic characters automatically before creating the div IDs.
Still, great module, a real time saver! Thanks a lot for sharing!
P.S. Guess I can make the required changes to the module code and post them back here if you like.
Hi,
thanks for this report – the next version of papercite will contain this bugfix.
benjamin
Great, thanks, looking forward to it!
Hi Benjamin,
Thanks a LOT for the papercite plugin — pretty useful and very easy to use, well done.
There seems to be an incompatibility issue with “Google Analytics for WordPress”, though. When the latter is activated, the “Show bibtex” link no longer works (see my website for an example).
Are you aware of this issue? Is your plugin or the “Google Analytics” plugin to blaim?
Cheers,
Hervé.
Hi Hervé,
I will have a look at this soon.
thanks
benjamin
Hi Hervé,
I checked your website and the link was working… did you solve the issue (or remove google analytics?)
thanks
benjamin
Great plugin, but I also have this Google-Analytics problem. Would be great if you could solve it!
Thx
Will do – it must be some javascript conflict.
benjamin
Hi, I tried to install the plugin but I don’t have any problem with it – do you have a website where this problem is showing up?
thanks
benjamin
Can’t install that plugin. I got in WP 3.0 the following message:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /wp-content/plugins/papercite/papercite.php on line 73
Any idea what’s happening?
This is due to the fact that I did use PHP 5 only features. I released a new version (0.2.3) that should fix this.
Benjamin