Projekt

Allgemein

Profil

Page Wrap and Hyphenation » Historie » Version 3

Martin Kraetke, 17.04.2024 16:44

1 1 Martin Kraetke
h1. Page Wrap and Hyphenation
2
3 3 Martin Kraetke
Even though _xerif_ is an automatic typesetting system, it is still necessary to intervene in the pagination. However, you should be aware that excessive intervention in the pagination may lead to unsightly results elsewhere. In addition, xerif is not intended for "manual typesetting" and is not as efficient as DTP typesetting programs such as Adobe InDesign or Affinity Publisher.
4 1 Martin Kraetke
5
There are various ways to change the pagination manually. 
6
7
h2. Wrapping commands
8
9
With Microsoft Word's on-board tools, you can already control the pagination to a certain extent:
10
11
|_. Word symbol (Unicode) |_. Description |_. Key combination |
12
| @°@ (U+00A0) | protected space | @Ctrl@ + @Shift@ + @Space@ |
13
| @¬@ (U+00AD) | conditional hyphen | @Ctrl@ + @-@ |
14
| @-@ (U+00A0) | protected hyphen | @Ctrl@ + @Shift@ + @_@ | 
15
| @↵@ | Soft Return | @Shift@ + @Enter@ | 
16
| @⏎@ | Page break | @Ctrl@ + @Enter@ | 
17
18
h2. Processing instructions
19
20
xerif comes with so-called processing instructions: These are commands that are carried by Word up to the page break. The PI must be inserted in Word and assigned the PI format:
21
22
|_. PI (Unicode) |_. Description | 
23
| @+1@ | Extend paragraph by 1 line | 
24
| @-1@ | Catch up paragraph by 1 line | 
25
| @↡@ (U+21A1) | Page break but fills up line | 
26
27
28
h2. Hyphenation
29
30
xerif uses language-specific hyphenation patterns according to which hyphenation is carried out. However, these hyphenation patterns may not achieve the desired results for certain words. Therefore xerif also supports hyphenation lists. These are text files which store the desired hyphenation for a word, e.g.
31
32
<pre>
33
=== hyph-en.txt ===
34
acad-e-my
35
acad-e-mies
36
ac-cu-sa-tive
37
...
38
</pre>
39
40
You can also upload title-specific hyphenation patterns. These must be uploaded and versioned in the form @{$filename}-hyph-{$languagecode}.txt@ (e.g. @brill_521922_Mihalik-hyph-en.txt@). The exact file naming convention may differ, as this depends on the customer-specific naming conventions and you should coordinate this with your contact person.