diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-04-08 23:03:26 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-04-08 23:03:26 +0000 |
commit | 3fd7648a91e4a246614153c829d00b5a551a98ab (patch) | |
tree | 3d22680a39a74ba848e30ada71e2d95b7bf2d4be /Build/source/texk/web2c/luatexdir/tex/texnodes.w | |
parent | f2767a6a4e94c12bc54f6a5a3c3e2a2511dd96d4 (diff) |
web2c/luatexdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@40356 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/tex/texnodes.w')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/texnodes.w | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/luatexdir/tex/texnodes.w b/Build/source/texk/web2c/luatexdir/tex/texnodes.w index d5d2d2364b6..4cbd0c00bea 100644 --- a/Build/source/texk/web2c/luatexdir/tex/texnodes.w +++ b/Build/source/texk/web2c/luatexdir/tex/texnodes.w @@ -278,6 +278,9 @@ const char *node_subtypes_leader[] = { /* 100+ */ const char *node_subtypes_fill[] = { "stretch", "fi", "fil", "fill", "filll", NULL }; +const char *node_subtypes_boundary[] = { + "cancel", "user", "protrusion", "word", NULL +}; const char *node_subtypes_penalty[] = { "userpenalty", NULL }; @@ -2978,11 +2981,24 @@ void show_node_list(int p) case boundary_node: if (subtype(p)==0) { tprint_esc("noboundary"); - } else{ - tprint_esc("boundary"); + } else { + switch (subtype(p)) { + case 1: + tprint_esc("boundary"); + break; + case 2: + tprint_esc("protrusionboundary"); + break; + case 3: + tprint_esc("wordboundary"); + break; + default: + tprint_esc("boundary"); + print_char(':'); + print_int(subtype(p)); + break; + } print_char('='); - print_int(subtype(p)); - print_char(':'); print_int(boundary_value(p)); } break; |