diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/directory/address-html.bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/directory/address-html.bst | 123 |
1 files changed, 101 insertions, 22 deletions
diff --git a/Master/texmf-dist/bibtex/bst/directory/address-html.bst b/Master/texmf-dist/bibtex/bst/directory/address-html.bst index b2b49f34659..9f341527179 100644 --- a/Master/texmf-dist/bibtex/bst/directory/address-html.bst +++ b/Master/texmf-dist/bibtex/bst/directory/address-html.bst @@ -1,7 +1,7 @@ %% address-html.bst -%% Copyright 1999-2000 Christophe Geuzaine +%% Copyright 1998-2003 Christophe Geuzaine <geuz@geuz.org> % -% Last Mod by Christophe on Sun Aug 27 21:10:54 2000 +% $Id: address-html.bst,v 1.8 2004/02/07 23:41:45 geuzaine Exp $ % % This program can be redistributed and/or modified under the terms % of the LaTeX Project Public License distributed from CTAN @@ -11,10 +11,6 @@ % BibTeX bibliography style `address-html.bst' % 'directory' database: all fields % -% Christophe.Geuzaine@advalvas.be -% -% Last modified 08/06/1999 -% % This is definitively a hack... % % The parts you may want to customize are labeled with "CUSTOM" @@ -32,21 +28,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 @@ -55,7 +66,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 @@ -103,8 +119,8 @@ FUNCTION {init.strings} " and " 'and.str := " aka " 'nickname.str := "" 'address.str := - "Phn: " 'phone.str := - "GSM: " 'cellular.str := + "Tel: " 'phone.str := + "Mobile: " 'cellular.str := "Fax: " 'fax.str := "" 'email.str := "" 'url.str := @@ -253,9 +269,9 @@ FUNCTION {presort} % ------------------------------------------------------------ FUNCTION {begin.bib} -{ "<HTML><!-- This is a file generated by the LaTeX directory package -->" write$ +{ "<HTML>" write$ newline$ - "<TITLE>Address Book (generated by the LaTeX directory package)</TITLE>" write$ + "<TITLE>Address Book</TITLE>" write$ newline$ } @@ -263,7 +279,7 @@ FUNCTION {end.bib} { newline$ "<p><hr><center><font size=-1>This address book was generated by <A HREF= " write$ quote$ "http://www.geuz.org/directory/" * quote$ * write$ - " >directory</A>, version 1.15</center></HTML>" write$ + " >directory</A></center></HTML>" write$ newline$ } @@ -404,7 +420,19 @@ FUNCTION {format.birthday} FUNCTION {format.address} { address empty$ - { "" } + { + street empty$ city empty$ state empty$ zip empty$ country empty$ + and and and and + { "" } + { address.str + street empty$ { "" * } { street " " * * } if$ + city empty$ { "" * } { city " " * * } if$ + state empty$ { "" * } { state " " * * } if$ + zip empty$ { "" * } { zip " " * * } if$ + country empty$ { "" * } { country * } if$ + } + if$ + } { address.str address * } if$ } @@ -454,13 +482,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 { private.str } { "" } if$ @@ -468,7 +501,19 @@ 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 + { "" } + { address.str + p.street empty$ { "" * } { p.street " " * * } 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$ + } { address.str p.address * } if$ } @@ -517,13 +562,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 { residence.str } { "" } if$ @@ -531,7 +581,19 @@ 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 + { "" } + { address.str + r.street empty$ { "" * } { r.street " " * * } 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$ + } { address.str r.address * } if$ } @@ -582,13 +644,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 { work.str } { "" } if$ @@ -610,7 +677,19 @@ 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 + { "" } + { address.str + w.street empty$ { "" * } { w.street " " * * } 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$ + } { address.str w.address * } if$ } |