vwatson Posted July 4, 2019 Share Posted July 4, 2019 How can I exclude the em dash as an acceptable character to include in hyphenation in Publisher? For example, if I had a sentence like this. Crocodiles, alligators—they both look the same to me It seems to assume "alligators—they" is all one word. I've had it insert a hyphenation dash right before the em dash, which looks rather ugly. Quote Link to comment Share on other sites More sharing options...
MrDavidW Posted July 4, 2019 Share Posted July 4, 2019 (edited) That is the correct way to use an em dash. Very rarely would you use spacing before or after. It is not a hyphen and it is not "joining" those two words. Alternatively, use space, en dash, space. Check out en dash and em dash rules on Wikipedia or a grammar/punctuation website. Edited July 4, 2019 by MrDavidW More information Quote Link to comment Share on other sites More sharing options...
kenmcd Posted July 4, 2019 Share Posted July 4, 2019 I went looking to see what the Unicode standard says about a line break there.Unicode® Standard Annex #14 Unicode Line Breaking Algorithmhttps://www.unicode.org/reports/tr14/ Perhaps your em dash above should be a en dash – which would break. But you mentioned adding a hyphen which does not make sense at all to me. Quote Link to comment Share on other sites More sharing options...
vwatson Posted July 4, 2019 Author Share Posted July 4, 2019 Okay, maybe I didn't explain it well enough. If I have something like this alligators—they and it happens to fall where Publisher thinks it should hyphenate, it does this, breaking it at the em dash. alligators- —they Publisher is inserting the hyphen, not me. It adds a hyphen before the em dash. I've always inserted em dashes without spaces before or after. Perhaps you can use spaces on either side of an em dash? Quote Link to comment Share on other sites More sharing options...
Fixx Posted July 4, 2019 Share Posted July 4, 2019 3 hours ago, vwatson said: I've always inserted em dashes without spaces before or after. Perhaps you can use spaces on either side of an em dash? em dash is american thing so I do not know it well.. but you are not opposed to use spaces with it. Possibly thin spaces would do. That hyphenation thing is something devs should correct. Meanwhile I would just finish the design and search then all occurrences and fix manually. Or search-replace em-dash with thin-space-em-dash-thin space. Edit: Thin space as all similar are non-breaking, so no cigar. But zero-width-space works! Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted July 4, 2019 Share Posted July 4, 2019 4 hours ago, Fixx said: em dash is american thing so I do not know it well.. English (all varieties), not specifically American Good idea to use a zero-width-space, Fixx! And yes, adding the hyphen seesm like a hyphenation bug, to me. @vwatson: You should create a new bug report topic in the appropriate subforum (Mac, Windows) of Report a Bug in Affinity Publisher to ensure that Serif knows about it and gets it logged with the developers. Also, yes, you can use a space around an em-dash if you want, but depending on which style guide you believe in, it may be incorrect to do so Quote -- Walt Desktop: Windows 11 Pro, version 22H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 22H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Affinity Photo 1.10.6 (.1665) and 2.1.0 and 2.1.0. beta/ Affinity Designer 1.10.6 (.1665) and 2.1.0 and 2.1.0 beta / Affinity Publisher 1.10.6 (.1665) and 2.1.0 and 2.1.0betaiPad Pro M1, 12.9", iPadOS 16.4.1 (a), Apple Pencil 2, Magic Keyboard Affinity Photo 1.10.7 and 2.1.0 and 2.1.0 beta/ Affinity Designer 1.10.7 and 2.1.0 and 2.1.0 beta/ Affinity Publisher 2.1.0 and 2.1.0 beta Link to comment Share on other sites More sharing options...
vwatson Posted July 4, 2019 Author Share Posted July 4, 2019 Thanks everyone. I'll add it in the bug section. 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.