You are not logged in.
Hi there,
after upgrading texlive, I'm getting this error !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "persian-modern-regular" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
I'm confused ! Because I don't use mentiod font in my document !!
anyway, I installed the persian-modern fonts but my problem didn't solve !
here is complete output of xelatex :
This is XeTeX, Version 3.1415926-2.3-0.9997.5 (TeX Live 2012/dev/Arch Linux)
restricted \write18 enabled.
entering extended mode
(./bahram.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
(/usr/share/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty))
(/usr/share/texmf-dist/tex/latex/setspace/setspace.sty
Package: `setspace' 6.7 <2000/12/01>
) (/usr/share/texmf-dist/tex/latex/tools/indentfirst.sty)
(/usr/share/texmf-dist/tex/xelatex/xepersian/xepersian.sty
(/usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texmf-dist/tex/latex/l3kernel/l3names.sty
(/usr/share/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty))
(/usr/share/texmf-dist/tex/latex/etex-pkg/etex.sty)
(/usr/share/texmf-dist/tex/latex/tools/calc.sty)
(/usr/share/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texmf-dist/tex/latex/latexconfig/color.cfg))
(/usr/share/texmf-dist/tex/latex/l3kernel/l3basics.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3expan.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3tl.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3seq.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3int.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3quark.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3prg.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3clist.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3token.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3prop.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3msg.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3io.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3file.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3skip.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3keys.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3fp.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3box.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3coffins.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3color.sty)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3luatex.sty))
(/usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty)
(/usr/share/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
(/usr/share/texmf-dist/tex/latex/base/fixltx2e.sty))
(/usr/share/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texmf-dist/tex/latex/euenc/eu1enc.def)
(/usr/share/texmf-dist/tex/latex/euenc/eu1lmr.fd))
(/usr/share/texmf-dist/tex/xelatex/xunicode/xunicode.sty
(/usr/share/texmf-dist/tex/latex/tipa/t3enc.def
(/usr/share/texmf-dist/tex/latex/euenc/eu1lmss.fd)))
(/usr/share/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/share/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty)
(/usr/share/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty)
(/usr/share/texmf-dist/tex/latex/bidi/bidi.sty
bidi package (Support for bidirectional typesetting in plain TeX and LaTeX)
Description: A convenient interface for typesetting bidirectional
texts in plain TeX and LaTeX. The package includes adaptations for use
with many other commonly-used packages.
Copyright © 2009–2012 Vafa Khalighi
v11.150, 2012/01/01
License: LaTeX Project Public License, version 1.3c or higher (your choice)
Location on CTAN: /macros/latex/contrib/bidi
(/usr/share/texmf-dist/tex/generic/iftex/iftex.sty)
(/usr/share/texmf-dist/tex/latex/bidi/biditools.sty)
(/usr/share/texmf-dist/tex/latex/bidi/xetex-bidi.def
(/usr/share/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def)
(/usr/share/texmf-dist/tex/latex/bidi/article-xetex-bidi.def)
(/usr/share/texmf-dist/tex/latex/bidi/color-xetex-bidi.def)
(/usr/share/texmf-dist/tex/latex/bidi/graphicx-xetex-bidi.def))
(/usr/share/texmf-dist/tex/latex/bidi/loadingorder-bidi.def))
xepersian package (Persian for LaTeX over XeTeX)
Description: The package supports Persian
typesetting, using fonts provided in the distribution.
Copyright © 2008–2012 Vafa Khalighi
v11.136, 2012/01/01
License: LaTeX Project Public License, version 1.3c or higher (your choice)
Location on CTAN: /macros/xetex/latex/xepersian
kpathsea: Invalid fontname `[persian-modern-regular]/ICU', contains '['
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "persian-modern-regular" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.76 ...dern-boldoblique}]{persian-modern-regular}
any idea how to solve it ?!
thanks in advance ...
Last edited by bahramwhh (2012-02-08 12:27:53)
Offline
My problem solved,
Solution:
I don't know why, but this version of xelatex isn't using system wide fonts for predefined fonts and it's using fonts in this path :
/usr/share/texmf-dist/fonts/truetype
and to fix this problem you have to copy [persian-modern-fonts] there !
but this still can't work because of a persmission error !!!
you might want to set permissions of this font folder to your own or you group and then try again using xelatex !
or simply use `sudo xelatex yourfile.tex` !!
I think this should be a bug or something !!
Offline
Sorry for posting to this closed topic
I had the same issue , My problem fixed by installing this package `texlive-langextra`
Offline