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

%b for citation key in renaming format no longer works #661

Closed
postylem opened this issue Aug 1, 2023 · 11 comments
Closed

%b for citation key in renaming format no longer works #661

postylem opened this issue Aug 1, 2023 · 11 comments

Comments

@postylem
Copy link

postylem commented Aug 1, 2023

In ZotFile Preferences > Renaming rules, If I use %b in the renaming format, and press "Update" to previes, I just get _. In use, the file is just renamed pdf. Up until today, this used to work great, both in preview and in practice, the name would be the citation key, but today it (silently) stopped working.

I found a previous discussion of this, but it seems to say it was fixed: #386
Is this an issue with my setup somehow, or has the issue resurfaced?


Edit: add version info:

  • Zotero v6.0.26, on macOS
  • ZotFile v5.1.2, updated July 24 2023
  • Better BibTex for Zotero v6.7.96, updated Aug 1, 2023

(Side note, I guess it might be helpful if there were an error message displayed when something like this happens, because I only found out about this after adding multiple files, and realizing none of them were being added successfully, perhaps due to the fact that the undesired filename "pdf" already was taken. I don't know if that's possible/practical for zotfile to display an error message somehow when renaming fails.)

@1qzhworld
Copy link

I also experienced the same issue with the most recent versions of Zotfile and Better Bibtex in Zotero 6.0.26.

@kleinlennart
Copy link

Same here. Other renaming wildcards still work, just not the %b, so might indeed be an issue with BetterBibTeX and its newest release (v6.7.96, Aug 1).

@kleinlennart
Copy link

Also see retorquere/zotero-better-bibtex#2597

@Blavenger3
Copy link

Blavenger3 commented Aug 2, 2023

I have the same problem, it was also reported here: https://forums.zotero.org/discussion/106610/zotfile-suddenly-stopped-renaming-and-saving-as-pdf-file

@postylem
Copy link
Author

postylem commented Aug 3, 2023

Should be fixed after BBT dev's PR #662 is merged

@jlegewie
Copy link
Owner

jlegewie commented Aug 3, 2023

Just merged but you have to install the dev version from GitHub for now. There are also some changes to secure file before zotero 7 update but that code should only run when invoked through new option under Tools. Still not tested thoroughly so I only recommend that if you know what you are doing.

@galeee
Copy link

galeee commented Aug 3, 2023

can someone please provide the solution steps for someone who's not super technically proficient? 😅

@dirfas832
Copy link

can someone please provide the solution steps for someone who's not super technically proficient? 😅

Yes please - I would also appreciate this! 🙂

@postylem
Copy link
Author

postylem commented Aug 3, 2023

can someone please provide the solution steps for someone who's not super technically proficient? 😅

Yes please - I would also appreciate this! 🙂

Follow the instructions "To install the development version on github" in the zotfile readme.

@galeee
Copy link

galeee commented Aug 3, 2023

can someone please provide the solution steps for someone who's not super technically proficient? 😅

Yes please - I would also appreciate this! 🙂

Follow the instructions "To install the development version on github" in the zotfile readme.

awesome thank you!

@postylem
Copy link
Author

postylem commented Aug 3, 2023

thank you!

note if you're on linux or macOS you can just use the makefile to create the required file by simply running

make

after you extract the zip archive.

just be sure you run the command in the directory where the file named 'Makefile' is

@postylem postylem closed this as completed Aug 3, 2023
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

7 participants