Gregosab Posted June 19 Share Posted June 19 (edited) I need to insert a dash which is always linked with the word in front of it and I need to do it 1000+ times. Any ideas? Edited June 19 by Gregosab Quote Link to comment Share on other sites More sharing options...
Alfred Posted June 19 Share Posted June 19 Welcome to the Serif Affinity Forums, @Gregosab. You can insert a non-breaking hyphen via the ‘Text > Insert’ submenu. As far as I’m aware, there’s no such thing as a non-breaking dash. Komatös 1 Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen) Link to comment Share on other sites More sharing options...
MikeW Posted June 20 Share Posted June 20 2 hours ago, Alfred said: Welcome to the Serif Affinity Forums, @Gregosab. You can insert a non-breaking hyphen via the ‘Text > Insert’ submenu. As far as I’m aware, there’s no such thing as a non-breaking dash. The programmers can make non-breaking dashes, etc., for APub. Quark has always had these. Well, almost forever... Alfred 1 Quote Link to comment Share on other sites More sharing options...
Komatös Posted June 20 Share Posted June 20 @MikeW The names may be different in Publisher and InDesign Quark. But both designate the protected hyphen. In Publisher, it is the non-breaking hyphen. In Quark it is just called hyphen. Quote AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.2161) Affinity Suite V 2.5.5 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF I am not old, I have matured like a good scotch! Link to comment Share on other sites More sharing options...
Alfred Posted June 20 Share Posted June 20 2 minutes ago, Komatös said: The names may be different in Publisher and InDesign. But both designate the protected hyphen. A hyphen (or hyphen-minus) is typically shorter than a dash. Komatös 1 Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen) Link to comment Share on other sites More sharing options...
walt.farrell Posted June 20 Share Posted June 20 8 hours ago, MikeW said: The programmers can make non-breaking dashes You don't show us anything called a non-breaking dash, though. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1 Link to comment Share on other sites More sharing options...
Gregosab Posted June 20 Author Share Posted June 20 I think I found the solution. I just inserted a dash, created a new character style and checked the non-break box. After that, I went to find, pasted the regular dash and used the gear icon to applied the new style to all dashes, and that was it. Now all my 1000+ dashes are non breaking dashes. Alfred and Komatös 2 Quote Link to comment Share on other sites More sharing options...
MikeW Posted June 20 Share Posted June 20 2 hours ago, walt.farrell said: You don't show us anything called a non-breaking dash, though. The em, en dashes are at the bottom of the flyout. Along with the hyphen. If you look at the flyout label everything listed there are non-breaking. Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted June 20 Share Posted June 20 31 minutes ago, MikeW said: If you look at the flyout label everything listed there are non-breaking. Thanks. Missed that label. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1 Link to comment Share on other sites More sharing options...
nickbatz Posted June 20 Share Posted June 20 — m dash (Shift-Option-hyphen) – n dash (Option-hyphen) – dash/hypen (hypen alone) Those are Mac keys, probably the same on Windows. Quote Link to comment Share on other sites More sharing options...
Alfred Posted June 20 Share Posted June 20 2 hours ago, nickbatz said: — m dash (Shift-Option-hyphen) – n dash (Option-hyphen) These are ordinary em and en dashes, aren’t they, rather than non-breaking ones? 2 hours ago, nickbatz said: – dash/hypen (hypen alone) A dash isn’t the same as a hyphen. 2 hours ago, nickbatz said: Those are Mac keys, probably the same on Windows. Option on Mac is Alt on Windows, but I believe that the Option (⌥) key is labelled ‘alt’ on some Mac keyboards. Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen) Link to comment Share on other sites More sharing options...
nickbatz Posted June 20 Share Posted June 20 1 minute ago, Alfred said: These are ordinary em and en dashes, aren’t they, rather than non-breaking ones? A dash isn’t the same as a hyphen. Option on Mac is Alt on Windows, but I believe that the Option (⌥) key is labelled ‘alt’ on some Mac keyboards. I'm not saying they're non-breaking, I'm saying these are the differences between the three characters on a computer. A dash isn't a hyphen isn't a minus sign isn't all the same thing? In my full life on my keyboard they are. And yes, Option is Alt on Windows. Did I make any other egregious errors with some there there and no nothingburgers in sight? Quote Link to comment Share on other sites More sharing options...
Alfred Posted June 20 Share Posted June 20 11 minutes ago, nickbatz said: I'm not saying they're non-breaking, I'm saying these are the differences between the three characters on a computer. Thanks. I mentioned the ‘non-breaking’ distinction because that’s what I understood this thread to be about. 13 minutes ago, nickbatz said: A dash isn't a hyphen isn't a minus sign isn't all the same thing? In my full life on my keyboard they are. A dash is usually thinner than a hyphen-minus, and an em is longer than a hyphen or an en dash. 14 minutes ago, nickbatz said: Did I make any other egregious errors with some there there and no nothingburgers in sight? I wouldn’t class anything you’ve written here as ‘egregious errors’! Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen) Link to comment Share on other sites More sharing options...
thomaso Posted June 20 Share Posted June 20 10 hours ago, Gregosab said: I think I found the solution. I just inserted a dash, created a new character style and checked the non-break box. After that, I went to find, pasted the regular dash and used the gear icon to applied the new style to all dashes, and that was it. Now all my 1000+ dashes are non breaking dashes. A solution without a separate character style: A discretionary "soft hyphen" placed before the word appears to prevent its hyphenation. With an according formula you can add it via F&R Regex before all words which include a dash. lacerto 1 Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
lacerto Posted June 20 Share Posted June 20 Obsolete. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.