In my current setup, I use amsrefs and my citation data is in a bibtex file. So, in my code, I use
I would like to define a custom bib class using bibspec as in "How do I use amsrefs to enter editors’ names in the standard format?" Where should I put this code? I put in my preble and in the bib file, and it did not work.