emath saloon

新規発言一覧最新記事過去一覧検索HOME

スレッド

└◇1528:
texlive2021(windoous10における)のemathの置き場所がわかりません [藤井輝彦] 12/05 21:13

 ├◇1529:Re:texlive2021(windoous10における)のemathの置き場所がわかりません [藤井輝彦] 12/05 21:22
 └◇1530:Re:texlive2021(windoous10における)のemathの置き場所がわかりません [tDB] 12/06 06:52
  └◇1531:Re[2]:texlive2021(windoous10における)のemathの置き場所がわかりません [藤井輝彦] 12/31 21:15
   └◇1532:Re[3]:texlive2021(windoous10における)のemathの置き場所がわかりません [tDB] 12/31 21:52
    └◇1533:Re[4]:texlive2021(windoous10における)のemathの置き場所がわかりません [藤井輝彦] 01/01 12:15
     └◇1534:Re[5]:texlive2021(windoous10における)のemathの置き場所がわかりません [tDB] 01/01 12:35
      └◇1535:Re[6]:texlive2021(windoous10における)のemathの置き場所がわかりません [藤井輝彦] 01/01 16:03
       └◇1536:Re[7]:texlive2021(windoous10における)のemathの置き場所がわかりません [tDB] 01/01 16:46
        └◇1537:Re[8]:texlive2021(windoous10における)のemathの置き場所がわかりません [藤井輝彦] 01/05 21:51
         └◇1538:Re[9]:texlive2021(windoous10における)のemathの置き場所がわかりません [tDB] 01/06 07:55
          └◇1539:Re[10]:texlive2021(windoous10における)のemathの置き場所がわかりません [帯田木偶太] 01/06 12:33<-last


1528● texlive2021(windoous10における)のemathの置き場所がわかりません[ 藤井輝彦 ] 2021 12/05 21:13
 藤井といいます。wtex32でemathをながいこと使用させていただきました。
それが、時の流れで、新しくPCを購入し、wtex32がなく、texlive2021をインストール
しましたが、texworksがemathを見つけてくれません。
 \texlive\2021\texmf-dist\tex\platex\base
にemathをコピーしましたが、見つけてくれません。何が間違っているのか
教えていただけませんか。
コメントを書く(引用) | スレッド一覧


1529● Re:texlive2021(windoous10における)のemathの置き場所がわかりません[ 藤井輝彦 ] 2021 12/05 21:22
訂正wtex32でなくw32texでした。お恥ずかしい限りです。
コメントを書く(引用) | スレッド一覧


1530● Re:texlive2021(windoous10における)のemathの置き場所がわかりません[ tDB ] 2021 12/06 06:52
mktexlsr
は実行されましたか?
コメントを書く(引用) | スレッド一覧


1531● Re[2]:texlive2021(windoous10における)のemathの置き場所がわかりません[ 藤井輝彦 ] 2021 12/31 21:15
あれからしばらくたってtDBさんご本人様からご返事をいただいたことを知りました。
googleでいろいろ探してました。

初心者の悲しさです。
c:/\User\User>mktexlsr
と打ち込み
mktexlsr: Updating C:/texlive/texmf-local/ls-R...
mktexlsr: Updated C:/texlive/texmf-local/ls-R.
mktexlsr: Updating C:/texlive/2021/texmf-config/ls-R...
mktexlsr: Updated C:/texlive/2021/texmf-config/ls-R.
mktexlsr: Updating C:/texlive/2021/texmf-var/ls-R...
mktexlsr: Updated C:/texlive/2021/texmf-var/ls-R.
mktexlsr: Updating C:/texlive/2021/texmf-dist/ls-R...
mktexlsr: Updated C:/texlive/2021/texmf-dist/ls-R.
mktexlsr: Done.
の結果を得ましたが、この後どうすればよいかわかりません。なにかヒントをご教授いただければ
コメントを書く(引用) | スレッド一覧


