Projekt

Allgemein

Profil

Page Wrap and Hyphenation » Historie » Revision 7

Revision 6 (Martin Kraetke, 17.04.2024 16:49) → Revision 7/8 (Martin Kraetke, 17.04.2024 17:05)

h1. Text Wrap and Hyphenation 

 Even though _xerif_ is an automatic typesetting system, it is sometimes necessary to manually control line breaks. change the page wrap. However, you should be aware that too much manual interventions may lead to unpleasant 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 in this regard. 

 There are various ways to change line breaking the pagination manually.  

 h2. Text Wrap commands 

 With Microsoft Word's on-board tools, you can already control the text wrap pagination to a certain extent: 

 |_. Word symbol (Unicode) |_. Description |_. Key combination | 
 | @°@ (U+00A0) | protected space | @Ctrl@ + @Shift@ + @Space@ | 
 | @¬@ (U+00AD) | conditional hyphen | @Ctrl@ + @-@ | 
 | @-@ (U+00A0) | protected hyphen | @Ctrl@ + @Shift@ + @_@ |  
 | @↵@ | Soft Return | @Shift@ + @Enter@ |  
 | @⏎@ | Page break | @Ctrl@ + @Enter@ |  

 h2. Unicode Symbols 

 There are some Unicode characters to control line breaks: 

 |_. Name |_. Unicode |_. Description | 
 | Zero Width Space |    U+200B| marks a potential line break without hyphenation | 
 | Non-Breaking Hyphen |    U+2011 | Hyphen that does not break to the next line | 
 | Narrow No-Break Space |    U+202F| Narrow space that does not break to the next line | 

 h2. Processing instructions 

 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: 

 |_. PI (Unicode) |_. Description |  
 | @+1@ | Extend paragraph by 1 line |  
 | @-1@ | Catch up paragraph by 1 line |  
 | @↡@ (U+21A1) | Page break but fills up line |  


 h2. Hyphenation 

 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. 

 <pre> 
 === hyph-en.txt === 
 acad-e-my 
 acad-e-mies 
 ac-cu-sa-tive 
 ... 
 </pre> 

 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.