wshanks / Zutilo

Zotero plugin providing some additional editing features
Other
1.47k stars 71 forks source link

Why no more than 2 alternative copies? #231

Closed tobiasBora closed 2 years ago

tobiasBora commented 2 years ago

I would like to have many different copies: copy the key of the bibtex entry, copy the bibtex, copy the biblatex, copy the bibjson (I need all of these depending on what I'm doing) and even sometimes copy the text version to copy/paste in email/word/libre office.

Unfortunately, as far as I can see there are only 3 quick copies available (quick copy, alt 1, alt2). Would it be possible to add more quick copies options? In the meantime is there a workaround?

wshanks commented 2 years ago

Sorry, this is something that needs to be documented better (i.e. at all). You can change the number of quick copy items by changing the extensions.zutilo.copyItems_alt_total preference in the config editor (Zotero Preferences -> Advanced -> Config Editor; accept the risk; search for copyItems_alt_total).

The only documentation for this right now is that I mentioned it in this comment and https://github.com/wshanks/Zutilo/pull/146.

qqobb commented 2 years ago

The only documentation for this right now is that I mentioned it in this comment and #146.

No, #146 also updated the command reference:

QuickCopy items: Copy selected items to the clipboard using the "Default output format" specified in the "Export" section of Zotero's preferences. It is also possible to set alternative quick copy items. By default, two such items are enabled, labeled "alt 1" and "alt 2". Additional items can be enabled by changing the extensions.zutilo.copyItems_alt_total preference in the config editor. These items will copy to the clipboard using alternative export translators. To select the translators used by these functions, the corresponding preferences extensions.zutilo.quickcopy_alt1extensions.zutilo.quickcopy_alt2, etc. must be set in the config editor. Each preference should be set to whatever appears in the config editor for the export.quickCopy.setting preference when the desired translator is set as the "Default output format" in Zotero's preferences. The config editor can be opened from the Advanced pane of Zotero's preferences window.

tobiasBora commented 2 years ago

Great, thanks a lot, I'll close this! Btw, is there any way to rename the entries not to get confused with many "Alt copy N"?

qqobb commented 2 years ago

Btw, is there any way to rename the entries not to get confused with many "Alt copy N"?

Not currently, but it's planned, see #121. For now, I'd recommend setting up keyboard shortcuts that you can remember.

wshanks commented 2 years ago

@qqobb Thanks! I glossed over that when checking #146 for alt_total.