1532● Re[3]:texlive2021(windoous10における)のemathの置き場所がわかりません[ tDB ] 2021 12/31 21:52
#1528 で

>  \texlive\2021\texmf-dist\tex\platex\base
> にemathをコピーしましたが

とありますが,その確認をさせてください。
コマンドプロンプトで

dir c:\texlive\2021\texmf-dist\tex\platex\base

を実行した結果をお知らせください。
コメントを書く(引用) | スレッド一覧


1533● Re[4]:texlive2021(windoous10における)のemathの置き場所がわかりません[ 藤井輝彦 ] 2022 01/01 12:15
早速のご返信ありがとうございます。以下が、ご指示された結果です。

C:\Users\USER>dir c:\texlive\2021\texmf-dist\tex\platex\base
 ドライブ C のボリューム ラベルは Windows です
 ボリューム シリアル番号は FA96-0EFC です

 c:\texlive\2021\texmf-dist\tex\platex\base のディレクトリ

2021/12/04  21:38    <DIR>          .
2021/12/04  21:38    <DIR>          ..
2005/11/03  12:24            14,704 arhako.sty
2001/05/07  21:08             6,478 b4tate2.sty
2001/05/07  21:07             6,414 b4yoko2.sty
2003/02/16  22:04             6,937 b4yoko3.sty
2004/12/01  16:23             6,680 b4yoko4.sty
2005/11/04  08:26            86,962 emath.sty
2005/10/25  09:41             3,442 emath2e.sty
2005/10/30  16:01            25,827 emathAe.sty
2004/08/17  17:25             7,393 emathAs.sty
2002/08/09  17:02             3,858 emathAt.sty
2005/10/17  10:20            27,437 emathB.sty
2005/10/30  15:44            50,799 emathBk.sty
2002/10/02  14:11             5,983 emathBt.sty
2005/10/02  17:00            34,107 emathC.sty
2005/09/02  11:05             1,135 emathCap.sty
2005/09/08  11:23            18,755 emathE.sty
2005/10/02  17:00             1,948 emathEc.sty
2005/10/02  16:58            15,493 emathEy.sty
2005/11/03  08:28            23,157 emathFx.sty
2005/10/17  10:19            29,397 emathHe.sty
2000/10/12  22:26             3,644 emathK.sty
2001/08/29  11:37             4,981 emathKs.sty
2004/12/19  10:15             3,108 emathLb.sty
2005/09/04  10:59            25,045 emathMw.sty
2005/09/04  11:37            29,050 emathN.sty
2001/09/09  09:11                21 emathO.sty
2005/09/08  11:37             9,442 emathOld.sty
2005/09/23  21:03             1,398 emathP.sty
2004/09/29  17:15             7,208 emathPa.sty
2005/09/10  11:46            33,783 emathPb.sty
2005/09/07  10:39            22,315 emathPg.sty
2005/11/03  08:13           250,021 emathPh.sty
2005/10/10  09:18            55,630 emathPk.sty
2005/11/07  09:15            73,265 emathPp.sty
2005/11/05  17:52            94,783 emathPs.sty
2005/06/27  22:29            30,142 emathPxy.sty
2005/10/03  18:03             5,410 emathR.sty
2002/10/01  09:10             1,929 emathRn.sty
2005/10/29  20:59            35,856 emathT.sty
2004/07/26  11:13             3,032 emathThm.sty
2005/10/02  13:01             1,160 emathThmbx.sty
2005/10/17  15:31             5,441 emathUtf.sty
2001/10/23  09:47            27,637 emathW.sty
2001/05/03  13:40            17,027 emathWb.sty
2001/06/08  15:32             8,769 emathWs.sty
2005/09/19  10:46             7,136 emathZ.sty
2005/10/23  09:24             1,513 emFxabx.sty
2005/09/03  12:32             5,551 emPoly.sty
2021/12/04  20:37            13,656 exppl2e.sty
2005/10/25  10:40            43,421 hako.sty
2005/05/12  09:41             7,484 hakoMS.sty
2005/06/27  11:09            20,425 itembbox.sty
2005/10/02  09:47            21,005 itembkbx.sty
2021/12/04  20:37            25,873 jarticle.cls
2021/12/04  20:37               560 jarticle.sty
2021/12/04  20:37             8,482 jbk10.clo
2021/12/04  20:37             8,503 jbk11.clo
2021/12/04  20:37             8,480 jbk12.clo
2021/12/04  20:37            29,041 jbook.cls
2021/12/04  20:37               542 jbook.sty
2021/12/04  20:37             2,513 jltxdoc.cls
2005/10/31  09:33             1,918 jquote.sty
2021/12/04  20:37            28,956 jreport.cls
2021/12/04  20:37               554 jreport.sty
2021/12/04  20:37             8,603 jsize10.clo
2021/12/04  20:37             8,623 jsize11.clo
2021/12/04  20:37             8,603 jsize12.clo
2021/12/04  20:37               856 jt1gt.fd
2021/12/04  20:37               904 jt1mc.fd
2021/12/04  20:37               853 jy1gt.fd
2021/12/04  20:37               901 jy1mc.fd
2021/12/04  20:37             6,096 kinsoku.tex
2021/12/04  20:37             1,968 oldpfont.sty
2005/08/30  13:18               752 ot1mbb.fd
2021/12/04  20:37             2,394 pfltrace.sty
2021/12/04  20:37             3,068 pl209.def
2021/12/04  20:37             1,444 platex.ltx
2021/12/04  20:37           126,353 platexrelease.sty
2021/12/04  20:37            79,871 plcore.ltx
2021/12/04  20:37             2,045 pldefs.ltx
2021/12/04  20:37             1,697 plexpl3.ltx
2021/12/04  20:37               623 plexpl3.sty
2021/12/04  20:37            19,428 plext.sty
2021/12/04  20:37             3,194 plnews.cls
2021/12/04  20:37            12,858 ptrace.sty
2005/09/03  11:49             9,350 showexample.sty
2002/11/09  14:28             8,142 showProg.sty
2004/05/16  17:42               137 stest.sty
2021/12/04  20:37            26,109 tarticle.cls
2021/12/04  20:37               560 tarticle.sty
2021/12/04  20:37             8,708 tbk10.clo
2021/12/04  20:37             8,724 tbk11.clo
2021/12/04  20:37             8,701 tbk12.clo
2021/12/04  20:37            29,312 tbook.cls
2021/12/04  20:37               542 tbook.sty
2021/12/04  20:37            29,227 treport.cls
2021/12/04  20:37               554 treport.sty
2021/12/04  20:37             8,711 tsize10.clo
2021/12/04  20:37             8,727 tsize11.clo
2021/12/04  20:37             8,704 tsize12.clo
2003/12/13  17:48               371 umatha.fd
2003/12/13  17:48               371 umathb.fd
2003/12/13  17:48               358 umathx.fd
             103 個のファイル           1,811,058 バイト
               2 個のディレクトリ  78,374,162,432 バイトの空き領域
