[NTG-context] Bad argument #1 to 'prehypenchar'

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Tue Sep 15 21:43:57 CEST 2020


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]

Wolfgang


More information about the ntg-context mailing list