From: Adam Dickmeiss Date: Wed, 14 Jun 1995 12:16:42 +0000 (+0000) Subject: Minor presentation format changes. X-Git-Tag: IRTCL.1.4~274 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=006a42c7b0c5ef29e970b0b983e8975e3993460c;p=ir-tcl-moved-to-github.git Minor presentation format changes. --- diff --git a/formats/medium.tcl b/formats/medium.tcl index 0ada90a..075eb7f 100644 --- a/formats/medium.tcl +++ b/formats/medium.tcl @@ -4,7 +4,10 @@ # Sebastian Hammer, Adam Dickmeiss # # $Log: medium.tcl,v $ -# Revision 1.3 1995-06-13 14:39:06 adam +# Revision 1.4 1995-06-14 12:16:42 adam +# Minor presentation format changes. +# +# Revision 1.3 1995/06/13 14:39:06 adam # Fix: if {$var != ""} doesn't work if var is a large numerical! # Highlight when line format is used. # @@ -22,12 +25,11 @@ proc display-medium {sno no w hflag} { } set i [z39.$sno getMarc $no field 245 * a] if {"x$i" != "x"} { - set i [lindex $i 0] insertWithTags $w "Title: " marc-tag - insertWithTags $w $i marc-data + insertWithTags $w [string trimright [lindex $i 0] /] marc-data set i [z39.$sno getMarc $no field 245 * b] if {"x$i" != "x"} { - insertWithTags $w [lindex $i 0] marc-data + insertWithTags $w [string trimright [lindex $i 0] /] marc-data } $w insert end "\n" } diff --git a/formats/raw.tcl b/formats/raw.tcl index 29534db..30a8ae8 100644 --- a/formats/raw.tcl +++ b/formats/raw.tcl @@ -4,12 +4,14 @@ # Sebastian Hammer, Adam Dickmeiss # # $Log: raw.tcl,v $ -# Revision 1.2 1995-06-12 15:18:10 adam +# Revision 1.3 1995-06-14 12:16:42 adam +# Minor presentation format changes. +# +# Revision 1.2 1995/06/12 15:18:10 adam # Work on presentation formats. These are used in the main window as well # as popup windows. # # - proc display-raw {sno no w hflag} { if {$hflag} { insertWithTags $w "\n$no\n" {}