| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | catscip-shell system . . cat. <<'EOF' > filename_日本語.tex |
| 3 | % UTF-8 encoding |
| 4 | \def\TEST#1{\ifx#1\relax\else\immediate\write16{[\meaning#1]}\expandafter\TEST\fi} |
| 5 | \expandafter\TEST\jobname\relax |
| 6 | |
| 7 | \immediate\openout0=\jobname.txt |
| 8 | \immediate\write0{日本語} |
| 9 | \immediate\closeout0 |
| 10 | |
| 11 | \openin0=\jobname.txt |
| 12 | \ifeof0 |
| 13 | \immediate\write16{File `\jobname.txt' not found.} |
| 14 | \else |
| 15 | \read0 to \TEXT |
| 16 | \immediate\write16{TEXT=\TEXT} |
| 17 | \fi |
| 18 | \closein0 |
| 19 | |
| 20 | \input \jobname.txt |
| 21 | |
| 22 | \end |
| 23 | |
| 24 | EOF |
| 25 | |
| 26 | lnscip-shell system . . ln. -s filename_日本語.tex "filename_日本a.tex" |
| 27 | eptex -synctex=1 "\input {filename_日本a}" |
| 28 | lsscip-shell system . . ls. *.synctex.gz; rmscip-shell system . . rm. *.synctex.gz |
| 29 | euptex -synctex=1 "\input {filename_日本a}" |
| 30 | lsscip-shell system . . ls. *.synctex.gz; rmscip-shell system . . rm. *.synctex.gz |
| 31 | lsscip-shell system . . ls. "filename_日本a".* |
| 32 | rmscip-shell system . . rm. "filename_日本a".* |
| 33 | lnscip-shell system . . ln. -s filename_日本語.tex filename_日本ßſa.tex |
| 34 | euptex -synctex=1 filename_日本ßſa |
| 35 | lsscip-shell system . . ls. *.synctex.gz; rmscip-shell system . . rm. *.synctex.gz |
| 36 | lsscip-shell system . . ls. filename_日本ßſa.* |
| 37 | rmscip-shell system . . rm. filename_日本ßſa.* |
| 38 | |
| 39 | eptex -synctex=1 "-jobname=漢ßſa" filename_日本語 |
| 40 | lsscip-shell system . . ls. *.synctex.gz; rmscip-shell system . . rm. *.synctex.gz |
| 41 | lsscip-shell system . . ls. 漢*; rmscip-shell system . . rm. 漢* |
| 42 | euptex -synctex=1 "-jobname=漢ßſa" filename_日本語 |
| 43 | lsscip-shell system . . ls. *.synctex.gz; rmscip-shell system . . rm. *.synctex.gz |
| 44 | lsscip-shell system . . ls. 漢*; rmscip-shell system . . rm. 漢* |
| 45 | rmscip-shell system . . rm. filename_日本語.tex |