bibstuff icon indicating copy to clipboard operation
bibstuff copied to clipboard

"and" and "&" are synonyms

Open yannickwurm opened this issue 11 years ago • 2 comments

yet jabbrev doesn't consider this

yannickwurm avatar Oct 01 '13 11:10 yannickwurm

I'm sorry - would you mind posting a very small example of code you think should work but doesn't? It wasn't immediately obvious to me what you mean.

matthew-brett avatar Oct 01 '13 18:10 matthew-brett

Sorry Matthew, I should have been more clear.

suppose the "long version" of a journal name in journal_abbreviations.txt contains "and",
and suppose your .bib file contains the same long journal name but with "and" replaced by "&",

then jabbrv will fail to replace the long journal name by the short journal name.

Instead Jabbrv's pattern matching should be a bit smarter - and thus aware that "and" and "&" are synonyms,

Cheers, yannick

yannickwurm avatar Oct 02 '13 10:10 yannickwurm