When I try to supress hyphenation in an arithmetic expression (-64dBVp-p), I select that word then hit shortcut
ESC n s (as the documentation says). A "no hyphenation" marker appears but the word itself disappears. Am I doing something wrong?
You shouldn’t be selecting the word. Place your cursor in front of it and then enter the no-hyphen code.
You will also have to use non-breaking hyphens inside your expression.
I found either a solution or a workaround. David solved the problem of the
disappearing word (<applies dope slap to self>) but the word still broke
at the hyphen.
I then tried changing the hyphen to a true minus sign, (CTRL-Q SHIFT-P)
but that didn't work either-- the word broke after the minus sign.
The problem went away after I did Format>Document>Text Options and removed
both the hyphen and the minus sign from the "Allow Line Breaks After" field.
While you can remove them from the Allow Line Breaks, you could also have just inserted non-breaking hyphens (Esc - [hyphen] h). Maybe for the future (i.e., it's easier to type, and you don't prevent appropriate breaks).
Surely this is a bug. ESC n s is an override and to have it fail to override
this fairly obscure setting is crazy-making.
Also, I'll want to go back and add +, =, etc. to make sure other expressions don't get broken.