grahamrow / zim-mendeley-plugin

Plugin for inserting citations into Zim
GNU General Public License v2.0
9 stars 1 forks source link

Inserting page numbers seems not to work #4

Open sojusnik opened 9 years ago

sojusnik commented 9 years ago

Dear Graham,

I've recently discovered your very useful Mendeley Plugin for Zim, thank you for that!

It works flawlessly, except that inserting a page number seems not to work.

To reproduce this, just do the following:

  1. insert a citation in Zim
  2. type something, so that you can choose your desired paper
  3. press 1x enter and then 2x backspace
  4. an additional window will open, where you can define a page number
  5. write a random number in the page number field and confirm

Sadly, you'll see, that the page number is not applied to the inline citation. The same goes for other options like "prefix", "suffix" and "suppress author". In LibreOffice, however, everything works fine.

Would be great to see a soon fix.

BTW, do you know another (a faster) way to insert page numbers in inline citations? Is it possible to link to a certain page in Mendeley (the built-in pdf viewer of Mendeley should show the appropriate page, if you click on a link in Zim), if a page number is specified in an inline citation in Zim?

Best wishes!

grahamrow commented 9 years ago

Greetings,

I'm glad you've found the plugin at least partially functional. I'm a bit perplexed by this behavior, since essentially I'm piggy backing off of the open office plugin directly (https://github.com/Mendeley/openoffice-plugin). Therefore I would expect it to work in Zim if it works in LibreOffice. Amusingly I've been trying to test the latter, and find that I cannot get the office plugin to work at all. I'll continue to look into this...

Presently I'm not aware of a way to go to a specific page — I had to reverse engineer the "mendeley://" naming protocol to some extent to even open the documents in the first place, so I'm not too hopeful.

Best, Graham

sojusnik commented 9 years ago

Greetings,

yes, your great plugin makes citing considerably easier! Thank you again!

The version of my LibreOffice installation is 4.4.1.2 and the plugin's version is 1.13.6 (I've installed it from the Mendeley Desktop program under Tools > Install LibreOffice Plugin).

Zim 0.62 runs under Ubuntu Gnome 14.10

Did you try to change the citation style to reproduce this bug? It works with "American Psychological Association 6th edition" in LibreOffice, but not in Zim.

Cheers,

S