From f9f3fb5d61ee536eb631c3b5ddee9ab6dc7ec0d4 Mon Sep 17 00:00:00 2001 From: Hironobu Yamashita Date: Wed, 31 Jan 2018 11:33:49 +0000 Subject: ptexdir: disp_node insertion, jfm glue (H. Kitagawa) git-svn-id: svn://tug.org/texlive/trunk@46500 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/ptexdir/tests/disp_jfm.tex | 23 ++++++++++++++++++++++ .../source/texk/web2c/ptexdir/tests/disp_unbox.tex | 23 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 Build/source/texk/web2c/ptexdir/tests/disp_jfm.tex create mode 100644 Build/source/texk/web2c/ptexdir/tests/disp_unbox.tex (limited to 'Build/source/texk/web2c/ptexdir/tests') 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 + -- cgit v1.2.3