diff --git a/manual/luatex.pdf b/manual/luatex.pdf index c08c6a3828a8ed91956b15b4959b2bb208700ec4..9d722397f068e5df2d7c9291076c851756574077 100644 Binary files a/manual/luatex.pdf and b/manual/luatex.pdf differ diff --git a/source/texk/web2c/luatexdir/lang/texlang.c b/source/texk/web2c/luatexdir/lang/texlang.c index ba7614ffafc8a56fac3611278ed1974697b99505..67ef25ca1d1b5687c5402bdcefd0e0f40d09e715 100644 --- a/source/texk/web2c/luatexdir/lang/texlang.c +++ b/source/texk/web2c/luatexdir/lang/texlang.c @@ -674,10 +674,10 @@ static void do_exception(halfword wordstart, halfword r, char *replacement) /*tex Let's check if we have a penalty spec. */ if (((i+3) < len) && uword[i+1] == '[' && uword[i+2] >= '0' && uword[i+2] <= '9' && uword[i+3] == ']') { if (exception_penalty_par > 0) { - if (exception_penalty_par > 100000) { - pen = (uword[i+2] - '0') * exception_penalty_par ; - } else { + if (exception_penalty_par > 10000) { pen = exception_penalty_par; + } else { + pen = (uword[i+2] - '0') * exception_penalty_par ; } } else { pen = hyphen_penalty_par; @@ -993,7 +993,7 @@ void hnj_hyphenation(halfword head, halfword tail) tex_error("the word starts with a ghost glyph", NULL); } else { tex_error("the word doesn't start with a simple character", NULL); - } + } } hyf_font = font(wordstart); if (hyphen_char(hyf_font) < 0) { diff --git a/source/texk/web2c/luatexdir/luatex_svnversion.h b/source/texk/web2c/luatexdir/luatex_svnversion.h index 2e288c3f79e2d288a0e95f7ed0eee59045aac4cb..09450cb65e158c74239801ffaf6a32ef41f7003b 100644 --- a/source/texk/web2c/luatexdir/luatex_svnversion.h +++ b/source/texk/web2c/luatexdir/luatex_svnversion.h @@ -1 +1 @@ -#define luatex_svn_revision 7493 +#define luatex_svn_revision 7495