elsarticle-num.bst
格式调整
输出文章 不想用可以注释掉
FUNCTION {article} { output.bibitem format.authors "author" output.check title empty$ 'skip$ 'setup.inlinelink if$ format.title "title" output.check crossref missing$ { format.journal "journal" output.check before.all 'output.state := format.vol.num.pages output } { format.article.crossref output.nonnull format.pages output } if$ format.journal.pages format.note output pages empty$ { format.date "year" output.check } 'skip$ if$ fin.entry write.url }
|
每一个format都对应一个函数,比如 format.journal
journal 替换为简写的形式 FUNCTION {format.journal} { journal empty$ { "" } { journal "Journal of Nuclear Materials" = { "J. Nucl. Mater." } { journal "Materials & Design" = { "MATER DESIGN." } { journal "Scripta Materialia" = { "Scripta Mater." } { journal "Physical Review B" = { "Phys. Rev. B " } { journal } if$ } if$ } if$ } if$ } if$ }
|
format.vol.num.pages 输出卷 页码 等
FUNCTION {format.vol.num.pages} { " " volume empty$ { pop$ "" } { volume * } //vol if$ number empty$ 'skip$ { volume empty$ { "there's a number but no volume in " cite$ * warning$ } 'skip$ if$ } if$ }
|