
この問題にかなり長い間悩まされていますが、解決方法がわからず、気が狂いそうです。私はラテックスの初心者で、解決に役立つような既に回答されている質問を見つけることができません。そこで、ここに質問します。
私は論文を執筆中で、すでに定義されている論文クラス (latextemplates.com の Steve R. Gunn による 'ECSthesis.cls' に基づく `Thesis.cls') を使用しています。
これですべて正常に動作しますが、参考文献の管理には natbib が使用されており、biblatex を試してみたかったので、テンプレートの natbib パッケージをインポートする部分にコメントを追加し、biblatex を設定するための行を追加しました。次のようになります。
natbib のセットアップ:
\documentclass[12pt, a4paper, twoside, openright]{Thesis} % Paper size, default font size and one-sided paper
\graphicspath{{Pictures/}} % Specifies the directory where pictures are stored
\usepackage[comma, authoryear]{natbib} % Use the natbib reference package - read up on this to edit the reference style; if you want text (e.g. Smith et al., 2012) for the in-text references (instead of numbers), remove 'numbers' \usepackage[comma,authoryear]{natbib}
%\usepackage[utf8]{inputenc}%espaniol (it's already declared in Thesis.cls)
\hypersetup{urlcolor=black, colorlinks=false, citecolor=black, linkcolor=black, pdfborder={0 0 0}} % Colors hyperlinks in blue - change to black if annoying
\title{\ttitle} % Defines the thesis title - don't touch this
\begin{document}
これを次のように変更しました:
\documentclass[12pt, a4paper, twoside, openright]{Thesis} % Paper size, default font size and one-sided paper
\graphicspath{{Pictures/}} % Specifies the directory where pictures are stored
%%%%%% SETUP BIBLIOGRAPHY
\usepackage[spanish,english]{babel}
\usepackage[autostyle]{csquotes}
\usepackage[backend=biber,style=alphabetic,sorting=ynt]{biblatex}
\addbibresource{Bibliography.bib}
\hypersetup{urlcolor=black, colorlinks=false, citecolor=black, linkcolor=black, pdfborder={0 0 0}} % Colors hyperlinks in blue - change to black if annoying
\title{\ttitle} % Defines the thesis title - don't touch this
\begin{document}
これらの変更後、プロジェクトはコンパイルされ、PDFは正常に表示され、参考文献と引用は完璧に機能しますが、次の場所で未定義の制御シーケンスエラーが発生します。
\begin{document}
次の行を追加した後にのみエラーが発生します。
\usepackage[backend=biber,style=alphabetic,sorting=ynt]{biblatex}
したがって、Thesis.cls で既に定義されているものと biblatex パッケージとの間に何らかの非互換性があるのではないかと推測していますが、何も見つかりません (または、見ても認識できないだけです)。
何か間違っているところはありますか、あるいは何に注意すべきかご存知ですか?
どのような助けでも大歓迎です!