diff options
-rw-r--r-- | Build/source/texk/web2c/xetexdir/NEWS | 27 | ||||
-rw-r--r-- | Build/source/texk/web2c/xetexdir/xetex.web | 12 |
2 files changed, 39 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/xetexdir/NEWS b/Build/source/texk/web2c/xetexdir/NEWS index b9213dc0114..1dbdf0c0407 100644 --- a/Build/source/texk/web2c/xetexdir/NEWS +++ b/Build/source/texk/web2c/xetexdir/NEWS @@ -1,4 +1,31 @@ ============================================================== +XeTeX 0.99992 was released 2015???? +============================================================== + +XeTeX: +* Various image handling fixes by Akira Kakuto. +* Fix off-by-one error in display of \every... token registers, thanks to Bruno + Le Floch. +* The right to left support have been switched from e-TeX's TeX--XeT extension + to, a slightly modified version of, the original TeX-XeT extension, which + fixes several issues related to the handling of specials in right to left + text (colors and hyperlinks mainly). +* \TeXXeTstate have been deprecated and does not do anything now, the TeX-XeT + support is always enabled. +* The value of \predisplaydirection is currently ignored, but the functionality + might be resuscitated in the future. +* It is now possible to use direction switching primitives inside math mode. +* The XDV opcodes have been simplified slightly, and support for DVI-IVD opcodes + (used by TeX-XeT) was added. The DVI id have been bumped to 6 to reflect this. +* XeTeX now looks for the xdvipdfmx binary installed next to it and no longer + requires that it is installed in the system PATH (this was previously done + only on Windows). + +xdvipdfmx: +* DVI-IVD opcodes are now supported, as well as XDV 6. +* Various changes shared with xdvipdfx, check its change log for details. + +============================================================== XeTeX 0.99991 was released 20140614 ============================================================== diff --git a/Build/source/texk/web2c/xetexdir/xetex.web b/Build/source/texk/web2c/xetexdir/xetex.web index 1cadd63c26a..cffc4a98a91 100644 --- a/Build/source/texk/web2c/xetexdir/xetex.web +++ b/Build/source/texk/web2c/xetexdir/xetex.web @@ -25132,6 +25132,7 @@ hmode+math_shift:init_math; procedure init_math; label reswitch,found,not_found,done; var w:scaled; {new or partial |pre_display_size|} +@!x:integer; {new |pre_display_direction|} @!l:scaled; {new |display_width|} @!s:scaled; {new |display_indent|} @!p:pointer; {current node when calculating |pre_display_size|} @@ -25189,6 +25190,7 @@ display. Then we can set the proper values of |display_width| and @<Go into display math mode@>= begin if head=tail then {`\.{\\noindent\$\$}' or `\.{\$\${ }\$\$}'} begin pop_nest; w:=-max_dimen; + @<Set the value of |x| to the text direction before the display@>; end else begin line_break(true);@/ @<Calculate the natural width, |w|, by which the characters of the @@ -25201,6 +25203,7 @@ else begin line_break(true);@/ push_math(math_shift_group); mode:=mmode; eq_word_define(int_base+cur_fam_code,-1);@/ eq_word_define(dimen_base+pre_display_size_code,w); +eq_word_define(int_base+pre_display_direction_code,x); eq_word_define(dimen_base+display_width_code,l); eq_word_define(dimen_base+display_indent_code,s); if every_display<>null then begin_token_list(every_display,every_display_text); @@ -25209,6 +25212,7 @@ end @ @<Calculate the natural width, |w|, by which...@>= v:=shift_amount(just_box)+2*quad(cur_font); w:=-max_dimen; +@<Set the value of |x| to the text direction before the display@>; p:=list_ptr(just_box); while p<>null do begin @<Let |d| be the natural width of node |p|; @@ -32559,6 +32563,14 @@ else if safe_info(LR_ptr)=begin_LR_type(p) then else confusion("LR") @:this can't happen LR}{\quad LR@> +@ Some special actions are required for displayed equation in paragraphs +with mixed direction texts. First of all we have to set the text +direction preceding the display. + +@<Set the value of |x|...@>= +if LR_save=null then x:=0 +else if info(LR_save)>=begin_R_code then x:=-1@+else x:=1 + @* \[54] System-dependent changes. This section should be replaced, if necessary, by any special modifications of the program |