ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Greek letters in math with XeTeX
Date: Mon, 8 Sep 2008 03:37:12 +0200	[thread overview]
Message-ID: <6faad9f00809071837r5623b5cas3b3e65b1bf823894@mail.gmail.com> (raw)
In-Reply-To: <3eb5f5b10809071304u2f5f647bwadf26dd072fa6b8@mail.gmail.com>

On Sun, Sep 7, 2008 at 10:04 PM, Flavien Lambert <petit.lepton@gmail.com> wrote:
> (Sorry for the preceding message, I forgot the [NTG-context] for filters...)
>
> Dear all, I try to use Open Type fonts with ConTeXt and XeTeX (I recently
> did the same with LaTeX using fontspec and mathspec packages). >From the web
> site, I managed to use them for standard text as well as roman alphabet in
> math. Unfortunately, greek letters stay printed with the Latin Modern font.
> From examples of the web site, I tried the following lines but without
> success. In a preceding post, there was a similar question but with the
> luatex engine.
> Thanks for your help !
>
> \definetypeface[myface][rm][Xserif][GFS Didot]
> \definetypeface[myface][mm][math][GFS Didot]

No time for complete answer, but you need to define the whole
[math][GFS Didot] repertoaire first. This has no effect until you
define one.

Someone needs to write "Unicode math support" for mkii, or you need to
make your own virtual font.

See this file for example:
    http://source.contextgarden.net/math-lbr.tex
in a similar way that would need to be done for general typefaces without math.

You might then be able to say something like
    \definetypeface[myface][mm][Xmath][GFS Didot], though I'm 100%
sure that people would then start complaining very soon that they
either:
- want other math characters in their favorite font as well (like
plus, minus, brackets, ...), not only Greek letters
- complain that they don't get any symbol (no font has them all)

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2008-09-08  1:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07 20:04 Flavien Lambert
2008-09-08  1:37 ` Mojca Miklavec [this message]
2008-09-08  1:45   ` Aditya Mahajan
2008-09-08  8:10     ` Hans Hagen
2008-09-08 11:24   ` Flavien Lambert
2008-09-08 12:31     ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2008-09-07 19:15 Flavien Lambert

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=6faad9f00809071837r5623b5cas3b3e65b1bf823894@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).