TeXインストーラを使って,windows 7にTeXをインストールしたいのですが,一通りインストールをして,環境変数もチェックしたあと,Winshellでソースファイルをコンパイルしたのですが,texmf.cnfがないとのエラーが出ます(「I can't find the format file `platex.fmt'!」も合わせて出ます).確かに,web2cのディレクトリにtexmf.cnfが存在していませんでした.
1回目のインストールのときはそのようなエラーは出なかったのですが,epsやpdfに変換するところがうまくいかなかったため,再度インストールしました.そうすると,上記のようなエラーが出るようになりました.その後は,何度インストールしなおしても同じエラーがでてきます.texmf.cnfを入れれば解決すると思うのですが,インストールの過程でどこか問題となるところがあったのでしょうか?よろしくお願いします.
ご質問はこちらへ
質問用フォーラムです。ご質問の前に質問のしかたをご覧ください。
jsbook と multibib
- oxon oxon の投稿
【状況】
jsbook と multibib を組み合わせて使ってみたところ、文末のようなエラーが出ました。使用したソースは添付の test.tex で、そのまま enter で無理やり進めた後に dvipdfmx で変換したものが添付の test.pdf です。
「第 X 章」を出さなくするための行(20〜30 辺り)をコメントアウトした上で、jsbook を jbook に変更すると期待通りに動作します。「jsbook multibib」で Google 検索しても該当する問題は出てこないため、ここで質問させて頂きます。
jsbook や jsarticle だと再現しないため、BibTeX ファイルには問題ないと思います(添付しておりません)。
【質問】
jsbook と multibib の組み合わせで動作する場合、何か特殊な作業をする必要があるのでしょうか。もし簡単な作業で添付のソースを修正可能な場合は、どなたかご教示下さい。
【環境】
- OS X 10.6.5
- MacPorts から導入した、ptex(port install ptex +utf8)
- pTeX 3.141592-p3.1.10 (utf8.euc) (Web2C 7.5.4)
- dvipdfmx-20100328 by the DVIPDFMx project team
==========================
$ platex test
This is pTeX, Version 3.141592-p3.1.10 (utf8.euc) (Web2C 7.5.4)
(./test.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2003/12/01> patch level 0)
(/opt/local/share/texmf/ptex/platex/jsclasses/jsbook.cls
Document Class: jsbook 2010/03/14 okumura
) (/opt/local/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/opt/local/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/opt/local/share/texmf/tex/latex/graphics/dvipdfmx-contrib-latex/graphics.sty
(/opt/local/share/texmf-dist/tex/latex/graphics/trig.sty)
(/opt/local/share/texmf-dist/tex/latex/graphics/graphics.cfg)
(/opt/local/share/texmf-dist/tex/latex/dvipdfm/dvipdfm.def)))
(/opt/local/share/texmf-dist/tex/latex/hyperref/hyperref.sty
(/opt/local/share/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/opt/local/share/texmf-dist/tex/latex/hyperref/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/opt/local/share/texmf/ptex/latex/url/url.sty))
*hyperref using default driver hdvips*
(/opt/local/share/texmf-dist/tex/latex/hyperref/hdvips.def
(/opt/local/share/texmf-dist/tex/latex/hyperref/pdfmark.def))
(/opt/local/share/texmf-dist/tex/latex/geometry/geometry.sty
(/opt/local/share/texmf-dist/tex/latex/geometry/geometry.cfg))
(/opt/local/share/texmf-dist/tex/latex/psnfss/times.sty)
(/opt/local/share/texmf-dist/tex/latex/subfigure/subfigure.sty
****************************************
* Local config file subfigure.cfg used *
****************************************
(/opt/local/share/texmf-dist/tex/latex/subfigure/subfigure.cfg))
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/opt/local/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/opt/local/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/opt/local/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/opt/local/share/texmf-dist/tex/latex/tools/bm.sty)
(/opt/local/share/texmf/ptex/platex/otfstable/otf.sty
(/opt/local/share/texmf/ptex/platex/otfstable/ajmacros.sty))
(/opt/local/share/texmf-dist/tex/latex/multibib/multibib.sty) (./th.aux)
(./ra.aux) (./la.aux) (./cp.aux) (./co.aux) (./test.aux)
(I search kanjifont definition file: . . ) (I search font definition file: . .
. . . . . . ) (/opt/local/share/texmf-dist/tex/latex/psnfss/ot1ptm.fd)
(/opt/local/share/texmf-dist/tex/latex/hyperref/nameref.sty) (./test.out)
(./test.out)
1
(/opt/local/share/texmf-dist/tex/latex/psnfss/ot1phv.fd) [1] [2]
2
(./th.bbl [3] [4])
! Incomplete \ifx; all text was ignored after line 1.
<inserted text>
\fi
l.54 \bibliographyth{oxon}
?
! Extra }, or forgotten \endgroup.
\bibliographyth ... \refnameth \bibliography {#1}}
l.54 \bibliographyth{oxon}
?
! LaTeX Error: \begin{thebibliography} on input line 1\space ended by \end{docu
ment}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.56 \end{document}
?
[5] )
(\end occurred inside a group at level 5)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \iffalse on line 1 was incomplete)
(\end occurred when \iffalse on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifnum on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifnum on line 1 was incomplete)
(\end occurred when \iftrue on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
Output written on test.dvi (5 pages, 4488 bytes).
Transcript written on test.log.
jsbook と multibib を組み合わせて使ってみたところ、文末のようなエラーが出ました。使用したソースは添付の test.tex で、そのまま enter で無理やり進めた後に dvipdfmx で変換したものが添付の test.pdf です。
「第 X 章」を出さなくするための行(20〜30 辺り)をコメントアウトした上で、jsbook を jbook に変更すると期待通りに動作します。「jsbook multibib」で Google 検索しても該当する問題は出てこないため、ここで質問させて頂きます。
jsbook や jsarticle だと再現しないため、BibTeX ファイルには問題ないと思います(添付しておりません)。
【質問】
jsbook と multibib の組み合わせで動作する場合、何か特殊な作業をする必要があるのでしょうか。もし簡単な作業で添付のソースを修正可能な場合は、どなたかご教示下さい。
【環境】
- OS X 10.6.5
- MacPorts から導入した、ptex(port install ptex +utf8)
- pTeX 3.141592-p3.1.10 (utf8.euc) (Web2C 7.5.4)
- dvipdfmx-20100328 by the DVIPDFMx project team
==========================
$ platex test
This is pTeX, Version 3.141592-p3.1.10 (utf8.euc) (Web2C 7.5.4)
(./test.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2003/12/01> patch level 0)
(/opt/local/share/texmf/ptex/platex/jsclasses/jsbook.cls
Document Class: jsbook 2010/03/14 okumura
) (/opt/local/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/opt/local/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/opt/local/share/texmf/tex/latex/graphics/dvipdfmx-contrib-latex/graphics.sty
(/opt/local/share/texmf-dist/tex/latex/graphics/trig.sty)
(/opt/local/share/texmf-dist/tex/latex/graphics/graphics.cfg)
(/opt/local/share/texmf-dist/tex/latex/dvipdfm/dvipdfm.def)))
(/opt/local/share/texmf-dist/tex/latex/hyperref/hyperref.sty
(/opt/local/share/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/opt/local/share/texmf-dist/tex/latex/hyperref/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/opt/local/share/texmf/ptex/latex/url/url.sty))
*hyperref using default driver hdvips*
(/opt/local/share/texmf-dist/tex/latex/hyperref/hdvips.def
(/opt/local/share/texmf-dist/tex/latex/hyperref/pdfmark.def))
(/opt/local/share/texmf-dist/tex/latex/geometry/geometry.sty
(/opt/local/share/texmf-dist/tex/latex/geometry/geometry.cfg))
(/opt/local/share/texmf-dist/tex/latex/psnfss/times.sty)
(/opt/local/share/texmf-dist/tex/latex/subfigure/subfigure.sty
****************************************
* Local config file subfigure.cfg used *
****************************************
(/opt/local/share/texmf-dist/tex/latex/subfigure/subfigure.cfg))
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/opt/local/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/opt/local/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/opt/local/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/opt/local/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/opt/local/share/texmf-dist/tex/latex/tools/bm.sty)
(/opt/local/share/texmf/ptex/platex/otfstable/otf.sty
(/opt/local/share/texmf/ptex/platex/otfstable/ajmacros.sty))
(/opt/local/share/texmf-dist/tex/latex/multibib/multibib.sty) (./th.aux)
(./ra.aux) (./la.aux) (./cp.aux) (./co.aux) (./test.aux)
(I search kanjifont definition file: . . ) (I search font definition file: . .
. . . . . . ) (/opt/local/share/texmf-dist/tex/latex/psnfss/ot1ptm.fd)
(/opt/local/share/texmf-dist/tex/latex/hyperref/nameref.sty) (./test.out)
(./test.out)
1
(/opt/local/share/texmf-dist/tex/latex/psnfss/ot1phv.fd) [1] [2]
2
(./th.bbl [3] [4])
! Incomplete \ifx; all text was ignored after line 1.
<inserted text>
\fi
l.54 \bibliographyth{oxon}
?
! Extra }, or forgotten \endgroup.
\bibliographyth ... \refnameth \bibliography {#1}}
l.54 \bibliographyth{oxon}
?
! LaTeX Error: \begin{thebibliography} on input line 1\space ended by \end{docu
ment}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.56 \end{document}
?
[5] )
(\end occurred inside a group at level 5)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \iffalse on line 1 was incomplete)
(\end occurred when \iffalse on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifnum on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
(\end occurred when \ifnum on line 1 was incomplete)
(\end occurred when \iftrue on line 1 was incomplete)
(\end occurred when \ifx on line 1 was incomplete)
Output written on test.dvi (5 pages, 4488 bytes).
Transcript written on test.log.
このトピックを読む
(現在の返信数: 8)
imgTeXをWindowsで利用したい
- 匿 名 の投稿
imgTeXという中丸さんが作られた、HTMLファイルに埋め込んだTeXソースを画像にしてくれる環境を、Windowsで利用したいと思っています。
しかし、なかなかうまくいかないので、皆様のご助言を頂けたらと思い、投稿致しました。
環境:
Windows Vista Home Premium Service Pack 2
W32TeX(2009年9月1日時点で最新版をフルインストール)
Perl 5.10.1
Apache 2.2.13
dvipng 1.12
mod_fastcgi-2.4.6-AP22.dll
現在の状況:
(1)ドキュメントルート直下のHTMLファイル内に
<img src="http://localhost/cgi-bin/imgtex.fcgi?{\[ f(x) \]}"/>
と書き、ブラウザでそのHTMLファイルにアクセスするとInternal Server Errorが返ってくる。
(2)FastCGIは動作している(と自分では思っている。test.cgiをcgi-binフォルダ内に置き、ブラウザでtest.cgiにアクセスしてログを解析すると、serverのところに「mod_fastcgi/2.4.6」と記録されているので)。
今回の為に設定した事:
(1)FastCGIを有効にする為のApacheのhttpd.confファイルを編集した
(2)cgi-binフォルダ内にpreverr.pngとimgtex_fcgi.txtをリネームしたimgtex.fcgiを置いた
(3)cgi-binフォルダ内に作業用フォルダとしてimgtexworkフォルダを置いた
HTTPステータスコードが500なので、CGIの設定がうまくいっていない事が一番怪しいのではないかと思っています。CGIに慣れていないので、その時点でダメなのかもしれません。その場合、TeXには関係の無い投稿となってしまいますが、何かお気づきの点がありましたらお返事頂けると幸いです。
ちなみに、Ubuntu9.04でimgTeX環境を構築したら、30分ほどで簡単に出来てしまいました。そもそも、imgTeXはWindowsでは利用できないなどあるのでしょうか・・・?
参考にさせて頂いているサイトがいくつかあるのですが、そのURLをここに貼るのはマナー違反になりますでしょうか?それともサイトの管理者の判断に依るものでしょうか?
しかし、なかなかうまくいかないので、皆様のご助言を頂けたらと思い、投稿致しました。
環境:
Windows Vista Home Premium Service Pack 2
W32TeX(2009年9月1日時点で最新版をフルインストール)
Perl 5.10.1
Apache 2.2.13
dvipng 1.12
mod_fastcgi-2.4.6-AP22.dll
現在の状況:
(1)ドキュメントルート直下のHTMLファイル内に
<img src="http://localhost/cgi-bin/imgtex.fcgi?{\[ f(x) \]}"/>
と書き、ブラウザでそのHTMLファイルにアクセスするとInternal Server Errorが返ってくる。
(2)FastCGIは動作している(と自分では思っている。test.cgiをcgi-binフォルダ内に置き、ブラウザでtest.cgiにアクセスしてログを解析すると、serverのところに「mod_fastcgi/2.4.6」と記録されているので)。
今回の為に設定した事:
(1)FastCGIを有効にする為のApacheのhttpd.confファイルを編集した
(2)cgi-binフォルダ内にpreverr.pngとimgtex_fcgi.txtをリネームしたimgtex.fcgiを置いた
(3)cgi-binフォルダ内に作業用フォルダとしてimgtexworkフォルダを置いた
HTTPステータスコードが500なので、CGIの設定がうまくいっていない事が一番怪しいのではないかと思っています。CGIに慣れていないので、その時点でダメなのかもしれません。その場合、TeXには関係の無い投稿となってしまいますが、何かお気づきの点がありましたらお返事頂けると幸いです。
ちなみに、Ubuntu9.04でimgTeX環境を構築したら、30分ほどで簡単に出来てしまいました。そもそも、imgTeXはWindowsでは利用できないなどあるのでしょうか・・・?
参考にさせて頂いているサイトがいくつかあるのですが、そのURLをここに貼るのはマナー違反になりますでしょうか?それともサイトの管理者の判断に依るものでしょうか?
このトピックを読む
(現在の返信数: 5)
hyperrefのインストールがうまくいかない
- 藤原 の投稿
お世話になります。
最近TeXを入れ直したのですが、hyperref.styのインストールがうまくいかず、
困っております。実行環境はfedoraで(詳細は後述),ctanよりhyperref.zipを落とし、
unzip hyperref.zip
platex hyperref.ins
cp *.sty *.cfg *.def /usr/share/texmf/tex/latex/hyperref/
mktexlsr
としたのですが、どうもうまくいきません。たとえば
\documentclass{jsarticle}
\usepackage{hyperref}
\begin{document}
test
\end{document}
というソースに対して
platex *.tex
を実行すると
[root@X Documents]# platex *.tex
This is pTeXk, Version 3.141592-p3.1.10 (euc) (Web2C 7.5.6)
%&-line parsing enabled.
(./test.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2005/12/01> patch level 0)
(/usr/share/texmf/tex/platex/js/jsarticle.cls
Document Class: jsarticle 2010/03/14 okumura
) (/usr/share/texmf/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf/tex/latex/ltxcmds.sty)
(/usr/share/texmf/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf/tex/latex/pdftexcmds.sty
(/usr/share/texmf/tex/latex/infwarerr.sty)
(/usr/share/texmf/tex/latex/ifluatex.sty
! LaTeX Error: Two \documentclass or \documentstyle commands.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.160 \documentclass{<br /> ltxdoc}
?
(/usr/share/texmf/tex/latex/oberdiek/holtxdoc.sty
(/usr/share/texmf/tex/latex/oberdiek/hypdoc.sty
(/usr/share/texmf/tex/latex/base/doc.sty
(/usr/share/texmf/tex/latex/tools/multicol.sty))
(/usr/share/texmf/tex/latex/tools/calc.sty)
! LaTeX Error: Option clash for package hyperref.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.46 ]{hyperref}[2002/05/09]
%
?
! Undefined control sequence.
l.47 \hypersetup
{%<br />? <br /><br />! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 p
lainpages=false,%
?
! Undefined control sequence.
l.52 pdfstartview={FitBH \hypercalcbp<br /> {%<br />? <br />(/usr/share/texmf/tex/generic/thumbpdf/thumbpdf.sty<br /><br />Package thumbpdf Warning: Missing driver name.<br /><br />)<br />! Undefined control sequence.<br /><argument> \Hy@UseMaketitleInfos <br /> <br />l.69 }
?
! Undefined control sequence.
l.71 \pdfstringdefDisableCommands
{%<br />? <br />) (/usr/share/texmf/tex/latex/tools/array.sty)<br />Writing index file test.idx<br />)<br /><br />LaTeX Warning: You have requested, on input line 161, version<br /> `2008/08/11' of package holtxdoc,<br /> but only version<br /> `2006/06/02 v0.7 Private additional ltxdoc support (HO)'<br /> is available.<br /><br />(./test.aux)<br />! Missing control sequence inserted.<br /><inserted text> <br /> \inaccessible <br />l.162 \begin{document}
?
(./test.hd)
! Missing control sequence inserted.
<inserted text>
\inaccessible
l.162 \begin{document}
?
(/usr/share/texmf/tex/latex/hyperref/ifluatex.dtx
! Package doc Error: Character table corrupted.
See the doc package documentation for explanation.
Type H <return> for immediate help.
...
l.184 % Right brace \} Tilde \~}
?
> \default~table=macro:
->Upper-case \A \B \C \D \E \F \G \H \I \J \K \L \M \N \O \P \Q \R \S \T \U \V
\W \X \Y \Z Lower-case \a \b \c \d \e \f \g \h \i \j \k \l \m \n \o \p \q \r \s
\t \u \v \w \x \y \z Digits \0\1\2\3\4\5\6\7\8\9 Exclamation \! Double quote \
" Hash (number) \# Dollar \$ Percent \% Ampersand \& Acute accent \' Left paren
\( Right paren \) Asterisk \* Plus \+ Comma \, Minus \- Point \. Solidus \/ Co
lon \: Semicolon \; Less than \< Equals \= Greater than \> Question mark \? Com
mercial at \@ Left bracket \[ Backslash \\ Right bracket \] Circumflex \^ Unde
rscore \_ Grave accent \` Left brace \{ Vertical bar \| Right brace \} Tilde \~
.
\character@table ...@table } \show \default~table
\show \used~table \fi \end...
l.184 % Right brace \} Tilde \~}
?
> \used~table=macro:
->Upper-case \A \B \C \D \E \F \G \H \I \J \K \L \M \N \O \P \Q \R \S \T \U \V
\W \X \Y \Z Lower-case \a \b \c \d \e \f \g \h \i \j \k \l \m \n \o \p \q \r \s
\t \u \v \w \x \y \z Digits \0\1\2\3\4\5\6\7\8\9 Exclamation \! Double quote \
" Hash (number) \# Dollar \$ Percent \% Ampersand \& Acute accent \' Left paren
\( Right paren \) Asterisk \* Plus \+ Comma \, Minus \- Point \. Solidus \/ Co
lon \: Semicolon \; Less than \< Equals \= Greater than \> Question mark \? Com
mercial at \@ Left bracket \[ Backslash \\ Right bracket \] Circumflex \^ Under
score \_ Grave accent \` Left brace \{ Vertical bar \| Right brace \} Tilde \~.
\character@table ...fault~table \show \used~table
\fi \endgroup
l.184 % Right brace \} Tilde \~}
?
[1] (/usr/share/texmf/tex/latex/base/omlcmr.fd)
! Undefined control sequence.
l.195 % This package looks for \LuaTeX
\ regardless of its mode
?
! Undefined control sequence.
l.196 % and provides the switch \cs
{ifluatex}. Also it makes
?
! Undefined control sequence.
l.197 % \cs
{luatexversion} available if it is not present.
?
! Undefined control sequence.
\tableofcontents ...unter {HD@unique}\pdfbookmark
[\HD@guesstoclevel {\HDorg...
l.201 % \tableofcontents
?
(./test.toc)
! I can't find file `ifluatex.sty|'.
l.208 % \item[\plainTeX:] |\input ifluatex.sty|
Please type another input file name:
! I can't find file `ifluatex'.
l.208 % \item[\plainTeX:] |\input ifluatex.sty|
Please type another input file name:
! I can't find file `ifluatex'.
l.208 % \item[\plainTeX:] |\input ifluatex.sty|
Please type another input file name:
! I can't find file `ifluatex'.
l.208 % \item[\plainTeX:] |\input ifluatex.sty|
Please type another input file name: 1
! I can't find file `1'.
l.208 % \item[\plainTeX:] |\input ifluatex.sty|
となります。どのように対処すればよろしいのでしょうか?そもそも
入れ方を間違えている気がしますが・・・
ご協力よろしくお願いいたします。
参考に実行環境です
HW:VBOX
OS:2.6.35.6-48.fc14.i686
platex: Version 3.141592-p3.1.10 (euc) (Web2C 7.5.6)
最近TeXを入れ直したのですが、hyperref.styのインストールがうまくいかず、
困っております。実行環境はfedoraで(詳細は後述),ctanよりhyperref.zipを落とし、
unzip hyperref.zip
platex hyperref.ins
cp *.sty *.cfg *.def /usr/share/texmf/tex/latex/hyperref/
mktexlsr
としたのですが、どうもうまくいきません。たとえば
\documentclass{jsarticle}
\usepackage{hyperref}
\begin{document}
test
\end{document}
というソースに対して
platex *.tex
を実行すると
[root@X Documents]# platex *.tex
This is pTeXk, Version 3.141592-p3.1.10 (euc) (Web2C 7.5.6)
%&-line parsing enabled.
(./test.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2005/12/01> patch level 0)
(/usr/share/texmf/tex/platex/js/jsarticle.cls
Document Class: jsarticle 2010/03/14 okumura
) (/usr/share/texmf/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf/tex/latex/ltxcmds.sty)
(/usr/share/texmf/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf/tex/latex/pdftexcmds.sty
(/usr/share/texmf/tex/latex/infwarerr.sty)
(/usr/share/texmf/tex/latex/ifluatex.sty
! LaTeX Error: Two \documentclass or \documentstyle commands.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.160 \documentclass{<br /> ltxdoc}
?
(/usr/share/texmf/tex/latex/oberdiek/holtxdoc.sty
(/usr/share/texmf/tex/latex/oberdiek/hypdoc.sty
(/usr/share/texmf/tex/latex/base/doc.sty
(/usr/share/texmf/tex/latex/tools/multicol.sty))
(/usr/share/texmf/tex/latex/tools/calc.sty)
! LaTeX Error: Option clash for package hyperref.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.46 ]{hyperref}[2002/05/09]
%
?
! Undefined control sequence.
l.47 \hypersetup
{%<br />? <br /><br />! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 p
lainpages=false,%
?
! Undefined control sequence.
l.52 pdfstartview={FitBH \hypercalcbp<br /> {%<br />? <br />(/usr/share/texmf/tex/generic/thumbpdf/thumbpdf.sty<br /><br />Package thumbpdf Warning: Missing driver name.<br /><br />)<br />! Undefined control sequence.<br /><argument> \Hy@UseMaketitleInfos <br /> <br />l.69 }
?
! Undefined control sequence.
l.71 \pdfstringdefDisableCommands
{%<br />? <br />) (/usr/share/texmf/tex/latex/tools/array.sty)<br />Writing index file test.idx<br />)<br /><br />LaTeX Warning: You have requested, on input line 161, version<br /> `2008/08/11' of package holtxdoc,<br /> but only version<br /> `2006/06/02 v0.7 Private additional ltxdoc support (HO)'<br /> is available.<br /><br />(./test.aux)<br />! Missing control sequence inserted.<br /><inserted text> <br /> \inaccessible <br />l.162 \begin{document}
?
(./test.hd)
! Missing control sequence inserted.
<inserted text>
\inaccessible
l.162 \begin{document}
?
(/usr/share/texmf/tex/latex/hyperref/ifluatex.dtx
! Package doc Error: Character table corrupted.
See the doc package documentation for explanation.
Type H <return> for immediate help.
...
l.184 % Right brace \} Tilde \~}
?
> \default~table=macro:
->Upper-case \A \B \C \D \E \F \G \H \I \J \K \L \M \N \O \P \Q \R \S \T \U \V
\W \X \Y \Z Lower-case \a \b \c \d \e \f \g \h \i \j \k \l \m \n \o \p \q \r \s
\t \u \v \w \x \y \z Digits \0\1\2\3\4\5\6\7\8\9 Exclamation \! Double quote \
" Hash (number) \# Dollar \$ Percent \% Ampersand \& Acute accent \' Left paren
\( Right paren \) Asterisk \* Plus \+ Comma \, Minus \- Point \. Solidus \/ Co
lon \: Semicolon \; Less than \< Equals \= Greater than \> Question mark \? Com
mercial at \@ Left bracket \[ Backslash \\ Right bracket \] Circumflex \^ Unde
rscore \_ Grave accent \` Left brace \{ Vertical bar \| Right brace \} Tilde \~
.
\character@table ...@table } \show \default~table
\show \used~table \fi \end...
l.184 % Right brace \} Tilde \~}
?
> \used~table=macro:
->Upper-case \A \B \C \D \E \F \G \H \I \J \K \L \M \N \O \P \Q \R \S \T \U \V
\W \X \Y \Z Lower-case \a \b \c \d \e \f \g \h \i \j \k \l \m \n \o \p \q \r \s
\t \u \v \w \x \y \z Digits \0\1\2\3\4\5\6\7\8\9 Exclamation \! Double quote \
" Hash (number) \# Dollar \$ Percent \% Ampersand \& Acute accent \' Left paren
\( Right paren \) Asterisk \* Plus \+ Comma \, Minus \- Point \. Solidus \/ Co
lon \: Semicolon \; Less than \< Equals \= Greater than \> Question mark \? Com
mercial at \@ Left bracket \[ Backslash \\ Right bracket \] Circumflex \^ Under
score \_ Grave accent \` Left brace \{ Vertical bar \| Right brace \} Tilde \~.
\character@table ...fault~table \show \used~table
\fi \endgroup
l.184 % Right brace \} Tilde \~}
?
[1] (/usr/share/texmf/tex/latex/base/omlcmr.fd)
! Undefined control sequence.
l.195 % This package looks for \LuaTeX
\ regardless of its mode
?
! Undefined control sequence.
l.196 % and provides the switch \cs
{ifluatex}. Also it makes
?
! Undefined control sequence.
l.197 % \cs
{luatexversion} available if it is not present.
?
! Undefined control sequence.
\tableofcontents ...unter {HD@unique}\pdfbookmark
[\HD@guesstoclevel {\HDorg...
l.201 % \tableofcontents
?
(./test.toc)
! I can't find file `ifluatex.sty|'.
l.208 % \item[\plainTeX:] |\input ifluatex.sty|
Please type another input file name:
! I can't find file `ifluatex'.
l.208 % \item[\plainTeX:] |\input ifluatex.sty|
Please type another input file name:
! I can't find file `ifluatex'.
l.208 % \item[\plainTeX:] |\input ifluatex.sty|
Please type another input file name:
! I can't find file `ifluatex'.
l.208 % \item[\plainTeX:] |\input ifluatex.sty|
Please type another input file name: 1
! I can't find file `1'.
l.208 % \item[\plainTeX:] |\input ifluatex.sty|
となります。どのように対処すればよろしいのでしょうか?そもそも
入れ方を間違えている気がしますが・・・
ご協力よろしくお願いいたします。
参考に実行環境です
HW:VBOX
OS:2.6.35.6-48.fc14.i686
platex: Version 3.141592-p3.1.10 (euc) (Web2C 7.5.6)
このトピックを読む
(現在の返信数: 6)
第五版第七章のグラフィックス(続)
- 山中 源 の投稿
先日は丁寧なご指導ありがとうございました。
今回はjpegでは無くtiffファイルをPDF化したいと考えていました。
テキストに書いてある手順で前回のようにしたところ、エラーがでました。
改訂版p120にはtiffも一般的に使われるとのように書かれておりましたので、おそらく自分のミスだとは思うのですが未だ分からず苦労しております。
今回もご指導宜しくお願いいたします。
添付してあるtexファイルを使用しております。
エラーコードは以下のようになっております。
logも空ファイルです。
また、今回使用したtiffファイルはtexファイルと同じところに入っています。
### eplatex -kanji=utf8 testpicture.tex
This is e-pTeXk, Version 3.1415926-p3.1.11-100420 (utf8.euc) (TeX Live 2009)
restricted \write18 enabled.
entering extended mode
(./testpicture.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2009/09/24> patch level 0)
(/usr/local/texlive/p2009/texmf/ptex/platex/jsclasses/jsarticle.cls
Document Class: jsarticle 2010/03/14 okumura
) (/usr/local/texlive/p2009/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/p2009/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/p2009/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/p2009/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/p2009/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/p2009/texmf-dist/tex/latex/dvipdfmx-def/dvipdfmx.def)))
(./testpicture.aux)
! LaTeX Error: Cannot determine size of graphic in paper.tiff (no BoundingBox).
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.4 \includegraphics[width=5cm]{paper.tiff}
?
今回はjpegでは無くtiffファイルをPDF化したいと考えていました。
テキストに書いてある手順で前回のようにしたところ、エラーがでました。
改訂版p120にはtiffも一般的に使われるとのように書かれておりましたので、おそらく自分のミスだとは思うのですが未だ分からず苦労しております。
今回もご指導宜しくお願いいたします。
添付してあるtexファイルを使用しております。
エラーコードは以下のようになっております。
logも空ファイルです。
また、今回使用したtiffファイルはtexファイルと同じところに入っています。
### eplatex -kanji=utf8 testpicture.tex
This is e-pTeXk, Version 3.1415926-p3.1.11-100420 (utf8.euc) (TeX Live 2009)
restricted \write18 enabled.
entering extended mode
(./testpicture.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2009/09/24> patch level 0)
(/usr/local/texlive/p2009/texmf/ptex/platex/jsclasses/jsarticle.cls
Document Class: jsarticle 2010/03/14 okumura
) (/usr/local/texlive/p2009/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/p2009/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/p2009/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/p2009/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/p2009/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/local/texlive/p2009/texmf-dist/tex/latex/dvipdfmx-def/dvipdfmx.def)))
(./testpicture.aux)
! LaTeX Error: Cannot determine size of graphic in paper.tiff (no BoundingBox).
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.4 \includegraphics[width=5cm]{paper.tiff}
?
このトピックを読む
(現在の返信数: 5)
第五版第七章のグラフィックス
- 山中 源 の投稿
奥村先生の美文章作成入門改訂第5版を用いてLaTexの勉強をさせて頂いております。
今回はp113ページからのLATEXでの図の扱い方で多少伺いたい事があり質問をしました。
ちなみにMac(Ver10.6)のTexWorkで作業をしております。
LaTexに図を挿入したいと考え、写真用のフォルダから図を選びTexWorkでテキスト通り行ったところ、エラーコードが出て出力できませんでした。
そこで、今回質問が三つあります。
1点目p113の
\documentclass{jsarticle}
\usepackage[ドライブ名]{graphicx}
\begin{document}
\includegraphics[オプション{ファイル名}
\end{document}
のドライブ名とは次のページから始まるdvipdfmxなどでいいのでしょうか?テキストには確かにdvipdfmxと記述されておりましたが、横にドライバ名は1つしか指定できないと書かれていたので、少し混乱しております。
ちなみにファイル名は自分の選んだ画像のファイル名にしております。
2点目p114の記述に沿ってプログラムを記述しコンパイルすると、テキストに書いてあるようなエラーメッセ-ジがありました。
そこで、本書に沿って問題を解決しようと思いましたが、
「・platexを起動する時に-shell-escape- test.texと記述するように」とありましたが、どこにこれを記述すれば良いでしょうか?
自分はターミナルの初期画面からこれを打ち込みましたがうまくいきませんでした。
また・texmf.cnfというファイルを見つけたのですがそこにテキスト通りの処理がうまくできないのもあります。
3点目赤い四角で囲まれた参考通りも試したもののうまく行かず、少し途方に暮れております。
たくさんの質問があり、質問の本意ももしかしたら伝わっていないかもしれませんが、分かる方は是非ご指導頂けないでしょうか?
山中
今回はp113ページからのLATEXでの図の扱い方で多少伺いたい事があり質問をしました。
ちなみにMac(Ver10.6)のTexWorkで作業をしております。
LaTexに図を挿入したいと考え、写真用のフォルダから図を選びTexWorkでテキスト通り行ったところ、エラーコードが出て出力できませんでした。
そこで、今回質問が三つあります。
1点目p113の
\documentclass{jsarticle}
\usepackage[ドライブ名]{graphicx}
\begin{document}
\includegraphics[オプション{ファイル名}
\end{document}
のドライブ名とは次のページから始まるdvipdfmxなどでいいのでしょうか?テキストには確かにdvipdfmxと記述されておりましたが、横にドライバ名は1つしか指定できないと書かれていたので、少し混乱しております。
ちなみにファイル名は自分の選んだ画像のファイル名にしております。
2点目p114の記述に沿ってプログラムを記述しコンパイルすると、テキストに書いてあるようなエラーメッセ-ジがありました。
そこで、本書に沿って問題を解決しようと思いましたが、
「・platexを起動する時に-shell-escape- test.texと記述するように」とありましたが、どこにこれを記述すれば良いでしょうか?
自分はターミナルの初期画面からこれを打ち込みましたがうまくいきませんでした。
また・texmf.cnfというファイルを見つけたのですがそこにテキスト通りの処理がうまくできないのもあります。
3点目赤い四角で囲まれた参考通りも試したもののうまく行かず、少し途方に暮れております。
たくさんの質問があり、質問の本意ももしかしたら伝わっていないかもしれませんが、分かる方は是非ご指導頂けないでしょうか?
山中
このトピックを読む
(現在の返信数: 10)