DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Print Production & Automation

Reply
 
Thread Tools Display Modes
Old 02-17-2006, 09:31 AM   #1
mamartin1
Member
 
Join Date: Feb 2006
Posts: 2
Default Automating text using InDesign

I have a large text file/multi page book created in Indesign. First line of text is bold font with tabs, 2nd & 3rd line are book text. Then it repeats again and again... Anything out there that will automatically do this?
mamartin1 is offline   Reply With Quote
Old 02-17-2006, 09:53 AM   #2
ElyseC
Sysop Emeritus
 
ElyseC's Avatar
 
Join Date: Oct 2004
Location: southeastern Iowa, in the technology corridor
Posts: 2,190
Default

If you have paragraph stylesheets set up for each change and a hard return ending each line you describe, you could set the first stylesheet (in Paragraph Style Options) to use the second style as "Next Style" and set the second style sheet to use the third style as it's "Next Style". The third style you set to use the first style as it's "Next Style."

What that'll do is, when you type your first line and tell it to be style 1, as soon as you type a return to start typing what is to be style 2, the next characters you type will be in style 2. Then type a return at the end of that line and you'll automatically start typing in style 3. The return you type at the end of line/style 3 will make line 4 be in style 1.

Now, if the text is already placed in the document and you want to automatically style it, I'd guess an AppleScript could be written to do the job.

   
__________________
Elyse
ElyseC is offline   Reply With Quote
Old 02-17-2006, 10:14 AM   #3
mamartin1
Member
 
Join Date: Feb 2006
Posts: 2
Default

Thanks. But the text will be imported from a .txt file. I figured I would have to find a AppleScript writter. Do you know of any?
mamartin1 is offline   Reply With Quote
Old 02-17-2006, 10:21 AM   #4
ElyseC
Sysop Emeritus
 
ElyseC's Avatar
 
Join Date: Oct 2004
Location: southeastern Iowa, in the technology corridor
Posts: 2,190
Default

Quote:
Originally Posted by mamartin1
Thanks. But the text will be imported from a .txt file. I figured I would have to find a AppleScript writter. Do you know of any?
Got some right here on the forum! Our own Shane Stanley flies all about the globe teaching AppleScript. Maybe he'll spot your post and jump in here to comment.

   
__________________
Elyse
ElyseC is offline   Reply With Quote
Old 02-17-2006, 12:53 PM   #5
Shane Stanley
Staff
 
Join Date: Oct 2004
Location: Melbourne, Australia
Posts: 526
Default

Quote:
Originally Posted by ElyseC
Now, if the text is already placed in the document and you want to automatically style it, I'd guess an AppleScript could be written to do the job.
There's no need for a script in InDesign CS2. You set up the styles using next styles, as you described. Then you select all the text, and click on the first style name in the Paragraph Styles palette while holding down the Option key; the contextual menu includes an option "Apply <style> then Next Style". Simple but very useful.

Shane
Shane Stanley is offline   Reply With Quote
Old 02-17-2006, 01:40 PM   #6
ElyseC
Sysop Emeritus
 
ElyseC's Avatar
 
Join Date: Oct 2004
Location: southeastern Iowa, in the technology corridor
Posts: 2,190
Default

Quote:
Originally Posted by Shane Stanley
Simple but very useful.
Excellent! Yet another reason former QX users switching to ID have to rejoice!

   
__________________
Elyse
ElyseC is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
InDesign CS: Text frame overflow check? bmann Print Design 3 10-15-2006 08:30 AM
Tagged text Norman Hathaway Print Design 17 02-07-2006 08:00 PM
Breaking text links in InDesign Norman Hathaway Print Design 3 01-17-2006 08:15 AM
automating mailto: links annc Print Production & Automation 19 12-03-2005 08:56 PM
Indesign linking text mdeligt Print Design 1 06-23-2005 03:30 AM


All times are GMT -8. The time now is 09:02 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.