我之前问过一个问题,我的字体规范有问题,因为我在 Caslon 中使用 LuaLaTeX。我在 Win 7 上安装了 TeXLive 2013(最新版)。文件用 XeLaTeX 编译得很好。
这是我的序言,编译器似乎在输出的这一点上挂起了:
\documentclass[
a4paper,
% DIVcalc,
% BCOR12mm,
12pt]{scrartcl}
\linespread{1.6}
\usepackage{setspace}
% \singlespacing
% \onehalfspacing
% \doublespacing
%\setstretch{1.2} % for custom spacing
%\usepackage[T1]{fontenc}
%\usepackage[ansinew]{inputenc}
%\usepackage[latin9]{inputenc}
%\usepackage[english]{babel}
%\synctex=-1
\usepackage{xcolor}
\usepackage{pdfcolmk}
\usepackage{textcomp}
\usepackage{verbatim}
\PassOptionsToPackage{normalem}{ulem}
\usepackage[normalem]{ulem}
\usepackage{units} %for nicefrac
\usepackage{ftnxtra}
%%%XeTeX-font-modifications
\usepackage[no-math]{fontspec}
\usepackage{lipsum}
\usepackage[rm]{titlesec}
%\usepackage{titletoc}
\usepackage[titles]{tocloft}
\usepackage{polyglossia}
\usepackage{csquotes}
\setdefaultlanguage{english}
%\defaultfontfeatures{Ligatures=TeX}
%\setmainfont[Numbers=Proportional,Ligatures=TeX]{Adobe Caslon Pro}
\setmainfont[
Extension = .otf,
Ligatures = TeX,
BoldFont = ACaslonPro-Bold,
ItalicFont = ACaslonPro-Italic,
BoldItalicFont = ACaslonPro-BoldItalic
]{ACaslonPro-Regular}
%\usepackage{luaotfload}
%%%for luatex
%\usepackage{uniinput-lualatex}
%\usepackage{luatextra}
%%%special typesetting adjustment
%\usepackage{microtype}
%\usepackage[english]{selnolig}
%%% Equations
\usepackage{amsmath}
\usepackage{mathcomp}
\usepackage{amssymb}
\usepackage{breqn}
\usepackage{upgreek}
\usepackage{stmaryrd}
% %%%XeTeX Mathfont XITS Math
% \usepackage[MnSymbol]{mathspec}
% \setmathsfont(Digits,Latin,Greek)
% [Numbers={Lining,Proportional}]{Latin Modern Math}
%%% THE BIB
\usepackage[backend=biber,
citestyle=authoryear,bibstyle=philosophy-modern,
natbib=true,isbn=false,url=false,maxcitenames=2,language=english,hyperref=true,sorting =nyt]{biblatex}
\addbibresource{draft.bib}
%%%geometry
\usepackage[lmargin=2.5cm,rmargin=2cm,bottom=2.5cm,top=2.5cm,includeheadfoot]
{geometry}
%%%Symbols
\usepackage{eurosym}
%%% TABLES
\usepackage{threeparttable}
\usepackage{tabularx}
\usepackage{fancyvrb}
\usepackage{array}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{longtable}
\usepackage{supertabular}
\usepackage{rotating} %zum drehen von Tabellen ins Querformat
\usepackage{dcolumn} % ???
\usepackage{enumerate}
%%% Grafiken
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{rotating}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning}
%%% version control
\usepackage{mVersion}
\increaseBuild
%%%shaping
%\usepackage{shapepar}
%%% To-do-Notes
% \usepackage[german,textsize=footnotesize]{todonotes}
% \setlength{\marginparwidth}{4cm}
% \reversemarginpar %vorübergehend, damit marginnotes Platz haben
% \setlength{\hoffset}{3cm}
% \setlength{\textwidth}{14cm}
%def:stodo
% \newcommand{\stodo}[2][]
% {\todo[caption={#2}, size=\small, #1]{\renewcommand{\baselinestretch} {0.5}\selectfont#2\par}}
%%% Schusterjungenkontrolle
\widowpenalty=10000
\clubpenalty=10000
%%% Verzeichnisse
%%% Makros
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
%%% HYPERREF
\usepackage[english,linktocpage=true]{hyperref}
\hypersetup{
colorlinks = true,
linkcolor = blue,
anchorcolor = blue,
citecolor = blue,
filecolor = red,
urlcolor = blue
}
这是编译器挂起的地方:
(c:/texlive/2013/texmf-dist/tex/latex/biblatex-philosophy/english-philosophy.lbx (c:/texlive/2013/texmf-dist/tex/latex/biblatex/lbx/english.lbx)) (./draft.aux
) (c:/texlive/2013/texmf-dist/tex/latex/base/ts1cmr.fd)
(c:/texlive/2013/texmf-dist/tex/latex/tipa/t3cmr.fd)
(c:/texlive/2013/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (c:/texlive/2013/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(c:/texlive/2013/texmf-dist/tex/latex/oberdiek/grfext.sty)
(c:/texlive/2013/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(./draft.bbl)
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex
ABD: EveryShipout initializing macros
(c:/texlive/2013/texmf-dist/tex/latex/hyperref/nameref.sty
(c:/texlive/2013/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(./draft.out) (./draft.out)
如果您知道编译器挂起的原因,请告诉我。提前致谢!
答案1
由于@egreg 和@cgnieder 以及此建议,这个问题得到了解决tug.org/pipermail/tex-live/2013-July/033914.html。如果您遇到类似问题,请运行
luaotfload-tool --update
从命令行/shell。