diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-29 16:04:29 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-29 16:04:29 +0000 |
commit | 2c5a772c871ee51297bea7fc6dcea9c80abe387e (patch) | |
tree | 13029490fb1460f7649c336cf9e640ac8a3a087d /Build/source/texk/web2c/ptexdir/ptex-base.ch | |
parent | 4f0e2599e6819a91ce36143e1f4b272025400949 (diff) |
e-TeX, pTeX, and e-pTeX: redefine box_lr and box_dir
to also work for min_quarterword<0
git-svn-id: svn://tug.org/texlive/trunk@21877 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ptexdir/ptex-base.ch')
-rw-r--r-- | Build/source/texk/web2c/ptexdir/ptex-base.ch | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/ptexdir/ptex-base.ch b/Build/source/texk/web2c/ptexdir/ptex-base.ch index 35617409489..3ce08faa52f 100644 --- a/Build/source/texk/web2c/ptexdir/ptex-base.ch +++ b/Build/source/texk/web2c/ptexdir/ptex-base.ch @@ -313,7 +313,14 @@ if last<>first then for k:=first to last-1 do print(buffer[k]); @d tonum(#)==# {pTeX: to put an KANJI code into a halfword} @z -@x [10.135] l.3008 - pTeX: box_dir, space_ptr, xspace_ptr +@x [10.135] l.2895 - pTeX: box_dir +|fil|, |fill|, or |filll|). The |subtype| field is not used. +@y +|fil|, |fill|, or |filll|). The |subtype| field is not used in \TeX. +In p\TeX\ the |subtype| field records the box direction |box_dir|. +@z + +@x [10.135] l.2897 - pTeX: box_dir, space_ptr, xspace_ptr @d hlist_node=0 {|type| of hlist nodes} @d box_node_size=7 {number of words to allocate for a box node} @d width_offset=1 {position of |width| field in a box node} @@ -337,9 +344,9 @@ if last<>first then for k:=first to last-1 do print(buffer[k]); @d hlist_node=0 {|type| of hlist nodes} @d box_node_size=8 {number of words to allocate for a box node} @# -@d box_dir(#) == subtype(#) {direction mode of a box} +@d box_dir(#) == (qo(subtype(#))) {direction of a box} @d set_box_dir(#) == subtype(#):=set_box_dir_end -@d set_box_dir_end(#) == # +@d set_box_dir_end(#) == (qi(#)) @# @d dir_default = 0 {direction of the box, default Left to Right} @d dir_dtou = 1 {direction of the box, Bottom to Top} |