1 person found this helpful
You'll need to do that by updating to InDesign CS5.5. That was one of the improvements. For each paragraph and character style, you can use the new Export Tagging panel to set the Tag and Class. And from the Paragraph and Character Styles panel menus you can choose Edit All Export Tags where you can do this for all styles.
Here's a link to an Adobe TV video by Colin Fleming which demonstrates this:
Steve, thank you very much. Very sad an upgrade to 5.5 is not among my planned expenses as of now. Maybe I can just upgrade InDesign and save something.
A workaround I found involves using Nisus Writer. The XHtml code generated by InDesign CS5 was processed via a series of PowerFind search & replace operations, using (for H2) these commands:
Search: <p class=[AllDoubleQuotes]heading-2[AllDoubleQuotes]>[Memorized([AnyText])]</p>
I don't know how to replicate these commands with regex strings. It would be very helpful, since Nisus Writer allows for single files editing, while a code editor like TextWrangler (using regex strings) would also allow for multiple file editing at once.
What kind of GREP notation is that?
Presumably, it would look something like this:
Search: <p class=[AllDoubleQuotes]heading-[Memorized(Digit)[AllDoubleQuotes]>[Memorized([AnyText ])]</p>
(I made up the bolded parts myself, don't trust me on the proper syntax.)
Jongware, the one I reported is a special search syntax unique to Nisus Writer. It is sort of a simplified GREP syntax, as flexible but easier to read.
I tried having NW convert it to standard GREP and reuse the resulting strings in TextWrangler (a code editor), but I got wrong results.
I'll try to see if I can mix your hints with the strings that NW is giving me.