Changes

Jump to navigation Jump to search
489 bytes added ,  07:54, 17 September 2008
\setuphyphenmark
This dash can be placed between two | characters, for example |-|.
When || is typed, the default intra word dash is used, which is <context>||</context>. You can configure this with <cmd>setuphyphenmark</cmd>. Valid values are <code>normal</code> and <code>wide</code>. The default sign is a combination of two hyphens: <context>\startbuffer\setuphyphenmark[sign=wide] intra||word\stopbuffer \typebuffer \getbuffer</context> To get a normal sign you could set this with the <code>normal</code> value (ConTeXt 2008.09.16 or later). <context>\startbuffer\setuphyphenmark[sign=normal] intra||word\stopbuffer \typebuffer \getbuffer</context>
The || is also used in word combinations like (intra)word, which is typed as (intra|)|word.
<context>
\startbuffer
a |<|as explained below|>| conflirtaneous \dotsunknown
\stopbuffer
\getbuffer
</context>
 
The main reason behind this mechanism is that TeX doesn’t really know how to hyphenate
\VL \ShowComposed intra|=|word \VL\LR
\VL \ShowComposed intra|'|word \VL\LR
\VL \ShowComposed intra|*|word \VL\LR
\HL
\stoptable
gardener
110

edits

Navigation menu