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

BB does not save journal abbreviations #3065

Open
NailGit opened this issue Nov 19, 2024 · 19 comments
Open

BB does not save journal abbreviations #3065

NailGit opened this issue Nov 19, 2024 · 19 comments

Comments

@NailGit
Copy link

NailGit commented Nov 19, 2024

Debug log ID

US9EEF6W-euc/6.7.253-7

What happened?

Zotero 7 shows correct journal abbreviations. Then I make "export collection" and mark "Use abbreviations", "keepUpdated" and "worker". But corresponding bib file has no abbreviations, but only full name of journals. In Zotero 6 it worked well.

@retorquere
Copy link
Owner

I don't see export activity in that log, but I'll need a new log in any case; please select one item for which you are not seeing the abbreviation, and send a log from the popup menu. The ID will have -refs- in it.

What were you exporting to, bibtex or biblatex?

@NailGit
Copy link
Author

NailGit commented Nov 20, 2024

I use bibtex. I found that if I mark all items in collection "ctrl+a" and then right click and "export collection", the BB save items with abbreviation. But if I right click on the collection name and then "export collection", then the BB saves without abbreviation.

@NailGit
Copy link
Author

NailGit commented Nov 20, 2024

I made new collection with two articles, saved collection with "make abbreviation" and then sent debug for you. I made another experiment. I made collection with single article. In this case BB saves with abbreviation. If collection have more that one article, then this problem appears. I repeat that abbreviation works if I mark articles and make "export collection" by right click on marked articles.

@retorquere
Copy link
Owner

retorquere commented Nov 20, 2024

Thanks, but I will also need a new log ID as described above. I don't know what the ID of your log is.

@NailGit
Copy link
Author

NailGit commented Nov 20, 2024

Thanks, but I will also need a new log ID as described above. I don't know what the ID of your log is.

Sorry I forget, JWM7YGEY-euc/6.7.253-7

@retorquere
Copy link
Owner

That's from the help menu. I need one created by selecting a set of items for which this happens, right-clicking, and then send from the pop-up menu. The ID will have -refs- in it.

@NailGit
Copy link
Author

NailGit commented Nov 20, 2024

That's from the help menu. I need one created by selecting a set of items for which this happens, right-clicking, and then send from the pop-up menu. The ID will have -refs- in it.

Sorry, but I really do not understand what I have to do. Could you please explain me step by step. It is something out of my understanding.

@jklymak
Copy link

jklymak commented Nov 21, 2024

Hi @retorquere thanks for a really cool plugin. I think I can replicate this as well. I sent a log to XCDISHPG-refs-euc/6.7.253-7

In the options I have "Automatically abbreviate..." checked and "Use journal abbreviations..."

If you look in the log above, the items have the correct "autoJournalAbbreviation"s but this doesn't seem to get used in either the AutoExport or "copy Bibtex to Clipboard"

The bibtex saved to clipboard from those two items is:

@article{klymakmoum03,
  title = {Internal Solitary Waves of Elevation Advancing on a Shoaling Shelf},
  author = {Klymak, Jody M. and Moum, James N.},
  year = {2003},
  journal = {Geophysical Research Letters},
  volume = {30},
  number = {20},
  issn = {1944-8007},
  doi = {10.1029/2003GL017706},
  urldate = {2024-11-21},
  abstract = {A sequence.},
  copyright = {Copyright 2003 by the American Geophysical Union.},
  langid = {english},
  file = {/Users/jklymak/Zotero/storage/WJCJ6FTN/Klymak and Moum - 2003 - Internal solitary waves of elevation advancing on a shoaling shelf.pdf;/Users/jklymak/Zotero/storage/6QYIZ9IL/2003GL017706.html}
}

