Projekt

Allgemein

Profil

Page Wrap and Hyphenation » Historie » Version 1

Martin Kraetke, 17.04.2024 16:44

1 1 Martin Kraetke
h1. Page Wrap and Hyphenation
2
3
h1. Wrapping and hyphenation
4
5
Even if _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.
6
7
There are various ways to change the pagination manually. 
8
9
h2. Wrapping commands
10
11
With Microsoft Word's on-board tools, you can already control the pagination to a certain extent:
12
13
|_. Word symbol (Unicode) |_. Description |_. Key combination |
14
| @°@ (U+00A0) | protected space | @Ctrl@ + @Shift@ + @Space@ |
15
| @¬@ (U+00AD) | conditional hyphen | @Ctrl@ + @-@ |
16
| @-@ (U+00A0) | protected hyphen | @Ctrl@ + @Shift@ + @_@ | 
17
| @↵@ | Soft Return | @Shift@ + @Enter@ | 
18
| @⏎@ | Page break | @Ctrl@ + @Enter@ | 
19
20
h2. Processing instructions
21
22
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:
23
24
|_. PI (Unicode) |_. Description | 
25
| @+1@ | Extend paragraph by 1 line | 
26
| @-1@ | Catch up paragraph by 1 line | 
27
| @↡@ (U+21A1) | Page break but fills up line | 
28
29
30
h2. Hyphenation
31
32
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.
33
34
<pre>
35
=== hyph-en.txt ===
36
acad-e-my
37
acad-e-mies
38
ac-cu-sa-tive
39
...
40
</pre>
41
42
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.