-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
{,e}uptex: accept upTeX internal encoding also for pTeX-compatible EU…
…C/SJIS mode (#46)
- Loading branch information
Showing
8 changed files
with
208 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#! /bin/sh -vx | ||
# $Id$ | ||
# Copyright 2022 TANAKA Takuji <[email protected]> | ||
# Copyright 2022-2025 TANAKA Takuji <[email protected]> | ||
# You may freely use, modify and/or distribute this file. | ||
|
||
BinDir=${BinDir:-.} | ||
|
@@ -12,8 +12,18 @@ LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE | |
TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF | ||
TEXINPUTS="$srcdir/uptexdir/tests;."; export TEXINPUTS | ||
|
||
$_euptex -ini -etex -interaction batchmode -jobname upkcat-log kcat.tex || exit 1 | ||
grep '::' upkcat-log.log > upkcat-log_ed.log \ | ||
&& diff upkcat-log_ed.log $srcdir/uptexdir/tests/upkcat.txt || exit 2 | ||
rm -f eupkcat*log*.log | ||
|
||
$_euptex -ini -etex -interaction batchmode -jobname eupkcat-log kcat.tex || exit 1 | ||
grep '::' eupkcat-log.log > eupkcat-log_ed.log \ | ||
&& diff eupkcat-log_ed.log $srcdir/uptexdir/tests/upkcat.txt || exit 2 | ||
|
||
$_euptex -ini -etex -interaction batchmode -jobname eupkcat-e-log -kanji-internal=euc kcat.tex || exit 3 | ||
grep '::' eupkcat-e-log.log > eupkcat-e-log_ed.log \ | ||
&& diff eupkcat-e-log_ed.log $srcdir/uptexdir/tests/upkcat-e.txt || exit 4 | ||
|
||
$_euptex -ini -etex -interaction batchmode -jobname eupkcat-s-log -kanji-internal=sjis kcat.tex || exit 5 | ||
grep '::' eupkcat-s-log.log > eupkcat-s-log_ed.log \ | ||
&& diff eupkcat-s-log_ed.log $srcdir/uptexdir/tests/upkcat-s.txt || exit 6 | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
1区::18 | ||
2区::18 | ||
3区::17 | ||
4区::17 | ||
5区::17 | ||
6区::17 | ||
7区::18 | ||
8区::18 | ||
9区::18 | ||
10区::18 | ||
11区::18 | ||
12区::18 | ||
13区::18 | ||
14区::16 | ||
15区::16 | ||
16区::16 | ||
17区::16 | ||
18区::16 | ||
19区::16 | ||
20区::16 | ||
21区::16 | ||
22区::16 | ||
23区::16 | ||
24区::16 | ||
80区::16 | ||
81区::16 | ||
82区::16 | ||
83区::16 | ||
84区::16 | ||
90区::16 | ||
91区::16 | ||
92区::16 | ||
93区::16 | ||
94区::16 | ||
0x110000::16 | ||
0x120000::16 | ||
0x130000::16 | ||
0x140000::16 | ||
あ^^e3^^82^^99::17 | ||
か^^e3^^82^^9a::17 | ||
^^f0^^9f^^87^^af^^f0^^9f^^87^^b5::18 | ||
^^f0^^9f^^91^^b6^^f0^^9f^^8f^^bd::18 | ||
0x800030::18 | ||
逸^^ef^^b8^^80::16 | ||
逸^^f3^^a0^^84^^80::16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
1区::18 | ||
2区::18 | ||
3区::17 | ||
4区::17 | ||
5区::17 | ||
6区::17 | ||
7区::18 | ||
8区::18 | ||
9区::18 | ||
10区::18 | ||
11区::18 | ||
12区::18 | ||
13区::18 | ||
14区::16 | ||
15区::16 | ||
16区::16 | ||
17区::16 | ||
18区::16 | ||
19区::16 | ||
20区::16 | ||
21区::16 | ||
22区::16 | ||
23区::16 | ||
24区::16 | ||
80区::16 | ||
81区::16 | ||
82区::16 | ||
83区::16 | ||
84区::16 | ||
90区::16 | ||
91区::16 | ||
92区::16 | ||
93区::16 | ||
94区::16 | ||
95区(ext)::16 | ||
96区(ext)::16 | ||
97区(ext)::16 | ||
98区(ext)::16 | ||
117区(ext)::16 | ||
118区(ext)::16 | ||
119区(ext)::16 | ||
120区(ext)::16 | ||
0x110000::16 | ||
0x120000::16 | ||
0x130000::16 | ||
0x140000::16 | ||
あ^^e3^^82^^99::17 | ||
か^^e3^^82^^9a::17 | ||
^^f0^^9f^^87^^af^^f0^^9f^^87^^b5::18 | ||
^^f0^^9f^^91^^b6^^f0^^9f^^8f^^bd::18 | ||
0x800030::18 | ||
逸^^ef^^b8^^80::16 | ||
逸^^f3^^a0^^84^^80::16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters