Pages: 1
Print
Author Topic: Non-breaking space  (Read 4121 times)
rogerhadley
Member

Posts: 1


« on: July 30, 2012, 10:30:19 AM »

What is the best way for an author to insert a non-breaking space in a DITA topic?
-Roger
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2502



WWW
« Reply #1 on: July 30, 2012, 02:52:03 PM »

One way to do this is to type Alt+0160 where the digits are entered from the numeric keypad. The number 0160 is the decimal value matching the Unicode code point for this character.

Microsoft has a page on entering characters using this method here:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/lang_char_code_input.mspx?mfr=true

Microsoft does not state this (in so many words) but you can really only use this method for entering characters with code point values up to decimal 255. For other characters (or for those you do not know the number for) you can use an IME or the Windows Character Map tool (charmap.exe).
« Last Edit: July 30, 2012, 04:31:44 PM by Derek Read » Logged
Griffin
Member

Posts: 1


« Reply #2 on: December 30, 2015, 03:52:28 PM »

I used this method to enter non-breaking spaces into a topic that included tables. By using non-breaking spaces I was able to keep the tables from word-wrapping specific sequences that included spaces. It was quite effective.

However, in all of the different viewing modes, the non-breaking spaces were undetectable from regular spaces. Unlike other platforms which show non-breaking spaces as degree symbols or some other notation, in XMetaL they look exactly the same as regular (breaking) spaces, but behave differently.
Logged
Pages: 1
Print
Jump to: