Re: Color and size within a table

Subject: Re: Color and size within a table
From: "Jordi Mulet" <jmulet@xxxxxxxxxx>
Date: Thu, 19 Mar 1998 16:06:09 +0100
Hello again,
We have modified the line of color and we now doesn't obtain any error, but the output is the same.
We have fixed default color to red and  default size to 18 and the output work correctly, but the PI in the instance doesn't work:
 
<ENTRY >
       <para><?size 10pt>187.960 </para>
       <para><?color blue-color>176.903 </para>
 </ENTRY>
<ENTRY >
 
   <?SIZE 10pt><para>178.562 </para>
   <para><?color bluecolor>168.058</para>
</ENTRY>
 
 
These are our functions:
 
(define ($pi-font-color$)
  (let ((fontcolor (inherited-pi-value (current-node) "color")))
      (if fontcolor
      fontcolor
      #f)))
 
 
   (make paragraph
      font-family-name: font-name
      font-weight: weight
       font-size: (if fontsize fontsize 18pt)
       color:(if fontcolor fontcolor *red-color*)
 
      quadding: align
      (process-node-list (children para) ) ) ) ) 
 
 
 
Our definitions of colors are:
 
DSSSL-space color: 
(define *blue-color*
  (color *rgb-color-space* (/ 0 255) (/ 0 255) (/ 255 255)))
 
(define *red-color*
  (color *rgb-color-space* (/ 255 255) (/ 0 255) (/ 0 255)))
 
 
 
Thanks for your feedback,
Jordi
Editorial Praxis S.A 
 
Current Thread
  • Re: Color and size within a table
    • Jordi Mulet - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA20151Thu, 19 Mar 1998 10:06:17 -0500 (EST) <=