Ich bekomme beim Kompilieren mit {scrbook} durch XeLaTeX verschiedene Fehlermeldungen (die .Log-Datei ist angehängt), unter anderem:
Package scrkbase Error: font of element `sectionentrypagenumber,subsectionent
rypagenumber' can't be used.
oder:
Package microtype Warning: Unknown slot number of character
(microtype) `\`A'
(microtype) in font encoding `TU' in inheritance list
(microtype) `microtype.cfg/358(protrusion)'.
oder:
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
Was mache ich falsch?
MWE:
% !TeX program = xelatex % !TeX encoding = UTF-8 Unicode \documentclass[paper=a4,fontsize=12pt,twoside=true, twocolumn=false,DIV=9,headinclude=right,footinclude=false, chapterprefix=on,open=any,numbers=noenddot]{scrbook} \usepackage[papersize={210mm,297mm},bindingoffset=3mm,lmargin=23.33mm, rmargin=46.7,tmargin=33mm,bmargin=66mm,textwidth=140mm, textheight=198mm]{geometry} % Seitenränder: Satzspiegel nach Konstruktion mit Goldenem Schnitt \usepackage{setspace} \usepackage[ngerman]{babel} % Sprachumschaltung: Deutsch nach neuer Rechtschreibung \usepackage{hyperref} \usepackage[hyperref]{xcolor} % Farben ermöglichen (auch in Hyperref) \definecolor{StrawberryRed}{RGB}{196,38,56} % (weitere) Farben definieren \definecolor{ShamrockGreen}{RGB}{42,137,16} % möglich auch rgb = RGB/255 \usepackage{microtype} % Mikrotypografische Optimierungen \usepackage{amsmath} % Standardpaket für mathematische Umgebungen und Befehle \usepackage[math-style=ISO,bold-style=ISO]{unicode-math} % Zur folgenden Definition von OpenType-Fonts, lädt auch das Paket "fontspec" zur Schriftumschaltung mit den nativen XeTeX-Anweisungen \setmainfont{MinionPro}[Path=fonts/,Extension=.otf,Numbers=OldStyle, Kerning=On,Style=Historic,Ligatures={Common},SizeFeatures={ {Size = -8.41, Font = *-Caption}, {Size = 8.41-13.01, Font = *-Regular}, {Size = 13.01-19.91, Font = *-Subhead}, {Size = 19.91-, Font = *-Display}}, UprightFont = *-Regular, BoldFont = *-Bold, ItalicFont = *-Italic, BoldItalicFont = *-BoldItalic] \setsansfont{CronosPro}[Path=fonts/,Extension=.otf,Numbers=OldStyle, Scale=MatchLowercase,SizeFeatures={ {Size = -8.41, Font = *-Caption}, {Size = 8.41-13.01, Font = *-Regular}, {Size = 13.01-19.91, Font = *-Subhead}, {Size = 19.91-, Font = *-Display}}] \setsansfont{CronosPro-Semibold}[range={bfup->up,bfit->it},Path=fonts/,Extension=.otf,Numbers=OldStyle, ,SizeFeatures={ {Size = -8.41, Font = *Caption}, {Size = 8.41-13.01, Font = *}, {Size = 13.01-19.91, Font = *Subhead}, {Size = 19.91-, Font = *Display}}] \setmonofont{fonts/CourierStd.otf} \setmathfont{MinionMath}[Path=fonts/,Extension=.otf,Kerning=On,SizeFeatures={ {Size = -6.01, Font = *-Tiny}, {Size = 6.01-8.41, Font = *-Caption}, {Size = 8.41-13.01, Font = *-Regular}, {Size = 13.01-19.91, Font = *-Subhead}, {Size = 19.91-, Font = *-Display}}] \setmathfont{MinionMath}[range={bfup->up,bfit->it},Path=fonts/,Extension=.otf,Kerning=On, SizeFeatures={ {Size = -6.01, Font = *-BoldTiny}, {Size = 6.01-8.41, Font = *-BoldCaption}, {Size = 8.41-13.01, Font = *-BoldRegular}, {Size = 13.01-19.91, Font = *-BoldSubhead}, {Size = 19.91-, Font = *-BoldDisplay}}] % Nimbus-Alternative: % \usepackage{mathptmx} \usepackage[automark]{scrlayer-scrpage} % Definition der Farben, Schriftschnitte und Schriftgrößen \usekomafont{chapter}{\color{StrawberryRed}{\huge\sffamily\mdseries}} \usekomafont{chapterprefix}{\color{StrawberryRed}{\large\sffamily\scshape\mdseries}} \usekomafont{section}{\color{StrawberryRed}{\large\sffamily\scshape\bfseries}} \usekomafont{subsection}{\color{StrawberryRed}{\large\sffamily\bfseries}} \usekomafont{subsubsection}{\color{StrawberryRed}{\normalsize\sffamily\itshape}} \usekomafont{chapterentrypagenumber}{\color{StrawberryRed}{\rmfamily\mdseries}} \usekomafont{sectionentrypagenumber,subsectionentrypagenumber}{\normalcolor\rmfamily\mdseries} \usekomafont{labelingseparator,pagehead}{\color{StrawberryRed}{\sffamily\scshape\mdseries}} \usekomafont{pagefoot}{\normalcolor\rmfamily\mdseries} \usekomafont{caption}{\normalcolor\sffamily\mdseries} \usekomafont{descriptionlabel,labelinglabel,captionlabel,footnotelabel,footnotereference}{\color{ShamrockGreen}{\sffamily\uppercase\mdseries}} \usepackage{blindtext} \begin{document} \setstretch={1.08} \mainmatter \chapter{Einleitung} \blindtext[5] \section{Abschnitt} \blindtext[5] \end{document} %%% Local Variables: %%% mode: latex %%% TeX-engine: xetex %%% TeX-PDF-mode: t %%% coding: utf-8 %%% TeX-master: t %%% End: