我在使用图形环境时遇到问题。在我的示例中,我有三个图形,其中包含图片。如果它们太大而无法在一个网站上放得下,则会出现错误
=====Latex 报告缺少或不可用的字符。=====
发生这种情况,第三张图片不会出现。如果我在第二张图片后放置一个 \newpage,一切都会按预期运行。
\documentclass[11pt]{scrartcl}
\usepackage[utf8]{inputenc} % Standard for Linux
\usepackage[ngerman]{babel} % For German language
\usepackage{fancyhdr}
\usepackage{geometry}
\usepackage{ifpdf}
\usepackage{setspace} % For line spread
\usepackage{tabularx}
\usepackage{tabu}
\usepackage{longtable}
\usepackage{ulem}
% For pdflatex
\ifpdf
% One of these two:
\usepackage[pdftex]{graphicx}
%\usepackage[pdftex]{epsfig}
\usepackage[pdftex]{hyperref}
% For latex (dvi)
\else
% One of these two:
\usepackage[dvips]{graphicx}
%\usepackage[dvips]{epsfig}
% make the command \href from hyperref available as a 'print only'
\newcommand{\href}[2]{#2}
\fi
\graphicspath{{pictures/}}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.4pt}
\geometry{a4paper,left=3cm,right=3cm}
\usepackage[style=apa, backend=biber]{biblatex}
\usepackage{etoolbox}
\preto\section{\clearpage}
\begin{document}
\begin{figure}[ht]
\centering
\includegraphics[width=0.8\textwidth]{vector-mapping}
\caption{Dokument als Vektor}
\end{figure}
\begin{figure}[ht]
\centering
\includegraphics[width=0.6\textwidth]{vector-mapping}
\caption{Dokument als Vektor}
\end{figure}
\begin{figure}[ht]
\centering
\includegraphics[width=0.6\textwidth]{vector-mapping}
\caption{Dokument als Vektor}
\end{figure}
\end{document}
有谁知道为什么会出现这个错误?