Skip to content

loneguardian/zotero-zoterzero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZoterZero for APA citation

A VBA macro that modifies Zotero's APA citation into multiple variants (notably the author-only cites).

Original thread on Zotero forum

Usage

  • This VBA macro works only on single APA citation(s)
  1. When you add/edit citations using the Zotero window, click on the citation and choose the location property

    Alt text

  2. Enter the following string into the location field according to the desired modification

    pattern modification
    a author
    a (y) author (YYYY)
    a y author YYYY
    y YYYY

    Reminder - DO NOT check the Omit author option

    Alt text

  3. Refresh the document's Zotero references if needed. Every Zotero refresh will revert the modifications done by the VBA macro (next step)

  4. Use the "Process Zotero Citations" macro shortcut to apply the citation modifications

Installation

Option 1: Download the zoterzero.dotm file from Releases

  • Download the zoterzero.dotm file from the latest release. It contains all the VBA modules and macro shortcut compiled into one file
  • Place the zoterzero.dotm file in the %AppData%\Roaming\Microsoft\Word\STARTUP for the VBA modules to be loaded automatically

Option 2: Manually create your own zoterzero.dotm file

  • Create a new Word document
  • Enter VBA editor through Developer tab or shortcut (Default: Alt + F11)
  • Import the following modules
  • Compile the VBA code using Debug > Compile Project, refer to the instructions from the VBA-JSON repo to resolve any missing reference(s)
  • Create a shortcut to run the ZoterZero() macro/function
  • Save the Word document as a Word Macro-Enabled Template (*.dotm) file. Name the document zoterzero.dotm
  • Place the zoterzero.dotm file in %AppData%\Roaming\Microsoft\Word\STARTUP for it to be loaded automatically for all documents

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages