Implementation of reference-orientation and the ability to put rotated text

2003-07-24 Thread Ian Rowlands
I am trying to put writing that is rotated down the margin of a document
- the content of the text is being picked up from a marker. It seems the
reference-orientation attribute is ideal for this. 

Is this implemented at all, or any plans to do so? 

If it is not implemented, is there any other way to do rotated lettering
down the sides of a page?

Thanks,

Ian
















-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Specifying variable color margins in a document

2003-07-24 Thread Ian Rowlands
In reference to my previous post (sorry for the HTML, hopefully fixed
this time!), I understand why I can't do it this way now. But is there
any way to dynamically change the colours like this in a similar way
(the colour will depend on the content)?

Thanks,

Ian



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Specifying variable color margins in a document

2003-07-24 Thread Ian Rowlands
Title: Specifying variable color margins in a document






I'm trying to produce a document with different color margins, depending on the content (much like a header at the top, except as a color). However I'm running into some "interesting" problems. I using FOP 0.20.5.

Here is an example of what I'm trying to do (ignore the "color=white" part of the block, that's just so I can see what is going on):

    

    

    

    

    

    

    

    

    

    297mm

    

    

            X

            

            Y

            

            Z

        

    

 

    

    

    


I thought it wasn't picking up the marker, but the output from this shows that the marker value is being picked up. The output I get is something like "XYcolorZ". This shows me that the variable isn't being set properly but the marker is still being picked up.

Any ideas on why this doesn't work with setting the variable?


I've also tried the following bit so I didn't have to use the variable at all:


     

    297mm

                  

            etc etc etc


However when I do this, Fop refuses to process it and you get the following error message:


[ERROR] javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: fo:retrieve-marker is not allowed in this position in the stylesheet!

In short, how can I do what I'm trying to do? Any suggestions would be much appreciated!


Thanks,


Ian