Albert Kapune | 16 Jul 2012 18:07

Showing nonbreaking spaces


Hello,

At the moment I am working with a (XeLaTeX-)document that contains lots of
nonbreaking spaces. So I wonder if there is a possibility in WinEdt’s
settings that enables to distinguish between breaking and nonbreaking
spaces. I am using WinEdt 7.

Thank you and kind regards
Albert

--

-- 
Dr. Albert Kapune
Brunnenstrasse 1
D-59514 Welver-Nateln
Telefon: (02384) 911012
Telefax: (02384) 911011

WinEdt Team | 16 Jul 2012 21:36

Re: Showing nonbreaking spaces

Albert,

> At the moment I am working with a (XeLaTeX-)document that contains
> lots of nonbreaking spaces. So I wonder if there is a possibility
> in WinEdt’s settings that enables to distinguish between breaking
> and nonbreaking spaces. I am using WinEdt 7.

WinEdt already distinguish between them. However, the glyph used
for this character (ANSI #160) is the same as that one for the
ordinary space (font property). If you want to see nbsp differently
on your screen you can do the following:

1. Add a translation

  #160 -> "_"

to screen translations (you can use any character; here we chose
underline).

2. In Highlighting -> Filter sets enable the highlighting so that
you can distinguish proper underlines from translated ones. The
record is already there (enabled only for Binary Mode). You have to
enable it for TeX or all modes (and possibly adjust colors to your
taste):

FILTER_SET="Space (160)"
  ENABLED=1
  MODE_FILTER="Binary"
  SET="[#160]"
  BEFORE=""
(Continue reading)

Albert Kapune | 17 Jul 2012 23:26

Re: Showing nonbreaking spaces


Hello Alex,

thank you very much for your hints. I can distinguish the nonbreaking
spaces from the breaking ones very easily now.

Kind regards
Albert

WinEdt Team schrieb am 16.07.2012 21:36 folgendes:

> Albert,
> 
>> At the moment I am working with a (XeLaTeX-)document that contains 
>> lots of nonbreaking spaces. So I wonder if there is a possibility in
>> WinEdt’s settings that enables to distinguish between breaking and
>> nonbreaking spaces. I am using WinEdt 7.
> 
> WinEdt already distinguish between them. However, the glyph used for
> this character (ANSI #160) is the same as that one for the ordinary
> space (font property). If you want to see nbsp differently on your
> screen you can do the following:
> 
> 1. Add a translation
> 
> #160 -> "_"
> 
> to screen translations (you can use any character; here we chose 
> underline).
> 
(Continue reading)


Gmane