On Thu, Jul 23, 2009 at 7:51 PM, Khaled Hosny wrote: > On Thu, Jul 23, 2009 at 07:20:48PM +0530, Derek CORDEIRO wrote: > > Hi, > > > > I have downloaded and installed the typescripts from http:// > > modules.contextgarden.net > > > > In myTeX file, I have at the beginning of the file: > > > > \usetypescriptfile[type-linuxlibertine] > > \usetypescript[linuxlibertine] > > \setupbodyfont[linuxlibertine,12pt] > > > > The following is a part of the context output. > > > > ) (/home/derek/context/tex/texmf-local/tex/context/third/typescripts/ > > type-linuxlibertine.tex > (/home/derek/context/tex/texmf-local/tex/context/third/ > > typescripts/type-linuxlibertine.mkiv)) > > fontnames | identifying tree font files with suffix otf > > fontnames | identifying tree font files with suffix OTF > . > . > . > > define font | font with name Linux Libertine O is not found > > define font | unknown font Linux Libertine O, loading aborted > > define font | unable to define Linux Libertine O as > \*linuxlibertine12ptrmtf* > > > > Output of the command «fc-list | grep "Linux Libertine"» is as follows > > > > Linux Libertine:style=Bold > > Linux Libertine O:style=Bold Italic > > Linux Libertine O C:style=Regular > > Linux Libertine O:style=Regular > > Linux Libertine C:style=Regular > > Linux Libertine U:style=Regular > > Linux Libertine O:style=Italic > > Linux Libertine:style=Italic > > Linux Libertine:style=Bold Italic > > Linux Libertine O:style=Bold > > Linux Libertine:style=Regular > > > > ConTeXt ver: 2009.07.22 21:46 MKIV fmt: 2009.7.23 int: english/english > > > > What am I doing wrong? > > ConTeXt doesn't use fontconfig for detecting installed fonts, try to set > OSFONTDIR to point where your fonts are, then run: > mtxrun -script fonts -reload > derek@derek-desktop:~$ echo $OSFONTDIR /home/derek/.fonts derek@derek-desktop:~$ ls /home/derek/.fonts/Lin* /home/derek/.fonts/LinLibertine_Bd-4.1.0.otf /home/derek/.fonts/LinLibertine_Bd-4.1.0.ttf /home/derek/.fonts/LinLibertine_BI-4.0.5.otf /home/derek/.fonts/LinLibertine_BI-4.0.5.ttf /home/derek/.fonts/LinLibertineC_Re-4.0.3.otf /home/derek/.fonts/LinLibertineC_Re-4.0.3.ttf /home/derek/.fonts/LinLibertine_It-4.0.6.otf /home/derek/.fonts/LinLibertine_It-4.0.6.ttf /home/derek/.fonts/LinLibertine_Re-4.4.1.otf /home/derek/.fonts/LinLibertine_Re-4.4.1.ttf derek@derek-desktop:~$ mtxrun -script fonts --reload MTXrun | fontnames: identifying tree font files with suffix otf MTXrun | fontnames: identifying tree font files with suffix OTF MTXrun | fontnames: 161 tree files identified, 161 hash entries added, runtime 0.229 seconds MTXrun | fontnames: identifying tree font files with suffix ttf MTXrun | fontnames: identifying tree font files with suffix TTF MTXrun | fontnames: 5 tree files identified, 5 hash entries added, runtime 0.205 seconds MTXrun | fontnames: identifying tree font files with suffix ttc MTXrun | fontnames: identifying tree font files with suffix TTC MTXrun | fontnames: 0 tree files identified, 0 hash entries added, runtime 0.226 seconds MTXrun | fontnames: identifying tree font files with suffix afm MTXrun | fontnames: identifying tree font files with suffix AFM MTXrun | fontnames: 76 tree files identified, 65 hash entries added, runtime 0.389 seconds MTXrun | fontnames: identifying system font files with suffix otf MTXrun | fontnames: identifying system font files with suffix OTF MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime 0.000 seconds MTXrun | fontnames: identifying system font files with suffix ttf MTXrun | fontnames: identifying system font files with suffix TTF MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime 0.000 seconds MTXrun | fontnames: identifying system font files with suffix ttc MTXrun | fontnames: identifying system font files with suffix TTC MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime 0.000 seconds MTXrun | fontnames: identifying system font files with suffix afm MTXrun | fontnames: identifying system font files with suffix AFM MTXrun | fontnames: 0 system files identified, 0 hash entries added, runtime 0.000 seconds derek@derek-desktop:~$ mtxrun -script fonts -list|grep Lin The above command gives no output Still clueless, Derek