Re: Last child-number? function - is there one?

Subject: Re: Last child-number? function - is there one?
From: Toby Speight <Toby.Speight@xxxxxxxxxxxxxx>
Date: 07 Sep 1998 16:13:05 +0100
David> David Pawson <URL:mailto:DPawson@xxxxxxxxxxx>

0> In article
0> <F1ACF6648AF4D1119994006097AB82E4106768@xxxxxxxxxxxxxxxxxx>, David
0> wrote:

David> I want to put a bigger space after a series of list items,
David> hence need to know if this node is the last in its siblings.
David>
David> I have used something like
David> break-before: (if (= 1 (child-number (current-node)))
David> 			 'page
David> 			 #f)
David>
David> when wanting to know if this is the first child,
David>
David> Is there a similar (last-child .... function to determine if
David> this is the last child of the immediate parent?

I use (absolute-last-sibling? (current-node)), from 10.2.4.4

-- 


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Last child-number? function - is there one?
    • Pawson, David - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA22340Mon, 7 Sep 1998 10:13:24 -0400 (EDT)
      • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA24327Mon, 7 Sep 1998 11:24:38 -0400 (EDT) <=
      • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA28397Mon, 7 Sep 1998 14:11:09 -0400 (EDT)
        • Louis-Dominique Dubeau - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA05383Tue, 8 Sep 1998 11:27:14 -0400 (EDT)
        • Thomas Corte - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id QAA22285Tue, 29 Sep 1998 16:29:01 -0400 (EDT)
          • Adam P. Harris - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id CAA20801Wed, 30 Sep 1998 02:59:54 -0400 (EDT)