Copy link to clipboard
Copied
Hi Everyone,
Can anyone help me to develope a script to bold the contents inside <strong></strong> tag in InDesign document??
-Jothi
With XML, you can take a couple different approaches. 1. You could map the <strong> XML tag to a bold character style in InDesign using the map tags to styles dialog box. 2. You could use an aid attribute in the XML to specify a character style to apply to text. For example <span aid:cstyle="Bold">Text to make bold</span>.
Copy link to clipboard
Copied
Look for examples on how to use findgrep, there are lots of these on the forum. I see you have participated in one of those, so you know how to use it. Regarding bold we already had a discussion in the previous thread where i did demonstrate how to find it, you just need to change the fontstyle property of the found text. What is confusing here, you already are a developer this should be a trivial task to do.
-Manan
Copy link to clipboard
Copied
With XML, you can take a couple different approaches. 1. You could map the <strong> XML tag to a bold character style in InDesign using the map tags to styles dialog box. 2. You could use an aid attribute in the XML to specify a character style to apply to text. For example <span aid:cstyle="Bold">Text to make bold</span>.
Copy link to clipboard
Copied
Thankyou for your reply!! I had find the solution..
-Jothi
Copy link to clipboard
Copied
Can you explain your solution please 😄 !?