summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/spelling/spelling-main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/spelling/spelling-main.lua')
-rwxr-xr-xMaster/texmf-dist/scripts/spelling/spelling-main.lua13
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/scripts/spelling/spelling-main.lua b/Master/texmf-dist/scripts/spelling/spelling-main.lua
index 937054732e2..8aaecbda0cf 100755
--- a/Master/texmf-dist/scripts/spelling/spelling-main.lua
+++ b/Master/texmf-dist/scripts/spelling/spelling-main.lua
@@ -16,7 +16,7 @@
--
-- @author Stephan Hennig
-- @copyright 2012, 2013 Stephan Hennig
--- @release version 0.4
+-- @release version 0.41
--
@@ -25,8 +25,8 @@ if luatexbase.provides_module then
luatexbase.provides_module(
{
name = 'spelling',
- date = '2013/05/23',
- version = '0.4',
+ date = '2013/05/25',
+ version = '0.41',
description = 'support for spell-checking of LuaTeX documents',
author = 'Stephan Hennig',
licence = 'LPPL ver. 1.3c',
@@ -165,8 +165,9 @@ PKG_spelling = {}
--- Determine unique IDs for user-defined whatsit nodes used by this
-- package. Package luatexbase provides user-defined whatsit node ID
-- allocation since version v0.6 (TL 2013). For older package versions,
--- we start allocating at an arbitrary hard-coded value of 35**8
--- (ca. 2**41).
+-- we start allocating at an arbitrary hard-coded value of 13**8
+-- (ca. 2**30). Note, for compatibility with LuaTeX 0.70.2, the value
+-- must be less than 2^31.
--
-- @return Table mapping names to IDs.
local function __allocate_whatsit_ids()
@@ -176,7 +177,7 @@ local function __allocate_whatsit_ids()
ids.start_tag = luatexbase.new_user_whatsit_id('start_tag', 'spelling')
ids.end_tag = luatexbase.new_user_whatsit_id('end_tag', 'spelling')
else
- local uid = 35^8
+ local uid = 13^8
ids.start_tag = uid + 1
ids.end_tag = uid + 2
end