if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
DITA and XMetaL Discussion
»
Configuring tags-on view
Pages:
1
« previous
next »
Print
Author
Topic: Configuring tags-on view (Read 155 times)
keberlein
Member
Posts: 1
Configuring tags-on view
«
on:
September 24, 2011, 09:19:31 AM »
Product: XMetal Author Enterprise, Version#: 6.0.1.030
OS: Windows 7 Enterprise, English
How can I configure the tags-on view so that <indexterm> elements are displayed as block-level elements?
Kristen James Eberlein
SDL Structured Content Technologies
Logged
gcrews
Member
Posts: 189
Re: Configuring tags-on view
«
Reply #1 on:
September 26, 2011, 11:26:47 AM »
I think you would have to modify/customize/override the CSS. I tried changing the display to block on [class~="topic/indexterm"] but didn’t have any luck
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1548
Re: Configuring tags-on view
«
Reply #2 on:
September 26, 2011, 11:36:13 AM »
For each topic type (task, topic, etc) that you wish to change add a CSS override setting to the corresponding CSS file for that type.
For "task" the file is here (and for others the file is in a folder at the same level that has a name corresponding to the DTD name):
<XMetaL Install Path>\Author\DITA\XACs\task\task_ditabase-specialized.css
[class~="topic/indexterm"] {
display: block;
}
Depending on where your <indexterm> elements are located you may also need to make a change to this (more specific) CSS setting:
[class~="topic/keywords"] [class~="topic/indexterm"] {
display: inline;
}
If you need to make this styling change for all topic types it may be easier to modify the main CSS file. That is located here:
<XMetaL Install Path>\Author\DITA\XACs\shared\ditabase-base.css
Look for the following and make the change to "block" from "inline" there:
/* indexterm {*/
[class~="topic/indexterm"] {
display:
inline
;
color: #AAAAAA;
}
Other settings related to <indexterm> also appear nearby in the same file, the other "<indexterm> when a child of <keywords>" selector () is located a few selectors below that one (ie:
[class~="topic/keywords"] [class~="topic/indexterm"]
).
Note that this will work for 6.0.1.030 and 6.0.2.070 but we may change the way the CSS files are configured in future releases.
«
Last Edit: September 26, 2011, 05:05:19 PM by Derek Read
»
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...