* Re: Ancient Greek (bodyfont conflict?)
@ 2004-09-02 12:31 Steffen Wolfrum
2004-09-02 12:57 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2004-09-02 12:31 UTC (permalink / raw)
Hans Hagen <pragma@wxs.nl> wrote:
> >\usetypescriptfile[type-agaramondmini.tex]
> >\usetypescript[AGaramondOldStyle]
> >\setupencoding[default=ec]
> >\setupbodyfont[AGaramondOldStyle,10.2pt]
> >% whithout these four line the greek was ok. now its empty.
> >
> >
> i guess that the 10.2 is giving problems since that size is not defined in greek, so why not use 10pt?
>
> Hans
Ah, right - that's the problem!
And now again I can also use the much faster
\def\typescriptfiles{type-agaramondmini.tex}
instead of
\usetypescriptfile[type-agaramondmini.tex]
Great. Thanks for your patience!
Steffen
P.S. Could you - please (!) - also have a look at the "Footnotes in margin" thread?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re: Ancient Greek (bodyfont conflict?)
2004-09-02 12:31 Ancient Greek (bodyfont conflict?) Steffen Wolfrum
@ 2004-09-02 12:57 ` Hans Hagen
0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2004-09-02 12:57 UTC (permalink / raw)
Steffen Wolfrum wrote:
>And now again I can also use the much faster
>\def\typescriptfiles{type-agaramondmini.tex}
>instead of
>\usetypescriptfile[type-agaramondmini.tex]
>
>
hm, in that case you will not set up any sizes etc since they are
defined in typescripts
(technically it's possible to preload typescripts but i never came to
put the code into the kernel)
>P.S. Could you - please (!) - also have a look at the "Footnotes in margin" thread?
>
>
later
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ancient Greek (bodyfont conflict?)
@ 2004-09-02 11:25 Steffen Wolfrum
0 siblings, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2004-09-02 11:25 UTC (permalink / raw)
I can't find anything wrong (for without greek it works fine).
Maybe you want to have a short look:
This is my test document:
\usetypescriptfile[type-agaramondmini.tex]
\usetypescript[AGaramondOldStyle]
\setupencoding[default=ec]
\setupbodyfont[AGaramondOldStyle,10.2pt]
% whithout these four line the greek was ok. now its empty.
\usemodule[greek]
\mainlanguage[english]
\starttext
We can easily use plain English for normal text, and then switch
to greek when we want; as a first try we type the lower and
upper case 26 letters of the latin alphabet and see how they come
out in greek:
\startgreek
a b c d e f g h i j k l m n o p q r s t u v w x y z \par
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
\stopgreek
As it can be observed, some uppercase letters have strange
outcomes; also, j gives \greek{j} and c gives the
end-of-word sigma \greek{c}; interestingly, s gives either the
normal sigma or the end-of-word one, depending on whether it's at
the end of the word or not: \greek{satrapws}.
\stoptext
And this is my typescriptfile type-agaramondmini.tex:
\starttypescript [serif] [agaramond-oldstyle] [ec]
\definefontsynonym [AGaramond-Regular] [padr9e] [encoding=ec]
\definefontsynonym [AGaramond-Italic] [padri9e] [encoding=ec]
\definefontsynonym [AGaramond-Bold] [padb9e] [encoding=ec]
\definefontsynonym [AGaramond-BoldItalic] [padbi9e] [encoding=ec]
\definefontsynonym [AGaramond-Semibold] [pads9e] [encoding=ec]
\definefontsynonym [AGaramond-SemiboldItalic] [padsi9e] [encoding=ec]
\stoptypescript
\starttypescript [serif] [agaramond-oldstyle] [name]
\definefontsynonym [Serif] [AGaramond-Regular]
\definefontsynonym [SerifBold] [AGaramond-Bold]
\definefontsynonym [SerifItalic] [AGaramond-Italic]
\definefontsynonym [SerifBoldItalic] [AGaramond-BoldItalic]
\definefontsynonym [SemiBold] [AGaramond-Semibold]
\definefontsynonym [SemiBoldItalic] [AGaramond-SemiboldItalic]
\stoptypescript
\starttypescript [AGaramondOldStyle]
\definetypeface [AGaramondOldStyle] [rm] [serif] [agaramond-oldstyle] [default] [encoding=ec]
\stoptypescript
Sorry, but what should be changed?
Steffen
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ancient Greek (bodyfont conflict?)
@ 2004-09-02 10:29 Steffen Wolfrum
0 siblings, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2004-09-02 10:29 UTC (permalink / raw)
Sure, THIS one works.
But what I was asking for was
how to change the font for all the english text (all the non-greek)?
My attempt was to start the document with:
\usetypescriptfile[type-agaramond.tex]
\usetypescript[AGaramondOldStyle]
\setupencoding[default=ec]
\setupbodyfont[AGaramondOldStyle,10.2pt]
(... and then continue as you have pasted below)
But this gives the error I had sent.
I hope the problem is clearer now.
Can you help to find a solution?
Steffen
Hans Hagen <pragma@wxs.nl> wrote:
> This is a multi-part message in MIME format.
> --------------040503070109050506040106
> Content-Type: text/plain; charset=us-ascii; format=flowed
> Content-Transfer-Encoding: 7bit
>
> Steffen Wolfrum wrote:
>
> It works quite well here. I attached the files that i have on my machine.
>
> Hans
...
> % The following sample file was submitted to the \CONTEXT\
> % mailing list by Giuseppe Bilotta, along with the right
> % typescripts.
>
> % already loaded: \usemodule[greek]
>
> \mainlanguage[english]
>
> \starttext
>
> We can easily use plain English for normal text, and then switch
> to greek when we want; as a first try we type the lower and
> upper case 26 letters of the latin alphabet and see how they come
> out in greek:
>
> \startgreek
> a b c d e f g h i j k l m n o p q r s t u v w x y z \par
> A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
> \stopgreek
>
> As it can be observed, some uppercase letters have strange
> outcomes; also, j gives \greek{j} and c gives the
> end-of-word sigma \greek{c}; interestingly, s gives either the
> normal sigma or the end-of-word one, depending on whether it's at
> the end of the word or not: \greek{satrapws}.
>
> Of course we can use the various diacritical signs: accents
> (\greek{`a, 'a, ~a}), breathings (\greek{<r, >w, a"}) and
> subscribed iotas (\greek{a|, h|, w|}) (these last are pretty ugly in my
> opinion); observe how they automatically get the correct position
> with uppercase letters: (\greek{`A, 'A, ~A, <A, >A, A|}).
>
> Can the thing be used for serious work?
>
> \startgreek
> >>'Andra moi >'ennepe, Mo~usa, pol'utropon, >'os m'ala poll`a\hfill\break
> pl'agqjh, >epe`i Tro'ihs <er`on ptol'iejron >'eperse;\hfill\break
> poll~wn d" >anjr'wpwn >'iden >'astea ka`i n'oon >'egnw,\hfill\break
> poll`a d" <'o g" >en p'ontw| p'ajen >'algea <`on kat`a jum'on,\hfill\break
> >>arn'umenos <'hn te yuq`hn ka`i n'oston <eta'irwn.
> \stopgreek
>
> \stoptext
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ancient Greek (bodyfont conflict?)
@ 2004-09-02 9:13 Steffen Wolfrum
0 siblings, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2004-09-02 9:13 UTC (permalink / raw)
... actually it's the last line causing the problem:
\usetypescriptfile[type-agaramond.tex]
\usetypescript[AGaramondOldStyle]
\setupencoding[default=ec]
\setupbodyfont[AGaramondOldStyle,10.2pt] % <-
Is there an other way to define a normal bodyfont plus using the greek module?
Steffen
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ancient Greek (bodyfont conflict?)
@ 2004-09-02 8:41 Steffen Wolfrum
0 siblings, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2004-09-02 8:41 UTC (permalink / raw)
Hans Hagen <pragma@wxs.nl> 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
<protectionstate 0>
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
<unprotect 3> <unprotect 4>
system (E-TEX) : [line 2253] \ifcsname
<protect 4> <protect 3>)
specials : fdf loaded
<unprotect 3> <protect 3>)
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
?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Ancient Greek (bodyfont conflict?)
@ 2004-09-01 21:30 Steffen Wolfrum
2004-09-02 7:45 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2004-09-01 21:30 UTC (permalink / raw)
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?
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}
\usetypescript[AGaramondOldStyle]
\setupencoding[default=ec]
\setupbodyfont[AGaramondOldStyle,10.2pt]
% The following sample file was submitted to the \CONTEXT\
% mailing list by Giuseppe Bilotta, along with the right
% typescripts.
\usemodule[greek]
\mainlanguage[english]
\starttext
We can easily use plain English for normal text, and then switch
to greek when we want; as a first try we type the lower and
upper case 26 letters of the latin alphabet and see how they come
out in greek:
\startgreek
a b c d e f g h i j k l m n o p q r s t u v w x y z \par
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
\stopgreek
As it can be observed, some uppercase letters have strange
outcomes; also, j gives \greek{j} and c gives the
end-of-word sigma \greek{c}; interestingly, s gives either the
normal sigma or the end-of-word one, depending on whether it's at
the end of the word or not: \greek{satrapws}.
Of course we can use the various diacritical signs: accents
(\greek{`a, 'a, ~a}), breathings (\greek{<r, >w, a"}) and
subscribed iotas (\greek{a|, h|, w|}) (these last are pretty ugly in my
opinion); observe how they automatically get the correct position
with uppercase letters: (\greek{`A, 'A, ~A, <A, >A, A|}).
Can the thing be used for serious work?
\startgreek
>>'Andra moi >'ennepe, Mo~usa, pol'utropon, >'os m'ala poll`a\hfill\break
pl'agqjh, >epe`i Tro'ihs <er`on ptol'iejron >'eperse;\hfill\break
poll~wn d" >anjr'wpwn >'iden >'astea ka`i n'oon >'egnw,\hfill\break
poll`a d" <'o g" >en p'ontw| p'ajen >'algea <`on kat`a jum'on,\hfill\break
>>arn'umenos <'hn te yuq`hn ka`i n'oston <eta'irwn.
\stopgreek
\stoptext
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ancient Greek (bodyfont conflict?)
2004-09-01 21:30 Steffen Wolfrum
@ 2004-09-02 7:45 ` Hans Hagen
0 siblings, 0 replies; 8+ messages in thread
From: Hans Hagen @ 2004-09-02 7:45 UTC (permalink / raw)
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
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-09-02 12:57 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-02 12:31 Ancient Greek (bodyfont conflict?) Steffen Wolfrum
2004-09-02 12:57 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2004-09-02 11:25 Steffen Wolfrum
2004-09-02 10:29 Steffen Wolfrum
2004-09-02 9:13 Steffen Wolfrum
2004-09-02 8:41 Steffen Wolfrum
2004-09-01 21:30 Steffen Wolfrum
2004-09-02 7:45 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).