From 8c965e5ca448a84cc51fea64d297cdcf00c4a1f2 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 21 Oct 2017 21:37:58 +0000
Subject: bxjscls (21oct17)

git-svn-id: svn://tug.org/texlive/trunk@45566 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/bxjscls/bxjsja-minimal.def           | 32 +++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

(limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def')

diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
index 8b6e7326583..6e699799db0 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def
@@ -21,7 +21,7 @@
 %% same distribution. (The sources need not necessarily be
 %% in the same archive or directory.)
 \ProvidesFile{bxjsja-minimal.def}
-  [2017/09/24 v1.6a BXJS document classes]
+  [2017/10/21 v1.7 BXJS document classes]
 %% このファイルは日本語文字を含みます
 \def\DeclareJaTextFontCommand#1#2{%
   \DeclareRobustCommand#1[1]{%
@@ -286,6 +286,21 @@
     \bxjs@do@precisetext
   \fi
 \fi
+\@onlypreamble\bxjs@check@everyparhook
+\def\bxjs@check@everyparhook{%
+  \ifx\jsInhibitGlueAtParTop\@empty
+    \def\bxjs@tmpa{\jsInhibitGlueAtParTop}%
+    \ifx\everyparhook\bxjs@tmpa
+      \let\everyparhook\@empty
+    \fi
+  \fi}
+\AtBeginDocument{\bxjs@check@everyparhook}
+\ifnum\bxjs@everyparhook=\bxjs@everyparhook@modern
+  \let\bxjs@everypar\everypar
+  \newtoks\everypar
+  \everypar\bxjs@everypar
+  \bxjs@everypar{\the\expandafter\everypar\everyparhook}%
+\fi
 \ifbxjs@fancyhdr
 \@onlypreamble\bxjs@adjust@fancyhdr
 \def\bxjs@adjust@fancyhdr{%
@@ -323,6 +338,21 @@
 \AtBeginDocument{%
   \bxjs@pagestyle@hook
   \global\let\bxjs@pagestyle@hook\relax}
+\ifbxjs@jaspace@cmd
+  \def\jaenspace{\hskip.5\jsZw\relax}
+  \def\jathinspace{\hskip\z@skip}
+  \def\　{\zwspace}
+  \DeclareRobustCommand*{\jaspace}[1]{%
+    \expandafter\ifx\csname bxjs@jaspace@@#1\endcsname\relax
+      \ClassError\bxjs@clsname
+       {Unknown jaspace: #1}{\@eha}%
+    \else
+      \csname bxjs@jaspace@@#1\endcsname
+    \fi}
+  \def\bxjs@jaspace@@zenkaku{\hskip 1\jsZw\relax}
+  \def\bxjs@jaspace@@nibu{\hskip .5\jsZw\relax}
+  \def\bxjs@jaspace@@shibu{\hskip .25\jsZw\relax}
+\fi
 \fi
 \endinput
 %%
-- 
cgit v1.2.3

