質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
TeX

フリーの組版システムで、字や図版などの要素を紙面に配置するという作業をコンピュータで行います

Q&A

0回答

4352閲覧

texでcompile時にdvipdfmxでエラー

tom777

総合スコア10

TeX

フリーの組版システムで、字や図版などの要素を紙面に配置するという作業をコンピュータで行います

0グッド

0クリップ

投稿2019/02/20 09:49

前提・実現したいこと

texで、Compileし,pdfを作成しています。texlive 2018をtexstudio 2.12.14で使っています。texstudioのGUIのワンクリックで、texからpdfまで一気に作成をさせています。以前は出なかったのに、昨日からdvipdfmxで、エラーがでます。しかし、エラーは表示するものの、pdf化まで動作し、pdfは無事に作成されています。

発生している問題・エラーメッセージ

エラーメッセージは、以下です。
DVI ID = 37 dvipdfmx:fatal: Something is wrong. Are you sure this is a DVI file? Output file removed.

該当のソースコード

tex

試したこと

直前にできた.auxファイルを削除すると、直後のCompileではエラーメッセージは出なくなるが、二度目のCompileそ行うと、エラーが出る。永久可決には至らず。
(関連サイトの記事を読んで.auxを消してみた)https://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=1707&parent=9993)

補足情報(FW/ツールのバージョンなど)

texlive 2018,
texstudio 2.12.14

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

Stan_Dma

2019/02/27 02:45 編集

Quit clicking the button to execute all, how about if launch {,p}latex and dvipdfmx separately on a terminal and check the log files both executables output? The error message itself shows that DVI format may be corrupted. I am not sure but this might happened when you have installed different tex systems on your PC. Also the reason why you have never seen the error message before may be that you have added some commands, like \tableofcontents, \ref, \label and etc., which should use the aux file to complete processing, usually needs two or more times to execute.
tom777

2019/02/27 06:09

The problem I showed occurs often but sometimes does not. Now I do not duplicate that problem in my system so I can not tell the answer to your suggested trial, separately doing {p}latex and dvipdfmx yet. The following is the log messages (sorry for Japanese!) for that phenomena I stored a few days ago. It happened in the middle of a multiple of compilation, upubib and dvipdfmx. I have \label, \ref and \bibliographystyle in .tex. I use SumatraPDF for displaying pdf. The start of log message: 開始されたプロセス: upbibtex.exe "xxxxxx" This is upBibTeX, Version 0.99d-j0.33-u1.23 (utf8.uptex) (TeX Live 2018/W32TeX) The top-level auxiliary file: xxxxxx.aux The style file: yyyyyy.bst Database file #1: zzzzzz/wwwwww.bib Database file #2: zzzzzz/uuuuuu.bib (guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8) プロセスは正常に終了しました 開始されたプロセス: platex.exe -synctex=-1 -interaction=nonstopmode "xxxxxx".tex (guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8) プロセスは正常に終了しました 開始されたプロセス: platex.exe -synctex=-1 -interaction=nonstopmode "xxxxxx".tex (guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8) プロセスは正常に終了しました 開始されたプロセス: dvipdfmx.exe "xxxxxx".dvi xxxxxx.dvi -> xxxxxx.pdf [1][2][3][4][5] 1570875 bytes written プロセスは正常に終了しました 開始されたプロセス: upbibtex.exe "xxxxxx" This is upBibTeX, Version 0.99d-j0.33-u1.23 (utf8.uptex) (TeX Live 2018/W32TeX) The top-level auxiliary file: xxxxxx.aux The style file: yyyyyy.bst Database file #1: zzzzzz/wwwwww.bib Database file #2: zzzzzz/uuuuuu.bib (guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8) プロセスは正常に終了しました 開始されたプロセス: platex.exe -synctex=-1 -interaction=nonstopmode "xxxxxx".tex (guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8) プロセスは正常に終了しました 開始されたプロセス: dvipdfmx.exe "xxxxxx".dvi 開始されたプロセス: platex.exe -synctex=-1 -interaction=nonstopmode "xxxxxx".tex xxxxxx.dvi -> xxxxxx.pdf DVI ID = 37 dvipdfmx:fatal: Something is wrong. Are you sure this is a DVI file? Output file removed. プロセスはエラー終了しました (guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8)(guessed encoding: UTF-8 = utf8) プロセスは正常に終了しました 開始されたプロセス: dvipdfmx.exe "xxxxxx".dvi xxxxxx.dvi -> xxxxxx.pdf [1][2][3][4][5] 1570877 bytes written プロセスは正常に終了しました 開始されたプロセス: "C:\Program Files\SumatraPDF\SumatraPDF.exe" -forward-search "xxxxxx".tex 1322 "C:\Users\hhhhhh\xxxxxx.pdf" The end of log message
Stan_Dma

2019/02/27 06:55 編集

It is a bit strange that the second running of dvipdmfx has no output just below its starting output of its name, like: 開始されたプロセス: dvipdfmx.exe "xxxxxx".dvi 開始されたプロセス: platex.exe -synctex=-1 At this point of processing, it might be like that a C compier spawns its child processes in parallel. I am not sure but I doubt that running tools in a order would be executed incorrectly. I don't have a clue further more and I suggest you can contact texstudio community to solve this problem.
tom777

2019/02/27 07:56

Thank you for your additional advice. Apparently, the second dvipdfmx does not produce any output .dvi -> .pdf. It is weird! I will submit this case to texstudio community. Thank you a lot!!
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問