User: jfaber Date: 2011/11/14 10:44 AM
Modified: / iopart-num-edit.bst
Log: Fix journal vs. preprint formatting in reference list see the file header for the changes from iopart-num.bst as available online
File Changes:
Directory: / ============
File [modified]: iopart-num-edit.bst Delta lines: +21 -4 =================================================================== --- iopart-num-edit.bst 2011-11-14 16:40:05 UTC (rev 227) +++ iopart-num-edit.bst 2011-11-14 16:44:55 UTC (rev 228) @@ -74,7 +74,16 @@ % The order in the reference list is that by which the works were originally % cited in the text, or that in the database. %--------------------------------------------------------------------- - + % + % Hacked so that titles are printed for Journal articles and so that + % we print eprint information only if the journal field is empty + % + % The latter is accomplished by the following commands: + % journal empty$ + % { format.eprint output } + % { skip$ } + % if$ + % ENTRY { address archive @@ -1303,7 +1312,7 @@ %mc emphasize %mc "journal" output.check %mc add.blank - journal + journal "journal" bibinfo.check section field.or.null strip.trailing trim emphasize @@ -1313,6 +1322,7 @@ { skip$ } { section * add.blank} if$ + %mc end format.vol.num.pages output } @@ -1322,8 +1332,15 @@ if$ format.issn output format.note output -% format.eprint output +%% format.eprint output format.url output + + journal empty$ + { format.eprint output } + { skip$ } + if$ + + fin.entry } FUNCTION {book} @@ -1354,7 +1371,7 @@ %% format.edition output format.isbn output format.note output - format.eprint output +%% format.eprint output format.url output fin.entry }
commits@lists.einsteintoolkit.org