I'm using Peter Flynn's bookshelf
document class to produce a pdf "bookshelf", consisting of graphic representations of book spines with titles from my .bib
file.
I followed the docs, and during the final XeLaTeX runs encounter this error:
Package fontspec Info: Font family 'Arial(0)' created for font 'Arial' with
(fontspec) options [BoldFont={},ItalicFont={},SmallCapsFont={}].
(fontspec)
(fontspec) This font family consists of the following NFSS
(fontspec) series/shapes:
(fontspec)
(fontspec) - 'normal' (m/n) with NFSS spec.:
(fontspec) <->"Arial/OT:script=latn;language=dflt;"
(fontspec) - 'small caps' (m/sc) with NFSS spec.:
./fontsel/8.tex:2: LaTeX3 Error: Command '\SILmfont' already defined!
For immediate help type H <return>.
...
l.2 \def
\SILmfontname{Arial}
Processing of my .bib
file by the prepdata.sh
script accompanying the documentclass produced, among other files, a subdirectory fontsel
of my working directory containg files 1.tex
, 2.tex
, ..., 109.tex
.
Each of those nnn.tex
files includes a line of the form \def\SILmfontname{
}
.
What's wrong?
Here's the test.tex
I'm using with my .bib
file:
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode
% !BIB TS-program = biber
\documentclass[a0paper,landscape]{bookshelf}
\addbibresource{books.bib}
\begin{document}\raggedright
%%\immediate\write18{./prepdata.sh}
\input{entries.tex}
\nocite{*}
\par\vfill\clearpage
\printbibliography
\end{document}
This is the same as the distributed file except that I've used the name of my own .bib
file and, per the docs, before the final two runs of xelatex
uncommented the line \input{entries.tex}
there.
I presume that any properly-formatted .bib
file should do here, as for now I'd rather not share my own (which is for a book in preparation). But I'll post it if really needed.
.fontsel/108.tex
, with the error there on the 2nd line\def\SILmfontname{Verdana}
).\def
line but by the repeated use of\newfontface
with the same first argument.