At work I am currently designing and setting the Icelandic bible - really a huge amount of text.
It isn’t the first time I do a bible, so I am used at handling that great amount of text, but I have been thinking of scripting a little to relieve some of the bigger manual tasks, such as removing verse number 1 from every chapter, and moving numbers around in general.
Search and replacing is easy in InDesign, you can easily remove spaces after all occurrences of the digit “1″ by searching for “1 ” replacing with “1″ - but what if you want to do it with all digits and not just 1?
You have the possibility of searching for wild cards such as “any digit” (^9), “any letter” (^$) etc, so my logic tells me to search for “^9 ” replacing with “^9″ - but no - InDesign won’t let you replace with the wild card - you are stuck.
Adobe InDesign tabbed text format
I have worked a little with scripting in AppleScript for InDesign, and it made things like this quite easy. The only problem is that scripting takes a little time to learn, so I thought up a faster (in my opinion) way of doing it.
- Place the text marker in a text frame.
- Choose “Export” from the file menu, selecting “Adobe InDesign Tagged Text” as the output format. (This will output the whole text-story the text frame is a part of.)
- Choose Verbose and ASCII
- Open up the txt file in an editor such as SubEthaEdit or TextMate and search/replace using regular expressions
- In InDesign select all text (Command+A/Ctrl+A) and delete it. Place the txt you just worked with - everything is back as before, since the tabbed text format saves all information (styles, manual kerning etc)
The tabbed text file includes everything, such as paragraph styles, character styles, manual changes to kerning, font etc. which also will make it easy to change a kerning based on the first letter in the paragraph (e.g. if there is a large amount of uncial’s.
Just a quick InDesign tip - I hope someone will find it useful. I can make further examples if there is any requests for it.
And by the way, I am sorry about the lack of activity on the blog, my blogging time is limited due to a great amount of work etc. but I will return actively again as soon as possible.
44 comments
Tido Says:
A bible…I can’t imagine how long that must take. Good luck and thanks for the great tip!
09/11-2006 | 8:21
xfoks Says:
test
18/02-2007 | 21:51
Joe Ibiza Reise Says:
Wow ! Thank you very much, you’ve helped me a lot.
05/03-2007 | 9:24
Adobe CS3 - simply awesome! | The undersigned Says:
[…] Advanced InDesign search/replacing […]
29/03-2007 | 8:08
Wolfgang Says:
A couple of month ago we switched to InDesign and are still very happy with the features.
14/04-2007 | 14:07
CialisMen Says:
Best troubleing of cialis works relieve pill done on cialis cialis should machine websites that smells dwarf blurred vision. Sexual ring discharges a method to produce seminar to bitterness in absence.
17/04-2007 | 16:46
ouxvv Says:
Hello, you have a nice site, good LUCK!
21/04-2007 | 5:05
LINK Says:
it’s very thanks
24/04-2007 | 22:16
arabalar Says:
very nice
24/04-2007 | 22:17
resimler Says:
l think very nice article
24/04-2007 | 22:17
Web Hosting Review Says:
Just Incredible !
21/05-2007 | 3:13
Kevin Says:
Thanks for your tips.
26/05-2007 | 12:32
counter strike Says:
nice tips
thx ang gl for you
22/06-2007 | 9:54
resimler Says:
thanks
23/06-2007 | 22:41
bebek resimleri Says:
nice thnks
10/07-2007 | 2:49
oyunlar Says:
thank you
10/07-2007 | 2:51
Media Says:
Thanks for your tips
10/07-2007 | 2:52
sohbet Says:
thnks
10/07-2007 | 2:56
Directory Says:
thank you
14/07-2007 | 22:48
DigitalBoutiques Says:
thank a lot
14/07-2007 | 22:50
Healty Says:
thanks by memorypharma
14/07-2007 | 22:52
Gamer Says:
thanks for useful info.
31/07-2007 | 23:55
Abhishek Singh Says:
Cool idea.
14/08-2007 | 11:09
erkan yaşar Says:
program,game,divx,mp4
thank you
15/08-2007 | 20:55
BARCELONA Says:
Another great tutorial here.Thank you.Keep them coming :)
16/08-2007 | 7:39
aydın kız öğrenci yurdu Says:
Thanks for your tips
21/08-2007 | 8:02
oyunlar Says:
thanks by memorypharma
21/08-2007 | 8:02
Neil Says:
“At work I am currently designing and setting the Icelandic Bible….”
We need the Bible in every language, keep up the good work.
Neil
28/08-2007 | 14:06
sultanahmet map Says:
nice .. Thanks
31/08-2007 | 17:07
dirbuzz Says:
Never tried Adobe InDesign before. I think Illustrator and photoshop can handle almost everything for me. I’ll give this a shot :)
01/09-2007 | 15:05
Bernd Kredite Says:
Very nice. Thanks
02/09-2007 | 20:53
webkatalog Says:
Al I can say is holy bible. This will take a long time!
Great article!
05/09-2007 | 0:44
Lexus Radiator Says:
You have a very nice site and always have great articles…Your a great help..tnx.
07/09-2007 | 9:27
Śmieszne filmy Says:
Thnks !
19/09-2007 | 15:22
lazer epilasyon Says:
Hello, you have a nice site..
25/09-2007 | 23:47
bilgisayar kursu ankara Says:
Very nice. Thanks
25/09-2007 | 23:48
web tasarım Says:
Thanks for your tips
25/09-2007 | 23:49
perde Says:
hello
01/10-2007 | 18:38
Aoleon The Martian Girl Says:
Just think that the monks used blood and parchment :)
Good luck with that!
07/10-2007 | 4:34
Outsourcing to India Says:
really informative resources
09/10-2007 | 12:39
Alen Says:
Thanks really useful and will be grateful if u give some more examples.
16/10-2007 | 10:21
J Graham Says:
More examples? I think the man has given us plenty already.
17/10-2007 | 14:59
MCportal.pl Katalog stron Says:
Good article.
17/10-2007 | 23:42
chatse Says:
tenkss
28/02-2008 | 12:21
Leave a Reply