diff options
author | Karl Berry <karl@freefriends.org> | 2010-10-08 22:55:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-10-08 22:55:52 +0000 |
commit | 0defb3a486d0ea4acc281201f2fe3dfb1fe58677 (patch) | |
tree | b131bfc838dce3c5248b8cafc79728ca2ea348ee /Master/texmf-dist/doc/latex/cals/test/llt | |
parent | 642d21e6f53417257b6ff173b9216d3862139fe1 (diff) |
new latex pkg cals (8oct01)
git-svn-id: svn://tug.org/texlive/trunk@20025 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/cals/test/llt')
6 files changed, 128 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/cals/test/llt/test_10_cons_rot.chk b/Master/texmf-dist/doc/latex/cals/test/llt/test_10_cons_rot.chk new file mode 100644 index 00000000000..e18933034aa --- /dev/null +++ b/Master/texmf-dist/doc/latex/cals/test/llt/test_10_cons_rot.chk @@ -0,0 +1,23 @@ +> \lst=macro: +->{abcd}{efgh}{ijkl}. +> \lst=macro: +->{efgh}{ijkl}{abcd}. +> \llt@car=macro: +->abcd. +> \lst=macro: +->{abcd}{efgh}. +> \lst=macro: +->{efgh}{abcd}. +> \llt@car=macro: +->abcd. +> \lst=macro: +->{abcd}. +> \lst=macro: +->{abcd}. +> \llt@car=macro: +->abcd. +> \lst=macro: +->. +> \lst=macro: +->. +> \llt@car=\relax. diff --git a/Master/texmf-dist/doc/latex/cals/test/llt/test_10_cons_rot.tex b/Master/texmf-dist/doc/latex/cals/test/llt/test_10_cons_rot.tex new file mode 100644 index 00000000000..20312cd0ec8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/cals/test/llt/test_10_cons_rot.tex @@ -0,0 +1,23 @@ +\def\abcd{abcd} +\def\efgh{efgh} +\def\ijkl{ijkl} +\def\rotandshow{ +\show\lst +\llt@rot{\lst} +\show\lst +\show\llt@car} + +\def\lst{} +\llt@cons{\ijkl}{\lst} +\llt@cons{\efgh}{\lst} +\llt@cons{\abcd}{\lst} +\rotandshow +\def\lst{} +\llt@cons{\efgh}{\lst} +\llt@cons{\abcd}{\lst} +\rotandshow +\def\lst{} +\llt@cons{\abcd}{\lst} +\rotandshow +\def\lst{} +\rotandshow diff --git a/Master/texmf-dist/doc/latex/cals/test/llt/test_20_snoc_decons.chk b/Master/texmf-dist/doc/latex/cals/test/llt/test_20_snoc_decons.chk new file mode 100644 index 00000000000..10010a80011 --- /dev/null +++ b/Master/texmf-dist/doc/latex/cals/test/llt/test_20_snoc_decons.chk @@ -0,0 +1,14 @@ +> \lst=macro: +->. +> \lst=macro: +->{snoc-a}. +> \lst=macro: +->{snoc-a}{snoc-b}. +> \lst=macro: +->{snoc-b}. +> \lst=macro: +->. +> \lst=macro: +->{}. +> \lst=macro: +->. diff --git a/Master/texmf-dist/doc/latex/cals/test/llt/test_20_snoc_decons.tex b/Master/texmf-dist/doc/latex/cals/test/llt/test_20_snoc_decons.tex new file mode 100644 index 00000000000..7a61a785f54 --- /dev/null +++ b/Master/texmf-dist/doc/latex/cals/test/llt/test_20_snoc_decons.tex @@ -0,0 +1,18 @@ +\def\lst{} +\show\lst +\def\snoca{snoc-a} +\def\snocb{snoc-b} +\llt@snoc{\lst}{\snoca} +\show\lst +\llt@snoc{\lst}{\snocb} +\show\lst +\llt@decons{\lst} +\show\lst +\llt@decons{\lst} +\show\lst + +\def\lst{{}{}} +\llt@decons{\lst} +\show\lst +\llt@decons{\lst} +\show\lst diff --git a/Master/texmf-dist/doc/latex/cals/test/llt/test_30_all.chk b/Master/texmf-dist/doc/latex/cals/test/llt/test_30_all.chk new file mode 100644 index 00000000000..37803a26398 --- /dev/null +++ b/Master/texmf-dist/doc/latex/cals/test/llt/test_30_all.chk @@ -0,0 +1,24 @@ +> \lst=macro: +->{\multiply \cals@borderwidthL by 3\relax }{}. +> \llt@car=macro: +->. +> \lst=macro: +->{item1}{item2}. +> \llt@car=macro: +->item3. +> \lst=macro: +->. +> \lst=macro: +->{bbb}. +> \lst=macro: +->{bbb}{ccc}. +> \lst=macro: +->{aaa}{bbb}{ccc}. +> \llt@car=macro: +->aaa. +> \lst=macro: +->{bbb}{ccc}. +> \llt@car=macro: +->bbb. +> \lst=macro: +->{ccc}{bbb}. diff --git a/Master/texmf-dist/doc/latex/cals/test/llt/test_30_all.tex b/Master/texmf-dist/doc/latex/cals/test/llt/test_30_all.tex new file mode 100644 index 00000000000..f683984d240 --- /dev/null +++ b/Master/texmf-dist/doc/latex/cals/test/llt/test_30_all.tex @@ -0,0 +1,26 @@ +\def\lst{{\multiply \cals@borderwidthL by 3\relax}{}{}} +\llt@desnoc{\lst} +\show\lst +\show\llt@car +\def\lst{{item1}{item2}{item3}} +\llt@desnoc{\lst} +\show\lst +\show\llt@car + +\def\aaa{aaa} +\def\bbb{bbb} +\def\ccc{ccc} +\def\lst{} % empty list +\show\lst +\llt@cons\bbb\lst % \lst -> "{bbb}" +\show\lst +\llt@snoc\lst\ccc % \lst -> "{bbb}{ccc}" +\show\lst +\llt@cons\aaa\lst % \lst -> "{aaa}{bbb}{ccc}" +\show\lst +\llt@decons\lst % \llt@car -> "aaa", \lst -> "{bbb}{ccc}" +\show\llt@car +\show\lst +\llt@rot\lst % \llt@car -> "bbb", \lst -> "{ccc}{bbb}" +\show\llt@car +\show\lst |