texlive[46482] Master/texmf-dist: bxcalc (28jan18)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 30 01:29:08 CET 2018


Revision: 46482
          http://tug.org/svn/texlive?view=revision&revision=46482
Author:   karl
Date:     2018-01-30 01:29:08 +0100 (Tue, 30 Jan 2018)
Log Message:
-----------
bxcalc (28jan18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bxcalc/LICENSE
    trunk/Master/texmf-dist/doc/latex/bxcalc/README-ja.md
    trunk/Master/texmf-dist/doc/latex/bxcalc/README.md
    trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcize.pdf
    trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcize.tex
    trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcux.pdf
    trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcux.tex
    trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalc.sty
    trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalcize.sty
    trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalcux.sty

Modified: trunk/Master/texmf-dist/doc/latex/bxcalc/LICENSE
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bxcalc/LICENSE	2018-01-30 00:28:51 UTC (rev 46481)
+++ trunk/Master/texmf-dist/doc/latex/bxcalc/LICENSE	2018-01-30 00:29:08 UTC (rev 46482)
@@ -1,6 +1,6 @@
 The MIT License
 
-Copyright (c) 2017 Takayuki YATO (aka. "ZR")
+Copyright (c) 2018 Takayuki YATO (aka. "ZR")
 
 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/latex/bxcalc/README-ja.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bxcalc/README-ja.md	2018-01-30 00:28:51 UTC (rev 46481)
+++ trunk/Master/texmf-dist/doc/latex/bxcalc/README-ja.md	2018-01-30 00:29:08 UTC (rev 46482)
@@ -51,6 +51,10 @@
 更新履歴
 --------
 
+  * Version 1.0a 〈2018/01/28〉
+      - (試験的) `\usepTeXunits` 命令を追加。
+      - バグ修正。
+
   * Version 1.0  〈2017/05/21〉
       - 本バンドルとしての最初の公開版。(元々は BXjatool の一部だった。)
 

Modified: trunk/Master/texmf-dist/doc/latex/bxcalc/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bxcalc/README.md	2018-01-30 00:28:51 UTC (rev 46481)
+++ trunk/Master/texmf-dist/doc/latex/bxcalc/README.md	2018-01-30 00:29:08 UTC (rev 46482)
@@ -52,6 +52,9 @@
 Revision History
 ----------------
 
+  * Version 1.0a 〈2018/01/28〉
+      - Bug fix.
+
   * Version 1.0  〈2017/05/21〉
       - The first public version as this bundle, which has been seperated
         from the old BXjatool bundle.

Modified: trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcize.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcize.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcize.tex	2018-01-30 00:28:51 UTC (rev 46481)
+++ trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcize.tex	2018-01-30 00:29:08 UTC (rev 46482)
@@ -2,8 +2,8 @@
 \usepackage[scale=0.75]{geometry}
 \usepackage{shortvrb}
 \MakeShortVerb{\|}
-\newcommand{\PkgVersion}{1.0}
-\newcommand{\PkgDate}{2017/05/21}
+\newcommand{\PkgVersion}{1.0a}
+\newcommand{\PkgDate}{2018/01/28}
 \newcommand{\Pkg}[1]{\textsf{#1}}
 \newcommand{\Meta}[1]{$\langle$\textit{#1}$\rangle$}
 \newcommand{\Note}{\par\noindent \textbf{NB:}\quad}

Modified: trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcux.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcux.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcux.tex	2018-01-30 00:28:51 UTC (rev 46481)
+++ trunk/Master/texmf-dist/doc/latex/bxcalc/bxcalcux.tex	2018-01-30 00:29:08 UTC (rev 46482)
@@ -2,8 +2,8 @@
 \usepackage[scale=0.75]{geometry}
 \usepackage{shortvrb}
 \MakeShortVerb{\|}
-\newcommand{\PkgVersion}{1.0}
-\newcommand{\PkgDate}{2017/05/21}
+\newcommand{\PkgVersion}{1.0a}
+\newcommand{\PkgDate}{2018/01/28}
 \newcommand{\Pkg}[1]{\textsf{#1}}
 \newcommand{\Meta}[1]{$\langle$\textit{#1}$\rangle$}
 \newcommand{\Note}{\par\noindent \textbf{NB:}\quad}

Modified: trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalc.sty	2018-01-30 00:28:51 UTC (rev 46481)
+++ trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalc.sty	2018-01-30 00:29:08 UTC (rev 46482)
@@ -1,7 +1,7 @@
 %%
 %% This is file 'bxcalc.sty'.
 %% 
-%% Copyright (c) 2017 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2018 Takayuki YATO (aka. "ZR")
 %%   GitHub:   https://github.com/zr-tex8r
 %%   Twitter:  @zr_tex8r
 %%
@@ -10,7 +10,7 @@
 
 %% package declaration
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bxcalc}[2017/05/21 v1.0]
+\ProvidesPackage{bxcalc}[2018/01/28 v1.0a]
 \def\bxqcz at pkgname{bxcalc}
 
 %--------------------------------------- main
@@ -20,6 +20,30 @@
 \RequirePackage{bxcalcize}[2017/05/21]% v1.0
 \RequirePackage{bxcalcux}[2017/05/21]% v1.0
 
+%--------------------------------------- \usepTeXunits
+
+\ifundef{\kanjiskip}{%
+  \newrobustcmd*{\usepTeXunits}{%
+    \DeclareCalcUnit{Q}{\dimexpr0.25mm\relax}%
+    \DeclareCalcUnit{H}{\dimexpr0.25mm\relax}%
+    \DeclareCalcUnit{trueQ}{\dimexpr0.25truemm\relax}%
+    \DeclareCalcUnit{trueH}{\dimexpr0.25truemm\relax}%
+    \ifdef{\zw}{%
+      \DeclareCalcUnit{zw}{\zw}%%
+      \DeclareCalcUnit{zh}{\zw}%
+    }{\ifdef{\jsZw}{%
+      \DeclareCalcUnit{zw}{\jsZw}%%
+      \DeclareCalcUnit{zh}{\jsZw}%
+    }{}}%
+    \ifdef{\zh}{%
+      \DeclareCalcUnit{zh}{\zh}%
+    }{}%
+    \let\usepTeXunits\relax
+  }%
+}{%else
+  \newrobustcmd*{\usepTeXunits}{}%
+}
+
 %--------------------------------------- all done
 \endinput
 %% EOF

Modified: trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalcize.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalcize.sty	2018-01-30 00:28:51 UTC (rev 46481)
+++ trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalcize.sty	2018-01-30 00:29:08 UTC (rev 46482)
@@ -1,7 +1,7 @@
 %%
 %% This is file 'bxcalcize.sty'.
 %% 
-%% Copyright (c) 2017 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2018 Takayuki YATO (aka. "ZR")
 %%   GitHub:   https://github.com/zr-tex8r
 %%   Twitter:  @zr_tex8r
 %%
@@ -10,7 +10,7 @@
 
 %% package declaration
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bxcalcize}[2017/05/21 v1.0]
+\ProvidesPackage{bxcalcize}[2018/01/28 v1.0a]
 \def\bxcy at pkgname{bxcalcize}
 
 %% code guards

Modified: trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalcux.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalcux.sty	2018-01-30 00:28:51 UTC (rev 46481)
+++ trunk/Master/texmf-dist/tex/latex/bxcalc/bxcalcux.sty	2018-01-30 00:29:08 UTC (rev 46482)
@@ -1,7 +1,7 @@
 %%
 %% This is file 'bxcalcux.sty'.
 %% 
-%% Copyright (c) 2017 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2018 Takayuki YATO (aka. "ZR")
 %%   GitHub:   https://github.com/zr-tex8r
 %%   Twitter:  @zr_tex8r
 %%
@@ -10,7 +10,7 @@
 
 %% package declaration
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bxcalcux}[2017/05/21 v1.0]
+\ProvidesPackage{bxcalcux}[2018/01/28 v1.0a]
 \def\bxcx at pkgname{bxcalcux}
 
 %% code guards
@@ -56,6 +56,7 @@
 %% Makes the array \bxcx at arity*.
 \csdef{bxcx at arity\string\minof}{2}
 \csdef{bxcx at arity\string\maxof}{2}
+\csdef{bxcx at arity\string\ratio}{2}
 
 %% Makes the array \bxcx at lc/*.
 \@tempcnta=65



More information about the tex-live-commits mailing list