summaryrefslogtreecommitdiff
path: root/user/Test/pub.htc
blob: 9d5cbf2977f7b4006433e199a690956c52ee95e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
\clearance{};
\alias{Publ};
\cache{\days{1}};
\ldef{code}{x}{[\1>>16]-[\1&65535]};
\ldef{fld}{xr}{\on.loc{\1}{\2 [[\1]]}};
\statopen{aprdb}{data/apr.hdb}
\page{
  \db{aprdb}{
    \table{
      \query(1){
        \tr{
          \td{
            \code(APR)
            [title:=\run.local{TITLE}];
            \if(count URL){\href(URL)(title)}{\bf [title]}
            <br>
            \run.local{AUTHOR}
            \fld{JOURNAL}{,};
            \fld{BOOKTITLE}{,};
            \fld{VOLUME}{,};
            \fld{PAGES}{,};
            \fld{EDITOR}{,\it Eds.};
            \fld{PUBLISHER}{,};
            \fld{ADDRESS}{,};
            \on.loc{NOTE}{\run.local{NOTE}};
            (\sub{\time2htc(CTIME)}{20}{4})
          }
        }
      }
    }
  }
}