summaryrefslogtreecommitdiff
path: root/language/japanese/zxjafont/zxjafont.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-01-13 03:01:06 +0000
committerNorbert Preining <norbert@preining.info>2020-01-13 03:01:06 +0000
commitd8d4c8c20f235a6610baf22bea580063cc19e9a6 (patch)
tree09a89e3094b33de98b14cf7c002991b04c8ee969 /language/japanese/zxjafont/zxjafont.sty
parentb0cb2086fcb39d89f7f5f6b8a9eea09f78272b52 (diff)
CTAN sync 202001130301
Diffstat (limited to 'language/japanese/zxjafont/zxjafont.sty')
-rw-r--r--language/japanese/zxjafont/zxjafont.sty15
1 files changed, 10 insertions, 5 deletions
diff --git a/language/japanese/zxjafont/zxjafont.sty b/language/japanese/zxjafont/zxjafont.sty
index 4ba6b6a64a..3966a5929b 100644
--- a/language/japanese/zxjafont/zxjafont.sty
+++ b/language/japanese/zxjafont/zxjafont.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'zxjafont.sty'.
%%
-%% Copyright (c) 2018 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2009-2020 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{zxjafont}[2019/06/29 v0.5]
+\ProvidesPackage{zxjafont}[2020/01/12 v0.6]
\def\zxjf@pkgname{zxjafont}
%% preparation
@@ -54,9 +54,9 @@
ms-hg,ipa-hg,ipaex-hg,moga,moga-90,ume,%
kozuka-pro,kozuka-pr6,kozuka-pr6n,hiragino-pro,hiragino-pron,%
morisawa-pro,morisawa-pr6n,yu-win,yu-win10,yu-osx,%
- sourcehan,sourcehan-jp,noto,noto-jp,%
+ sourcehan,sourcehan-jp,noto,noto-jp,haranoaji,%
%(alias)
- kozuka,morisawa,moga-mobo-ex,noto-otf}
+ kozuka,morisawa,moga-mobo-ex,noto-otf,hiragino}
%% \zxjf@main@sub@preset
\def\zxjf@all@sub@preset{%
@@ -90,7 +90,7 @@
\PackageError\zxjf@pkgname
{The old preset '#1' is *abolished*}{\@ehc}}
\@for\zxjf@x:={%
- kozuka4,kozuka6,kozuka6n,hiragino,ms-dx,ipa-dx,hiragino-dx%
+ kozuka4,kozuka6,kozuka6n,ms-dx,ipa-dx,hiragino-dx%
}\do{\DeclareOption{\zxjf@x}{\zxjf@err@abpre{\CurrentOption}}}
%% options using keyval
@@ -362,11 +362,16 @@
\zxjf@multiweight@opt{NotoSerifJP-Regular}{NotoSerifJP-Bold}%
{NotoSansJP-Regular}{NotoSansJP-Bold}%
{NotoSansJP-Medium}}
+\zxjf@declare@preset@with@prop{haranoaji}{%
+ \zxjf@multiweight@opt{HaranoAjiMincho-Regular}{HaranoAjiMincho-Bold}%
+ {HaranoAjiGothic-Regular}{HaranoAjiGothic-Bold}%
+ {HaranoAjiGothic-Medium}}
%(alias)
\zxjf@declare@preset@alias@with@prop{kozuka}{kozuka-pro}
\zxjf@declare@preset@alias@with@prop{morisawa}{morisawa-pro}
\zxjf@declare@preset@alias{moga-mobo-ex}{moga}
\zxjf@declare@preset@alias{noto-otf}{noto}
+\zxjf@declare@preset@alias{hiragino}{hiragino-pro}
%% definitions of sub preset mappings
\zxjf@declare@preset{hg}{%