zoteroRoam
Report an issueRoadmap
v0.5
v0.5
  • Introduction
  • โ–ถ๏ธDemo by Cortex Futura
  • ๐Ÿ”„Updating from older versions
  • ๐Ÿ†˜Help/Getting Support
  • ๐Ÿ Getting Started
    • 1.1 Pre-requisites
    • 1.2 Installation in {{roam/js}}
    • 1.3 Basic Setup
  • ๐ŸงชUsing the extension
    • 2a. The search panel
    • 2b. In-text references
  • ๐Ÿ› ๏ธCustomizations
    • 3.1 What's Available
    • 3.2 Constructing data requests
    • 3.3 Creating your own formatting functions
      • Nesting metadata
      • Code snippets
    • 3.4 Creating custom shortcuts
    • 3.5 Other Settings
      • autocomplete
      • funcmap
      • typemap
      • Copying an item's reference
    • Extension defaults
  • About the Zotero API
    • Zotero API Docs (v3)
  • Support the project
    • Roadmap/Future Development
    • Buy me a (virtual) coffee
    • GitHub Sponsorship
Powered by GitBook
On this page
  • override_quickcopy
  • always_copy
  • quick_copy_format

Was this helpful?

  1. Customizations
  2. 3.5 Other Settings

Copying an item's reference

override_quickcopy, always_copy, quick_copy_format

override_quickcopy

Setting name

Possible values

override_quickcopy

altKey or ctrlKey or metaKey or shiftKey

If the specified key is pressed when selecting an item from Search results, the extension will always render the item's data - even if Quick Copy is enabled.

You can use this to occasionally override Quick Copy.

zoteroRoam_settings = {
    // Your dataRequests object should be here :
    dataRequests: {
        apikey: 'XXXXXXXXXXXXXXXX',
        dataURI: 'users/1234567/items',
        params: 'limit=100'
    },
    
    override_quickcopy: 'shiftKey'
}

always_copy

Setting name

Possible values

always_copy

true or false (default)

zoteroRoam_settings = {
    // Your dataRequests object should be here :
    dataRequests: {
        apikey: 'XXXXXXXXXXXXXXXX',
        dataURI: 'users/1234567/items',
        params: 'limit=100'
    },
    
    always_copy: true
}

If set to true, the extension will always copy the selected item's reference to the clipboard - even if Quick Copy is disabled. The format used to copy the reference will be the one specified by quick_copy_format.

quick_copy_format

Setting name

Possible values

quick_copy_format

One of : citekey (default) tag pageref citation

Here are the different outputs available :

  • citekey (default) : @eghbalRoadsBridgesUnseen2016

  • tag : #[[@eghbalRoadsBridgesUnseen2016]]

  • pageref : [[@eghbalRoadsBridgesUnseen2016]]

  • citation : [Eghbal (2016)]([[@eghbalRoadsBridgesUnseen2016]])

zoteroRoam_settings = {
    // Your dataRequests object should be here :
    dataRequests: {
        apikey: 'XXXXXXXXXXXXXXXX',
        dataURI: 'users/1234567/items',
        params: 'limit=100'
    },
    
    quick_copy_format: 'citation'
}

Last updated 4 years ago

Was this helpful?

๐Ÿ› ๏ธ