
Estou funcionando bem em meu documento Overleaf até inserir a citação quando o seguinte erro aparece após usar \printbibliography
para gerar a lista de referências:
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.
Este erro desaparece quando \printbibliography
é comentado, mas nenhuma lista de referências é gerada. Posso confirmar que adicionei todos os pacotes necessários. Veja o documento abaixo:
\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}
Responder1
Seu .bib
arquivo provavelmente contém uma linha como
author = {József Zimányi},
(todos os créditos pelo trabalho de detetive de descobrir o nome vão paraLian Tze Limemos comentários). Muito provavelmente o seu .bib
arquivo está codificado em UTF-8 ou outra codificação não ASCII.
Mas com o seu preâmbulo (e o sistema TeX desatualizado no Overleaf), o LaTeX espera apenas entrada US-ASCII (um LaTeX mais atual usará UTF-8 como codificação padrão). A maneira mais fácil de fazer as coisas funcionarem novamente é dizer ao LaTeX que você deseja usar UTF-8 com
\usepackage[utf8]{inputenc}
Você pode ter que limpar o cache (vejahttps://www.overleaf.com/learn/how-to/Clearing_the_cache) antes de recompilar corretamente depois disso, mas você deverá obter a saída desejada.