ich versuche gerade eine Schriftart (selber) festzulegen mit dem Code-Beispiel
% Show page(s) 1 \documentclass[a5paper,english, ngerman,parskip=half-]{scrartcl} \usepackage{fontspec} \setmainfont{LibertinusSerif} \usepackage{babel} \title{Textsatz mit \LaTeX} \author{Herbert Voß} \date{\today} \begin{document} \maketitle \foreignlanguage{english}{% \begin{abstract} This is a short introduction into the professional typesetting system \TeX. \end{abstract}} \section{Einführung} Erste Versuche mit dem Setzen eines einem \LaTeX-Dokuments und der Schrift Libertine. \end{document}
Damit eine PDF in TeXMaker entsteht, muss ich
\setmainfont{LibertinusSerif}
Es kommt immer die Fehlermeldung:
Unter C:\Program Files\MikTeX\tpm\packages gibt es die Datei libertinus.tpm. Im MiKTeX Paket-Manager finde ich auch fontspec als installiert.! fontspec error: "font-not-found"
!
! The font "LibertinusSerif" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.5 \setmainfont{LibertinusSerif}
|'''''''''''''''''''''''''''''''''''''''''''''''
| A font might not be found for many reasons.
| Check the spelling, where the font is installed etc. etc.
|
| When in doubt, ask someone for help!
|...............................................
.................................................
. fontspec info: "no-scripts"
.
. Font "LibertinusSerif" does not contain any OpenType `Script' information.
.................................................
\g__fontspec_family_LibertinusSerif_int=\count180
.................................................
. fontspec info: "no-font-shape"
.
. Could not resolve font "LibertinusSerif/BI" (it probably doesn't exist).
.................................................
.................................................
. fontspec info: "no-font-shape"
.
. Could not resolve font "LibertinusSerif/B" (it probably doesn't exist).
.................................................
.................................................
. fontspec info: "no-font-shape"
.
. Could not resolve font "LibertinusSerif/I" (it probably doesn't exist).
.................................................
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
Aus der FONTSPEC-Dokumentation werde ich auch nicht schlauer.
Ich habe XeLaTeX für das schnelle Übersetzen ausgewählt. Ich nutze Windows.
Jetzt bin ich ratlos.
Grüße
Bebbi