Citing CGAL or other software using acmsiggraph.bst bibtex style

Alec Jacobson

January 14, 2013

weblog/

CGAL suggests that you use the following bibtex record:

@misc{cgal,
  title = "\textsc{Cgal}, {C}omputational {G}eometry {A}lgorithms {L}ibrary",
  note  = "http://www.cgal.org"
}

But the acmsiggraph.bst style creates citations that look like:

[cga ]

To fix this I use a slightly different bibtex record:

@misc{cgal,
  key = {CGAL},
  title = "\textsc{Cgal}, {C}omputational {G}eometry {A}lgorithms {L}ibrary",
  note  = "http://www.cgal.org"
}

And changed the lines in acmsiggraph.bst that look like:

FUNCTION {author.key.label}
{ author empty$
    { key empty$
        { cite$ #1 #3 substring$ }
        { key #3 text.prefix$ }
      if$
    }
    { author format.lab.names }
  if$
}

to


    FUNCTION {author.key.label}
    { author empty$
        { key empty$
            { cite$ #1 #3 substring$ }
            % Alec: use full key
            { key }
          if$
        }
        { author format.lab.names }
      if$
    }
FUNCTION {author.key.label}
{ key empty$
  { author empty$
    { cite$ #1 #3 substring$ }
    { author format.lab.names }
      if$
  }
  % Alec: use full key
  { key }
  if$
}

and the lines that look like:

  year empty$
  {
    "\protect\citename{" swap$ * " }" *
    "" * 'label :=
  }

to

  year empty$
  {
    % Alec: rm space after name if no year
    "\protect\citename{" swap$ * "}" *
    "" * 'label :=
  }

Now my citation looks like:

[CGAL]