> XXE did exactly what you have instructed it to do in the "riskAssessment" > profile found in "riskColour.profiles".
Often a problem with software :-} Thanks for reminding me about the "what combinations ..." section of the set-up dialogue. I have updated the .profiles (attached) and it already delivers results much closer to what I was trying for. What I (now/still) don't understand, though, is why the <label> value is not being rendered in white, bold in .pdf or WebHelp output: the updated .profile includes the line <value style="color: #FFFFFF; font-weight: bold; font-style: normal; text-align: center;">label</value> N -----Original Message----- From: Hussein Shafie [mailto:huss...@xmlmind.com] Sent: woensdag 22 november 2017 15:40 To: Grundtvig Nielsen Niels Cc: 'xmleditor-support@xmlmind.com' Subject: Re: [XXE] now you see it, now you don't ... On 11/22/2017 03:11 PM, Grundtvig Nielsen Niels wrote: > I'm probably missing something again, even after checking the helps ... > > > > I've used a .profiles file to apply four colours to text, driven by > the value of the props attribute on a <ph> > > In the editor, the results are perfect. > > > > Unfortunately, I'm not getting such good results in the output from > the > .ditamap: both in the .pdf (just to check; this is not an output > format I want to deliver for this document) and as WebHelp (which is > the required format for this deliverable) most of the <ph> elements > are missing, and the <ph> that do appear are not coloured. > > > > I've attached the two .dita topics and the .profiles file. For the > time being, I'm still using 7.4.0, but hoping to check for updates the > next time I'm working away from the office. > > > XXE did exactly what you have instructed it to do in the "riskAssessment" profile found in "riskColour.profiles". First screenshot is your original "riskColour.profiles". If you carefully read the spec of profile "riskAssessment", it's not difficult to guess that you want to exclude all elements not having props="high". Second screenshot is a modified "riskColour.profiles" (also attached to this email). If you carefully read the spec of modified profile "riskAssessment", it's not difficult to guess that I want to flag all elements having props="high" or "medium" or "low" or "label". If you want to use attached "riskColour.profiles", please do not forget to execute "File|Save As" on it to recreate the underlying ".ditaval" files. After I did this and then associated profile "riskAssessment" found in "riskColour.profiles" to my "Test.ditamap", I converted my map to PDF and got attached "Test.pdf". ********************************************************************************************* Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg - 1130 Brussels - Belgium RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872 Bankrekening-Compte Bancaire-Bank Account 310-0269424-44 BIC BBRUBEBB - IBAN BE55 3100 2694 2444 "The information contained in this e-mail and any attachment there to be confidential and may contain information which is protected by intellectual property rights. This information is intended for the exclusive use of the recipient(s) named above. This e-mail does not constitute any binding relationship or offer toward any of the addressees. If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited. If you have received this message in error, please notify the sender and destroy it immediately after. The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability."
riskColour.profiles
Description: riskColour.profiles
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support