How can I automate italicizing See and See also in print/PDF indexes?
David
admin@mcmassociates.io
https://mcmassociates.io/dmz_index.html
Italicize See and See aklson in Indexes?
-
- Propeller Head
- Posts: 11
- Joined: Mon Jul 13, 2015 2:36 pm
-
- Sr. Propeller Head
- Posts: 248
- Joined: Thu May 24, 2018 3:11 pm
- Location: Queensland, Australia
Re: Italicize See and See aklson in Indexes?
Hi David,
These styles are held in a couple of spans:
The above will make the See also part in italics and the referred term in bold.
Cheers,
Rob
These styles are held in a couple of spans:
Code: Select all
span.SeeAlsoIndex
{
font-style: italic;
}
span.SeeAlsoIndexTerms
{
font-weight: bold;
}
Cheers,
Rob
-
- Jr. Propeller Head
- Posts: 1
- Joined: Thu Aug 18, 2022 10:57 am
Re: Italicize See and See aklson in Indexes?
Hi Rob,
Thank you for your response. However, I'm not quite clear on what I need to do with this code. Does this copy/paste into the text editor or am I supposed to go into the stylesheet and update this somewhere for it to automate?
I am a beginner at Madcap, so still in the process of learning all this! Thank you.
Thank you for your response. However, I'm not quite clear on what I need to do with this code. Does this copy/paste into the text editor or am I supposed to go into the stylesheet and update this somewhere for it to automate?
I am a beginner at Madcap, so still in the process of learning all this! Thank you.
-
- Senior Propellus Maximus
- Posts: 3669
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: Italicize See and See aklson in Indexes?
David, given your status as a Flare beginner, I suggest you work in the Stylesheet Editor and then adjust the several selectors that control the formatting of See and See Also and, optionally, also of the terms they'll point to. Specifically, you'll need to adjust the following (a couple of which Rob listed above):
-- span.SeeIndex
-- span.SeeIndexTerm
-- span.SeeAlsoIndex
-- span.SeeAlsoIndexTerm
You can get detailed steps how to edit these spans in this topic from the Flare documentation: https://help.madcapsoftware.com/flare20 ... -Links.htm.
If you're comfortable working directly in code, open your stylesheet in the internal text editor and then find and edit these spans or add the spans by hand, following the syntax that Rob showed. Many Flare users gradually get to prefer manually editing a stylesheet rather than using the Stylesheet Editor, albeit with care as it's easy to craft faulty syntax (such as forgetting the closing } or the ; at the end of a line).
-- span.SeeIndex
-- span.SeeIndexTerm
-- span.SeeAlsoIndex
-- span.SeeAlsoIndexTerm
You can get detailed steps how to edit these spans in this topic from the Flare documentation: https://help.madcapsoftware.com/flare20 ... -Links.htm.
If you're comfortable working directly in code, open your stylesheet in the internal text editor and then find and edit these spans or add the spans by hand, following the syntax that Rob showed. Many Flare users gradually get to prefer manually editing a stylesheet rather than using the Stylesheet Editor, albeit with care as it's easy to craft faulty syntax (such as forgetting the closing } or the ; at the end of a line).
Nita
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!