From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16320 Path: main.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Ancient Greek (bodyfont conflict?) Date: Wed, 1 Sep 2004 23:30:44 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1094074271 14759 80.91.224.253 (1 Sep 2004 21:31:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Sep 2004 21:31:11 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 01 23:30:50 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C2cgs-0007ZZ-00 for ; Wed, 01 Sep 2004 23:30:50 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 91C9A12787; Wed, 1 Sep 2004 23:30:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07892-02; Wed, 1 Sep 2004 23:30:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 803F112775; Wed, 1 Sep 2004 23:30:46 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E13C612775 for ; Wed, 1 Sep 2004 23:30:44 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07690-08 for ; Wed, 1 Sep 2004 23:30:44 +0200 (CEST) Original-Received: from smtprelay04.ispgateway.de (unknown [62.67.200.165]) by ronja.ntg.nl (Postfix) with ESMTP id 45F8312772 for ; Wed, 1 Sep 2004 23:30:44 +0200 (CEST) Original-Received: (qmail 23151 invoked from network); 1 Sep 2004 21:30:43 -0000 Original-Received: from unknown (HELO [62.134.77.12]) (698580@[62.134.77.12]) (envelope-sender ) by smtprelay04.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 1 Sep 2004 21:30:43 -0000 X-Sender: 698580@pop3.estfiles.de Original-To: ntg-context@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16320 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16320 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{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? \startgreek >>'Andra moi >'ennepe, Mo~usa, pol'utropon, >'os m'ala poll`a\hfill\break 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