ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Martin Althoff <martin.althoff@yahoo.com>
To: ntg-context@ntg.nl
Subject: CharisSIL doesn't load
Date: Mon, 2 Aug 2010 21:21:16 -0700 (PDT)	[thread overview]
Message-ID: <5730.28593.qm@web56302.mail.re3.yahoo.com> (raw)

Using the typescript for CharisSIL as given doesn't work for me. "Modern" is substituted (as should be). It appears to load the mkiv file, but not the fonts, What am I doing wrong? Example below.

(on Mac: MTXrun | current version: 2010.07.30 11:35, LuaTeX, Version beta-0.61.0-2010072816)

-- I have adapted to the type-charissil.mkiv to fit the font names as reported on my system  and set OSFONTDIR=/System/Library/Fonts;~/FontLib/opensource;/Library/Fonts;~/FontLib/context-use;


mtxrun --script font --list --all --name --pattern=charis

charissil             charissil             /Users/martin/FontLib/opensource/CharisSIL/CharisSILR.ttf
charissilbold         charissilbold         /Users/martin/FontLib/opensource/CharisSIL/CharisSILB.ttf
charissilbolditalic   charissilbolditalic   /Users/martin/FontLib/opensource/CharisSIL/CharisSILBI.ttf
charissilitalic       charissilitalic       /Users/martin/FontLib/opensource/CharisSIL/CharisSILI.ttf
charissilnormal       charissilitalic       /Users/martin/FontLib/opensource/CharisSIL/CharisSILI.ttf


The output shows that the the mkiv file is certainly found:
(/Users/martin/contextMini/tex/texmf-context/tex/context/third/typescripts/type-charissil.mkiv) 


It _will_ work perfectly fine, i.e. work-around, if I combine the type-charissil.tex and type-charissil.mkiv into a single file! See my working type-charissil.mkiv below. I also hide the .tex file!




Example:

\setupbodyfont[charissil,12pt]
\starttext
\showbodyfont
\input tufte
\stoptext



Working type-charissil.mkiv
----------------------------
%D \module
%D   [       file=type-charissil,
%D        version=2008.04.21,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Charis SIL Font Definitions,
%D         author=Wolfgang Schuster,
%D           date=\currentdate,
%D      copyright=Wolfgang Schuster]
%C
%C Copyright 2009 Wolfgang Schuster.
%C This file may be distributed under the GNU General Public License v. 2.0.
\starttypescript [serif] [charissil]
    \setups[font:fallback:serif]
    \definefontsynonym [Serif]           [CharisSIL-Regular]    [features=default]
    \definefontsynonym [SerifItalic]     [CharisSIL-Italic]     [features=default]
    \definefontsynonym [SerifBold]       [CharisSIL-Bold]       [features=default]
    \definefontsynonym [SerifBoldItalic] [CharisSIL-BoldItalic] [features=default]
\stoptypescript

\starttypescript [charissil]
    \definetypeface [charissil] [rm] [serif] [charissil] [default]
\stoptypescript

\starttypescript [serif] [charissil]
    \definefontsynonym [CharisSIL-Regular]    [name:charissil]             [features=default]
    \definefontsynonym [CharisSIL-Italic]     [name:charissilitalic]      [features=default]
    \definefontsynonym [CharisSIL-Bold]       [name:charissilbold]        [features=default]
    \definefontsynonym [CharisSIL-BoldItalic] [name:charissilbolditalic] [features=default]
\stoptypescript

\endinput




___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2010-08-03  4:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-03  4:21 Martin Althoff [this message]
2010-08-03  4:50 ` Aditya Mahajan
2010-08-03  5:43   ` Martin Althoff
2010-08-03  5:47     ` luigi scarso
2010-08-03  6:50       ` Martin Althoff
2010-08-03  6:19     ` Aditya Mahajan
2010-08-03  6:21       ` Aditya Mahajan
2010-08-03  6:59         ` Martin Althoff
2010-08-03  7:59       ` Hans Hagen

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=5730.28593.qm@web56302.mail.re3.yahoo.com \
    --to=martin.althoff@yahoo.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).