Just wondering if there's a way to "automatically" detect styles for imported text.
I have been given a Word document with lots of manual styling.
I'd like to import the document, pick a "typographical landscape feature" (e.g. a Section Heading) based on styling, and then search any content with the same styling and apply styles to it.
The catch here is that I'd like the style settings to be entered automatically in InDesign search (GREP I assume?)
OR... something like being able to click mid-text, and tell ID "find everything like this"!
Even better - would there be a way to identify each unique imported style (whether manually set or using a style) from Word?
Is there a way to do this? I realize that I could enter type styling setting manually, but trying to avoid that...
Been there 🙂
That's why I'm asking - with lots of articles coming in, all being written / edited by different folks, it gets... complicated.
There are a few approaches, and the one Rob provides is good. However... I have found that really messy Word docs are best cleaned up in Word, using consistent styles and Word's search and replace and so forth, rather than dragging a big mess into ID and trying to fix it there.
Word is a very capable tool at basic 'word processing'— and ID really isn't. Maybe if you master scripts and so forth, but use the better tool for each end of jobs like this.
This is essentially how I've been doing it for the past 3 books - I've created a Word doc full of styles, and provide it to my client. They have a small team that takes original content, applies the styles, then sends it my way.
(Side note: great trick: use colors for all styles so that you can, at-a-glance, determine if something has been styled...)
Anyway - even with this - there is a TON of invisible/missing/incorrect formatting submitted.
Fingers crossed for Adobe to start bringing ID up to speed with AI (uh... not Illustrator... 🙂 ) to screen / sort incoming styles, and a CSS Style Sheet-approach for global book styles!
No AI is going to replace the generationally-ingrained model of using Word like a box of fingerpaints. I have dealt with very sophisticated, demanding clients who needed to maintain or originate docs in Word and were very picky about formatting and a clean process to get the pieces to publication (through ID)... and if you so much as used the word "styles" they'd throw a temper tantrum on the floor—too hard, not necessary, I was just trying to get them to do my job for me, etc. Sigh. Double sigh.
The trick with coloring styles is a good one, though.
I've never found a solution better than trying to enforce styles and then using a whole rack of cleanup and reformat methods (macros, etc.) in Word before importing the document. ID is just not as strong as Word at such text polishing. But it sounds like you've been around the block on this.
My worst case fix is this: export the Word doc to PDF and then strip the whole doc to Normal or Body. Clear everything, scrape out the white spaces, and start with, more or less, an old-school manuscript. Then import to ID and use the PDF as the formatting guide—or even do clean basic formatting in Word first.
That, or keep a Ken Griffey Jr model bat around to knock some sense into these clients. 😄
Because plain text loses everything but the characters, which is far too low a level for this process.
The export to PDF is to give a visual guide for re-formatting, so that you can reconstruct the author's intent.
The strip of all styles is to eliminate not only endless fixing in ID, but to kill all kinds of hidden problems that will choke a clean export to PDF, EPUB etc. from the new ID document, even if the reformatting appears to be flawless.
I agree with NitroPress--do the clean up in Word using this feature:
Then apply the correct style to the selections.
If the formatting is consistent from document to document, you can record a macro. (Much easer recording a macro than writing a script for some of us...)
Another tip: you can remove all manual formatting by selecting all the text and typing Control-spacebar (on Windows). Note that this will remove character styles too--leaving only paragraph formatting.
Thanks again David -
I'll take a look at this and perhaps the client's team will give it a go. However, the formatting, while generally consistent, still contains lots of blips.
One of the challenges is keeping italics intact, and there seems to be a fairly diverse blend of the way it's been applied 🙂
There's a few things I do in these situations.
There's a good article here
Another thing would be to use a Script
This finds text to be changed to Italics, Bold etc. and applies character styles.
And then using the Paragraph/Character Style Override Highlighter is essential
Once you've removed the Blue override highlight text you know you've completed that section.
It's great for long documents - as you immediately know where you finished before.
And another great tool for these things is a Text Comparison tool.
This will compare your Word File to the exported PDF from InDesign - and let you know if text attributes are not matching.
There's a few free ones and there's expensive ones - so it depends how far you want to go.
to more robust solutions
Thanks Eugene -
I've been using the "blue highlighter" pretty heavily, and making corrections pretty heavily as well!
Thanks for the links, too. Some of these look pretty good. Fact is, if it's something I'm going to continue to use, the cost gets factored in over time, so it may be a good deal.
Anne-Marie Concepción has produced a new LinkedIn Learning video training course that may be helpful: "Collaborative Workflows for Editors and Designers". You can get 30-days free access: https://www.linkedin.com/learning/collaborative-workflows-for-editors-and-designers/the-benefits-of-...
sometimes I find it helpful to highlight texts where certain paragraph styles are applied to.
I do that with a tool that is using a property of the paragraph style that is not exposed to the GUI, but can be accessed by scripting. It's been a while that I used it, so I'm not sure if it will still work with the latest versions of InDesign, but here it is:
StyLighter 1.4 for InDesign CS4/CS5/CS6/CC
Marc Autret, November 22, 2013
For more technical details, see the original article with an earlier version of the script:
( ACP )