Home Forums DITA and XMetaL Discussion Adding a line break for each indexterm Reply To: Adding a line break for each indexterm

mag3737

Reply to: Adding a line break for each indexterm

The “intended” way to make changes like this to the CSS is not to edit this file Derek mentioned:
AuthorDITAXACssharedditabase-base.css

but rather to edit the following file (note slightly different directory path):
AuthorDITAXACsditabaseditabase-base-override.css

The technique is to copy the CSS you want from the original file, paste it into the “override” file, and then make the changes there (including adding entirely new selectors if needed). XMetaL loads these files in a specific order so that the override file is loaded AFTER the original one. Thus the settings for all style attributes specified in the override file will supersede any previous values they were assigned.

This may be considered a nit-picky correction. The resulting text display either way is the same. There may be advantages gained in code maintenance practice by doing it this way, but one might argue that those gains are minor.

Reply

Products
Downloads
Support