DTP


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


Go Back   Desktop Publishing Forum > General Discussions > Print Design

Reply
 
Thread Tools Display Modes
Old 04-28-2006, 12:49 AM   #1
oldbunyip
Member
 
Join Date: Apr 2006
Posts: 6
Default Convert hyphen to en dash in ID, how?

Sometimes the text I get from my book reviewer is full of hyphens that need to be replaced with en dashes. I've tried to do it this way: Ctr+A to select all, Ctr+F to get Find/Changedialog box. In the "Find what" drop down menu I select "Nonbreaking Hyphen" and in the "Change to" menu I select en dash, than click Change all, but no results. The message I got is: Search is completed. 0 replacement(0) made. I've tried to fix the problem using TextCleanup script, but no results either. Any idea why?
Cheers
oldbunyip is offline   Reply With Quote
Old 04-28-2006, 01:29 AM   #2
LoisWakeman
Staff
 
LoisWakeman's Avatar
 
Join Date: Jan 2005
Location: Uplyme, Devon, England
Posts: 1,402
Default

Using my psychic powers, I infer that you are talking about Word: right?

If so, then either the search is crapping out - which does happen sometimes for no apparent reason, in which case the cure may be to close Word and start a fresh session.

More likely is that you are looking for the wrong character: are you sure they are non-breaking hyphens? They might well be minus signs or conditional hyphens for example. You could try copying and pasting the offending character in the 'find what' field, though this doesn't always work for some non-printing characters.
LoisWakeman is offline   Reply With Quote
Old 04-28-2006, 01:53 AM   #3
oldbunyip
Member
 
Join Date: Apr 2006
Posts: 6
Default

Sorry Lois, my mistake, forgot to clearify it: I'm using InDesign CS2, not Word, but thanks for the effort anyway. Cheers
oldbunyip is offline   Reply With Quote
Old 04-28-2006, 05:07 AM   #4
donmcc
Member
 
Join Date: Feb 2005
Location: Sarnia, Canada
Posts: 1,122
Default

Could your problem be that these are not non-breaking hyphens. Try placing a regular hyphen in the search box, and it should work. The Cntrl-A stage can be skipped. You don't need to select text for S&R to work, unless you want to only search part of the document.

But how do you prevent hyphenated words from getting en dashs? Surely that can't be the goal. If the hyphens are space-hyphen-space, you are better to search for spach-hyphen-space and replace with space-en-dash-space.
donmcc is offline   Reply With Quote
Old 04-28-2006, 05:28 AM   #5
Ian Blair
Member
 
Join Date: Mar 2006
Posts: 24
Default

I don't have InDesign and have never used En Dashes, but some OSX fonts have a special feature called 'Hyphen to En Dash', which works when you type (letter) (space) (hyphen) (space) letter).

In applications that support the OSX text engine, you select the Hyphen to En Dash feature and the Hyphen is substituted by an En Dash (which is slightly wider). All subsequent Hyphens are substituted automatically by En Dashes. The substitution will only take place if the font contains an En Dash.

Your problem could be that InDesign is expecting spaces before and after the Hyphen.

Adding this feature to a font is straightforward; it can be a simple drag and drop operation, but the substitution only works with OSX apps (Text Edit, Pages, Create, Nisus Writer, etc).

Ian
Ian Blair is offline   Reply With Quote
Old 04-28-2006, 07:10 AM   #6
ktinkel
Founding Sysop
 
ktinkel's Avatar
 
Join Date: Oct 2004
Location: In Connecticut, on the Housatonic River near its mouth at Long Island Sound.
Posts: 11,189
Default

Quote:
Originally Posted by oldbunyip
Sometimes the text I get from my book reviewer is full of hyphens that need to be replaced with en dashes.
I would search on space-hyphen-space and replace with space-endash-space.

After that, I do a search on hyphen, with no replacement called for, and look at each of them to make sure they do not need to be changed manually.

And finally do a global search on space-space and replace with space, to make sure no double spaces have crept in.

   
__________________
[SIZE=2][COLOR=LemonChiffon]::[/COLOR][/SIZE]
[SIGPIC][/SIGPIC]
ktinkel is offline   Reply With Quote
Old 04-29-2006, 02:11 PM   #7
annc
Sysop
 
annc's Avatar
 
Join Date: Oct 2004
Location: Subtropical Queensland, Australia, between the mountains and the Coral Sea
Posts: 4,436
Default

Kathleen's method is also the one I use, but as I prefer em dashes, I change the spacd-hyphen-space to thin space-em dash thin-space.

This stops the em dash bumping into the characters to either side.

   
__________________
annc is offline   Reply With Quote
Old 04-29-2006, 03:41 PM   #8
Michael Rowley
Member
 
Join Date: Jan 2005
Location: Ipswich (the one in England)
Posts: 5,105
Default

Ann:

This stops the em dash bumping into the characters to either side

It does, but a thin space (em/6 or em/5?) may be a bit too much; some advocates careful spacing say that a hair space is enough, and should be omitted after certain letters. I don't like it, but in England the en-dash preceded and followed by a normal space is all the rage, both in papers , magazines, and books. Then you have the type designers that have shortened the em-dash somewhat and made sure that the side bearings are generous enough to avoid apparent touching of neighbouring letters (Carter, for instance, in Georgia).

   
__________________
Michael
Michael Rowley 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
convert bitmap text to vector FlipSide Images 3 12-02-2006 02:38 PM
Convert to Black & White Andrew B. Images 35 10-09-2006 02:31 PM
Convert Quark QXD to Windows? mksf Images 12 05-09-2006 10:01 PM
Convert Opentype to truetype? Alastair Bruce Fonts & Typography 5 04-06-2005 03:53 PM
When to convert to CMYK annc Images 23 03-15-2005 09:10 AM


All times are GMT -8. The time now is 06:44 AM.


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