summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir/tests/postpena.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/ptexdir/tests/postpena.tex')
-rw-r--r--Build/source/texk/web2c/ptexdir/tests/postpena.tex15
1 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ptexdir/tests/postpena.tex b/Build/source/texk/web2c/ptexdir/tests/postpena.tex
new file mode 100644
index 00000000000..74f93a1f071
--- /dev/null
+++ b/Build/source/texk/web2c/ptexdir/tests/postpena.tex
@@ -0,0 +1,15 @@
+%% plain pTeX
+\postbreakpenalty`#=200
+\postbreakpenalty`a=200
+\showboxdepth10000
+\showboxbreadth10000
+\tracingonline1
+\setbox0=\hbox{#」「\penalty-1000\showlists}
+% # と 」 の間:\penalty10200 (合算)
+
+\setbox0=\hbox{#\unpenalty 」a\relax あ\showlists}
+% # と 」 の間:\penalty10000 (prebreakpenalty of '」')
+% a と あ の間:\penalty200 (postbreakpenalty of 'a')
+
+
+\bye