BetterBibTeX
For those who use Zotero together with LaTeX, BetterBibTex is an essential plugin. Here, I attempted to create a formatting rule that produces convenient bibkeys for entries. It follows the syntax of:
{FirstAuthorLastName}{PublicationYear}_{AbbreviationOfJournal}
It attempts to fetch the abbreviation for journal from its database.
There are some custom rules based on journals I work with the most.
If there is no abbreviation in the database, it tries to create one.
For non-journal published entries, preprints etc., it just appends X
instead of {AbbreviationOfJournal}
. Same happens for abbreviations longer than 15 symbols.
Citation key format
auth+year+"_"+journal.len(relation="<",length=1)+"X " |
auth+year+"_"+journal.len(relation="<",length=15).alphanum.replace(find=OptExpress,replace=OE).replace(find=NatCommun,replace=NatComm).replace(find=NatPhotonics,replace=NatPhot).replace(find=OptLett,replace=OL).replace(find=Nanophotonics,replace=Nanophot).replace(find=APLPhotonics,replace=APLPhot).alphanum |
auth+year+"_"+journal.abbr.alphanum