From 77b618e7079d37d0f0726cf90980480fccd27d61 Mon Sep 17 00:00:00 2001
From: Taco Hoekwater <taco@elvenkind.com>
Date: Thu, 12 Jun 2008 14:33:23 +0000
Subject: were missed

git-svn-id: svn://tug.org/texlive/trunk@8694 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/context/test/x-cals-test.tex | 48 ++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 Master/texmf-dist/tex/context/test/x-cals-test.tex

(limited to 'Master/texmf-dist/tex/context/test/x-cals-test.tex')

diff --git a/Master/texmf-dist/tex/context/test/x-cals-test.tex b/Master/texmf-dist/tex/context/test/x-cals-test.tex
new file mode 100644
index 00000000000..30645c2bd67
--- /dev/null
+++ b/Master/texmf-dist/tex/context/test/x-cals-test.tex
@@ -0,0 +1,48 @@
+% engine=luatex
+
+\usemodule[x][cals]
+
+\setupcolors[state=start]
+
+\startsetups cdx:cals:table:noframe
+    \setupTABLE[frame=off]
+\stopsetups
+
+\startsetups cdx:cals:table:colors
+    \setupTABLE[row]   [odd] [frame=off,background=color,backgroundcolor=red]
+    \setupTABLE[row]   [even][frame=off,background=color,backgroundcolor=green]
+    \setupTABLE[column][2]   [frame=off,background=color,backgroundcolor=blue]
+\stopsetups
+
+\startsetups cdx:cals:table:vertical
+    \setupTABLE[row] [odd] [frame=off,background=color,backgroundcolor=lightblue]
+\stopsetups
+
+\startsetups cdx:cals:table:horizontal
+    \setupTABLE[column] [odd] [frame=off,background=color,backgroundcolor=lightblue]
+\stopsetups
+
+\startsetups cdx:cals:table:before:frame
+    \framed [offset=overlay,frame=off,topframe=on,bottomframe=on,rulethickness=2pt,framecolor=red,align=normal] \bgroup
+        \vskip2pt
+        \framed [offset=overlay,frame=off,leftframe=on,rightframe=on,rulethickness=1pt,framecolor=red,align=normal] \bgroup
+\stopsetups
+
+\startsetups cdx:cals:table:after:frame
+        \egroup
+        \vskip2pt
+    \egroup
+\stopsetups
+
+% \startxmlsetups xml:cals:process
+%     \xmlsetsetup {\xmldocument} {cals:table} {*}
+% \stopxmlsetups
+% \startxmlsetups cals:table
+%     \ctxlua{lxml.cals.table("#1")}
+% \stopxmlsetups
+% \xmlregistersetup{xml:cals:process}
+
+\starttext
+    \xmlloaddirectives{x-cals-test.cdx}
+    \xmlprocess{main}{x-cals-test.xml}{}
+\stoptext
-- 
cgit v1.2.3

