jlegewie / zotfile

Zotero plugin to manage your attachments: automatically rename, move, and attach PDFs (or other files) to Zotero items, sync PDFs from your Zotero library to your (mobile) PDF reader (e.g. an iPad, Android tablet, etc.), and extract PDF annotations.
4.04k stars 280 forks source link

Add a common wildcard for book titles (separate from {%t} for the book section) #558

Open spiritually-soup opened 3 years ago

spiritually-soup commented 3 years ago

Note: I have seen issue 128

I often only save a specific chapter/chapters from a book for space reasons, and also deal with book sections that are a chapter in an edited book. I can't be the only one who would like to be able to see the book title in addition to the book section.

I tried %w without success, and I know I could go fiddle with the user-defined wildcards or add the book title into the 'volume' field as a workaround.

But surely there are enough people who would make use of an extra common wildcard for book titles, maybe something like %B ? It's an easy recall cue, like when people include the journal fields in their naming rules.

daaaaaaaaaniel commented 2 years ago

I've been using %B as my wildcard for Book Title for some time now. Here is the JSON you can set as your extensions.zotfile.wildcards.user:

{"B": "bookTitle"}