W3C home > Mailing lists > Public > www-style@w3.org > November 2005

Re: Printing a Book with CSS

From: Bert Bos <bert@w3.org>
Date: Wed, 30 Nov 2005 21:18:00 +0100
To: www-style@w3.org
Cc: "David C. Walden" <dave@walden-family.com>
Message-ID: <20051130201800.GF6521@accueil.w3.org>

On Tue, Nov 29, 2005 at 04:31:46PM +0000, Philip TAYLOR wrote:
> 
> I notice the dot-leaders don't align.  TeX [1]
> goes to great trouble to ensure that they do;
> do you envisage that it will be possible to add
> similar controls to CSS/Prince ?  From an aesthetic
> point of view, they also look far too dense (close
> together) to me.

I agree they ought to align. The precise features of the leaders are
still under discussion, including what to align them to. One idea is
to align the leaders to the containing block: if the width of each
copy is W, then each copy is n * W from the left edge. (Or the right
edge, in right-to-left text.) But we haven't thought much about it
yet.

To control the spacing of the dots, the easiest way is to add spaces
to the leader:

    content: leader(" .")

This seems easier than adding properties, even if it doesn't provide
all the flexibility that TeX offers.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Wednesday, 30 November 2005 20:17:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:41 GMT