我的报告中有词汇表和参考书目。我使用了它们,\printnoidxglossaries
但由于\cite{}
报告中没有显示,所以它们不会显示。当我删除它们时\cite{}
,它们\printnoidxglossaries
会显示出来。为什么会发生这种情况?您知道如何解决这个问题吗?
例子:
代码如下\cite{veggie}
:
\documentclass{report}
\usepackage[utf8]
{inputenc}
\usepackage[english]
{babel}
\usepackage{biblatex}
\usepackage{glossaries}
\makenoidxglossaries
\newglossaryentry{potato}{name={potato},plural={potatoes},
description={starchy tuber}}
\newglossaryentry{cabbage}{name={cabbage},
description={vegetable with thick green or purple leaves}}
\newglossaryentry{carrot}{name={carrot},
description={orange root}}
\begin{document}
\printnoidxglossaries
\chapter{Vegetable}
Chop the \gls{cabbage}, \glspl{potato} and \glspl{carrot} \cite{veggie}.
\begin{thebibliography}{100}
\bibitem{veggie} Vegetable. (2014). \emph{FDA}.
\end{thebibliography}
\end{document}
没有的代码\cite{veggie}
,你可以看到区别:
\documentclass{report}
\usepackage[utf8]
{inputenc}
\usepackage[english]
{babel}
\usepackage{biblatex}
\usepackage{glossaries}
\makenoidxglossaries
\newglossaryentry{potato}{name={potato},plural={potatoes},
description={starchy tuber}}
\newglossaryentry{cabbage}{name={cabbage},
description={vegetable with thick green or purple leaves}}
\newglossaryentry{carrot}{name={carrot},
description={orange root}}
\begin{document}
\printnoidxglossaries
\chapter{Vegetable}
Chop the \gls{cabbage}, \glspl{potato} and \glspl{carrot}.
\begin{thebibliography}{100}
\bibitem{veggie} Vegetable. (2014). \emph{FDA}.
\end{thebibliography}
\end{document}
如何解决这个问题?谢谢您的时间!