ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Re: Is there a bug during pagination of external figures?
Date: Thu, 19 Aug 2004 18:33:50 +0200	[thread overview]
Message-ID: <4124D66E.9030003@wxs.nl> (raw)
In-Reply-To: <4124CC50.4090400@gmx.de>

Stefan Wachter wrote:

> Hi Hans,
>
> thanks for the additional hints. The width calculation method is very 
> instructive. Yet, I think I can not use it, because I do not know in 
> advance what kind of text is used as item labels. Maybe a label text 
> contains already a comma. Is there another \processXXX-Makro for 
> example \processampersandlist that can be used (because ampersands can 
> not appear unescaped in normal text)?
>
> --Stefan
>
> PS: I found nowhere a description of \charwd
>
>>
>> \def\determinecommalistwidth[#1]%
>>  {\scratchdimen\zeropoint
>>   \def\docommand##1%
>>     {\setbox\scratchbox\hbox{##1}%
>>      \ifdim\wd\scratchbox>\scratchdimen
>>        \scratchdimen\wd\scratchbox
>>      \fi}%
>>   \processcommalist[#1]\docommand}
>>
>> \determinecommalistwidth[a),b),c)]
>>
>> \the\scratchdimen
>>
>> (or use \charwd cum suis)
>
\processseparatedlist may be of help

of course you can do: \determine...[{a},{b\&c},{d\_e},{f,g,h}]


Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2004-08-19 16:33 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-06  7:38 Stefan Wachter
2004-08-06  7:30 ` Hans Hagen
2004-08-06 13:06   ` Stefan Wachter
2004-08-06 13:12   ` Stefan Wachter
2004-08-06 12:55     ` Hans Hagen
2004-08-09 19:58     ` Hans Hagen
2004-08-13  8:30       ` Stefan Wachter
2004-08-13 14:57         ` Patrick Gundlach
2004-08-16 15:53           ` Stefan Wachter
2004-08-16 15:26             ` Patrick Gundlach
2004-08-16 20:29               ` REALLY STRANGE: (was: Is there a bug during pagination of external figures?) Stefan Wachter
2004-08-18  9:50                 ` error with _ in header? Patrick Gundlach
2004-08-18 11:24                   ` Eros Albertazzi
2004-08-18 14:19                     ` Hans Hagen
2004-08-18 12:23                   ` Stefan Wachter
2004-08-18 11:43                     ` Patrick Gundlach
2004-08-18 14:59                   ` Hans Hagen
2004-08-18 18:10                     ` Patrick Gundlach
2004-08-19  8:49                       ` Hans Hagen
2004-08-19 10:51                         ` Patrick Gundlach
2004-08-19 15:08                         ` Stefan Wachter
2004-08-19 14:40                           ` Hans Hagen
2004-08-19 14:40                           ` Hans Hagen
2004-08-16 21:28               ` Re: Is there a bug during pagination of external figures? Hans Hagen
2004-08-19  9:19                 ` Stefan Wachter
2004-08-19  9:07                   ` Hans Hagen
2004-08-19 15:50                     ` Stefan Wachter
2004-08-19 16:33                       ` Hans Hagen [this message]
2004-08-16 11:27         ` metafun question Floris van Manen
2004-08-16 13:46           ` Hans Hagen
2004-08-16 11:41         ` metafun question getting XY Floris van Manen
2004-08-16 13:45           ` Hans Hagen

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=4124D66E.9030003@wxs.nl \
    --to=pragma@wxs.nl \
    --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).