summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/directory/address.bst
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/directory/address.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/directory/address.bst115
1 files changed, 100 insertions, 15 deletions
diff --git a/Master/texmf-dist/bibtex/bst/directory/address.bst b/Master/texmf-dist/bibtex/bst/directory/address.bst
index 8f692899926..4a7cface0d7 100644
--- a/Master/texmf-dist/bibtex/bst/directory/address.bst
+++ b/Master/texmf-dist/bibtex/bst/directory/address.bst
@@ -1,7 +1,7 @@
%% address.bst
-%% Copyright 1999-2000 Christophe Geuzaine
+%% Copyright 1998-2003 Christophe Geuzaine <geuz@geuz.org>
%
-% Last Mod by Christophe on Sun Aug 27 21:07:56 2000
+% $Id: address.bst,v 1.7 2003/09/16 07:18:07 geuzaine Exp $
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License distributed from CTAN
@@ -11,8 +11,6 @@
% BibTeX bibliography style `address.bst'
% 'directory' database: all fields
%
-% Christophe.Geuzaine@advalvas.be
-%
% The parts you may want to customize are labeled with "CUSTOM"
%
@@ -28,21 +26,36 @@ ENTRY
nickname
birthday
birthyear
- address
+ address % if empty, use street, city, ...
+ street
+ city
+ state
+ zip
+ country
phone
cellular
fax
email
url
account
- p.address
+ p.address % if empty, use p.street, p.city, ...
+ p.street
+ p.city
+ p.state
+ p.zip
+ p.country
p.phone
p.cellular
p.fax
p.email
p.url
p.account
- r.address
+ r.address % if empty, use r.street, r.city, ...
+ r.street
+ r.city
+ r.state
+ r.zip
+ r.country
r.phone
r.cellular
r.fax
@@ -51,7 +64,12 @@ ENTRY
r.account
w.title
w.name
- w.address
+ w.address % if empty, use w.street, w.city, ...
+ w.street
+ w.city
+ w.state
+ w.zip
+ w.country
w.phone
w.cellular
w.fax
@@ -354,7 +372,20 @@ FUNCTION {format.birthday}
FUNCTION {format.address}
{ address empty$
- { "" }
+ {
+ street empty$ city empty$ state empty$ zip empty$ country empty$
+ and and and and
+ { "" }
+ { "\diradda{"
+ street empty$ { "" * } { street "\dirblock " * * } if$
+ city empty$ { "" * } { city " " * * } if$
+ state empty$ { "" * } { state " " * * } if$
+ zip empty$ { "" * } { zip " " * * } if$
+ country empty$ { "" * } { country * } if$
+ "}" *
+ }
+ if$
+ }
{ "\diradda{" address "}" * * }
if$
}
@@ -404,13 +435,18 @@ FUNCTION {format.url}
FUNCTION {format.p.flag}
{ p.address empty$ not
+ p.street empty$ not
+ p.city empty$ not
+ p.state empty$ not
+ p.zip empty$ not
+ p.country empty$ not
p.phone empty$ not
p.cellular empty$ not
p.fax empty$ not
p.email empty$ not
p.url empty$ not
p.account empty$ not
- or or or or or or
+ or or or or or or or or or or or
{ "\dirprif" }
{ "" }
if$
@@ -418,7 +454,20 @@ FUNCTION {format.p.flag}
FUNCTION {format.p.address}
{ p.address empty$
- { "" }
+ {
+ p.street empty$ p.city empty$ p.state empty$ p.zip empty$ p.country empty$
+ and and and and
+ { "" }
+ { "\dirpadda{"
+ p.street empty$ { "" * } { p.street "\dirblock " * * } if$
+ p.city empty$ { "" * } { p.city " " * * } if$
+ p.state empty$ { "" * } { p.state " " * * } if$
+ p.zip empty$ { "" * } { p.zip " " * * } if$
+ p.country empty$ { "" * } { p.country * } if$
+ "}" *
+ }
+ if$
+ }
{ "\dirpadda{" p.address "}" * * }
if$
}
@@ -467,13 +516,18 @@ FUNCTION {format.p.account}
FUNCTION {format.r.flag}
{ r.address empty$ not
+ r.street empty$ not
+ r.city empty$ not
+ r.state empty$ not
+ r.zip empty$ not
+ r.country empty$ not
r.phone empty$ not
r.cellular empty$ not
r.fax empty$ not
r.email empty$ not
r.url empty$ not
r.account empty$ not
- or or or or or or
+ or or or or or or or or or or or
{ "\dirresf" }
{ "" }
if$
@@ -481,7 +535,20 @@ FUNCTION {format.r.flag}
FUNCTION {format.r.address}
{ r.address empty$
- { "" }
+ {
+ r.street empty$ r.city empty$ r.state empty$ r.zip empty$ r.country empty$
+ and and and and
+ { "" }
+ { "\dirpadda{"
+ r.street empty$ { "" * } { r.street "\dirblock " * * } if$
+ r.city empty$ { "" * } { r.city " " * * } if$
+ r.state empty$ { "" * } { r.state " " * * } if$
+ r.zip empty$ { "" * } { r.zip " " * * } if$
+ r.country empty$ { "" * } { r.country * } if$
+ "}" *
+ }
+ if$
+ }
{ "\dirradda{" r.address "}" * * }
if$
}
@@ -532,13 +599,18 @@ FUNCTION {format.w.flag}
{ w.title empty$ not
w.name empty$ not
w.address empty$ not
+ w.street empty$ not
+ w.city empty$ not
+ w.state empty$ not
+ w.zip empty$ not
+ w.country empty$ not
w.phone empty$ not
w.cellular empty$ not
w.fax empty$ not
w.email empty$ not
w.url empty$ not
w.account empty$ not
- or or or or or or or or
+ or or or or or or or or or or or or or
{ "\dirworf" }
{ "" }
if$
@@ -560,7 +632,20 @@ FUNCTION {format.w.name}
FUNCTION {format.w.address}
{ w.address empty$
- { "" }
+ {
+ w.street empty$ w.city empty$ w.state empty$ w.zip empty$ w.country empty$
+ and and and and
+ { "" }
+ { "\dirpadda{"
+ w.street empty$ { "" * } { w.street "\dirblock " * * } if$
+ w.city empty$ { "" * } { w.city " " * * } if$
+ w.state empty$ { "" * } { w.state " " * * } if$
+ w.zip empty$ { "" * } { w.zip " " * * } if$
+ w.country empty$ { "" * } { w.country * } if$
+ "}" *
+ }
+ if$
+ }
{ "\dirwadda{" w.address "}" * * }
if$
}