summaryrefslogtreecommitdiff
path: root/user/Test/pub.htc
diff options
context:
space:
mode:
Diffstat (limited to 'user/Test/pub.htc')
-rw-r--r--user/Test/pub.htc34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/Test/pub.htc b/user/Test/pub.htc
new file mode 100644
index 0000000..9d5cbf2
--- /dev/null
+++ b/user/Test/pub.htc
@@ -0,0 +1,34 @@
1\clearance{};
2\alias{Publ};
3\cache{\days{1}};
4\ldef{code}{x}{[\1>>16]-[\1&65535]};
5\ldef{fld}{xr}{\on.loc{\1}{\2 [[\1]]}};
6\statopen{aprdb}{data/apr.hdb}
7\page{
8 \db{aprdb}{
9 \table{
10 \query(1){
11 \tr{
12 \td{
13 \code(APR)
14 [title:=\run.local{TITLE}];
15 \if(count URL){\href(URL)(title)}{\bf [title]}
16 <br>
17 \run.local{AUTHOR}
18 \fld{JOURNAL}{,};
19 \fld{BOOKTITLE}{,};
20 \fld{VOLUME}{,};
21 \fld{PAGES}{,};
22 \fld{EDITOR}{,\it Eds.};
23 \fld{PUBLISHER}{,};
24 \fld{ADDRESS}{,};
25 \on.loc{NOTE}{\run.local{NOTE}};
26 (\sub{\time2htc(CTIME)}{20}{4})
27 }
28 }
29 }
30 }
31 }
32}
33
34