コメントを書く(引用) | スレッド一覧


1534● Re[5]:texlive2021(windoous10における)のemathの置き場所がわかりません[ tDB ] 2022 01/01 12:35
emath.sty 
などが,OS により認識されていることがわかりました。

次に,tex が認識しているか否かのテストです。
コマンドプロンプトで
  kpsewhich emath.sty
を実行した結果はどうなるでしょうか。
コメントを書く(引用) | スレッド一覧


1535● Re[6]:texlive2021(windoous10における)のemathの置き場所がわかりません[ 藤井輝彦 ] 2022 01/01 16:03
ご返信ありがとうございます。
まず、
kpsewhich emath.sty
の結果です。

C:\Users\USER>kpsewhich emath.sty
c:/texlive/2021/texmf-dist/tex/platex/base/emath.sty

これが15:43の結果です。それ以前にいろいろ試している中で
kpic.styやepic.styたちをダウンロードして
c:/texlive/2021/texmf-dist/tex/platex/base
におきまして,次のサンプルファイルをTeXworksに入力して作成しました。

\documentclass{jsarticle}
\usepackage{amssymb,amsmath}
\usepackage{enumerate,tabularx,theorem,multicol,array}
\usepackage{hhline}
\usepackage{ascmac,itembbox}
\usepackage{kpic}
\usepackage{emath,emathEy,hako,emathAe,emathMw,cases}
\usepackage{emathP,emathPh,emathPk}
\begin{document}
サンプル文書

