On 09/15/2015 12:17 PM, Vincent Knaub wrote:
First of all, please excuse me if I am not following the good way to ask for support, and for the basicity of my question (I’m a real beginner with FO). I am converting a DITA file to PDF by using XML Mind, and trying to modify the already existing XSL-FO files to get the desired page layout and style. I’m modifying footers so the page number is always on the outside of the page, and the company name is always on the inside, whether it’s an odd or even page. No problem with that so far. But I would also like the company name to be always displayed in blue. I cannot manage to do that with the footer-right and left attribute sets, as it changes color for the corresponding footer side with no importance given to whether the company name or the page number is displayed. I have tried several solutions since yesterday, but none worked : ·Created parameters called « footer-…-pagecount » and « footer-…-company » in foParams.xsl and changed pagination.xsl accordingly ·Created attribute sets in pagination.xsl and added a condition (if $footer-right contains ‘company name’, use color blue) to display the footer right cell with the right attribute set Is there a simple solution to make it work within the XSL-FO provided with XML Mind ? Or what would be the best way to achieve this ? Thank you very much in advance for your answer and for this awesome software !
It seems that you have found a way to achieve what you want. We have received your second message before this one (i.e. your solution before your problem). Our moderator unfortunately deleted this second message by mistake. Please be kind enough to resend your second message to this mailing list. Sorry for the inconvenience and also thanks for the compliments!
-- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

