OSDN Git Service

Updated ltj[s]classes.pdf etc.
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 3 Jul 2014 08:22:21 +0000 (17:22 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 3 Jul 2014 08:22:21 +0000 (17:22 +0900)
src/ltj-direction.lua
src/ltjclasses.dtx
src/ltjltxdoc.cls
src/ltjltxdoc.dtx
src/ltjsclasses.dtx
src/luatexja-core.sty

index d497005..040ce92 100644 (file)
@@ -453,6 +453,7 @@ do
               'I refuse to unbox a box in differrent direction.')
         end
       end
+      tex.globaldefs = luatexja.global_temp
       stop_time_measure('box_primitive_hook')
    end
    luatexja.direction.check_dir = check_dir
index 05cfe8c..55c5a43 100644 (file)
@@ -10,7 +10,7 @@
 %
 % \fi
 %
-% \CheckSum{4478}
+% \CheckSum{4515}
 %% \CharacterTable
 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
 %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
index c8d122b..4ed46e1 100644 (file)
@@ -84,6 +84,9 @@
   \hss\vrule width.1pt\egroup}
 \ltjsetparameter{alxspmode={"5C,3}} %% \
 \ltjsetparameter{alxspmode={"22,3}} %% "
+\def\mod@math@codes{\mathcode`\|="207C \mathcode`\&="2026
+                    \mathcode`\-="702D \mathcode`\+="702B
+                    \mathcode`\:="703A \mathcode`\=="703D }
 \endinput
 %%
 %% End of file `ltjltxdoc.cls'.
index 8eed22c..00f537b 100644 (file)
@@ -10,7 +10,7 @@
 %
 % \fi
 %
-% \CheckSum{137}
+% \CheckSum{151}
 %% \CharacterTable
 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
 %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -36,6 +36,7 @@
 %     合わせて修正}
 % \changes{v1.0b}{1997/07/29}{\cs{}と\texttt{"}の\cs{xspcode}を変更}
 % \changes{v1.0b-ltj}{2011/09/27}{Lua\LaTeX-ja 用に修正}
+% \changes{v1.0b-ltj-2}{2014/07/03}{orを意味する縦棒の出力が異常だったので修正}
 % \fi
 %
 % \iffalse
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}{mod@math@codes}
+% docパッケージでは,ドライバ指定の表示の部分における\texttt{\char`\|}の
+% \cs{mathcode}は\texttt{"226A}になっており,これにより\texttt{\char`\|}が小文字のjで表示されて
+% しまう状況になっています.改善するため,\texttt{"207C}に変更します.
+%    \begin{macrocode}
+\def\mod@math@codes{\mathcode`\|="207C \mathcode`\&="2026
+                    \mathcode`\-="702D \mathcode`\+="702B
+                    \mathcode`\:="703A \mathcode`\=="703D }
+%    \end{macrocode}
+% \end{macro}
 % \Finale
 %
 \endinput
index 64c7d03..2f5e3a9 100644 (file)
@@ -22,7 +22,7 @@
 %  -----------------------------------------
 %
 % \fi
-% \CheckSum{5203}
+% \CheckSum{5205}
 %% \CharacterTable
 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
 %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
index d673f83..f45b5ac 100644 (file)
 %%%% unhbox and unvbox
 \let\ltj@@orig@unhbox=\unhbox
 \let\ltj@@orig@unvbox=\unvbox
-\protected\def\unhbox{\begingroup\afterassignment\ltj@@unhbox\ltj@tempcnta}
-\protected\def\unvbox{\begingroup\afterassignment\ltj@@unvbox\ltj@tempcnta}
+\protected\def\unhbox{\ltj@reset@globaldefs\afterassignment\ltj@@unhbox\ltj@tempcnta}
+\protected\def\unvbox{\ltj@reset@globaldefs\afterassignment\ltj@@unvbox\ltj@tempcnta}
 \protected\def\ltj@@unhbox{%
   \directlua{luatexja.direction.check_dir(\the\ltj@tempcnta)}%
-  \ltj@@orig@unhbox\ltj@tempcnta\endgroup}
+  \ltj@@orig@unhbox\ltj@tempcnta}
 \protected\def\ltj@@unvbox{%
   \directlua{luatexja.direction.check_dir(\the\ltj@tempcnta)}%
-  \ltj@@orig@unvbox\ltj@tempcnta\endgroup}
+  \ltj@@orig@unvbox\ltj@tempcnta}
 
 
 %%%% lastbox