
引用を挿入するまでは Overleaf ドキュメントで問題なく作業していましたが、\printbibliography
参考文献リストを生成するために使用した後に次のエラーが表示されます。
Undefined control sequence. main.tex line 60
The compiler is having trouble understanding a command you have used. Check that the command is spelled correctly. If the command is part of a package, make sure you have included the package in your preamble using \usepackage{...}.
namepartfamily ->Zim\x
{fffd}\x {fffd}nyi
l.60 \end
{document}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
このエラーは\printbibliography
コメントアウトすると消えますが、参照リストは生成されません。必要なパッケージをすべて追加したことは確認できます。以下のドキュメントを参照してください。
\documentclass[a4paper,10pt]{report}
\usepackage{biblatex}
\addbibresource{references.bib}
\usepackage{graphicx}
\usepackage[top=25mm, bottom=25mm, left=25mm, right=25mm]{geometry}
\begin{document}
\input{titlepage}
%Table of content
\tableofcontents
%Abasract page
\newpage
\Large
\begin{center}
\addcontentsline{toc}{section}{Abstract}
\textbf{\textit Abstract}
\end{center}
\hspace{10pt}
%\normalsize
This is a simple one-page abstract template. Please keep your abstract length at one page. The abstract should be in English.
\newpage
%begin main document
\chapter{Introduction}
\section{Statement of Problem}
This is the beginning of the introduction section.
%\subsection{Research Questions}
\section{Motivation}
\section{Research Objectives}
\section{Pre-Thesis Structure}
%===CHAPTER TWO ===
\chapter{Fundamental Concepts}
%=== CHAPTER THREE ===
\chapter{State of the Art}
\section{Transport}
%=== CHAPTER FOUR ===
\chapter{Material and Methods}
%=== CHAPTER FIVE ===
\chapter{Pilot Study}
%=== Reference Lists ====
\printbibliography
\end{document}
答え1
ファイル.bib
にはおそらく次のような行が含まれています
author = {József Zimányi},
(名前を解明する探偵の仕事の功績はすべてリアンツェ・リムでコメント)。.bib
ファイルは UTF-8 または他の非 ASCII エンコードでエンコードされている可能性があります。
しかし、あなたのプリアンブル(およびOverleafの古いTeXシステム)では、LaTeXはUS-ASCII入力のみを想定しています(より新しいLaTeXはデフォルトのエンコーディングとしてUTF-8を使用します)。これを再び動作させる最も簡単な方法は、LaTeXにUTF-8を使用したいと伝えることです。
\usepackage[utf8]{inputenc}
キャッシュをクリアする必要があるかもしれません(https://www.overleaf.com/learn/how-to/キャッシュのクリア) を実行する必要がありますが、その後は正常に再コンパイルできます。そうすれば、目的の出力が得られるはずです。