Reply To: Jongware: Your Preptext.jsx script breaks in 5.5?

Home Page / Forums / General InDesign Topics (CLOSED) / Jongware: Your Preptext.jsx script breaks in 5.5? / Reply To: Jongware: Your Preptext.jsx script breaks in 5.5?

#60471

Hi Anne-Marie! No, no vacation for me — I've bin a bit quiet lately for the very opposite of that, alas.

I don't think the script is broken. Mind, I developed preptext primarily for fixating First Import of Word text; and, typically, headings and such wouldn't have been marked up yet with bold or italics. Every now & then an author does so manually, and if I see it in time I remove the spurious formatting before prepping the entire document.

In your case, your text is already formatted as-it-should, but preptext doesn't “know” that the boldness in your headings is due to the paragraph style and thus marks it “again” as a character style. It might be possible to make it “paragraph style-aware”, just as it's already “character style-aware”, but I need to look into it.

Interestingly, it is smart enough to ignore nested styles; as far as I can tell, but it double-hits GREP styles too.

Now there's a puzzler. If I had to guess I'd say either both or none …

This article was last modified on September 8, 2011

Comments (0)

Loading comments...