I think I've found another serious flaw with the FM to RH conversion. Shocking, I know. SHOCKING! I've got single source FM document that is designed to support four different products. The products are pretty similar, which is why there is a ton of overlap. I use different book files, add remove chapters as needed, and use Conditional Text. So here's the setup: I have a paragraph that applies to two products, but not the third. So I use Conditional Text to tag the paragraph as Prod1, Prod2, and Prod3. I add a second paragraph and tag it for Prod4. When I generated the PDFs for each product, the Conditional Text filtered out only what applies per product, hiding the rest, and it worked great. When I generated the HTML5 Help for Prod1, I selected the CT filter for Prod1 in the Project Manager and selected the CT filter for Prod1 in Outputs(SSL) for HTML5. It worked great: the text for Prod1 appeared and the text for Prod2, Prod3, and Prod4 were hidden and it was all peaches and cream. But when I tried to generate the Help for Prod2 (selecting the Prod 2 CT filters in Project Manager and Outputs(SSL)), huge gaps of text were missing. Going into Project Manager, I took a look at the topic and I could see all the Conditional Text filters applied and they were correct. However, I noticed that the order in which the CT were listed was Prod1, Prod2, Prod3, and Prod4. I'm guessing that the CT filters are applied alphabetically. As an experiment, I removed the Prod1 and Prod3 CT from the text in the FM file (leaving Prod2), updated and regenerated in RH, and the Prod2 text re-appeared! So I went back and reapplied the Prod1 and Prod3 CT tags on the text in FM file, updated and regenerated in RH, and the text disappeared again. So here's my theory: when you apply multiple layers of CT tags to a paragraph in FM, RH will filter out the text based on the first CT tag it encounters, ignoring any others that follow. When I generated the help for Prod1, it kept the text marked as Prod1 because it's the first tag it hits (alphabetically). But when I try to generate the Help for Prod2 (which hides the text for Prod1, Prod3, and Prod4), RH finds the paragraph with the multiple CT tags, encounters the Prod1 tag and hides the text even though it is marked for Prod2. This means that I cannot have a paragraph be marked with multiple Conditional Tags because only the first one will be recognized when converted to RH. The only way around would be to repeat the section for each product and tag them independently. This is huge pain and it defeats the purpose Conditional Text. Am I right? Is there something I'm missing? (I apologize for the long post. I tried to shorten it as much as I could)
... View more