[Dev-luatex] \prehyphenchar

Taco Hoekwater taco at elvenkind.com
Wed Jan 23 12:36:13 CET 2008


Jonathan Sauer wrote:
> Hello,
> 
> LuaTeX snapshot-0.20.2-2007121721:
> 
> This works (in PlainTeX):
> 
> 	\prehyphenchar`\-
> 
> 
> This results in an error:
> 
> 	\prehyphenchar=`\-
> 
> 
> 	! Missing number, treated as zero.
> 	<to be read again> 
> 					   =
> 	l.29 \prehyphenchar=
> 						`\-
> 
> 
> A bug? Am I misunderstanding something?

You are missing something (the manual is unclear).
The correct syntax is:

   \prehyphenchar<language number><optional eq><char number>

Best wishes,
Taco


More information about the dev-luatex mailing list