Skip to content
ka1 edited this page Mar 13, 2013 · 1 revision
  • Export an XML File from your Zotero Library with all the citations you want to use, using the exporter (MODS mod by Kai) in this package.
  • Cite using one of the two methods:
    • To cite a reference, select the reference in Zotero and push CMD-SHIFT-C (quick copy). Make sure you selected the exporter (BibTex CiteKey-Only Exporter, modified by Kai) in this package as the quick copy exporter.
      • Paste the quickcopied string into your indesign text where you want the reference to appear. It should look something like \cite{einstein1905}. If you have assigned the grep style as mentioned above, it should appear in the character style that was assigned to the grep style.
    • Alternatively, search the reference in the XML file and copy the citekey string into the clipboard.
      • Paste the copied citekey into your indesign and enclose the citekey by the \cite{citekey} syntax. It should then also look something like \cite{einstein1905}. If you have assigned the grep style as mentioned above, it should appear in the character style that was assigned to the grep style.
  • Continue to add your citations until you want to create a reference list. To do so, run the script (make sure you installed in to the scripts directory), confirm the settings dialog and select the XML file you exported from zotero.
  • All your \cite{...} references will be replaced by a reference containing author and year. This text will be (invisibly) enclosed by XML tags. Also, a hyperlink will be created to the item in the reference list. The reference list will be created at the end of the document or in the textframe that you labeled references (this textframe is automatically created if it does not exist).
  • Continue to add citations. If you want to change existing citations, do not edit the text itself, but change the citekey attribute in the Indesign document structure ( View / Structure / Show Structure ).
  • You can run the script over and over again. It will always replace the reference list by a updated reference list. It will parse new \cite{...} citations and also rewrite all parsed references (updating the author and year if you have changed either the citekey or the content of the Zotero XML file).
  • See the character and paragraph styles that the script created. You can edit them to change the appearance of the reference list and of the references. The styles will not be overwritten by the script.
  • The script will remember your settings (and your last XML file). The setting are saved in the Indesign document structure in the attributes of an element called zoteroImportSettings.
  • Options: Use \cite{...} to have a full author and year reference. Use \citer{...} to not enclose the reference in brackets. Use \citea{...} to cite author only and \citey{...} to cite year only. Use \citet{...} to cite the title.

Clone this wiki locally