**编辑:解决我的问题的方法是将图形路径编辑为:\graphicspath{{images/}} **
我试图添加一个图,但同一行代码却收到大量错误消息。我的序言:
\documentclass[a4paper,11pt]{article}
\usepackage[
%backend=biber,
natbib=true,
style=numeric,
sorting=none
]{biblatex}
\addbibresource{referenzen.bib}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\usepackage{textalpha}
\usepackage{amsmath,amsthm,amssymb}
\usepackage[version=4]{mhchem}
\usepackage{graphicx}
\graphicspath{C:/Users/user/Desktop/Latexgrob/images/}
调用该图:
\begin{figure}
\begin{center}
\includegraphics[width=4cm]{lightresponse.jpg}
\caption{Schematisches Diagramm der Photosyntheserate}
\end{center}
\end{figure}
错误日志显示:
! Package inputenc Error: Invalid UTF-8 byte sequence.
! Undefined control sequence.\GenericError #4 \errhelp \@err@
The control sequence at the end of the top line of your error message was never \def'ed.
!Undefined control sequence.\GenericError... \let \@err@
!Undefined control sequence.\GenericError....\@empty \def \MessageBreak