
私は LyX (2.0.5) で参考文献付きの文書を書いています。参考文献の表示には を使用しますbiblatex
(http://wiki.lyx.org/BibTeX/Biblatex)。私の LaTeX 環境は MiKTeX 2.9 です。
デスクトップを切り替えてから、次の tex ファイルを pdf に変換できなくなりました。次の tex ファイルのエクスポート元である Lyx ファイルの変換も機能しません。
これが私のTexファイルです:
%% LyX 2.0.5 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[11pt,oneside,chapterprefix=on]{scrbook}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[T1]{fontenc}
\usepackage[cp1252]{inputenc}
\usepackage[a4paper]{geometry}\geometry{verbose,tmargin=3cm,bmargin=3cm,lmargin=2cm,rmargin=2cm,headheight=1cm,headsep=1cm,footskip=1.2cm}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{amsmath}
\usepackage{fixltx2e}
\usepackage{setspace}
\onehalfspacing
\usepackage[unicode=true,pdfusetitle,
bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
breaklinks=true,pdfborder={0 0 1},backref=false,colorlinks=false]
{hyperref}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\numberwithin{figure}{section}
\numberwithin{table}{section}
\numberwithin{equation}{section}
\@ifundefined{date}{}{\date{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage[style=alphabetic,natbib=true,backend=biber]{biblatex}
\bibliography{list-4.bib}
\typeout{File: \jobname.bcf}
\makeatother
\begin{document}
\chapter{Introduction}
Test (\citealp[see][p.1]{Alter1980})
\chapter{Literature}
\printbibliography
\end{document}
私のbibファイルは次のようになります:
@book{Alter1980,
author = {Alter, Steven L.},
year = {op. 1980},
title = {{D}ecision support systems: {C}urrent practice and continuing challenges},
address = {Reading Mass. [etc.]},
publisher = {Addison-Wesley Publ},
isbn = {0-201-00193-4}
}
必要な情報を忘れていないことを願います。皆さんの中に、問題がどこにあるのかヒントを持っている人がいたらいいのですが...もう何もわかりません。
答え1
これがうまくいくかどうかはわかりません。私は を使っていないので、暗闇の中で手探りしているようなものです。しかし、 をクリックしてLyX
参考文献プロセッサを変更する必要があると思います。biber
ツール > 設定 > 出力 > LaTeX > 参考文献生成 > プロセッサ > Biber
これが機能しない場合は、biber
ターミナルからファイルを手動で実行する必要があります。
cd
作業ディレクトリに移動して実行します
biber myfile
ファイル拡張子なしで。その後、ctrl-R
もう一度試してLyX
PDF をコンパイルして表示してください。
また、 の場合biblatex
、\bibliography
は に置き換えられます\addbibresource
。