texlive[42041] Build/source/texk/web2c/eptexdir: eptexdir: patch from

commits+kakuto at tug.org commits+kakuto at tug.org
Mon Sep 12 02:03:13 CEST 2016


Revision: 42041
          http://tug.org/svn/texlive?view=revision&revision=42041
Author:   kakuto
Date:     2016-09-12 02:03:13 +0200 (Mon, 12 Sep 2016)
Log Message:
-----------
eptexdir: patch from H. Kitagawa

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/eptexdir/ChangeLog
    trunk/Build/source/texk/web2c/eptexdir/eptex.ech
    trunk/Build/source/texk/web2c/eptexdir/pdfutils.ch

Modified: trunk/Build/source/texk/web2c/eptexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/eptexdir/ChangeLog	2016-09-12 00:02:27 UTC (rev 42040)
+++ trunk/Build/source/texk/web2c/eptexdir/ChangeLog	2016-09-12 00:03:13 UTC (rev 42041)
@@ -1,3 +1,7 @@
+2016-09-12  Hironori Kitagawa  <h_kitagawa2001 at yahoo.co.jp>
+
+	* eptex.ech, pdfutils.ch: Realize better box in math mode.
+
 2016-09-06  Hironori Kitagawa  <h_kitagawa2001 at yahoo.co.jp>
 
 	* fam256.ch: Allow only 8bit arguments for \catcode etc.

Modified: trunk/Build/source/texk/web2c/eptexdir/eptex.ech
===================================================================
--- trunk/Build/source/texk/web2c/eptexdir/eptex.ech	2016-09-12 00:02:27 UTC (rev 42040)
+++ trunk/Build/source/texk/web2c/eptexdir/eptex.ech	2016-09-12 00:03:13 UTC (rev 42041)
@@ -51,15 +51,15 @@
 In \eTeX\ the |subtype| field records the box direction mode |box_lr|.
 @y
 In \eTeX\ the |subtype| field records the box direction mode |box_lr|.
-In \epTeX\ the |subtype| field is |qi(8*box_lr+box_dir)|.
+In \epTeX\ the |subtype| field is |qi(16*box_lr+box_dir)|.
 @z
 
 @x
- at d box_dir(#) == (qo(subtype(#))) {direction of a box}
+ at d box_dir(#) == (qo(subtype(#))-dir_max) {direction of a box}
 @d set_box_dir(#) == subtype(#):=set_box_dir_end
 @y
- at d box_dir(#) == ((qo(subtype(#)))mod 8) {direction of a box}
- at d set_box_dir(#) == subtype(#):=box_lr(#)*8+set_box_dir_end
+ at d box_dir(#) == ((qo(subtype(#)))mod 16 - dir_max) {direction of a box}
+ at d set_box_dir(#) == subtype(#):=box_lr(#)*16+set_box_dir_end
 @z
 
 @x [26.413] l.8343 - e-pTeX: scan_something_internal
@@ -188,9 +188,9 @@
 @d set_box_lr(#) ==  subtype(#):=set_box_lr_end
 @d set_box_lr_end(#) == qi(#)
 @y
- at d box_lr(#) == ((qo(subtype(#)))div 8) {direction mode of a box}
- at d set_box_lr(#) == subtype(#):=box_dir(#)+set_box_lr_end
- at d set_box_lr_end(#) == qi(8*(#))
+ at d box_lr(#) == ((qo(subtype(#)))div 16) {direction mode of a box}
+ at d set_box_lr(#) == subtype(#):=box_dir(#)+dir_max+set_box_lr_end
+ at d set_box_lr_end(#) == qi(16*(#))
 @z
 
 @x [45.996] l.19420

Modified: trunk/Build/source/texk/web2c/eptexdir/pdfutils.ch
===================================================================
--- trunk/Build/source/texk/web2c/eptexdir/pdfutils.ch	2016-09-12 00:02:27 UTC (rev 42040)
+++ trunk/Build/source/texk/web2c/eptexdir/pdfutils.ch	2016-09-12 00:03:13 UTC (rev 42041)
@@ -588,25 +588,25 @@
 @z
 
 @x \[if]pdfprimitive
- at d if_dbox_code=if_ybox_code+1 { `\.{\\ifdbox}' }
+ at d if_mbox_code=if_dbox_code+1 { `\.{\\ifmbox}' }
 @y
- at d if_dbox_code=if_ybox_code+1 { `\.{\\ifdbox}' }
+ at d if_mbox_code=if_dbox_code+1 { `\.{\\ifmbox}' }
 @#
- at d if_pdfprimitive_code=if_dbox_code+1 { `\.{\\ifpdfprimitive}' }
+ at d if_pdfprimitive_code=if_mbox_code+1 { `\.{\\ifpdfprimitive}' }
 @z
 
 @x \[if]pdfprimitive
-  if_dbox_code:print_esc("ifdbox");
+  if_mbox_code:print_esc("ifmbox");
 @y
-  if_dbox_code:print_esc("ifdbox");
+  if_mbox_code:print_esc("ifmbox");
   if_pdfprimitive_code:print_esc("ifpdfprimitive");
 @z
 
 @x \[if]pdfprimitive
-if_void_code, if_hbox_code, if_vbox_code, if_tbox_code, if_ybox_code, if_dbox_code:
+if_void_code, if_hbox_code, if_vbox_code, if_tbox_code, if_ybox_code, if_dbox_code, if_mbox_code:
   @<Test box register status@>;
 @y
-if_void_code, if_hbox_code, if_vbox_code, if_tbox_code, if_ybox_code, if_dbox_code:
+if_void_code, if_hbox_code, if_vbox_code, if_tbox_code, if_ybox_code, if_dbox_code, if_mbox_code:
   @<Test box register status@>;
 if_pdfprimitive_code: begin
   save_scanner_status:=scanner_status;



More information about the tex-live-commits mailing list