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: Gentium Basic/Book
Date: Tue, 20 Nov 2007 01:57:28 +0100	[thread overview]
Message-ID: <6faad9f00711191657l43567a43n7a1ca8c50a73cfe1@mail.gmail.com> (raw)
In-Reply-To: <7871fcf50711191357s3d050ea8x6a05d2bcca6dc007@mail.gmail.com>

On 11/19/07, Joel C. Salomon wrote:
> Guess I asked for too much at once.
>
> I've downloaded the Gentium Basic/Basic Book set of fonts from
> <http://scripts.sil.org/Gentium_basic>, and I'd like to use them with
> ConTeXt.  I ran texfont (with the command line texfont
> --fontroot=c:\users\chesky\programs\context\tex\texmf-local
> --sourcepath=... --vendor=sil --collection=gentium --makepath
> --install), and now running texexec on the newly generated
> texnansi-sil-gentium.tex produces some sort of glyph list.

Rather than using texfont (half-broken anyway), use XeTeX or LuaTeX.

(If you're using MikTeX and are willing to upgrade to MikTeX 2.7, you
can process your documents with "texexec --xtx filename"; if you're
using the standalone ConTeXt, you can process it with "--xtx" or
"--lua".)

Depending on whether you want to install those fonts or keep them in
the tree there are slightly different approaches, but this should work
for both LuTeX and XeTeX if you keep your files in the working
directory or in texmf/fonts/opentype/...[somewhere here]...

\starttypescript[serif][gentium-basic]
\definefontsynonym[GentiumBasic]          [file:GenBasR] [features=default]
\definefontsynonym[GentiumBasicItalic]    [file:GenBasI] [features=default]
\definefontsynonym[GentiumBasicBold]      [file:GenBasB] [features=default]
\definefontsynonym[GentiumBasicBoldItalic][file:GenBasBI][features=default]
\stoptypescript

\starttypescript[serif][gentium-basic][name]
\definefontsynonym[Serif]          [GentiumBasic]
\definefontsynonym[SerifItalic]    [GentiumBasicItalic]
\definefontsynonym[SerifBold]      [GentiumBasicBold]
\definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic]
\stoptypescript

\definetypeface[mygentium][rm][serif][gentium-basic][default]

\setupbodyfont[mygentium,13pt]


I don't know how you plan to mix those fonts, but "reverting to
another typeface in case a glyph is missing" is a bad idea in this
particular case, at least in my opinion (although it's conditionally
doable) - how are you going to handle missing characters in bold
typeface?

One possibility would be to use:
- Gentium for Roman & Italic
- Gentium Basic for Bold & Bold Italic (and hope that you won't need
any special characters for titles)

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
___________________________________________________________________________________


  parent reply	other threads:[~2007-11-20  0:57 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-19 18:04 Joel C. Salomon
2007-11-19 21:57 ` Joel C. Salomon
2007-11-19 22:18   ` Hans Hagen
2007-11-20  0:57   ` Mojca Miklavec [this message]
2007-11-22 11:01     ` Steffen Wolfrum
2007-11-22 11:30       ` Mojca Miklavec
2007-11-22 12:52         ` Steffen Wolfrum
2007-11-22 18:31           ` Wolfgang Schuster
2007-11-22 19:57             ` Gentium Basic/Book (getting weird) Steffen Wolfrum
2007-11-22 20:23               ` Mojca Miklavec
2007-11-22 20:35                 ` Steffen Wolfrum
2007-11-23 10:53                   ` Steffen Wolfrum
2007-11-23 13:44                     ` Mojca Miklavec
2007-11-23 14:11                       ` Arthur Reutenauer
2007-11-23 15:51                         ` Mojca Miklavec
2007-11-23 16:33                           ` Gentium Basic/Book (getting even weirder) Steffen Wolfrum
2007-11-24  0:25                             ` Mojca Miklavec
2007-11-24 21:33                               ` Steffen Wolfrum
2007-11-25  1:30                                 ` Mojca Miklavec
2007-11-25 11:21                                   ` Steffen Wolfrum
2007-11-25 12:51                                     ` Mojca Miklavec
2007-11-23 19:28                           ` Gentium Basic/Book (getting weird) Arthur Reutenauer
2007-11-23 19:36                             ` Steffen Wolfrum
2007-11-23 22:15                               ` Arthur Reutenauer
2007-11-23 23:38                               ` Mojca Miklavec
2007-11-24 22:48                       ` Hans Hagen
2007-11-23 10:54                 ` Wolfgang Schuster
2007-11-25 20:27                 ` Gentium Basic/Book [solved] Steffen Wolfrum
2007-11-22 21:28             ` Gentium Basic/Book Joel C. Salomon
2007-11-22 15:10         ` Steffen Wolfrum

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=6faad9f00711191657l43567a43n7a1ca8c50a73cfe1@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).