From eb3f5f9a64a4553a16273f9ff5cfe99d10f27dd8 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 10 Dec 2012 01:31:19 +0000
Subject: luatexja (9dec12)

git-svn-id: svn://tug.org/texlive/trunk@28482 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/luatex/luatexja/ltj-plain.sty | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

(limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-plain.sty')

diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-plain.sty b/Master/texmf-dist/tex/luatex/luatexja/ltj-plain.sty
index d09d05be2bd..30012f30fd3 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltj-plain.sty
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-plain.sty
@@ -32,16 +32,20 @@
 \let\mc=\tenmin
 \let\gt=\tengt
 \mc
+
+\directlua{
+  luatexja.stack.charprop_stack_table[0] 
+    = dofile(assert(kpse.find_file('ltj-kinsoku.lua', 'tex'),
+      "File `ltj-kinsoku.lua' not found"))
+}
+
 \ltjsetparameter{kanjiskip=0pt plus 0.4pt minus 0.4pt, 
   xkanjiskip=.25\zw plus 1pt minus 1pt,
   autospacing, autoxspacing, jacharrange={-1}, 
   yalbaselineshift=0pt, yjabaselineshift=0pt,
-  jcharwidowpenalty=500, differentjfm=average
+  jcharwidowpenalty=500, differentjfm=paverage
 }
 
-\input luatexja-kinsoku.tex
-
-
 \ltjdefcharrange{1}{"80-"36F, "1E00-"1EFF} 
 \ltjdefcharrange{2}{"370-"4FF, "1F00-"1FFF} 
 \ltjdefcharrange{3}{%
-- 
cgit v1.2.3

