diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2017-12-25 13:37:03 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2017-12-25 13:37:03 +0000 |
commit | 22195b3da435f7cb148fc0a2dde6774db87a50d8 (patch) | |
tree | 4251d4bafbe2e634d9163309adebc80922da1b88 | |
parent | af40216d1334f1e7eefe16ac84c9d05cc0b82ff3 (diff) |
omtrans.ch: small fix for compatibility with TeX
git-svn-id: svn://tug.org/texlive/trunk@46137 c570f23f-e606-0410-a88d-b1316a301751
-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 |