RE: My little FOP-project
Thank you, Tom, I find it interesting. I would not refer to a stylesheet as a script, which connotes a procedural set of commands. Stylesheets, HTML, etc, are typically called markup. This is a very minor comment. I need to create a XML stylesheet pretty soon for a project I'm working on, so I will review st as a part of my self-training when the time comes. Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: My little FOP-project
On Mar 7, 2007, at 20:14, Thomas Zastrow wrote: Hi, to get a little bit in touch with FOP, I started a project for formatting scientific texts with FO. It's just something like a proof of concept and there is still a lot of work to do. Please feel free to send me critics, ideas or whatever. Interesting. Your manual itself is a nice showcase. :-) Considering the TODO about color-schema, maybe the cleanest solution would be to use a generic color element, to which the authors can then add an attribute, like: color color-value=redRed Text/color This can then be transformed with xsl:template match=[EMAIL PROTECTED] fo:wrapper color=[EMAIL PROTECTED] xsl:apply-templates / /fo:wrapper /xsl:template Note that this means that authors would also be able to specify a color using the rgb() function, which would be passed to and resolved by FOP. For example: color color-value=rgb(255, 0, 0)Red Text/ color FOP will warn if an invalid color-specification is used, but the processing will continue and the inherited color will be used, so it does little harm to leave that up to the eventual users of your stylesheet. Cheers, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: My little FOP-project
Jeff Vannest schrieb: Thank you, Tom, I find it interesting. Thanks :-) I would not refer to a stylesheet as a script, which connotes a procedural set of commands. Stylesheets, HTML, etc, are typically called markup. This is a very minor comment. OK, certainly you are right. I'll change it! I need to create a XML stylesheet pretty soon for a project I'm working on, so I will review st as a part of my self-training when the time comes. Feel free to use it as you like: And, perhaps, it would be nice if you can give back some of your code(or: styles ..) :-) Best, Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: My little FOP-project
Hello Andreas, Andreas L Delmelle schrieb: On Mar 7, 2007, at 20:14, Thomas Zastrow wrote: Hi, to get a little bit in touch with FOP, I started a project for formatting scientific texts with FO. It's just something like a proof of concept and there is still a lot of work to do. Please feel free to send me critics, ideas or whatever. Interesting. Your manual itself is a nice showcase. :-) Thank you, I hope that my rudimentary english is understandable ... Considering the TODO about color-schema, maybe the cleanest solution would be to use a generic color element, to which the authors can then add an attribute, like: color color-value=redRed Text/color This can then be transformed with xsl:template match=[EMAIL PROTECTED] fo:wrapper color=[EMAIL PROTECTED] xsl:apply-templates / /fo:wrapper /xsl:template Note that this means that authors would also be able to specify a color using the rgb() function, which would be passed to and resolved by FOP. For example: color color-value=rgb(255, 0, 0)Red Text/color FOP will warn if an invalid color-specification is used, but the processing will continue and the inherited color will be used, so it does little harm to leave that up to the eventual users of your stylesheet. This is a great suggestion! Thank you, I'll do it that way! Best, Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]