summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-10-03 22:43:40 +0000
committerKarl Berry <karl@freefriends.org>2018-10-03 22:43:40 +0000
commit55845302274b6cfc093524d6b32db3b1747626c5 (patch)
tree59475b9b3a6a7c6695513ddb7846f3524eccabae /Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
parent6a571d522b6eef2ec3644ce4a87d392c6685be32 (diff)
bxjscls (3oct18)
git-svn-id: svn://tug.org/texlive/trunk@48823 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty')
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty25
1 files changed, 1 insertions, 24 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
index 9e87d7cbb30..f1b09a68eba 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesPackage{bxjscompat}
- [2018/09/04 v1.9c BXJS document classes]
+ [2018/10/03 v1.9d BXJS document classes]
\def\bxac@pkgname{bxjscompat}
\let\bxac@engine=n
\def\bxac@do#1#2{%
@@ -119,29 +119,6 @@
range(0x2B820, 0x2CEA1, 11, false)
range(0x2CEA2, 0x2FFFD, 11, true)
}\fi
-\begingroup
- \catcode`\~=12 \let\0\relax \let\1\relax \let\2\relax
- \directlua{
- if not bxjs then bxjs = {} end
- function bxjs.get_new_gengo()
- local lc_time = nil
- local ok, ret = pcall(function()
- assert(os.type == "unix")
- lc_time = os.setlocale(nil, "time")
- assert(os.setlocale("ja_JP.utf8", "time") or
- os.setlocale("ja_JP.UTF-8", "time"))
- local heisei = "\229\185\179\230\136\144"
- local kanji = "[\228-\233][\128-\191][\128-\191]"
- local gh = os.date("\037EC", 1500000000)
- local gn = os.date("\037EC", 1600000000)
- assert(gh == heisei and gn ~= heisei and
- gn:match("^"..kanji..kanji.."$"))
- return gn
- end)
- os.setlocale(lc_time, "time")
- return ok and ret or ""
- end}
-\endgroup
\fi
\endinput
%%