     for own key of @config
       @config[key] = config[key] if config[key]
 
+    if @config.format.match(/^cite/)
+      @config.command = @config.format
+      @config.format = 'latex'
+
   getItems: -> Q.fcall(-> [])
 
   accept: (progressCallback) ->

      citations.push(citation)

    if Zotero.BetterBibTeX.CAYW.Formatter[@config.format]
      formatted = Zotero.BetterBibTeX.CAYW.Formatter[@config.format].call(null, citations)
    else
      formatted = []
      for citation in citations

Zotero.BetterBibTeX.CAYW =
  shortLocator:
    article: "art."
    chapter: "ch."
    subchapter: "subch."
    column: "col."
    figure: "fig."
    line: "l."
    note: "n."
    issue: "no."
    opus: "op."
    page: "p."
    paragraph: "para."
    subparagraph: "subpara."
    part: "pt."
    rule: "r."
    section: "sec."
    subsection: "subsec."
    Section: "Sec."
    'sub verbo': "sv."
    schedule: "sch."
    title: "tit."
    verse: "vrs."
    volume: "vol."

class Zotero.BetterBibTeX.CAYW.Document
  constructor: ->
