fontspec Math not found

Fragen und Probleme, die nicht den obigen Kategorien zugeordnet werden können


MoonKid
Forum-Meister
Forum-Meister
Beiträge: 690
Registriert: Sa 30. Jun 2012, 11:56

fontspec Math not found

Beitrag von MoonKid »

Wie verstehe nicht genau, welchen Teil von TeX mein Problem betrifft, daher poste ich erstmal hier in die Allgemein-Gruppe.

Der Code sieht so aus.
\documentclass{scrartcl}

\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\usepackage{polyglossia}
\setmainfont{Math}

%\setmainfont{KanjiStrokeOrders}

\begin{document}
E⁺
日本語
\end{document}
Scheinbar finde eine Komponente aber den Font nicht. Alle notwendigen texlive-Packete sind installiert. Auch per apt-cache habe ich nach evtl. übersehenen "font" oder "math" Paketen gesucht. Alles installiert.
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/Debian)
 restricted \write18 enabled.
entering extended mode
(./jap.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ng
erman, german, swissgerman, ngerman-x-2012-05-30, german-x-2012-05-30, loaded.
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2012/05/15 v3.11 KOMA-Script document class (article)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2011/03/09 v3.09 KOMA-Script package (loading files)
                  Copyright (C) Markus Kohm

))) (/usr/share/texlive/texmf-dist/tex/latex/koma-script/tocbasic.sty)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrsize11pt.clo)
(/usr/share/texlive/texmf-dist/tex/latex/koma-script/typearea.sty
Package typearea, 2012/05/15 v3.11 KOMA-Script package (type area)
                  Copyright (C) Frank Neukam, 1992-1994
                  Copyright (C) Markus Kohm, 1994-

)) (/usr/share/texlive/texmf-dist/tex/latex/xltxtra/xltxtra.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3names.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty))
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg))
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3basics.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3expan.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3tl.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3seq.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3int.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3quark.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3prg.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3clist.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3token.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3prop.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3msg.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3file.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3skip.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3keys.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3fp.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3box.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3coffins.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3color.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3luatex.sty))
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/fixltx2e.sty)
*************************************************
* LaTeX warning: "xparse/redefine-command"
* 
* Redefining document command \oldstylenums with arg. spec. 'm' on line 107.
*************************************************
) (/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1enc.def)
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmr.fd))
(/usr/share/texlive/texmf-dist/tex/xelatex/xunicode/xunicode.sty
(/usr/share/texmf/tex/latex/tipa/t3enc.def
(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmss.fd))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty))
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/share/texlive/texmf-dist/tex/latex/realscripts/realscripts.sty
*************************************************
* LaTeX warning: "xparse/redefine-command"
* 
* Redefining document command \textsubscript with arg. spec. 's' on line 25.
*************************************************
*************************************************
* LaTeX warning: "xparse/redefine-command"
* 
* Redefining document command \textsuperscript with arg. spec. 's' on line 28.
*************************************************
) (/usr/share/texlive/texmf-dist/tex/latex/metalogo/metalogo.sty))
(/usr/share/texlive/texmf-dist/tex/xelatex/polyglossia/polyglossia.sty
(/usr/share/texmf/tex/latex/etoolbox/etoolbox.sty)
(/usr/share/texlive/texmf-dist/tex/latex/makecmds/makecmds.sty)
(/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex)))
kpathsea: Running mktextfm Math
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation M for Math.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf Math

! I can't find file `Math'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Transcript written on mfput.log.
grep: Math.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math' failed to make Math.tfm.
kpathsea: Appending font creation commands to missfont.log.

kpathsea: Running mktextfm Math
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation M for Math.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf Math

! I can't find file `Math'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Transcript written on mfput.log.
grep: Math.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math' failed to make Math.tfm.

kpathsea: Running mktextfm Math
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation M for Math.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf Math

! I can't find file `Math'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Transcript written on mfput.log.
grep: Math.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math' failed to make Math.tfm.

kpathsea: Running mktextfm Math
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation M for Math.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf Math

! I can't find file `Math'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Transcript written on mfput.log.
grep: Math.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math' failed to make Math.tfm.

kpathsea: Running mktextfm Math/B
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation B for B.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input B
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf B

! I can't find file `B'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input B
                                               
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input B
                                               
Transcript written on mfput.log.
grep: B.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input B' failed to make B.tfm.

kpathsea: Running mktextfm Math
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation M for Math.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf Math

! I can't find file `Math'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Transcript written on mfput.log.
grep: Math.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math' failed to make Math.tfm.

kpathsea: Running mktextfm Math/I
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation I for I.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input I
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf I

! I can't find file `I'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input I
                                               
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input I
                                               
Transcript written on mfput.log.
grep: I.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input I' failed to make I.tfm.

kpathsea: Running mktextfm Math
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation M for Math.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf Math

! I can't find file `Math'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Transcript written on mfput.log.
grep: Math.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math' failed to make Math.tfm.

kpathsea: Running mktextfm Math/BI
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation B for BI.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input BI
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf BI

! I can't find file `BI'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input BI
                                                
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input BI
                                                
Transcript written on mfput.log.
grep: BI.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input BI' failed to make BI.tfm.

kpathsea: Running mktextfm Math
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation M for Math.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf Math

! I can't find file `Math'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Transcript written on mfput.log.
grep: Math.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math' failed to make Math.tfm.


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
! 
! The font "Math" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.6 \setmainfont{Math}
                      

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
! 
! The font "Math" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.6 \setmainfont{Math}
                      
! Font EU1/Math(0)/m/n/10=Math:mapping=tex-text; at 10.0pt not loadable: Metric
 (TFM) file or installed font not found.
<to be read again> 
                   relax 
l.6 \setmainfont{Math}
                      
(./jap.aux) (/usr/share/texmf/tex/latex/tipa/t3cmr.fd)
kpathsea: Running mktextfm Math
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation M for Math.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)

kpathsea: Running mktexmf Math

! I can't find file `Math'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input Math
                                                  
Transcript written on mfput.log.
grep: Math.log: Datei oder Verzeichnis nicht gefunden
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Math' failed to make Math.tfm.

! Font EU1/Math(0)/m/n/10.95=Math:mapping=tex-text; at 10.95pt not loadable: Me
tric (TFM) file or installed font not found.
<to be read again> 
                   relax 
l.10 \begin{document}
                     
[1] (./jap.aux) )
(see the transcript file for additional information)
Output written on jap.pdf (1 page).
Transcript written on jap.log.
Ich bilde mir ein, das hätte auf einer anderen Maschine schon mal funktioniert. Tut es aber auch nicht mehr. Mpf.
Also eigentlich geht es nur darum, eine Schriftart zu setzen, die mir ein E+ und japanische Zeichen anzeigen kann. Das ist alles. Die per default verwendete Schriftart tut das jedenfalls nicht. Da seh ich nur ein E und sonst nix.
XeLaTeX, TeX Live, vim-latexsuite

Benutzeravatar
u_fischer
Forum-Meister
Forum-Meister
Beiträge: 4300
Registriert: Do 22. Nov 2012, 11:09
Kontaktdaten:

Beitrag von u_fischer »

Nun, wenn eine Schrift nicht auf deinem System existiert, dann xelatex sie auch nicht benutzen. Was ist an der Fehlermeldung nicht verständlich?

Antworten