合并和字体规范之间的冲突

合并和字体规范之间的冲突

以下是简单的最小示例:

\documentclass[11pt]{combine}

\usepackage{fontspec}

\title{Proceedings of the ...}
\author{A. N. Editor\thanks{Support ...}}
\date{29 February, 2000}
\begin{document}
\pagestyle{combine} % use the combine page style
\maketitle % main title
\tableofcontents % main ToC
\clearpage
\section{Editor’s introduction} \label{intro} % into main ToC (section 1)
In the article by A.~N.~Author on page~\pageref{art1} ...
\begin{papers} % start of individual articles/papers
\coltoctitle{An article} % first article title into main ToC
\coltocauthor{A.~N.~Author} % first authors into main ToC
\label{art1}
\import{art1} % first article, may have own ToC,
% bibliography, etc.
\coltoctitle{Another article}
\coltocauthor{A.~N.~Other}
\label{art2}
\import{art1}
\end{papers} % end of individual articles/papers
\clearpage
\section{Acknowledgements} % into main ToC (section 2)
Among the many ...
\end{document}

取自组合包文档,fontspec在开头添加包,失败并出现错误:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX error: "kernel/command-already-defined"
! 
! Control sequence \__driver_color_pickup: already defined.
! 
! See the LaTeX3 documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  

有人能想到解决方法吗?这些软件包不兼容吗?

同样的,在旧版本中也可以编译。我最近更新了整个 latex 机制,现在它不起作用了(我花了一段时间才弄清楚一个最小的例子)。

要编译上面的例子,你需要一个虚假的art1.tex文件art2.tex,我使用了:

\documentclass[12pt,twocolumn,a4paper]{article}
\title{Organic photovoltaic cells for space applications}
\author{Pippo}
\begin{document}
\label{paper:myname}
\maketitle
\begin{abstract}
blah1
\end{abstract}
\section{Introduction}
blah2
\end{document}

相关内容