Re: Ancient Greek (bodyfont conflict?)
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
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{
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|}). Can the thing be used for serious work?
'Andra moi >'ennepe, Mo~usa, pol'utropon, >'os m'ala poll`a\hfill\break
\startgreek pl'agqjh, >epe`i Tro'ihs
'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
\stoptext
Steffen Wolfrum wrote:
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]
^ does that incude an encoding selection? ...[ec]
\setupencoding[default=ec]
\setupbodyfont[AGaramondOldStyle,10.2pt]
maybe your type-agaramond messes up things, 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Steffen Wolfrum