diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2018-01-31 11:33:49 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2018-01-31 11:33:49 +0000 |
commit | f9f3fb5d61ee536eb631c3b5ddee9ab6dc7ec0d4 (patch) | |
tree | 83bb5a57614f9c894f09c5ba05b4331ff6d5fd9c /Build/source/texk/web2c/ptexdir/tests | |
parent | 7db40b34ea76c33ab5a72546ba925d3ce7bc4dea (diff) |
ptexdir: disp_node insertion, jfm glue (H. Kitagawa)
git-svn-id: svn://tug.org/texlive/trunk@46500 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ptexdir/tests')
-rw-r--r-- | Build/source/texk/web2c/ptexdir/tests/disp_jfm.tex | 23 | ||||
-rw-r--r-- | Build/source/texk/web2c/ptexdir/tests/disp_unbox.tex | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ptexdir/tests/disp_jfm.tex b/Build/source/texk/web2c/ptexdir/tests/disp_jfm.tex new file mode 100644 index 00000000000..989bf30df65 --- /dev/null +++ b/Build/source/texk/web2c/ptexdir/tests/disp_jfm.tex @@ -0,0 +1,23 @@ +%% plain pTeX +\tracingonline1 +\showboxdepth10000 +\showboxbreadth10000 + +\def\ADJUST{\ybaselineshift3pt\relax} + +% disp_node should not create JFM glue +\setbox0=\vbox{% +\ADJUST +\noindent 「あA\par +\noindent 「あA」\par +\noindent 「あA\par +\noindent いEお()\par +\noindent ・えE\par +\noindent ・うE}\showbox0 \box0 + +% disp_node should not create JFM glue +\ybaselineshift2pt +\xkanjiskip2pt +\setbox6=\vbox{あA\hbox{(あ)}A\par}\showbox6 \box6 + +\end diff --git a/Build/source/texk/web2c/ptexdir/tests/disp_unbox.tex b/Build/source/texk/web2c/ptexdir/tests/disp_unbox.tex new file mode 100644 index 00000000000..885cbb28a02 --- /dev/null +++ b/Build/source/texk/web2c/ptexdir/tests/disp_unbox.tex @@ -0,0 +1,23 @@ +\ybaselineshift10pt +\parindent5pt +\showboxbreadth10000 +\showboxdepth10000 +\tracingonline1 +\setbox0=\vbox{\hsize=40pt% + {\ybaselineshift0pt oお\par fiか\par + \global\setbox4=\lastbox\unskip\unskip + \global\setbox5=\lastbox\unskip\unskip + } + \leavevmode\hbox{}いi\par uう\par えe\par + \setbox1=\lastbox\unskip\unskip + \setbox2=\lastbox\unskip\unskip + \setbox3=\lastbox\unskip\unskip + + \hsize=200pt + \leavevmode\unhcopy3\unhcopy1\unhcopy4\unhcopy5\unhcopy2 + + %\showbox1\showbox2\showbox3\showbox4\showbox5 +}\unvbox0 + +\end + |