diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua')
-rw-r--r-- | Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua b/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua index bc6e98633c7..45c5e5932b7 100644 --- a/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua +++ b/Master/texmf-dist/tex/latex/polyglossia/polyglossia.lua @@ -1,6 +1,6 @@ -- -- polyglossia.lua --- part of polyglossia v1.66 -- 2023/12/11 +-- part of polyglossia v2.0 -- 2024/02/17 -- local module_name = "polyglossia" @@ -26,20 +26,13 @@ end polyglossia = polyglossia or {} local polyglossia = polyglossia -local function select_language(lang, id) - polyglossia.current_language = lang -end - -local function set_default_language(lang, id) - polyglossia.default_language = lang -end - local function load_tibt_eol() require('polyglossia-tibt') end -- predefined l@nohyphenation or LuaTeX's maximum value for \language local nohyphid = luatexbase.registernumber'l@nohyphenation' or 16383 +token.set_char('l@nohyphenation', nohyphid) -- key `nohyphenation` is for .sty file when possibly undefined l@nohyphenation local newloader_loaded_languages = { nohyphenation = nohyphid } @@ -151,11 +144,6 @@ local function newloader(langentry) end end -polyglossia.select_language = select_language -polyglossia.set_default_language = set_default_language polyglossia.load_tibt_eol = load_tibt_eol polyglossia.newloader = newloader polyglossia.newloader_loaded_languages = newloader_loaded_languages --- global variables: --- polyglossia.default_language --- polyglossia.current_language |