summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-31 21:42:07 +0000
committerKarl Berry <karl@freefriends.org>2019-03-31 21:42:07 +0000
commit50c40ff41b83169b6fb7137aeba8baeeaeaa97ab (patch)
tree4304459fe6314e1ae800fb3d21a76add3ededa8f /Master/texmf-dist/bibtex
parent076a42c3933de3b196cb3725e67ab847d94c2d9a (diff)
bibexport (31mar19)
git-svn-id: svn://tug.org/texlive/trunk@50677 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex')
-rw-r--r--Master/texmf-dist/bibtex/bst/bibexport/expcites.bst19
-rw-r--r--Master/texmf-dist/bibtex/bst/bibexport/expkeys.bst2
-rw-r--r--Master/texmf-dist/bibtex/bst/bibexport/export.bst6
3 files changed, 20 insertions, 7 deletions
diff --git a/Master/texmf-dist/bibtex/bst/bibexport/expcites.bst b/Master/texmf-dist/bibtex/bst/bibexport/expcites.bst
index 7fde8107e34..11d2a83f0cc 100644
--- a/Master/texmf-dist/bibtex/bst/bibexport/expcites.bst
+++ b/Master/texmf-dist/bibtex/bst/bibexport/expcites.bst
@@ -6,7 +6,7 @@
%%
%% bibexport.dtx (with options: `expcites')
%%
-%% (c) 2016/03/02 Nicolas Markey <bibexport at markey dot fr>
+%% (c) 2019/03/30 Nicolas Markey <bibexport at markey dot fr>
%%
%% This work may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
@@ -65,7 +65,7 @@ FUNCTION{or}
}
INTEGERS{left.length right.length}
STRINGS{ s t }
-INTEGERS{bool}
+INTEGERS{bool cpt}
FUNCTION{space.complete}
{
'left.length :=
@@ -105,12 +105,13 @@ FUNCTION{init.cited.keys}
{
left.delim 's :=
#0 'bool :=
+ #0 'cpt :=
}
FUNCTION{write.cited.keys}
{
bool
{"" left.width space.complete swap$}
- {" cited keys: " left.width space.complete swap$
+ {" list of keys: " left.width space.complete swap$
#1 'bool :=}
if$
{duplicate$ text.length$ right.width >}
@@ -127,14 +128,14 @@ FUNCTION{write.cited.keys.last}
{
bool
{"" left.width space.complete swap$}
- {" cited keys: " left.width space.complete swap$
+ {" list of keys: " left.width space.complete swap$
#1 'bool :=}
if$
{duplicate$ duplicate$ text.length$ #1 substring$ "," = not}
{duplicate$ text.length$ #1 - #1 swap$ substring$}
while$
duplicate$ text.length$ #1 - #1 swap$ substring$
- right.delim *
+ right.delim * "," *
{duplicate$ "" = not}
{
right.width split.string 't :=
@@ -145,8 +146,15 @@ FUNCTION{write.cited.keys.last}
while$
pop$ pop$
}
+FUNCTION{write.nbkeys}
+{
+ " number of entries: " left.width space.complete
+ " " *
+ cpt int.to.str$ * "," * write$ newline$
+}
FUNCTION{cited.keys}
{
+ cpt #1 + 'cpt :=
s cite$ ", " * * 's :=
s text.length$ #4000 >
{s write.cited.keys 's :=}
@@ -156,6 +164,7 @@ FUNCTION{cited.keys}
FUNCTION{end.cited.keys}
{
s write.cited.keys.last
+ write.nbkeys
}
FUNCTION{article}{cited.keys}
FUNCTION{book}{cited.keys}
diff --git a/Master/texmf-dist/bibtex/bst/bibexport/expkeys.bst b/Master/texmf-dist/bibtex/bst/bibexport/expkeys.bst
index 9f7359cc775..52fc7f0472e 100644
--- a/Master/texmf-dist/bibtex/bst/bibexport/expkeys.bst
+++ b/Master/texmf-dist/bibtex/bst/bibexport/expkeys.bst
@@ -6,7 +6,7 @@
%%
%% bibexport.dtx (with options: `expkeys')
%%
-%% (c) 2016/03/02 Nicolas Markey <bibexport at markey dot fr>
+%% (c) 2019/03/30 Nicolas Markey <bibexport at markey dot fr>
%%
%% This work may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
diff --git a/Master/texmf-dist/bibtex/bst/bibexport/export.bst b/Master/texmf-dist/bibtex/bst/bibexport/export.bst
index ad9f3e49d34..5bf11481329 100644
--- a/Master/texmf-dist/bibtex/bst/bibexport/export.bst
+++ b/Master/texmf-dist/bibtex/bst/bibexport/export.bst
@@ -6,7 +6,7 @@
%%
%% bibexport.dtx (with options: `export')
%%
-%% (c) 2016/03/02 Nicolas Markey <bibexport at markey dot fr>
+%% (c) 2019/03/30 Nicolas Markey <bibexport at markey dot fr>
%%
%% This work may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
@@ -71,11 +71,13 @@ ENTRY{
acronym
annote
biburl
+ bibsource
doi
eid
isbn
issn
language
+ timestamp
url
urn
}{}{}
@@ -388,11 +390,13 @@ FUNCTION{entry.export.extra}
"acronym" acronym field.export
"annote" annote field.export
"biburl" biburl url.export
+ "bibsource" bibsource field.export
"doi" doi field.export
"eid" eid field.export
"isbn" isbn field.export
"issn" issn field.export
"language" language field.export
+ "timestamp" timestamp field.export
"url" url url.export
"urn" urn url.export
}