[NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

Peter Münster pmlists at free.fr
Mon Oct 7 10:30:25 CEST 2013


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


More information about the ntg-context mailing list