Hans Hagen wrote:
Steffen Wolfrum wrote:
Hi,
In "s-grk-00.tex" is defined "\switchtobodyfont[cbgreek]".
So why doesn't it work to define a body font for the normal AND use this module for switching to greek?
does
texexec --mode=demo --pdf x-grk-00
work?
Steffen
P.S. Please have a look at this wellknown example.
With the first four lines added the greek parts get empty:
\def\typescriptfiles{type-agaramond.tex}
\usetypescriptfile[type-agaramond.tex]
otherwise you loose everyhting else
Hans
Does it work on your system (with an other typescript of course)?
If I change
\def\typescriptfiles{type-agaramond.tex}
to
\usetypescriptfile[type-agaramond.tex]
I get the error log you can see below.
If I'd comment the first four lines it works fine (so the greek module works, right?).
Steffen
TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003
executable : pdfetex
format : cont-en
inputfile : TEST
output : pdftex
interface : en
current mode : none
TeX run : 1
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
\write18 enabled.
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
entering extended mode
(./TEST.tex{/Users/steffen/Library/texmf/pdftex/config/pdftex.cfg}
ConTeXt ver: 2004.8.15 fmt: 2004.8.29 int: english mes: english
language : language en is active
system : cont-new loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
color : palette rollover is available
system (E-TEX) : [line 567]
system (E-TEX) : [line 622]
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-loc.tex))
system : cont-old loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(/usr/local/teTeX/share/texmf.local/tex/context/user/cont-sys.tex)
bodyfont : 12pt rm is loaded
language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
8:2-nl-2 loaded
specials : tex,postscript,rokicki loaded
system : TEST.top loaded
(./TEST.top
specials : loading definition file tpd
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-tpd.tex
specials : loading definition file fdf
(/usr/local/teTeX/share/texmf.local/tex/context/base/spec-fdf.tex
system (E-TEX) : [line 2253] \ifcsname
)
specials : fdf loaded
)
specials : fdf,tpd loaded
) (/usr/local/teTeX/share/texmf.local/tex/context/base/type-pre.tex)
bodyfont : unknown variant AGaramondOldStyle
bodyfont : bodyfont 7.1pt is defined (can better be done global)
bodyfont : bodyfont 7.1pt is defined (can better be done global)
bodyfont : bodyfont 8.1pt is defined (can better be done global)
bodyfont : bodyfont 8.1pt is defined (can better be done global)
bodyfont : bodyfont 6.1pt is defined (can better be done global)
bodyfont : bodyfont 6.1pt is defined (can better be done global)
bodyfont : bodyfont 12.2pt is defined (can better be done global)
bodyfont : bodyfont 12.2pt is defined (can better be done global)
bodyfont : bodyfont 10.2pt is defined (can better be done global)
bodyfont : bodyfont 10.2pt is defined (can better be done global)
system : macros of module greek loaded
(/usr/local/teTeX/share/texmf.local/tex/context/base/s-grk-00.tex
fonts : [all] [cbgreek] []
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/user/type-cbg.tex
fonts : [cbgreek] [rm] [serif] [cb-greek] / ec
fonts : [map] [ec] []
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/user/type-cbg.tex)
fonts : [serif,map] [cb-greek] [name,default,ec,special]
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/user/type-cbg.tex)
fonts : [serif] [cb-greek] [size]
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-syn.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-enc.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-siz.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-map.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-spe.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-exa.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)
(/usr/local/teTeX/share/texmf.local/tex/context/user/type-cbg.tex)))
(./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo)
(./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo) (./TEST.tuo)
(./TEST.tuo) (./TEST.tuo)kpathsea: Running mktextfm GBGreek-Regular-Medium-Normal
/usr/local/teTeX/share/texmf/web2c/mktexnam: Could not map source abbreviation G for GBGreek-Regular-Medium-Normal.
/usr/local/teTeX/share/texmf/web2c/mktexnam: Need to update /usr/local/teTeX/share/texmf.tetex/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input GBGreek-Regular-Medium-Normal
This is METAFONT, Version 2.7182 (Web2C 7.4.5)
kpathsea: Running mktexmf GBGreek-Regular-Medium-Normal
! I can't find file `GBGreek-Regular-Medium-Normal'.
<*> ...opmode; input GBGreek-Regular-Medium-Normal
Please type another input file name
! Emergency stop.
<*> ...opmode; input GBGreek-Regular-Medium-Normal
Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input GBGreek-Regular-Medium-Normal' failed.
kpathsea: Appending font creation commands to missfont.log.
fonts : needs map file: ec-base.map
fonts : needs map file: cbgreek.map
fonts : needs map file: ec-public-lm.map
fonts : needs map file: original-base.map
systems : begin file TEST at line 16
! Font \*cbgreek10.2ptrmtf*:=GBGreek-Regular-Medium-Normal at 10.2pt not loadab
le: Metric (TFM) file not found.
<to be read again>
\let
\xxdododefinefont ... {#4}\newfontidentifier \let
\localrelativefontsize \de...
\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
\tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
\fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies
\relax \fi \ifskipfontchar...
<argument> \getvalue {\@style@ \fontstyle }
\edef \fontstyle {\fontstyle }\if...
...
l.23 \startgreek
?