\end{document}

と入力したところ、結果を返して、pdfファイルを作成してくれました。
しかし、以前のプリントを TeXworks で通そうとすると、
次のようなエラーメッセージが出ます。

This is ptex2pdf[.lua] version 20200520.0.
Processing 21&#65533;N&#65533;xV1CD&#65533;&#65533;A&#65533;P&#65533;&#65533;&#65533;e&#65533;X&#65533;g7&#65533;&#65533;.tex
This is e-pTeX, Version 3.141592653-p3.9.0-210218-2.6 (utf8.sjis) (TeX Live 2021/W32TeX) (preloaded format=platex)
 restricted \write18 enabled.
entering extended mode
(./21年度V1CD数A単元テスト7月.tex
pLaTeX2e <2021-06-01>+2 (based on LaTeX2e <2021-11-15>)
L3 programming layer <2021-11-22>
(c:/texlive/2021/texmf-dist/tex/platex/base/jarticle.cls
Document Class: jarticle 2020/09/30 v1.8f Standard pLaTeX class
(c:/texlive/2021/texmf-dist/tex/latex/base/fleqn.clo)
(c:/texlive/2021/texmf-dist/tex/platex/base/jsize10.clo))
(c:/texlive/2021/texmf-dist/tex/latex/amsfonts/amssymb.sty
(c:/texlive/2021/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(c:/texlive/2021/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/texlive/2021/texmf-dist/tex/latex/amsmath/amstext.sty
(c:/texlive/2021/texmf-dist/tex/latex/amsmath/amsgen.sty))
(c:/texlive/2021/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(c:/texlive/2021/texmf-dist/tex/latex/amsmath/amsopn.sty))
(c:/texlive/2021/texmf-dist/tex/latex/tools/enumerate.sty)
(c:/texlive/2021/texmf-dist/tex/latex/tools/tabularx.sty
(c:/texlive/2021/texmf-dist/tex/latex/tools/array.sty))
(c:/texlive/2021/texmf-dist/tex/latex/tools/theorem.sty
(c:/texlive/2021/texmf-dist/tex/latex/tools/thp.sty))
(c:/texlive/2021/texmf-dist/tex/latex/tools/multicol.sty

Package multicol Warning: May not work with the twocolumn option on input line 
142.

) (c:/texlive/2021/texmf-dist/tex/latex/tools/hhline.sty)
(c:/texlive/2021/texmf-dist/tex/latex/ascmac/ascmac.sty
(c:/texlive/2021/texmf-dist/tex/latex/ascmac/tascmac.sty))
(c:/texlive/2021/texmf-dist/tex/platex/base/itembbox.sty
(c:/texlive/2021/texmf-dist/tex/latex/graphics/keyval.sty))
(c:/texlive/2021/texmf-dist/tex/platex/base/epic.sty
Enhancements to Picture Environment. Version 1.2 - Released June 1, 1986
) (c:/texlive/2021/texmf-dist/tex/platex/base/eepic.sty
Extension to Epic and LaTeX. Version 1.1b - Released Febrary 7, 1988
) (c:/texlive/2021/texmf-dist/tex/platex/base/emath.sty
(c:/texlive/2021/texmf-dist/tex/platex/base/emath2e.sty
(c:/texlive/2021/texmf-dist/tex/platex/base/emathE.sty
(c:/texlive/2021/texmf-dist/tex/platex/base/emathEc.sty
(c:/texlive/2021/texmf-dist/tex/platex/base/emathC.sty
(c:/texlive/2021/texmf-dist/tex/latex/tools/calc.sty)
(c:/texlive/2021/texmf-dist/tex/latex/base/ifthen.sty)))
(c:/texlive/2021/texmf-dist/tex/platex/base/jquote.sty)
(c:/texlive/2021/texmf-dist/tex/platex/base/emathK.sty))))
(c:/texlive/2021/texmf-dist/tex/platex/base/emathEy.sty)
(c:/texlive/2021/texmf-dist/tex/platex/base/hako.sty
(c:/texlive/2021/texmf-dist/tex/latex/tools/verbatim.sty)
(c:/texlive/2021/texmf-dist/tex/platex/base/emathLb.sty))
(c:/texlive/2021/texmf-dist/tex/platex/base/emathAe.sty
(c:/texlive/2021/texmf-dist/tex/platex/base/emathR.sty))
(c:/texlive/2021/texmf-dist/tex/platex/base/emathMw.sty)
(c:/texlive/2021/texmf-dist/tex/latex/cases/cases.sty)
(c:/texlive/2021/texmf-dist/tex/platex/base/emathP.sty
(c:/texlive/2021/texmf-dist/tex/platex/base/emathPp.sty
(c:/texlive/2021/texmf-dist/tex/platex/base/emathPh.sty
(c:/texlive/2021/texmf-dist/tex/platex/base/eclarith.sty
eclarith.sty 1.1 --- July 1, 1992
) (c:/texlive/2021/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/texlive/2021/texmf-dist/tex/latex/graphics/graphics.sty
(c:/texlive/2021/texmf-dist/tex/latex/graphics/trig.sty)
(c:/texlive/2021/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(c:/texlive/2021/texmf-dist/tex/latex/graphics-def/dvips.def)))
(c:/texlive/2021/texmf-dist/tex/latex/graphics/color.sty
(c:/texlive/2021/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(c:/texlive/2021/texmf-dist/tex/latex/graphics/dvipsnam.def))))
(c:/texlive/2021/texmf-dist/tex/platex/base/emathPxy.sty)
(c:/texlive/2021/texmf-dist/tex/platex/base/emathPk.sty)
(c:/texlive/2021/texmf-dist/tex/platex/base/emathT.sty)
(c:/texlive/2021/texmf-dist/tex/platex/base/emathPb.sty)
(c:/texlive/2021/texmf-dist/tex/platex/base/emathPg.sty))
(c:/texlive/2021/texmf-dist/tex/latex/l3backend/l3backend-dvips.def)
No file 21年度V1CD数A単元テスト7月.aux.
(c:/texlive/2021/texmf-dist/tex/latex/amsfonts/umsa.fd)
(c:/texlive/2021/texmf-dist/tex/latex/amsfonts/umsb.fd)

! LaTeX Error: Undefined color `white'.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.68 ...} \cup {\it B} = \{ \maskHako(32mm){} \} }
                                                  _{\bf<答>}$
? 

前回のご助言で
mktexlsr
を実行したからでしょうか
c:/texlive/2021/texmf-dist/tex/platex/base/
にあるemathのファイルを読んでくれるようになったのでしょうか。
しかし、エラーメッセージから抜けれず、まだ問題解決してません。
もう一台のPCでw32texにて,プリント作成はしのごうかと思います。
長い文章でご迷惑おかけします。

コメントを書く(引用) | スレッド一覧


1536● Re[7]:texlive2021(windoous10における)のemathの置き場所がわかりません[ tDB ] 2022 01/01 16:46
> 前回のご助言で
> mktexlsr
> を実行したからでしょうか
> c:/texlive/2021/texmf-dist/tex/platex/base/
> にあるemathのファイルを読んでくれるようになったのでしょうか。

その通りでしょう。
TeX も emath を認識していますね。

お示しのエラーについては,ソースリストを拝見しないと
原因究明はできませんが,
プリアンブルに
    \usepackage{color}
を付けていないと,\maskHako は使えません。
下のリストはタイプセット可能でしょうか。

% -----------------------------------------
\documentclass[dvipdfmx]{jarticle}
\usepackage{color}
\usepackage{hako}

\begin{document}
start...

\maskHako(32mm){}

...end.
\end{document}
コメントを書く(引用) | スレッド一覧


1537● Re[8]:texlive2021(windoous10における)のemathの置き場所がわかりません[ 藤井輝彦 ] 2022 01/05 21:51
こんばんは、まずは報告です。
ご指示されたものをTeXworks でタイプセットすると以下のメッセージが
帰ってきて、処理が終わりません。

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This is ptex2pdf[.lua] version 20200520.0.
Processing &#65533;T&#65533;&#65533;&#65533;v&#65533;&#65533;4.tex
This is e-pTeX, Version 3.14159265-p3.8.3-191112-2.6 (utf8.sjis) (TeX Live 2020/W32TeX) (preloaded format=platex)
 restricted \write18 enabled.
entering extended mode
(./サンプル4.tex
pLaTeX2e <2020-04-12> (based on LaTeX2e <2020-02-02> patch level 5)
L3 programming layer <2020-07-17>
(c:/w32tex/share/texmf-dist/tex/platex/base/jarticle.cls
Document Class: jarticle 2020/01/03 v1.8e Standard pLaTeX class
(c:/w32tex/share/texmf-dist/tex/platex/base/jsize10.clo)) (./color.sty

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.1 %
      %
? 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 そこで奥村先生の「美文書…」を準備し、インストールしなおしましたが
同じでした。そこで昨年インストールした、別のPCのw32texをコピーしました。
べつのPCはmausuのタワー型です。いまのPCはFUJITSUのLIFEBOOK U series
です。中古のrefreshedです。
 奥村先生の本を参考にコントロールパネルからpathを通し、
TeXworksも設定をpLaTeX(ptex2pdf)の設定を自分で入力しました。
 もちろん、mktexlsrも実行しました。
 tDBさんは一読してお分かりと思いますが、上の%%%%%の結果は現在の状態で
出たものです。しかし、TeXlive2020でもTeXlive2021でも同じでした。
 しかし、今の状況では自分のこれまでのtexファイルがタイプセットできました。
今週末、新しくプリントを作ってどうなるかです。w32texの配布が終了した現在
自分でTeXlive2021を使えるようにしないとと焦ってます。
 2000年ぐらいから、LaTeXでプリントを作り始め、2003から2005年でemathを
ヘビーユーズしてます。emathとWINTIPICなしではやっていけません。
 この続きをまたご報告させてください。
 
ちなみに

\documentclass[dvipdfmx]{jarticle}

\usepackage{amssymb,amsmath}
\usepackage{enumerate,tabularx,theorem,multicol,array}
\usepackage{hhline}
\usepackage{ascmac,itembbox}
\usepackage{epic,eepic}
\usepackage{emath,emathEy,emathAe,emathMw,cases}

\begin{document}

サンプル文書

\end{document}

これはタイプセットできました。
コメントを書く(引用) | スレッド一覧


1538● Re[9]:texlive2021(windoous10における)のemathの置き場所がわかりません[ tDB ] 2022 01/06 07:55
> ! LaTeX Error: Missing \begin{document}.

> l.1 %

サンプル4.tex
の1行目冒頭%が全角文字になっていません?
全角の%はコメント記号にはなりません。
半角の%に置き換えましょう。
コメントを書く(引用) | スレッド一覧


1539● Re[10]:texlive2021(windoous10における)のemathの置き場所がわかりません[ 帯田木偶太 ] 2022 01/06 12:33
ログを見る限り、color.sty を何故かカレント・ディレクトリー(サンプル4.tex が
存在するのと同一ディレクトリー)から読み取っていて、その 1 行目に全角の
百分率記号が紛れ込んでいるものと思われます。
コメントを書く(引用) | スレッド一覧

CGIROOM