Hi all,
I'm trying ConTeXt for a week so maybe my question seems stupid but...
I have the Y&Y Lucida fonts and i've run
sudo texfont --en=ec --ve=bh --co=lucida --in --ma --so=auto
--ro=TEXMFMAIN
to get ec-bh-lucida.map
So I want to check if my installation is working with an experiment :
______________________________________________________________________
%% Set output to pdf
\setupoutput[pdftex]
%% Activate txt in METAPOST
\useMPlibrary[txt]
%% Activate colors
\setupcolors[state=start]
\setuppapersize[A4][A4]
\enableregime[il9]
\useencoding[ffr]
\mainlanguage[fr]
\usetypescriptfile[type-buy]
\loadmapfile[ec-bh-lucida.map]
\usetypescript[lucida][ec]
\setupbodyfont[lucida]
\starttext
Test \high{exposants} ainsi que des S\cap{mall} C\cap{apitals} !!!
{\em emph !}
{\sl slanted}
{\tt verbatim}
$$t+e+x+t = m+a+t+h + \theta$$
\stoptext
______________________________________________________________________
I've checked that the right fonts is used and it's ok but I obtain
strange errors :
This is pdfeTeXk, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
(format=cont-en 2005.11.22) 28 NOV 2005 10:10
entering extended mode
%&-line parsing enabled.
**&cont-en phd.tex
(./phd.tex
ConTeXt ver: 2005.10.27 fmt: 2005.11.22 int: english mes: english
language : language en is active
<protectionstate 0>
system : cont-new loaded
(/usr/local/texlive/2005/texmf-dist/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
color : palette rollover is available
)
system : cont-old loaded
(/usr/local/texlive/2005/texmf-dist/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(/usr/local/texlive/2005/texmf-dist/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(/usr/local/texlive/2005/texmf-dist/tex/context/user/cont-sys.tex
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex))
bodyfont : 12pt rm is loaded
language : patterns en->ec:ec->1->2:2
uk->ec:ec->2->2:2 de->texnansi:tex
nansi->3->2:2 de->ec:ec->4->2:2
fr->texnansi:texnansi->5->2:2 fr->ec:ec->6->2:2
es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2
pt->ec:ec->9->2:2 it->texnansi
:texnansi->10->2:2 it->ec:ec->11->2:2
nl->texnansi:texnansi->12->2:2 nl->ec:ec-
>13->2:2 cz->il2:il2->14->2:2
cz->ec:ec->15->2:2 sk->il2:il2->16->2:2 sk->ec:ec
->17->2:2 pl->pl0:pl0->18->2:2
pl->ec:ec->19->2:2 pl->qx:qx->20->2:2 loaded
specials : tex,postscript,rokicki loaded
\openout2 = `phd.tui'.
system : phd.top loaded
(./phd.top)
\openout0 = `phd-mpgraph.mp'.
\openout0 = `mpgraph.mp'.
specials : loading definition file tpd
(/usr/local/texlive/2005/texmf-dist/tex/context/base/spec-tpd.tex
specials : loading definition file fdf
(/usr/local/texlive/2005/texmf-dist/tex/context/base/spec-fdf.tex)
specials : fdf loaded
)
specials : fdf,tpd loaded
metapost : loading metapost library txt
(/usr/local/texlive/2005/texmf-dist/tex/context/base/meta-txt.tex)
color : system rgb is global activated
encoding : coding ffr is loaded
(/usr/local/texlive/2005/texmf-dist/tex/context/base/enco-ffr.tex
system : module tryout loaded
(/usr/local/texlive/2005/texmf-dist/tex/context/base/m-tryout.tex
\openout2 = `phd.tui'.
)
language : language specific options [ec-fr] seamless appended
) (/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex
(/usr/local/texlive/2005/texmf-dist/tex/context/base/math-lbr.tex))
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-dis.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-akb.tex)
(/usr/local/texlive/2005/texmf-dist/tex/context/base/type-buy.tex))
(./phd.tuo)
(./phd.tuo) (./phd.tuo) (./phd.tuo) (./phd.tuo) (./phd.tuo) (./phd.tuo)
(./phd.tuo) (./phd.tuo) (./phd.tuo) (./phd.tuo) (./phd.tuo) (./phd.tuo)
systems : begin file phd at line 26
! Font \*lucida12ptmmsy*: has only 7 fontdimen parameters.
<to be read again>
\advance
\dohighlow ...#2\textfont 2\else #3ex\fi \advance
\scratchdimen #4ex
\kern ....
l.28 Test \high{exposants}
ainsi que les S\cap{mall} C\cap{apitals} !!!
? q
OK, entering \batchmode...
! Math formula deleted: Insufficient symbol fonts.
l.32 $$t+e+x+t = m+a+t+h + \theta$
$
Sorry, but I can't typeset math unless \textfont 2
and \scriptfont 2 and \scriptscriptfont 2 have all
the \fontdimen values needed in math symbol fonts.
(/usr/local/texlive/2005/texmf-dist/tex/context/base/pdfr-ec.tex)
fonts : resetting map file list
fonts : using map file: original-base
fonts : using map file: ec-public-lm
fonts : using map file: ec-base
fonts : using map file: original-ams-base
fonts : using map file: original-public-lm
fonts : using map file: ec-bh-lucida
[1.1{/usr/local/texlive/2005/texmf-dist/fonts/map/dvips/context/original-empty
.map}{/usr/local/texlive/2005/texmf-dist/fonts/map/dvips/context/original-base.
map}{/usr/local/texlive/2005/texmf-dist/fonts/map/dvips/context/ec-public-lm.ma
p}{/usr/local/texlive/2005/texmf-dist/fonts/map/dvips/context/ec-base.map}{/usr
/local/texlive/2005/texmf-dist/fonts/map/dvips/context/original-ams-base.map}{/
usr/local/texlive/2005/texmf-dist/fonts/map/dvips/context/original-public-lm.ma
p}{/usr/local/texlive/2005/texmf-dist/fonts/map/pdftex/context/ec-bh-lucida.map
}]
systems : end file phd at line 33
)
Here is how much of TeX's memory you used:
2684 strings out of 61293
55120 string characters out of 619296
4538212 words of memory out of 5549128
38512 multiletter control sequences out of 10000+50000
90421 words of font info for 77 fonts, out of 1000000 for 2000
192 hyphenation exceptions out of 8191
45i,18n,61p,292b,485s stack positions out of
5000i,500n,6000p,200000b,5000s
PDF statistics:
14 PDF objects out of 300000
0 named destinations out of 131072
5 words of extra memory for PDF output out of 10000
{/usr/local/texlive/2005/texmf-dist/fonts/enc/dvips/base/ec.enc}</usr/local/t
exlive/2005/texmf-dist/fonts/type1/bh/lucida/lstr.pfb></usr/local/texlive/2005/
texmf-dist/fonts/type1/bh/lucida/lbsl.pfb></usr/local/texlive/2005/texmf-dist/f
onts/type1/bh/lucida/lbr.pfb>
Output written on phd.pdf (1 page, 21364 bytes).
__________________________________________________________________________________
When I try another strategy like
\definetypeface[yandylucida][rm][serif][lucida][default][encoding=ec]
\definetypeface[yandylucida][ss][sans][lucida][default][encoding=ec]
\definetypeface[yandylucida][tt][mono][lucida][default][encoding=ec]
%\definetypeface[yandylucida][mm][math][lucida][default][encoding=ec]
\setupbodyfont[yandylucida,12pt]
Everything works except the fact that I don't use LucidaMath. When I
uncomment mm I get same error
! Font \*yandylucida12ptmmsy*: has only 7 fontdimen parameters.
<to be read again>
\advance
\dohighlow ...#2\textfont 2\else #3ex\fi \advance
\scratchdimen #4ex
\kern ....
l.28 Test \high{exposants}
ainsi que des S\cap{mall} C\cap{apitals} !!!
I have read Lucida-related threads and i really dunno what to do next (I have
check type-buy and apparently it's ok) !
An idea ?