X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=formats%2Fmedium.tcl;h=81702148d4f17baa6cfd3ee97176a3f8d7621fb8;hb=be9d3bac0ca3bc71b4b67181dd02fa094fdfba05;hp=6904a2626d0506562fe375b4029527cdf8a3e5eb;hpb=29933c91f94e4c2b255006f911b9ad44a5409a0b;p=ir-tcl-moved-to-github.git diff --git a/formats/medium.tcl b/formats/medium.tcl index 6904a26..8170214 100644 --- a/formats/medium.tcl +++ b/formats/medium.tcl @@ -4,7 +4,13 @@ # Sebastian Hammer, Adam Dickmeiss # # $Log: medium.tcl,v $ -# Revision 1.9 1995-10-17 14:18:10 adam +# Revision 1.11 1996-01-23 15:24:23 adam +# Wrore more comments. +# +# Revision 1.10 1996/01/11 09:31:05 quinn +# Small. +# +# Revision 1.9 1995/10/17 14:18:10 adam # Minor changes in presentation formats. # # Revision 1.8 1995/10/17 10:58:09 adam @@ -51,6 +57,13 @@ proc display-grs-medium {w r i} { } } +# Procedure display-medium {sno no w hflag} +# sno result set number (integer) +# no record position (integer) +# w text widget in which the record should be displayed +# hflag header flag. If true a header showing the record position +# should be displayed. +# This procedure attempts to display records in a medium-sized format. proc display-medium {sno no w hflag} { if {$hflag} { insertWithTags $w " $no " marc-head @@ -180,4 +193,12 @@ proc display-medium {sno no w hflag} { } $w insert end "\n" } + set i [z39.$sno getMarc $no field 710 * a] + if {"x$i" != "x"} { + insertWithTags $w "Corporate name " marc-pref + foreach x $i { + insertWithTags $w $x marc-text + } + $w insert end "\n" + } }