@article{klymakmoum07,
  title = {Oceanic {{Isopycnal Slope Spectra}}. {{Part I}}: {{Internal Waves}}},
  shorttitle = {Oceanic {{Isopycnal Slope Spectra}}. {{Part I}}},
  author = {Klymak, Jody M. and Moum, James N.},
  year = {2007},
  month = may,
  journal = {Journal of Physical Oceanography},
  volume = {37},
  number = {5},
  pages = {1215--1231},
  publisher = {American Meteorological Society},
  issn = {0022-3670, 1520-0485},
  doi = {10.1175/JPO3073.1},
  urldate = {2024-11-21},
  abstract = {Horizontal tow.},
  chapter = {Journal of Physical Oceanography},
  langid = {english},
  keywords = {Internal waves,Turbulence,Wave spectra},
  file = {/Users/jklymak/Zotero/storage/M5UBJ9HX/Klymak and Moum - 2007 - Oceanic Isopycnal Slope Spectra. Part I Internal Waves.pdf}
}

@NailGit I think the log that is requested is accessible as in this screenshot, but I'm pretty new to Zotero, so I may be mistaken.

BB

Thanks, and hopefully that wasn't off topic!

@retorquere
Copy link
Owner

That screenshot indeed does show where to get the -refs- logs. Thanks for the log, I'll look into it.

@NailGit
Copy link
Author

NailGit commented Nov 21, 2024

That screenshot indeed does show where to get the -refs- logs. Thanks for the log, I'll look into it.

I made as above was suggested. Tools -> Better Bibtex -> Send Betterr Bibtex debug log. The Zotero asked to restart, I restarted and then click to the collection and then the Export Collection and saved it above existed. The -ref- did not appear. I have only the ID Z6WI3A6D-euc/6.7.253-7 and I saved this log. I attached below. My system Linux Mint 22 based on Ubuntu 24.04.
Z6WI3A6D-euc.zip

@retorquere
Copy link
Owner

No, not from the Tools menu; right-click the item. See the screenshot above from @jklymak. If the ID does not have -refs- in it, it is not the log I need for this issue, and there is no need to attach logs here. I have tooling to automatically pick them up from the log container. But the log from @jklymak may be enough, I'll see tonight.

@NailGit
Copy link
Author

NailGit commented Nov 21, 2024

No, not from the Tools menu; right-click the item. See the screenshot above from @jklymak. If the ID does not have -refs- in it, it is not the log I need for this issue, and there is no need to attach logs here. I have tooling to automatically pick them up from the log container. But the log from @jklymak may be enough, I'll see tonight.

I made like this (look below), but there is no -ref- anywhere. I clicked send and -ref- did not appear.
g1

@tikuma-lsuhsc
Copy link

I can confirm this issue as well. One observation that you may find useful: The initial export works as advertised (i.e., abbreviated journal names appear in the .bib file) but there is an automatic refresh which takes place a few seconds later which outputs the full journal name. Hope this helps in debugging.

Copy link

🤖 this is your friendly neighborhood build bot announcing test build 6.7.253.7321 ("always store autoJournalAbbreviation")

This update may name other issues, but the build just dropped here is for you; it just means problems already fixed in other issues have been folded into the work we are doing here. Install in Zotero by downloading test build 6.7.253.7321, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

@NailGit
Copy link
Author

NailGit commented Nov 21, 2024

🤖 this is your friendly neighborhood build bot announcing test build 6.7.253.7321 ("always store autoJournalAbbreviation")

This update may name other issues, but the build just dropped here is for you; it just means problems already fixed in other issues have been folded into the work we are doing here. Install in Zotero by downloading test build 6.7.253.7321, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

Thanks, it works well. But now there is single option about abbreviation and "keep updated" disappears.

@jklymak
Copy link

jklymak commented Nov 22, 2024

OK, the auto export works for me, with the bibtex updating with abbreviated journal names. Thanks!

However, if I do "Copy Bibtex to Clipboard" it still has the long names... Not sure if that is a new request, or what the expected behaviour for that is.

7ZDSFWTH-refs-euc/6.7.253.7321-7

@retorquere
Copy link
Owner

It'd be a new request, but I'm not sure how I would solve this. "Copy X to clipboard" calls the translator with its default options (because it doesn't show the export options), and the default for "use journal abbreviation" is off.

@jklymak
Copy link

jklymak commented Nov 22, 2024

Thats fine if that is how it is expected to work. I didn't use previous versions, so I wasn't sure what was "expected" here. Of course if I'm just copying a few references to clipboard I can change the journal name manually.

@retorquere
Copy link
Owner

That's indeed how it's expected to work.

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

No branches or pull requests

4 participants