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

Peter Münster pmlists at free.fr
Tue Oct 29 15:19:02 CET 2013

Hello Hans,

Is it also possible, to break inside the \type{} only at well defined
characters and without hyphenation?


--8<---------------cut here---------------start------------->8---
\startsetups Test
\definetype[Test][lines=hyphenated, setups=Test, space=stretch]
hellohello hellohello % should break like this: hel- lohello (ok)

hellohello \Test{hel_lohello} % should break like this: hel_ lohello (not ok)

hellohello \Test{hellohello} % should not break at all (not ok)
--8<---------------cut here---------------end--------------->8---

TIA for any help,

More information about the ntg-context mailing list