diff options
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r-- | Build/source/texk/web2c/alephdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/alephdir/omtrans.ch | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/alephdir/ChangeLog b/Build/source/texk/web2c/alephdir/ChangeLog index 151aa1d1dc6..1af02aec304 100644 --- a/Build/source/texk/web2c/alephdir/ChangeLog +++ b/Build/source/texk/web2c/alephdir/ChangeLog @@ -1,3 +1,8 @@ +2017-12-25 Hironobu Yamashita <h.y.acetaminophen@gmail.com> + + * omtrans.ch (omega_print): expand \newlinechar for terminal and + log output. (Without this, LaTeX error messages contain ^^J.) + 2017-12-13 Hironobu Yamashita <h.y.acetaminophen@gmail.com> * om16bit.ch: \show\odelimiter should be \odelimiter, etc. diff --git a/Build/source/texk/web2c/alephdir/omtrans.ch b/Build/source/texk/web2c/alephdir/omtrans.ch index fae0e52b7e6..f7b0e49d991 100644 --- a/Build/source/texk/web2c/alephdir/omtrans.ch +++ b/Build/source/texk/web2c/alephdir/omtrans.ch @@ -303,7 +303,9 @@ if (om_mode=no_mode) or j:=str_start(s); while j<str_start(s+1) do begin new_s:=so(str_pool[j]); - if new_s<@"20 then begin + if (new_s=new_line_char)and(selector<pseudo) then + print_ln {added, to be more compatible with TeX} + else if new_s<@"20 then begin print_char(@"5E); print_char(@"5E); print_char(new_s+@'100); end else if new_s<@"7F then |