summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/chet/chetref.bst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/chet/chetref.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/chet/chetref.bst15
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/bibtex/bst/chet/chetref.bst b/Master/texmf-dist/bibtex/bst/chet/chetref.bst
index 8a9099f1ee1..011a62b9a15 100644
--- a/Master/texmf-dist/bibtex/bst/chet/chetref.bst
+++ b/Master/texmf-dist/bibtex/bst/chet/chetref.bst
@@ -3,7 +3,7 @@
%% from source `test' on 2011/10/04.
%%
% chetref.bst
-% Copyright 2015 Andreas Stergiou
+% Copyright 2017 Andreas Stergiou
%
% This is is basically a copy of nb.bst, with minor stylistic changes and additions.
%
@@ -70,6 +70,7 @@ ENTRY
SLACcitation
title
type
+ primaryClass
url
volume
year
@@ -389,10 +390,18 @@ FUNCTION { arxivprefix }
s
}
-FUNCTION {format.eprint}
+FUNCTION {format.primaryClass}
+{
+ primaryClass empty$
+ { "" }
+ { " \![" primaryClass * "]" *}
+ if$
+}
+
+FUNCTION { format.eprint }
{ eprint empty$
{ "" }
- { "\normalsize{\texttt{\arxivref{" eprint formatarxiv * "}{" * eprint formatarxiv arxivprefix * "}}}\ignorespaces" * }
+ { "\normalsize{\texttt{\arxivref{" eprint formatarxiv * "}{" * eprint formatarxiv arxivprefix * format.primaryClass * "}}}\ignorespaces" * }
if$
}