texlive[69751] Master/texmf-dist: evangelion-jfm (8feb24)

commits+karl at tug.org commits+karl at tug.org
Thu Feb 8 22:41:23 CET 2024


Revision: 69751
          https://tug.org/svn/texlive?view=revision&revision=69751
Author:   karl
Date:     2024-02-08 22:41:23 +0100 (Thu, 08 Feb 2024)
Log Message:
-----------
evangelion-jfm (8feb24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/Eva-JFM_doc-sc.pdf
    trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/LICENSE
    trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/README.md
    trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/make.sh
    trunk/Master/texmf-dist/source/luatex/evangelion-jfm/Evangelion-JFM.dtx
    trunk/Master/texmf-dist/tex/luatex/evangelion-jfm/jfm-eva.lua

Modified: trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/Eva-JFM_doc-sc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/LICENSE
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/LICENSE	2024-02-08 21:41:05 UTC (rev 69750)
+++ trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/LICENSE	2024-02-08 21:41:23 UTC (rev 69751)
@@ -1,6 +1,6 @@
 MIT License
 
-Copyright (c) 2023 黄京
+Copyright (c) 2023-2024 黄京
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

Modified: trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/README.md	2024-02-08 21:41:05 UTC (rev 69750)
+++ trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/README.md	2024-02-08 21:41:23 UTC (rev 69751)
@@ -48,10 +48,12 @@
 
 ## 状态・現在のバージョン・Current Version
 
-`Ver 1.0.5 (b)`
+`Ver 1.0.5 (c)`
 
 ## 历史・変更ログ・Changelog
 
+- 2024.2.8 Ver 1.0.5 (c): fix the variable scope for `extd_ratio`, this should fix the nil error.
+
 - 2023.8.25 Ver 1.0.5 (b): add feature `prop` and `propw` for japanese typesetting.
 
 - 2023.8.23 Ver 1.0.5 (a): add character `U+2E3A` and `U+2E3B` to be compatible with Source Han Fonts' ligatures.

Modified: trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/make.sh
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/make.sh	2024-02-08 21:41:05 UTC (rev 69750)
+++ trunk/Master/texmf-dist/doc/luatex/evangelion-jfm/make.sh	2024-02-08 21:41:23 UTC (rev 69751)
@@ -1,4 +1,4 @@
-## RadioNoiseE, 2023.
+## RadioNoiseE, 2023, 2024.
 ## Evangelion Japanese Font Metric
 
 # Init

Modified: trunk/Master/texmf-dist/source/luatex/evangelion-jfm/Evangelion-JFM.dtx
===================================================================
--- trunk/Master/texmf-dist/source/luatex/evangelion-jfm/Evangelion-JFM.dtx	2024-02-08 21:41:05 UTC (rev 69750)
+++ trunk/Master/texmf-dist/source/luatex/evangelion-jfm/Evangelion-JFM.dtx	2024-02-08 21:41:23 UTC (rev 69751)
@@ -1,7 +1,7 @@
 % \iffalse meta-comment
-% Copyright © 2023, RadioNoiseE (Jing Huang)
+% Copyright © 2023-2024, RadioNoiseE (Jing Huang)
 % Evangelion Japanese Font Metric for LuaTeX
-% Current Version: 1.0.5 (b)
+% Current Version: 1.0.5 (c)
 % Dev URL: https://github.com/RadioNoiseE/Evangelion-JFM
 % \fi
 %<*batchfile>

Modified: trunk/Master/texmf-dist/tex/luatex/evangelion-jfm/jfm-eva.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/evangelion-jfm/jfm-eva.lua	2024-02-08 21:41:05 UTC (rev 69750)
+++ trunk/Master/texmf-dist/tex/luatex/evangelion-jfm/jfm-eva.lua	2024-02-08 21:41:23 UTC (rev 69751)
@@ -1,13 +1,13 @@
 ---- Evangelion Japanese Font Metric for LuaTeX
----- Current Version: 1.0.5 (b)
+---- Current Version: 1.0.5 (c)
 ---- Dev URL: https://github.com/RadioNoiseE/Evangelion-JFM
----- Copyright 2023, RadioNoiseE ©
+---- Copyright 2023-2024, RadioNoiseE ©
 
 
 -- 初始化
 local lang_jp, lang_tc, lang_sc, dir_vt, font_extd, punc_lg, punc_hg, std_nil, al_hw, al_fw, as_nil, fw_prop, fw_xprop
 
-if luatexja.jfont.jfm_feature then 
+if luatexja.jfont.jfm_feature then
     lang_jp = luatexja.jfont.jfm_feature.jp
     lang_tc = luatexja.jfont.jfm_feature.trad
     lang_sc = luatexja.jfont.jfm_feature.smpl
@@ -61,8 +61,9 @@
 end
 
 -- 壓縮比例設定
-if font_extd == true then
-    local extd_ratio = (type(font_extd) == 'string') and tonumber(font_extd) or 1.25
+local extd_ratio = (type(font_extd) == 'string') and tonumber(font_extd) or 1.25
+if font_extd == false then
+    extd_ratio = nil
 end
 
 -- 行間標點字間距補足
@@ -402,7 +403,7 @@
 
     [8] = { -- 閉括號類
         chars = {')', '〕', ']', '}', '〉', '》', '」', '』', '】', '⦆', '〙', '〗', '〟', '’', '”'},
-        width = context_width(0.5), 
+        width = context_width(0.5),
         height = context_height(),
         depth = context_depth(),
         italic = 0,



More information about the tex-live-commits mailing list.