On Sunday 07 January 2007 10:05, Hans Hagen wrote:
> can you prepare a set of (small test files)?

How about a file of a small set of tests?


\setuphead[chapter][page=no]

\def\Test#1{%
  \DoTest#1\par%
  \backslash somewhere test case - pairs of +/- (expected/actual) should 
match.\footnote{\DoTest#1}\par%
  \DoTest#1\par%
}

\def\DoTest#1#2#3#4{%
  #1\somewhere{+}{-}[A]\hskip4em%
  #2\somewhere{+}{-}[B]\hskip4em%
  #3\somewhere{+}{-}[C]\hskip4em%
  #4\somewhere{+}{-}[D]%
}

\starttext
\Test{----}
\chapter[A]{A}
\Test{+---}
\section[B]{B}
\Test{++--}
\page
\chapter[C]{C}
\Test{+++-}
\section[D]{D}
\Test{++++}
\stoptext


--Mike Bird
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to