• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: Commit

ソースコードの管理場所


Commit MetaInfo

Revision655ed2fd5dfe063a9bd77ef74ea91ebb874829c2 (tree)
Time2018-06-09 10:04:12
AuthorHironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Log Message

Use \bfdefault and \mddefault in luatexja-preset

Change Summary

Incremental Difference

--- a/src/addons/luatexja-preset.sty
+++ b/src/addons/luatexja-preset.sty
@@ -428,9 +428,9 @@
428428 %%%%%%%% deluxe (\mgfamily はあとで定義)
429429 \bool_if:NTF \g_ltjpreset_deluxe_bool {
430430 \cs_new:Nn \ltjpreset_check_deluxe_existence: {
431- \ltjpreset_substitute:nnnn { gt } { eb } { gt } { bx }
432- \ltjpreset_substitute:nnnn { mg } { m } { gt } { bx }
433- \ltjpreset_substitute:nnnn { mc } { l } { mc } { m }
431+ \ltjpreset_substitute:nnnn { gt } { eb } { gt } { \bfdefault }
432+ \ltjpreset_substitute:nnnn { mg } { \mddefault } { gt } { \bfdefault }
433+ \ltjpreset_substitute:nnnn { mc } { l } { mc } { \mddefault }
434434 }
435435 \def\ltdefault{l}
436436 \DeclareRobustCommand\ltseries { \not@math@alphabet\ltseries\relax\fontseries\ltdefault\selectfont }
@@ -470,9 +470,9 @@
470470 \DeclareKanjiFamily{JY3}{ltjpm}{}\DeclareKanjiFamily{JT3}{ltjpm}{}
471471 \DeclareKanjiFamily{JY3}{ltjpg}{}\DeclareKanjiFamily{JT3}{ltjpg}{}
472472 \def\mcdefault{ltjpm}\def\gtdefault{ltjpg}
473- \SetSymbolFont{mincho}{normal}{JY3}{ltjpm}{m}{n}
474- \SetSymbolFont{mincho}{bold}{JY3}{ltjpm}{bx}{n}
475- \DeclareMathAlphabet{\mathgt}{JY3}{ltjpg}{m}{n}
473+ \SetSymbolFont{mincho}{normal}{JY3}{ltjpm}{\mddefault}{n}
474+ \SetSymbolFont{mincho}{bold}{JY3}{ltjpm}{\bfdefault}{n}
475+ \DeclareMathAlphabet{\mathgt}{JY3}{ltjpg}{\mddefault}{n}
476476 \bool_if:NT \g_ltjpreset_expert_bool {
477477 \DeclareRobustCommand\rubyfamily { \kanjishape{rb}\selectfont }
478478 }
@@ -494,10 +494,10 @@
494494 \tl_if_eq:NNT \l_ltjpreset_kanji_shape_tl \l_tmpa_tl {
495495 \tl_set:Nx \l_ltjpreset_kanji_shape_tl { ;+jp04 }
496496 }
497- \ltj_preset_define_family:nnn {ltjpm} {m} {\ltjpreset_font_mc_m:}
498- \ltj_preset_define_family:nnn {ltjpm} {bx} {\ltjpreset_font_mc_bx:}
499- \ltj_preset_define_family:nnn {ltjpg} {m} {\ltjpreset_font_gt_m:}
500- \ltj_preset_define_family:nnn {ltjpg} {bx} {\ltjpreset_font_gt_bx:}
497+ \ltj_preset_define_family:nnn {ltjpm} {\mddefault} {\ltjpreset_font_mc_m:}
498+ \ltj_preset_define_family:nnn {ltjpm} {\bfdefault} {\ltjpreset_font_mc_bx:}
499+ \ltj_preset_define_family:nnn {ltjpg} {\mddefault} {\ltjpreset_font_gt_m:}
500+ \ltj_preset_define_family:nnn {ltjpg} {\bfdefault} {\ltjpreset_font_gt_bx:}
501501 \normalfont
502502 \bool_if:NT \g_ltjpreset_deluxe_bool {
503503 \ltj_preset_define_family:nnn {ltjpm} {l} {\ltjpreset_font_mc_l:}
Show on old repository browser