Question about linking stylesheets

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
carmonli
Propeller Head
Posts: 29
Joined: Mon Jan 27, 2014 11:04 pm

Question about linking stylesheets

Post by carmonli »

I'd appreciate confirmation that my logic here is correct.

My company produces two types of documents:

* End user documents (mainly user guides). I do not want headings to be numbered in these documents.
* Service documents (installation, configuration, etc. which are used by company and service personnel). I do want headings to be numbered in these documents.

When I first began working on the stylesheet (let's call it Main.css), I set it up for headings not to have numbering (since at the time I was only updating the end user doc set). Now, I need to update and produce service docs as well.

I have updated a copy of the stylesheet to number the headings (Numbered.css). The only differences between the two are in the relevant heading styles and in the p.TOCx styles.

Am I right that these are the steps I need to follow:

* Make sure that the Numbered.css file contains only those Hx and p.TOCx styles that are different.
* Import Main.css into Numbered.css
* In targets for user guides, link to Main.css - In targets for service docs, link to Numbered.css

Is my logic correct here?
Post Reply