Changes

Jump to navigation Jump to search
1,299 bytes added ,  18:11, 20 April 2013
Created page with "{{Reference |name={{subst:SUBPAGENAME}} |attributes= }} == Syntax == <table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd..."
{{Reference
|name=setbreakpoints
|attributes=
}}

== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setbreakpoints<!--
--><span class="first">[...]</span><!--
--></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[...]</td>
<td>compound reset</td>
</tr>
</table>

== Description ==
Activate a predefined set of breakpoints (characters at which words may be broken). A breakpoint in a set may be defined using {{cmd|definebreakpoint}}. This does not affect [[Hyphenation|hyphenation]] in general, beyond adding extra hyphenation points to eligible words. The only set of breakpoints defined by default is {{code|compound}}.

== Example ==
<context mode=mkiv source=yes>
\setuppapersize[A8]
\setbreakpoints[compound]

1. This is the truth: waste-not-want-not \par
2. This is the truth: waste/not/want/not \par
3. This is the truth: waste+not+want+not \par
4. This is the truth: waste(not(want(not)) \par
5. This is the truth: ((waste)not)want)not
</context>

== See also ==
* {{cmd|definebreakpoint}}
* {{cmd|hyphenation}}
* [[Hyphenation]]
* {{src|typo-brk.mkiv}}

== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|setbreakpoints}}

[[Category:Command/Languages|setbreakpoints]]

Navigation menu