summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-27 22:17:49 +0000
committerKarl Berry <karl@freefriends.org>2016-03-27 22:17:49 +0000
commit513cfe82c1eaea7d0951e08cbcd92248367567c8 (patch)
tree07ccb6b5aa794a9f53ab7791742ba53287cde9c0 /Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
parent6338f4358f37f44799d7d3c66d8363b6798043fd (diff)
bxjscls (27mar16)
git-svn-id: svn://tug.org/texlive/trunk@40156 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def')
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def33
1 files changed, 32 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
index 78964424a6e..053f80a1db7 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
@@ -36,7 +36,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\ProvidesFile{bxjsja-minimal.def}
- [2016/02/20 v1.1a BXJS document classes]
+ [2016/03/27 v1.1b BXJS document classes]
%% このファイルは日本語文字を含みます
\def\DeclareJaTextFontCommand#1#2{%
\DeclareRobustCommand#1[1]{%
@@ -237,7 +237,38 @@
\def\bxjs@let@hchar@chr@xe#1{%
\lccode`0=`#1\relax
\lowercase{\bxjs@let@hchar@out\def{{0}}}}
+\ifx\XeTeXgenerateactualtext\@undefined\else
+ \def\bxjs@do@precisetext{%
+ \XeTeXgenerateactualtext=\@ne}
+\fi
+\@onlypreamble\bxjs@do@simplejasetup
+\def\bxjs@do@simplejasetup{%
+ \ifnum\XeTeXinterchartokenstate>\z@
+ \else\ifnum\strcmp{\the\XeTeXlinebreakskip}{\the\z@}=\z@
+ \jsSimpleJaSetup
+ \ClassInfo\bxjs@clsname
+ {\string\jsSimpleJaSetup\space is applied\@gobble}%
+ \fi\fi}
+\newcommand*{\jsSimpleJaSetup}{%
+ \XeTeXlinebreaklocale "ja"\relax
+ \XeTeXlinebreakskip=0pt plus 1pt minus 0.1pt\relax
+ \XeTeXlinebreakpenalty=0\relax}
\fi\fi\fi
+\ifx\bxjs@do@simplejasetup\@undefined\else
+ \AtBeginDocument{%
+ \ifbxjs@simplejasetup
+ \bxjs@do@simplejasetup
+ \fi}
+\fi
+\ifbxjs@precisetext
+ \ifx\bxjs@do@precisetext\@undefined
+ \ClassWarning\bxjs@clsname
+ {The current engine does not supprt the\MessageBreak
+ 'precisetext' option\@gobble}
+ \else
+ \bxjs@do@precisetext
+ \fi
+\fi
\endinput
%%
%% End of file `bxjsja-minimal.def'.