Re: Recreating length-specs

Subject: Re: Recreating length-specs
From: Brandon Ibach <bibach@xxxxxxxxxxxxxx>
Date: Wed, 22 Jul 1998 04:34:45 -0500 (CDT)
Richard Light said:
> 
> [...]
> 
> The problem is that in my FOT input, the length-specs have been
> converted to dimensionless quantities, e.g.:
> 
> <paragraph space-before.min=6000 ...
> 
> How do I convert them back?  There is a (quantity->number) procedure,
> but not (number->quantity).
> 
> Also, in what dimensions is the FOT output expressed?
> 
   Well, internally, Jade stores quantities in points (pt).  So, I'd
guess that's what the FOT output is in, too.  So, to convert 6000 to
6000pt, just do (* 6000 1pt).
   (define num->pts (lambda (x) (* x 1pt)))

-Brandon :)


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


Current Thread
  • Recreating length-specs
    • Richard Light - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id FAA26421Wed, 22 Jul 1998 05:03:49 -0400 (EDT)
      • Brandon Ibach - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id FAA27163Wed, 22 Jul 1998 05:36:06 -0400 (EDT) <=
      • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id FAA27228Wed, 22 Jul 1998 05:38:07 -0400 (EDT)
        • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id FAA27527Wed, 22 Jul 1998 05:47:57 -0400 (EDT)
          • Richard Light - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA28730Wed, 22 Jul 1998 07:06:04 -0400 (EDT)