Re: japanese.styのバグ

名前: 栗山雅俊
日時: 2005-02-21 22:27:26
IPアドレス: 218.226.39.*

>>34573 稲垣さん、こんにちは。 私も早速新しいjapanese.styを試してみました。 実は、前にteTeX3-Betaを試験したときに確認し忘れたよう なのですが、teTeXでは最後のメッセージのところでエラーに なってしまいます。 ファイルは生成されるので実害はないのかも知れませんが、 ひょっとすると japanese.dtx は SJIS(改行[CR]+[LF])で しょうか? nkfでEUCに変換して読み込ませるとエラーがなくなるので、 EUCやiso-2022-jpなどUNIX系でも読めるような文字コードだと 助かります。あるいは改行[CR]がなければよいのでしょうか。 ### ところで一般にTeXのパッケージはどの文字コードでファイルを 作るのが一般的なのでしょうか。pLaTeXなどをemacsから覗いて 見る限りはEUCだったりiso-2022-jpだったりまちまちなようで すが・・・。(emacsの表示は当てになる?) Win32版はSJISでもEUCでも大丈夫ということなのでしょうか。 こちらでは問題なく処理できました。 (2005.2.20版・Web2c-7.5.4) 話は変わって恐縮ですが、 『pTeX 3.1.4 と Babel 3.8 version 0.92』をダウンロード しようとすると、なぜかver.0.91が手に入ります・・・?? ArabTeXの記述は楽しみにしております。 以下 teTeX3-Beta(2.99.9)でのjapanese.log --------------------------------------------- This is pTeX, Version 3.141592-p3.1.8 (euc) (Web2C 7.5.4) (format=platex 2005.1.18) 21 FEB 2005 19:22 **japanese.ins (./japanese.ins pLaTeX2e <2005/01/04>+0 (based on LaTeX2e <2003/12/01> patch level 0) (/usr/local/teTeX/share/texmf/tex/latex/base/docstrip.tex \blockLevel=\count81 \emptyLines=\count82 \processedLines=\count83 \commentsRemoved=\count84 \commentsPassed=\count85 \codeLinesPassed=\count86 \TotalprocessedLines=\count87 \TotalcommentsRemoved=\count88 \TotalcommentsPassed=\count89 \TotalcodeLinesPassed=\count90 \NumberOfFiles=\count91 \inFile=\read1 \inputcheck=\read2 \off@0=\count92 \off@1=\count93 \off@2=\count94 \off@3=\count95 \off@4=\count96 \off@5=\count97 \off@6=\count98 \off@7=\count99 \off@8=\count100 \off@9=\count101 \off@10=\count102 \off@11=\count103 \off@12=\count104 \off@13=\count105 \off@14=\count106 \off@15=\count107 \@maxfiles=\count108 \@maxoutfiles=\count109 Utility: `docstrip' 2.5c <2003/09/18> English documentation <1999/03/31> ********************************************************** * This program converts documented macro-files into fast * * loadable files by stripping off (nearly) all comments! * ********************************************************** ******************************************************** * No Configuration file found, using default settings. * ******************************************************** (./japanese.ins *** Generating files *** Generating file(s) ./japanese.sty ./japanese.drv ./japanese.ldf ./langxmpl.dat ./sample.tex ./readme.tex \openout0 = `./japanese.sty'. \openout1 = `./japanese.drv'. \openout2 = `./japanese.ldf'. \openout3 = `./langxmpl.dat'. \openout4 = `./sample.tex'. \openout5 = `./readme.tex'. Processing file japanese.dtx (package) -> japanese.sty (driver) -> japanese.drv (ldf) -> japanese.ldf (dat) -> langxmpl.dat (sample) -> sample.tex (readme) -> readme.tex Lines processed: 350 Comments removed: 103 Comments passed: 0 Codelines passed: 213 ************************************************************ * * ^^83 ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.51 \Msg{* ^^83}^^83 j^^83^^85^^83A^^83^^8b^^82ヘ `readme.tex' ^^82ナ^^82キ^^81B} ? x Here is how much of TeX's memory you used: 360 strings out of 94946 3756 string characters out of 1180454 56222 words of memory out of 1000000 3638 multiletter control sequences out of 10000+50000 7511 words of font info for 31 fonts, out of 500000 for 2000 415 hyphenation exceptions out of 1000 15i,0n,15p,140b,172s stack positions out of 1500i,500n,5000p,200000b,5000s No pages of output. ------------------------------ 終わり

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)