--
luatexbase.provides_module({
name = 'luatexja.charrange',
--
luatexbase.provides_module({
name = 'luatexja.charrange',
description = 'Handling the range of Japanese characters',
})
module('luatexja.charrange', package.seeall)
description = 'Handling the range of Japanese characters',
})
module('luatexja.charrange', package.seeall)
for i=0x80 ,0xFF do jcr_table_main[i]=1 end
for i=0x100,ucs_out-1 do jcr_table_main[i]=0 end
for i=0x80 ,0xFF do jcr_table_main[i]=1 end
for i=0x100,ucs_out-1 do jcr_table_main[i]=0 end
function char_to_range(c) -- return the external range number
c=ltjb.in_unicode(c, false)
if c<0x80 then return -1
function char_to_range(c) -- return the external range number
c=ltjb.in_unicode(c, false)
if c<0x80 then return -1