ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Greek module
Date: Fri, 2 May 2008 12:52:40 +0200	[thread overview]
Message-ID: <2CBD6816-1148-4796-8CF8-6AAC1B070CD5@uni-bonn.de> (raw)
In-Reply-To: <1209721592.47bi2ai8h6g@w2.mail.sapo.pt>


On May 2, 2008, at 11:46 AM, cidadaum@sapo.pt wrote:

> I managed to install the greek module. Here is where it is placed:
>
> adsm@adsm:/etc/texmf/tex/context/third> ls
> t-ancientgreek
> adsm@adsm:/etc/texmf/tex/context/third> cd t-ancientgreek/
> adsm@adsm:/etc/texmf/tex/context/third/t-ancientgreek> ls
> fonts                t-ancientgreek.mkiv  t-oldgreek.tex  type- 
> agr.mkiv
> t-ancientgreek.mkii  t-ancientgreek.tex   type-agr.mkii   type-agr.tex
> adsm@adsm:/etc/texmf/tex/context/third/t-ancientgreek>
>
> adsm@adsm:~> kpsewhere t-ancientgreek.tex
> /etc/texmf/tex/context/third/t-ancientgreek/t-ancientgreek.tex
>

Oh boy. This is really not the place where your personal additions to  
your TeX installation should go. But if it can find the files in this  
location, let's take it from there.
>
> The point  now is that I need to build the fonts (or build the  
> metric =20
> files of the fonts). So need to use texfont, am I right? One  
> mandatory =20
> argument is the vendor's name. Which name should I type for  
> GFSDidot, =20
> GFSPorson, Ibycus, Gentium?

No, the entire point is that the module comes with these metric files;  
I have prepared all this and run texfont for you. Plus, you don't need  
any metrical files for XeTeX. I have included a couple of fonts too,  
so you should be good to go. Try a minimal file:

\enableregime[utf]
\usemodule[ancientgreek][font=GFSPorson]

\starttext

test: \localgreek{Μῆνιν ἄειδε, θεά}

\stoptext
>
> Another issue: Xetex says repeatedly (as you can see on the attached  
> file)
>
> ! Undefined control sequence.
> l.5 \beginOLDTEX

Two explanations are possible (there was no attachment to your mail):
- you're not using ConTeXt. you should invoke it with texexec --xtx  
yourfilename.tex
- your ConTeXt is too old. OpenSuSE has TeXLive 2007, I guess, so you  
should update ConTeXt.

>
> I ask if there is no compatibility between Xetex and greekmodule can  
> I =20
> use Context with unicode (utf8) input (the manual which I suppose is  
> =20
> quite outdated says Context expects pure ASCII input)?

As I said, with the latest version, you should be able to use all  
engines. So you can use ConTeXt with utf8 input (you have to include  
the \enableregime[utf] line at the beginning of the file) or XeTeX  
(which will only work with utf8-input) or luatex. Which manual says  
that ConTeXt expects pure ASCII input?

Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2008-05-02 10:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02  9:46 cidadaum
2008-05-02 10:36 ` Mojca Miklavec
2008-05-02 10:52 ` Thomas A. Schmitz [this message]
2008-05-02 20:36   ` cidadaum
2008-05-03  8:14     ` Mojca Miklavec
2008-05-03 11:06       ` cidadaum
2008-05-03 11:11         ` Mojca Miklavec
2008-05-03 19:13     ` Thomas A. Schmitz
2008-05-10 17:00 Greek Module cidadaum
2008-05-11  8:57 ` Thomas A. Schmitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2CBD6816-1148-4796-8CF8-6AAC1B070CD5@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).