On this Page
-lineBreak
(As of 3.2.001.09)
Specify a line break algorithm.
Syntax
-lineBreak
0|
1|
2|
3
Description
Most likely only values 1 and 2 will be used. Values 0 and 3 are mostly for tests.
Value 1 is the current default behavior. Value 2 is a Microsoft Word-like line wrap.
- 0 - old original DocOrigin algorithm, no ICU involved
- 1 - current default ICU-driven algorithm - breaks on some dashes and some punctuations
- 2 - MS Word-like line break algorithm which breaks on all dashes and doesn't on punctuation
- 3 - mixed ICU and MS Word-like line break algorithm which breaks on some dashes (ICU doesn't break between minus and digit) and doesn't on punctuation
If the user wants this behavior for both Design and Merge then they can add this option to DocOrigin.prm
.