]> mj.ucw.cz Git - ucwmac.git/blobdiff - test.tex
ucw-ref: Fixed bug in \pageid
[ucwmac.git] / test.tex
index 6d47beb44816bcdbf6ed7eced4f4d156e4dd7e26..88536a1946c86b414685634819839e6dcd9d24f1 100644 (file)
--- a/test.tex
+++ b/test.tex
@@ -1,10 +1,7 @@
-\input ucwmac.tex
-\ifx\setfonts\undefined
-       % Preloaded in ucw-luacsplain
-       \input ucw-ofs.tex
-\fi
-\input ucw-verb.tex
-\input ucw-algo.tex
+\input ucwmac2.tex
+\ucwmodule{ofs}
+\ucwmodule{verb}
+\ucwmodule{algo}
 
 \showfonts
 
 
 \noindent An~itemized list:
 
+\list{(g)}
+\:primo
+\:secundo
+\:tertio
+\liststyle{(a)}
+\:quarto
+\liststyle{o}
+\:quinto
+\endlist
+
+\bigskip
+\noindent Backward-compatible lists:
+
 \itemize\ibull
-\:It is an important and popular fact that things are not always what
+\:It is an {\I important and popular fact} that things are not always what
 they seem.  For instance, on the planet Earth, man had always assumed
 that he was more intelligent than dolphins because he had achieved so
-much -- the wheel, New York, wars and so on -- whilst all the dolphins
+much -- the wheel, {\colorlocal\rgb{1 0 0}New York}, wars and so on -- whilst all the dolphins
 had ever done was muck about in the water having a good time.  But
-conversely, the dolphins had always believed that they were far more
+conversely, the \colorpush\rgb{0 0 1}dolphins\colorpop{} had always believed that they were far more
 intelligent than man -- for precisely the same reasons.
 \:Curiously enough, the dolphins had long known of the impending
 destruction of the of the planet Earth and had made many attempts to
@@ -109,7 +119,7 @@ The set{\settextsize{11}text}size macro does not strew spaces.
 
 \algo{Factorial}\algalias{calculate a~factorial}
 \algin A~non-negative integer~$n$
-\:If $n\ge 1$:
+\:If $n\ge 1$:  \cmt{Test if something}
 \::Return $n$
 \:Else:
 \::Return $n \cdot \alg{Factorial}(n-1)$