From: Vit Zyka <vit.zyka@seznam.cz>
Subject: \placelist is influensed by \completeregister ??
Date: Fri, 29 Jul 2005 22:14:47 +0200 [thread overview]
Message-ID: <42EA8E37.2040000@seznam.cz> (raw)
Dear Hans, Taco, ...
I noticed strange behaviour. When I use \completeregister lists I have
defined are ignored:
------------------------------
\defineregister[letter][letters]
\definelist[somelist]
\starttext
Hello! \letter{Letter S}
\writetolist[somelist]{List entry, part A}{List entry, part B}
%\placeregister[letter]
\completeregister[letter]
\placelist[somelist]
\stoptext
---------------------------------
I discovered that the source of the bug is probably \headtext the line
\expanded{\systemsuppliedchapter[\currentregister]{\noexpand\headtext{\currentregister}}}%
in the \completeregister definition. Please can somebody have a look on it?
vit
----------------------------------
\unprotect
\def\docompleteregister[#1][#2]%
{\iffirstargument
\begingroup
\edef\currentregister{#1}%
% the expansion is needed because we don't want \v!'s in the tuo
file (french)
%
\expanded{\systemsuppliedchapter[\currentregister]{\noexpand\headtext{\currentregister}}}%
\placeregister[\currentregister][#2]%
\page[\v!yes]%
\endgroup
\fi}
\protect
--
=======================================================
Ing. Vít Zýka, Ph.D. TYPOkvítek
database publishing databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite
tel.: (+420) 777 198 189 www: http://typokvitek.com
=======================================================
next reply other threads:[~2005-07-29 20:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-29 20:14 Vit Zyka [this message]
2005-07-30 8:51 ` Taco Hoekwater
2005-08-01 12:07 ` Vit Zyka
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=42EA8E37.2040000@seznam.cz \
--to=vit.zyka@seznam.cz \
--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).