wileyyugioh / zotmoov

Zotero plugin to automatically move attachments and link them
GNU General Public License v3.0
468 stars 6 forks source link

Request: Additional option for remaining the Attachment Title (instead of directly change it to the same as filename?) #39

Closed 1qzhworld closed 2 months ago

1qzhworld commented 2 months ago

First, thank you for your contribution to such a powerful tool. It helps me a lot in moving to Zotero 7. Currently, it works quite well for me and behaves just the same as the ZotFile functions. However, I found that the Zotero 7 developers recommended distinguishing the Attachment Title and Filename. I also believe that it would be nice to show different titles for the attachment, which can provide more information.

However, currently, it seems that when moving the attachment with ZotMoov, the attachment name is also modified. This is a nice feature that helps people move to Zotero 7 (indeed, I also recommended this feature to friends). Nevertheless, is it possible to leave an option to keep the attachment name unchanged (such as "PDF" or "EPUB")?

Last but not least, I found that when an attachment becomes a link and is renamed with ZotMoov, the attachment title did not change (I use citationKey as the renaming rule, and after changing the citationKey and using move selected to directory with a right-click, the attachment title does not change). The two questions seem related, and I hope they can be solved. Thanks.

Feel free to ask if you need further clarification!

Best regards

wileyyugioh commented 2 months ago

However, currently, it seems that when moving the attachment with ZotMoov, the attachment name is also modified. This is a nice feature that helps people move to Zotero 7 (indeed, I also recommended this feature to friends). Nevertheless, is it possible to leave an option to keep the attachment name unchanged (such as "PDF" or "EPUB")?

Funnily enough it used to be this way that the attachment name remained PDF or EPUB, but enough people wanted the old functionality I added it in. I will add in a hidden preference in the future to make it so the file title is unchanged.

Last but not least, I found that when an attachment becomes a link and is renamed with ZotMoov, the attachment title did not change (I use citationKey as the renaming rule, and after changing the citationKey and using move selected to directory with a right-click, the attachment title does not change). The two questions seem related, and I hope they can be solved.

ZotMoov doesn't do the file renaming, but rather lets Zotero 7 do the renaming. The wildcards are for defining the sub-directories to put the files in. If you want new files to be automatically renamed, enable Automatically rename locally added files in the Zotero general settings. For existing files you need to right click them and Rename File from Parent Metadata.

1qzhworld commented 2 months ago

Get it. Thank you for you support!

wileyyugioh commented 2 months ago

1.1.8 now has the hidden preference extensions.zotmoov.rename_title to enable/disable custom title renaming over the Zotero default