summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/bibtex/bibexport/bibexport.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/bibtex/bibexport/bibexport.dtx')
-rw-r--r--Master/texmf-dist/source/bibtex/bibexport/bibexport.dtx33
1 files changed, 23 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/bibtex/bibexport/bibexport.dtx b/Master/texmf-dist/source/bibtex/bibexport/bibexport.dtx
index a1e938b36d7..8a29a06b750 100644
--- a/Master/texmf-dist/source/bibtex/bibexport/bibexport.dtx
+++ b/Master/texmf-dist/source/bibtex/bibexport/bibexport.dtx
@@ -16,16 +16,16 @@
%%%\AtBeginDocument{\CodelineIndex\EnableCrossrefs}
%%%\AtEndDocument{\PrintIndex}
\begin{document}
- \def\docdate{2011/11/28}
- \def\fileversion{3.01}
+ \def\docdate{2016/03/02}
+ \def\fileversion{3.02}
%%% Please also change date at the beginning of the script %%%
-%%%\def\filedate{2011/11/28}
+%%% (VERSION and VDATE below) %%%
\DocInput{bibexport.dtx}
\end{document}
%</driver>
%
% \fi
-% \CheckSum{45}
+% \CheckSum{41}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -188,8 +188,7 @@ function checkversion()
-----------"
grep -q $VDATE `kpsewhich expkeys.bst` ||
echo "-----------
---Warning-- the version of the .bst files does not match with that of this
-script.
+--Warning-- the version of the .bst files does not match with that of this script.
-----------"
}
%</script>
@@ -289,9 +288,9 @@ fi
% \begin{macrocode}
%<*script>
## Version number
-VERSION="3.01";
+VERSION="3.02";
## Release date
-VDATE="2011/11/28";
+VDATE="2016/03/02";
# ALL is a flag set to 1 when '-a' is given
ALL="0";
@@ -1016,12 +1015,16 @@ ENTRY{
year
% Special (but still somewhat standard) fields (natbib, germbib, ...):
abstract
+ acronym
+ annote
+ biburl
doi
eid
isbn
issn
language
url
+ urn
}{}{}
%</export>
% \end{macrocode}
@@ -1061,7 +1064,8 @@ FUNCTION{or}
% \subsubsection{Splitting strings}
%
% We design functions for splitting strings, so that the final
-% \ext{bib} file will be cleanly indented.
+% \ext{bib} file will be cleanly indented. This is also crucial
+% to avoid long URLs.
% \begin{macro}{space.complete}
% \begin{macro}{split.string}
% \begin{macro}{split.url}
@@ -1113,7 +1117,12 @@ FUNCTION{split.url}
{
's :=
right.length
- {duplicate$ duplicate$ s swap$ #1 substring$ "/" = not and}
+ {duplicate$ duplicate$ s swap$ #1 substring$
+ duplicate$ "/" = swap$
+ duplicate$ "&" = swap$
+ duplicate$ "?" = swap$
+ duplicate$ "-" = swap$
+ ":" = or or or or not and}
{#1 -}
while$
duplicate$ #2 <
@@ -1402,12 +1411,16 @@ FUNCTION{entry.export.standard}
FUNCTION{entry.export.extra}
{
"abstract" abstract field.export
+ "acronym" acronym field.export
+ "annote" annote field.export
+ "biburl" biburl url.export
"doi" doi field.export
"eid" eid field.export
"isbn" isbn field.export
"issn" issn field.export
"language" language field.export
"url" url url.export
+ "urn" urn url.export
}
FUNCTION{entry.export}
{