Am 02.05.2011 um 18:19 schrieb Aditya Mahajan:
> Hi,
>
> Why does verbatim text not line break properly.
>
> \setuppapersize[A5]
> \showframe
>
> \starttext
> % hyphenate is not the right word here; but illustrates the problem
>
> \type{a very very long line to see if it hyphenates or not, that can require
> a lot oftyping phew}.
> \stoptext
You can get a better result with “\setuptype[space=stretch]” but only the
“stretch”
keyword for \setupalign/\setuptolerance prevents a overfull line in your
example.
> Also, it is possible to completely prevent line breaks for \type.
\setuptype[space=fixed]
You can also put the text in a \hbox with “\setuptype[command=\hbox]”.
The command key from \setuptype is special because it accepts only
box commands (\hbox, \vbox, \framed …).
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________