Monday, June 10, 2019

MiKTeX add custom bibtex style sty

SEE ALSO https://win-dmatenine.blogspot.com/search?q=bibtex

You should create a LocalTeXMF root directory, say in your personal directory. Whatever the exact name you give it, you have to declare it via MiKTeX OptionsRoots tab, Add button. Everything you'll put in this directory must respect the TeX Directory Structure (TDS).
In this root, copy the .bst file as \LocalTeXMF\bibtex\bst\elsarticle\elsarticle-num-ident.bst, then refresh the FNDB. That's all.

to refresh the FNDB
in DOS prompt (--admin only if system-wide effect needed):
EDIT: "--admin" option was necessary for bibtex4word to acknowledge new style
> initexmf --admin --update-fndb