On Mon, Oct 07 2013, Hans Hagen wrote:

>> If not, here my feature request: something like
>> \definetype[xxx][linebreaks=yes, breakpoints=compound]
>
> this should be redefined:
>
> \unexpanded\def\specialstretchedspace{\hskip.5\interwordspace\s!plus.125\interwordspace\relax}

Hi Hans,

Unfortunately it does not work:

--8<---------------cut here---------------start------------->8---
\unprotect
\unexpanded\def\specialstretchedspace{\hskip.5\interwordspace\s!plus.125\interwordspace\relax}
\protect
\definetype[whatever][lines=yes, space=stretch]
\setbreakpoints[compound]
\starttext
\hsize4cm
\whatever{fasdfjkl-fjsdkal-jskla-fjksdla-fjksdl-afjksdla}
fasdfjkl-fjsdkal-jskla-fjksdla-fjksdl-afjksdla
\stoptext
--8<---------------cut here---------------end--------------->8---

What am I doing wrong please?

-- 
           Peter
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

Reply via email to