From f83cc90e1ac9f252dcc36d833505ab5e00ae8e74 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Fri, 18 May 2012 10:16:04 +0200 Subject: Adding the old test user Signed-off-by: Henrik Rydberg --- user/Test/pub.htc | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/Test/pub.htc (limited to 'user/Test/pub.htc') 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 @@ +\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]} +
+ \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}) + } + } + } + } + } +} + + -- cgit v1.2.3