前提・実現したいこと
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
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.
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
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.
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!!
あなたの回答
tips
プレビュー