From: Mike Bird <mgb-debian@yosemite.net>
Subject: Re: ConTeXt 2007.01.02
Date: Sun, 7 Jan 2007 10:26:23 -0800 [thread overview]
Message-ID: <200701071026.24362.mgb-debian@yosemite.net> (raw)
In-Reply-To: <45A13677.7010204@wxs.nl>
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
prev parent reply other threads:[~2007-01-07 18:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-02 14:19 Taco Hoekwater
2007-01-04 5:46 ` Mike Bird
2007-01-04 8:31 ` Taco Hoekwater
2007-01-04 9:13 ` Mike Bird
2007-01-04 9:40 ` Taco Hoekwater
2007-01-07 2:05 ` Mike Bird
2007-01-07 18:05 ` Hans Hagen
2007-01-07 18:26 ` Mike Bird [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701071026.24362.mgb-debian@yosemite.net \
--to=mgb-debian@yosemite.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).