Stylesheet issue
Stylesheet issue
I have imported an old RoboHelp project, and for some reason there are 3 versions of my stylesheet in use in the project. I have specified a stylesheet in my WebHelp target, but I can't figure out how to make it link to my topics. When I try to change the link from the topics themselves I get a message that I can't do it because there is a master stylesheet. I'm not sure how to get one stylesheet applied to all topics.
Re: Stylesheet issue
I'm not really clear on what your goal is, but if it's the same stylesheet applied to all topics, you can set up a master stylesheet at the project level (Project > Project Properties > Defaults), at the target level (Project Organizer > Targets > YourTarget > General). If you set one up at the project level, that stylesheet will automatically apply to *all* topics in your project. If you set one up at the target level, it will automatically apply that stylesheet to *all* your topics when you build that target. If you specify neither project nor target master stylesheet, you must apply it manually to each topic (you can multi-select your topics in the Content Explorer or File List panel and apply a stylesheet using the Properties dialog, but this ONLY works if you do NOT have a master stylesheet applied).rbr00x wrote:I have imported an old RoboHelp project, and for some reason there are 3 versions of my stylesheet in use in the project. I have specified a stylesheet in my WebHelp target, but I can't figure out how to make it link to my topics. When I try to change the link from the topics themselves I get a message that I can't do it because there is a master stylesheet. I'm not sure how to get one stylesheet applied to all topics.
It sounds like you want all your topics to be one stylesheet, but you also seem to want to select stylesheets individually. Can you clarify what you are trying to do?
Flare v6.1 | Capture 4.0.0
Re: Stylesheet issue
I want to apply one stylesheet to all my topics. This is a legacy project that came with its own stylesheets already applied. I can't figure out how to override the old stylesheets. I have applied a master stylesheet at the project leve and the target level but I'm still seeing the old styles.
Re: Stylesheet issue
Are you seeing the old stylesheets' styles in the Flare XML Editor, the built output, or both?rbr00x wrote:I want to apply one stylesheet to all my topics. This is a legacy project that came with its own stylesheets already applied. I can't figure out how to override the old stylesheets. I have applied a master stylesheet at the project leve and the target level but I'm still seeing the old styles.
Flare v6.1 | Capture 4.0.0
Re: Stylesheet issue
You might want to double-check that the stylesheet link ref isn't hard coded in the topics. I thought importing an RH project into Flare would strip out those references, but perhaps not, or perhaps it didn't work when you did the import for some reason.
You might also want to open the stylesheet files and make sure there aren't any @import lines pointing to those other stylesheets.
If all else fails, you could do a find in Flare, set to search in source code, and look for references to those stylesheets by name.
You might also want to open the stylesheet files and make sure there aren't any @import lines pointing to those other stylesheets.
If all else fails, you could do a find in Flare, set to search in source code, and look for references to those stylesheets by name.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Re: Stylesheet issue
Thank you for your help. It seems that after I closed the project and reopened it, the master stylesheet "took."
Re: Stylesheet issue
Oh, yes, didn't think of that. Actually, if you had a topic open in the XML Editor and made changes like that (specifying a different stylesheet), then pressing F5 should force the topic to reload with the new stylesheet.
Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.