[Dev-luatex] \prehyphenchar

Taco Hoekwater taco at elvenkind.com
Wed Jan 23 12:57:16 CET 2008


Jonathan Sauer wrote:
> Hello, 
> 
>>>    \prehyphenchar<language number><optional eq><char number>
>> Sorry, I am an idiot. I just checked the source and it says:
>>
>>    \prehyphenchar<char number>
>>
>> The idea was that this matches \patterns and \hyphenation:
>> neither accepts a language number or an equals.
> 
> Hmm ... I would more expect it to match TeX's \hyphenchar (to
> match \patterns, the syntax IMO would have to be \prehyphenchar
> "{"<char number>"}"). But maybe I was confused by "All languages
> start out with \prehyphenchar=`\- and \posthyphenchar=0".
> 
> OTOH, it is an integer parameter, so I might have thought that
> there would be an optional equals sign just as with TeX's other
> integer parameters (even though this one is not global, but
> language-specific).

Agreed. I will add an optional equals sign in the next release.

Best wishes,
Taco


More information about the dev-luatex mailing list