From de3f0b6a3f872b5de7a6efb9d84a368e5c059f61 Mon Sep 17 00:00:00 2001 From: "Dr. Clea F. Rees" Date: Sun, 1 Mar 2009 20:35:54 +0000 Subject: datatool new version git-svn-id: svn://tug.org/texlive/trunk@12277 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/bibtex/bst/datatool/databib.bst | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/bibtex/bst/datatool') diff --git a/Master/texmf-dist/bibtex/bst/datatool/databib.bst b/Master/texmf-dist/bibtex/bst/datatool/databib.bst index c114335a843..7999f9f6c08 100644 --- a/Master/texmf-dist/bibtex/bst/datatool/databib.bst +++ b/Master/texmf-dist/bibtex/bst/datatool/databib.bst @@ -7,7 +7,7 @@ %% datatool.dtx (with options: `databib.bst') %% %% datatool.dtx -%% Copyright 2007 Nicola Talbot +%% Copyright 2009 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -52,6 +52,7 @@ ENTRY pubmed url abstract + file } {} { label } @@ -378,6 +379,16 @@ FUNCTION {format.url} if$ } +FUNCTION {format.file} +{ file empty$ + { "" } + { + file + "\DTLnewbibitem {File}" swap$ group * + } + if$ +} + FUNCTION {format.address} { address empty$ { "" } @@ -758,6 +769,7 @@ FUNCTION {article} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -799,6 +811,7 @@ FUNCTION {book} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -821,6 +834,7 @@ FUNCTION {booklet} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -863,6 +877,7 @@ FUNCTION {inbook} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -894,6 +909,7 @@ FUNCTION {incollection} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -933,6 +949,7 @@ FUNCTION {inproceedings} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -977,6 +994,7 @@ FUNCTION {manual} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -1001,6 +1019,7 @@ FUNCTION {mastersthesis} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -1022,6 +1041,7 @@ FUNCTION {misc} format.pubmed output format.url output format.abstract output + format.file output fin.entry empty.misc.check } @@ -1047,6 +1067,7 @@ FUNCTION {phdthesis} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -1090,6 +1111,7 @@ FUNCTION {proceedings} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -1113,6 +1135,7 @@ FUNCTION {techreport} format.pubmed output format.url output format.abstract output + format.file output fin.entry } @@ -1131,6 +1154,7 @@ FUNCTION {unpublished} format.pubmed output format.url output format.abstract output + format.file output format.date output fin.entry } -- cgit v1.2.3