diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-26 15:29:43 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-26 15:29:43 +0000 |
commit | 83c77a6f9ab33bc5aab2fd8bda79e11524cca702 (patch) | |
tree | bde2639dcd021a947b9318eb0dfd7538a4bb0448 /Build/source/texk/web2c/eptexdir/etex.ch1 | |
parent | 8bea2fb9f960bdb62f8be6bbb2c9b740b437702d (diff) |
e-pTeX: reformulate/simplify \lastbox, \unpenalty & Co
git-svn-id: svn://tug.org/texlive/trunk@21837 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/eptexdir/etex.ch1')
-rw-r--r-- | Build/source/texk/web2c/eptexdir/etex.ch1 | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Build/source/texk/web2c/eptexdir/etex.ch1 b/Build/source/texk/web2c/eptexdir/etex.ch1 index 8596e15770d..db1aa74ec32 100644 --- a/Build/source/texk/web2c/eptexdir/etex.ch1 +++ b/Build/source/texk/web2c/eptexdir/etex.ch1 @@ -125,44 +125,12 @@ if q<>null then begin change_box(q); @z -@x [47.1080] - if (type(tail)=hlist_node)or(type(tail)=vlist_node) - or(type(tail)=dir_node) then - @<Remove the last box, unless it's part of a discretionary@>; -@y - begin if (type(tail)=math_node)and(subtype(tail)=end_M_code) then - remove_end_M; - if (type(tail)=hlist_node)or(type(tail)=vlist_node) - or(type(tail)=dir_node) then - @<Remove the last box, unless it's part of a discretionary@>; - if LR_temp<>null then insert_end_M; - end; -@z - @x [47.1096] else begin adjust_hlist(head,true); line_break(widow_penalty) @y else begin adjust_hlist(head,true); line_break(false) @z -@x [47.1105] - if not is_char_node(tail) then if type(tail)=cur_chr then -@y - if not is_char_node(tail) then - begin if (type(tail)=math_node)and(subtype(tail)=end_M_code) then - remove_end_M; - if type(tail)=cur_chr then -@z -@x [47.1105] - link(p):=null; flush_node_list(tail); tail:=p; - end; -@y - link(p):=null; flush_node_list(tail); tail:=p; - end; - if LR_temp<>null then insert_end_M; - end; -@z - @x [47.1110] begin if type(box(cur_val))=dir_node then begin delete_glue_ref(space_ptr(box(cur_val))); |