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

2013-11-01 Thread Hans Hagen
] \startsetups Test \setbreakpoints[compound] \stopsetups \definetype[Test][lines=hyphenated, setups=Test, space=stretch] \showframe \starttext hellohello hellohello % should break like this: hel- lohello (ok) hellohello \Test{hel_lohello} % should break like this: hel_ lohello (not ok) hellohello

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

2013-10-29 Thread Peter Münster
] \stopsetups \definetype[Test][lines=hyphenated, setups=Test, space=stretch] \showframe \starttext 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

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

2013-10-07 Thread Hans Hagen
On 10/7/2013 1:09 AM, Peter Münster wrote: Hi, Is it already possible to define a new \type{} command that allows linebreaks and perhaps also a breakpoint set? If not, here my feature request: something like \definetype[xxx][linebreaks=yes, breakpoints=compound] \definetype[whatever][lines

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

2013-10-07 Thread Hans Hagen
On 10/7/2013 1:09 AM, Peter Münster wrote: Hi, Is it already possible to define a new \type{} command that allows linebreaks and perhaps also a breakpoint set? If not, here my feature request: something like \definetype[xxx][linebreaks=yes, breakpoints=compound] this should be redefined

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

2013-10-07 Thread Peter Münster
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

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

2013-10-07 Thread Hans Hagen
On 10/7/2013 10:30 AM, Peter Münster wrote: 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

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

2013-10-06 Thread Peter Münster
Hi, Is it already possible to define a new \type{} command that allows linebreaks and perhaps also a breakpoint set? If not, here my feature request: something like \definetype[xxx][linebreaks=yes, breakpoints=compound] TIA, -- Peter

[NTG-context] \definetype and ligatures

2012-05-31 Thread Wolfgang Schuster
Hi, are ligatures etc. supposed to be active in verbatim commands? In the default \type command they are only disabled because \tt has “features=none” in the typescripts but since this isn’t the case for serif and sans you get ligatures. \definetype[test][style=\rm] \starttext \type{fi

Re: [NTG-context] \definetype and ligatures

2012-05-31 Thread Hans Hagen
. \definetype[test][style=\rm] \starttext \type{fi -- ---} \test{fi -- ---} \stoptext one could disable features with the style key (or maybe at some point we can have an extra key for that - Hans

Re: [NTG-context] \definetype and ligatures

2012-05-31 Thread Wolfgang Schuster
for serif and sans you get ligatures. \definetype[test][style=\rm] \starttext \type{fi -- ---} \test{fi -- ---} \stoptext one could disable features with the style key (or maybe at some point we can have an extra key for that How about a “features” key which is passed

Re: [NTG-context] \definetype breaks down ---

2006-11-14 Thread Aditya Mahajan
On Tue, 14 Nov 2006, Aditya Mahajan wrote: Hi Hans, I just noticed a bug with the type mechanism. It breaks down the kerning for ---. Minimal example: \definetype[typeTEX][option=tex] \starttext \typeTEX|\example|. this---breaks---down. \stoptext Any workarounds? Noticed another

Re: [NTG-context] \definetype breaks down ---

2006-11-14 Thread Hans Hagen
Aditya Mahajan wrote: Hi Hans, I just noticed a bug with the type mechanism. It breaks down the kerning for ---. Minimal example: \definetype[typeTEX][option=tex] \starttext \typeTEX|\example|. this---breaks---down. \stoptext Any workarounds? taco, is \noligatures global? i.e

Re: [NTG-context] \definetype breaks down ---

2006-11-14 Thread Aditya Mahajan
On Tue, 14 Nov 2006, Hans Hagen wrote: Aditya Mahajan wrote: Hi Hans, I just noticed a bug with the type mechanism. It breaks down the kerning for ---. Minimal example: \definetype[typeTEX][option=tex] \starttext \typeTEX|\example|. this---breaks---down. \stoptext Any workarounds

Re: [NTG-context] \definetype breaks down ---

2006-11-14 Thread Hans Hagen
Aditya Mahajan wrote: On Tue, 14 Nov 2006, Hans Hagen wrote: Aditya Mahajan wrote: Hi Hans, I just noticed a bug with the type mechanism. It breaks down the kerning for ---. Minimal example: \definetype[typeTEX][option=tex] \starttext \typeTEX|\example|. this---breaks---down

[NTG-context] \definetype breaks down ---

2006-11-14 Thread Aditya Mahajan
Hi Hans, I just noticed a bug with the type mechanism. It breaks down the kerning for ---. Minimal example: \definetype[typeTEX][option=tex] \starttext \typeTEX|\example|. this---breaks---down. \stoptext Any workarounds? Aditya ___ ntg-context

Re: [NTG-context] \definetype breaks down ---

2006-11-14 Thread Hans Hagen
we need to obey the specific setting so verbatimfont is called at different places - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477

Re: [NTG-context] \definetype breaks down ---

2006-11-14 Thread Taco Hoekwater
Hans Hagen wrote: Aditya Mahajan wrote: Hi Hans, I just noticed a bug with the type mechanism. It breaks down the kerning for ---. Minimal example: \definetype[typeTEX][option=tex] \starttext \typeTEX|\example|. this---breaks---down. \stoptext Any workarounds? taco

[NTG-context] \definetype[...][option=...] problems

2005-04-13 Thread Nikolai Weibull
Try running \setupcolors[state=start] \definetype[JS][option=JS] \starttext \JS{function}\par \JS{function }\par \JS{ function}\par \JS{ function } \stoptext The first paragraph will only be the first character, f, the reason is made clear from the following two paragraphs. In the second