
참조용으로 패키지를 사용하려고 하는데 apacite
작동하는 데 몇 가지 문제가 있습니다.
texlive-bibtex-extra
저는 Ubuntu와 Tex Live 배포판 을 사용하고 있으므로 apacite
.
나는 잘 작동하는 bibtex 파일을 사용하고 있지만 natbib
어떤 이유로 여기서는 작동하지 않습니다. Jung2009
내 참고 자료 중 하나입니다.
예는 다음과 같습니다.
\documentclass[11pt,a4paper,oldfontcommands]{memoir}
\usepackage{apacite}
\begin{document}
example example example \cite{Jung2009}.
\bibliographystyle{apacite}%{unsrt}
\bibliography{library}
\end{document}
처음에는 캡션을 인용하는 데 문제가 있었지만 명령 \protect
앞에 배치하여 문제를 해결했습니다 \cite
.
그러나 컴파일하려고 하면 여전히 다음 오류가 발생합니다.
This is BibTeX, Version 0.99d (TeX Live 2013/Debian)
The top-level auxiliary file: apa_practice.aux
The style file: apacite.bst
Database file #1: library.bib
apacite.bst [2013/07/04 v6.02 APA bibliography style]
"" is a string literal, not a function, for entry Jung2009 while executing---line 5144 of file apacite.bst
(There was 1 error message)
편집: 내 .bib 파일은 참조 관리자 Mendeley에서 자동으로 생성됩니다. 에 대한 입력은 다음과 같습니다 Jung2009
.
@article{Jung2009,
abstract = {...},
author = {Jung, Christian and M\"{u}ller, Andreas E},
doi = {10.1016/j.tplants.2009.07.005},
file = {:home/geff/Documents/Mendeley Files/Jung and Muller.pdf:pdf},
issn = {1878-4372},
journal = {Trends Plant Sci.},
keywords = {...},
month = oct,
number = {10},
pages = {563--73},
pmid = {19716745},
title = {{Flowering time control and applications in plant breeding.}},
url = {http://www.ncbi.nlm.nih.gov/pubmed/19716745},
volume = {14},
year = {2009}
}
EDIT2: 내 .tex 파일이 있는 폴더에서 apacite.ins를 실행하면 apacite를 실행할 수 있으며 위의 예는 훌륭하게 작동합니다. 그러나 이제 실제 문서의 모든 인용에서 !Undefound Control Sequence Error가 발생합니다. 폴더에 있는 다른 관련 파일을 모두 삭제해도 마찬가지입니다. 다른 패키지가 방해할 수 있나요? 템플릿을 기반으로 한 서문은 다음과 같습니다.
\documentclass[11pt,a4paper,oldfontcommands]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{microtype}
\usepackage[dvips]{graphicx}
\usepackage{xcolor}
\usepackage{times}
\usepackage{parskip}
\usepackage{wrapfig}
\usepackage{tcolorbox}
\usepackage{lipsum}
\usepackage{subfig}
\usepackage[format=hang]{caption}
%\usepackage{cite}
\usepackage{apacite}
\usepackage[
breaklinks=true,colorlinks=true,
linkcolor=black,urlcolor=black,citecolor=blue,
bookmarks=true,bookmarksopenlevel=2]{hyperref}
\usepackage{geometry}
\geometry{total={210mm,297mm},
left=20mm,right=20mm,
bindingoffset=10mm, top=25mm,bottom=25mm}
\OnehalfSpacing
%\linespread{1.3}
%%% CHAPTER'S STYLE
\chapterstyle{brotherton}
%%% STYLE OF SECTIONS, SUBSECTIONS, AND SUBSUBSECTIONS
\setsecheadstyle{\Large\bfseries\sffamily\raggedright}
\setsubsecheadstyle{\large\bfseries\sffamily\raggedright}
\setsubsubsecheadstyle{\bfseries\sffamily\raggedright}
%%% STYLE OF PAGES NUMBERING
\pagestyle{plain}
\makepagestyle{plain}
\makeevenfoot{plain}{\thepage}{}{}
\makeoddfoot{plain}{}{}{\thepage}
\makeevenhead{plain}{}{}{}
\makeoddhead{plain}{}{}{}
\maxsecnumdepth{subsection}
\maxtocdepth{subsection}
어떤 도움이라도 대단히 감사하겠습니다.