/[webpac2]/trunk/conf/dipl/tables.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/conf/dipl/tables.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1270 - (hide annotations)
Tue Aug 11 12:33:26 2009 UTC (14 years, 9 months ago) by mglavica
Original Path: trunk/conf/isi/tables.pl
File MIME type: text/plain
File size: 1106 byte(s)
diploma work

1 mglavica 1270 # warn dump(rec('AU'));
2     # warn dump(rec_array('AU'));
3    
4     #di => split( /;/, rec(
5    
6     row( 'citing',
7     ut => rec('UT'),
8     pt => rec('PT'),
9     au => regex('s/,//',
10     uc ( frec('AU') )
11     ),
12     ti => rec('TI'),
13     so => rec('SO'),
14     la => rec('LA'),
15     dt => rec('DT'),
16     c1 => frec('C1'),
17     rp => uc ( rec('RP') ),
18     nr => rec('NR'),
19     tc => rec('TC'),
20     pi => rec('PI'),
21     py => rec('PY'),
22     di => rec('DI'),
23     sc => rec('SC')
24     );
25    
26     if ( rec('RP') ) {
27     row( 'rpco',
28     ut => rec('UT'),
29     rp => rec('RP'),
30     rpco =>
31     regex('s/.*,(.*)/$1/',
32     regex('s/\.$//',
33     rec('RP')
34     )
35     ),
36     );
37     }
38    
39     my @af = rec_array ('AF');
40     foreach my $au ( rec_array ('AU') ) {
41     foreach my $cr ( rec_array('CR') ) {
42     row( 'cited',
43     ut => rec('UT'),
44     ca => config('input name'),
45     cr_auth => $cr->{author},
46     au => regex('s/,//',
47     uc ( $au )
48     ),
49     cr_full => $cr->{full},
50     cr_year => $cr->{year},
51     cr_ref => $cr->{reference}
52     );
53     }
54     row( 'authors',
55     ut => rec('UT'),
56     ca => config('input name'),
57     au => regex('s/,//',
58     uc ( $au )
59     ),
60     af => shift @af,
61     )
62     }
63    
64     row( 'utca',
65     ut => rec('UT'),
66     ca => config('input name')
67     );
68    
69    

  ViewVC Help
Powered by ViewVC 1.1.26