Surrounding Context

When you configure a Dictionary view, Reversal Index, Classified Dictionary view or Document view you often see "surrounding context" boxes labelled Before, Between and After.

You can type characters, spaces or symbols in them. What you type is usually visible and uses the Dictionary-Context style.

Additionally, you can also type a Unicode hexadecimal value and then press the shortcut keys Alt+X to convert the value to the corresponding Unicode character or symbol (not available in the Configure Classified Dictionary View or Configure Document View dialog boxes).

Here are some examples (not exhaustive):

Type

Alt+X result

Note

0009

(tab)

0020

(dot, for a space)

061C

[ALM]

Arabic Letter Mark

202A

[LRE]

Left-to-Right Embedding

202D

[LRO]

Left-to-Right Override

202B

[RLE]

Right-to-Left Embedding

202E

[RLO]

Right-to-Left Override

202C

[PDF]

Pop Directional Formatting

2066

[LRI]

Left-to-Right Isolate

2067

[RLI]

Right-to-Left Isolate

2068

[FSI]

First Strong Isolate

2069

[PDI]

Pop Directional Isolate

200B

[ZWSP]

Zero-Width Space

200C

[ZWNJ]

Zero-Width Non-Joiner

200D

[ZWJ]

Zero-Width Joiner

FEFF

[ZWNBSP]

Zero Width No-Break Space

200E

[LRM]

Left-to-Right Mark

200F

[RLM]

Right-to-Left Mark

00A0

[NBSP]

No-Break Space

202F

[NNBSP]

Narrow No-break Space

Type

To

Note

\0A force a new line You can do this in any Before, Between or After box.

Tip

  1. Typically, you can simply type a space to separate parts of a dictionary entry. However, if the space could appear between two pieces of left-to-right text that should be ordered with the first one on the right, you need to enter a three-letter sequence: RLMspaceRLM, where RLM is the Unicode character U+200F, the Right-to-left mark.

    This sequence acts as a space and it indicates to FieldWorks that the space must be treated as right-to-left. It separates the two chunks of left-to-right text (such as a gloss or a part of speech) so that they follow the paragraph order separately.

  2. For two spaces, use RLMspacespaceRLM.

  3. You can use ZEdit to construct a sequence. For example, set ZEdit to UTF8 document, and use the "Insert Characters" command to insert 200F, 0020, 200F. Then, select and copy it to the clipboard, and paste into FLEx.

Related Topics

Configuring a Classified Dictionary view

Configuring a Reversal Index view

Using the Configure Dictionary dialog box

Related Internet Sites

https://unicode-table.com/en/000A/

https://en.wikipedia.org/wiki/Zero-width_space

https://en.wikipedia.org/wiki/Zero-width_non-joiner

https://en.wikipedia.org/wiki/Zero-width_joiner

https://en.wikipedia.org/wiki/Left-to-right_mark

https://en.wikipedia.org/wiki/Right-to-left_mark

https://en.wikipedia.org/wiki/List_of_Unicode_characters