[NTG-context] Bad argument #1 to 'prehypenchar'
Aditya Mahajan
adityam at umich.edu
Tue Sep 15 21:51:39 CEST 2020
On Tue, 15 Sep 2020, Wolfgang Schuster wrote:
> Aditya Mahajan schrieb am 15.09.2020 um 21:19:
> > On Tue, 15 Sep 2020, Wolfgang Schuster wrote:
> >
> > > You have to add \resetbreakpoints to the vim/filter module.
> >
> > Thanks. I had:
> >
> > \doifnotinset{\v!hyphenated}{\externalfilterparameter\c!option}
> > {\language\minusone}%
> >
> > which I changed to
> >
> > \doifnotinset{\v!hyphenated}{\externalfilterparameter\c!option}
> > {\language\minusone
> > \resetbreakpoints}%
> >
> > and this fixed the error.
>
> Don't use the \language hack, the official and supported commands are
> \nohypens and \dohyphens or when you need a interface for it use
>
> \usehyphensparameter\...parameter
>
> which allows
>
> \setup...[hyphens=yes|no]
This is a leftover from the old days. Thank for the suggestion on how to fix this. I'll play around a bit and perhaps add the option `hyphens=yes|no` instead of the current `option=hyphenated`.
Aditya
More information about the ntg-context
mailing list