From 7d0376bd4f9d9b9d772eb63aad7e375fb60d40b4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 3 Mar 2016 22:46:35 +0000 Subject: bibexport (3mar16) git-svn-id: svn://tug.org/texlive/trunk@39928 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/bibtex/bibexport/bibexport.dtx | 33 +++++++++++++++------- .../source/bibtex/bibexport/bibexport.ins | 6 ++-- 2 files changed, 26 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/source/bibtex') 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} % % % \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. -----------" } % @@ -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 }{}{} % % \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} { diff --git a/Master/texmf-dist/source/bibtex/bibexport/bibexport.ins b/Master/texmf-dist/source/bibtex/bibexport/bibexport.ins index 79ab290e663..a29005d0d10 100644 --- a/Master/texmf-dist/source/bibtex/bibexport/bibexport.ins +++ b/Master/texmf-dist/source/bibtex/bibexport/bibexport.ins @@ -1,6 +1,6 @@ %\NeedsTeXFormat{LaTeX2e}[1996/12/01] \input docstrip -\def\filedate{2011/11/28} +\def\filedate{2016/03/02} {\catcode`\#=12 \gdef\DoubleSharp{##} @@ -9,7 +9,7 @@ \let\MetaPrefix\DoubleSharp \preamble -(c) \filedate Nicolas Markey +(c) \filedate Nicolas Markey This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license @@ -42,7 +42,7 @@ The Current Maintainer of this work is Nicolas Markey. \let\MetaPrefix\DoubleperCent \preamble -(c) 2011/11/28 Nicolas Markey +(c) \filedate Nicolas Markey This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license -- cgit v1.2.3