サブフィギュアが機能しない

サブフィギュアが機能しない

を使用して 2 つの図を並べて配置しようとしていますsubfigureが、ファイルを PDF にコンパイルできません。この環境のコマンドをコメント アウトすると (つまり、\begin{subfigure}[t]{0.3\textwidth}\end{subfigure})、エラーはなくなりますが、その場合、図が次々に配置されてしまいます。コードに間違いがある場合は、それを指摘してください。または、これに対する別の解決策を教えてください。

エラーメッセージ:!pdfTeX error: pdflatex (file ecrm1095): Font ecrm1095 at 600 not found ==> Fatal error occurred, no output PDF file produced!

subcaptionまた、私が使用しているパッケージがsubfigure最近 TexLive に別途インストールされたという事実も考慮してください。

\documentclass[a4paper,12pt,twoside]{report}
\usepackage{amssymb,amstext,amsmath,hyperref,graphics}
\usepackage[T1]{fontenc}
\usepackage{epstopdf}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
pdfborder={0 0 0},
citecolor= blue,
linkcolor= black,
}
    \ifx\pdfoutput\undefined
    \usepackage{graphicx}
    \else
    \usepackage[pdftex]{graphicx}
    \fi
\setlength{\parskip}{0.8em}

\begin{document}

Hello World and the \it Master of Dreams!

\begin{figure}
\begin{subfigure}[t]{0.3\textwidth}
    \includegraphics[width=\linewidth]{energyplot_dt_compare}
    \caption{enrgy}
    \label{fig:E_deltat}
\end{subfigure}
\begin{subfigure}[t]{0.3\textwidth}
    \includegraphics[width=\linewidth]{energy_typical_lj}
    \caption{Energy plot of the system at T=1}
    \label{fig:typicalE}
\end{subfigure}
\end{figure}

\end{document}

アップデート:質問からヒントを得ましょう: [フォントがインストールされ、dvi にコンパイルされますが、pdf にコンパイルできません。「600 のフォントが見つかりません」、私は PDF にコンパイルする代わりに (以前やっていた方法)、直接 DVI にコンパイルしようとしましたが、コンパイルできました。しかし、それでも PDF にコンパイルされませんでした。質問に記載されている解決策を試しましたが、それでも機能しません。

アップデート2:まだ満足のいく答えは見つかっていませんが、 を使わずfontenc、 のようなパッケージを使うという回避策を見つけましたlmodern。この解決策は のおかげですcfr。回答を参照してください。cfrhttps://tex.stackexchange.com/a/205197/99160

関連情報