styファイルを読める自動で設定の仕方

名前: STO
日時: 2009-02-20 16:08:09
IPアドレス: 210.253.48.*

以前,私初めての,TeXインストールのとき大変お世話になりました。 今2台目のパソコンにTeXインストールしたところです。 前回は3ヶ月かかったことが,今回は3日で動くようになりました。 こんなに早くできたのも,前回このサイトで初歩的な質問をしたにもかかわらず, サイトの皆様が丁寧な解答をしてくださったおかげだと大変感謝しています。 今回教えてほしいことはstyファイルを読める設定の仕方についてです。 今の状況はTeXファイルと同じフォルダーに入れるとうまく読むときがあります。 styファイルによってはうまくいかないものもあります。 別のフォルダーにあるものは読むことができません。 前回インストールしたときもstyファイルがうまく読み出せませんでした。 前回も同じような質問をしたと思いますが,私自身理解できませんでした。 styファイルを読める自動で設定の仕方を知りたいので教えてください。 よろしくお願いします。 以前同様美文書p61にあるものを実行すると次のエラーが出ます。 エラーの中身はよくわかりませんが、okumacro.styがないと言っていると思います。 okumacro.styはC:\LaTeX\usr\local\share\texmf-local\ptex\platex\jsにあります。 \documentclass{jarticle} \usepackage{okumacro} \begin{document} \ruby{拙}{せつ}\ruby{作}{さく}のパッケージです。 \\ \end{document} エラーメッセージ This is GUI-Shell Version 1.32, Copyright(C) 1996-1999 by Yoshiki OTOBE. All rights reserved. GUI-Shell Message(executing command): platex.exe okumacro.tex This is pTeX, Version 3.141592-p3.1.10 (sjis) (Web2C 7.5.5) (./okumacro.tex pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2005/12/01> patch level 0) Babel <v3.8h> and hyphenation patterns for english, usenglishmax, ukenglish, ba sque, bulgarian, coptic, welsh, czech, slovak, german, ngerman, danish, spanish , catalan, estonian, finnish, french, irish, polygreek, monogreek, ancientgreek , croatian, hungarian, interlingua, ibycus, bahasa, icelandic, italian, latin, mongolian, dutch, norsk, polish, portuguese, pinyin, romanian, russian, samin, slovene, usorbian, serbian, swedish, turkish, ukrainian, dumylang, nohyphenatio n, loaded. (c:/LaTeX/usr/local/share/texmf/ptex/platex/base/jarticle.cls Document Class: jarticle 2006/06/27 v1.6 Standard pLaTeX class (c:/LaTeX/usr/local/share/texmf/ptex/platex/base/jsize10.clo)) ! LaTeX Error: File `okumacro.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name: 参考になればと思い追加します。 パソコンos Window XP インストールはインターネットからする知識がないので 「LaTeX2e美文書作成入門 改訂第4版」と「秀丸エディタ活用術」のCDからしました。 C>kpsewhich -expand-braces=$TEXINPUTS -progname=latex の実行結果 C:/LaTeX/usr/local/share/texmf-local/tex/latex// C:/LaTeX/usr/local/share/texmf/tex/latex// C:/LaTeX/usr/local/share/texmf-local/ptex/latex// C:/LaTeX/usr/local/share/texmf/ptex/latex// C:/LaTeX/usr/local/share/texmf-local/tex/generic// C:/LaTeX/usr/local/share/texmf/tex/generic// C:/LaTeX/usr/local/share/texmf-local/ptex/generic// C:/LaTeX/usr/local/share/texmf/ptex/generic// C:/LaTeX/usr/local/share/texmf-local/tex/latex209// C:/LaTeX/usr/local/share/texmf/tex/latex209// C:/LaTeX/usr/local/share/texmf-local/ptex/latex209// C:/LaTeX/usr/local/share/texmf/ptex/latex209// C:/LaTeX/usr/local/share/texmf-local/tex/platex209// C:/LaTeX/usr/local/share/texmf/tex/platex209// C:/LaTeX/usr/local/share/texmf-local/ptex/platex209// C:/LaTeX/usr/local/share/texmf/ptex/platex209// C:/LaTeX/usr/local/share/texmf-local/tex/// C:/LaTeX/usr/local/share/texmf/tex/// C:/LaTeX/usr/local/share/texmf-local/ptex/// C:/LaTeX/usr/local/share/texmf/ptex/// C:/LaTeX/usr/local/share/texmf-local/source// C:/LaTeX/usr/local/share/texmf/source//

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)