ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [OT] creating-a-style-file-in-context
Date: Sun, 25 Oct 2009 07:05:19 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.00.0910250658430.18485@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <4AE4282C.6020604@bredband.net>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2585 bytes --]

On Sun, 25 Oct 2009, Jan-Erik Hägglöf wrote:

> Wolfgang Schuster skrev:
>> 
>> Am 25.10.2009 um 10:27 schrieb Taco Hoekwater:
>> 
>>> On top of that:
>>> 
>>> In type-exljbris, you should use the first column of the output of mtxrun 
>>> --script fonts --list, if you use the name: prefix.
>> 
>> type-exlbjbris.mkiv:
>> 
>> % Museo, Museo Sans
>> 
>> \starttypescript [serif] [museo]
>>     \definefontsynonym [Museo-300] [name:museo300] [features=default]
>>     \definefontsynonym [Museo-500] [name:museo500] [features=default]
>>     \definefontsynonym [Museo-700] [name:museo700] [features=default]
>> \stoptypescript
>> 
>> 
>> Terminal:
>> 
>> rover:~ wolf$ mtxrun --script fonts --list museo*
>> museo               Museo 300 Regular      Museo300-Regular.otf
>> museo300            Museo 300              Museo300-Regular.otf
>> museo300regular     Museo 300 Regular      Museo300-Regular.otf
>> museo500            Museo 500              Museo500-Regular.otf
>> museo500medium      Museo 500 Medium       Museo500-Regular.otf
>> museo700            Museo 700              Museo700-Regular.otf
>> museo700bold        Museo 700 Bold         Museo700-Regular.otf
>> museoregular        Museo 300 Regular      Museo300-Regular.otf
>> 
>> Wolfgang
>> 
> I've done the luatools --generate stuff
>
> and in the t-irex.tex I have
>
> \definefont [interludefont]   [name:museo700bold at 28pt]
> \definefont [chapterfont]     [name:museo700bold at 32pt]
>
> and the output from
>
> mtxrun --script fonts --list museo*
>
> museo         Museo 700 Bold  Museo700-Regular.otf
> museo700bold  Museo 700 Bold  Museo700-Regular.otf
> museoregular  Museo 700 Bold  Museo700-Regular.otf
>
> but still the error message:
>
> define font | forced type otf of Museo700-Regular not found
> define font | font with name Museo700-Regular is not found
> define font | unknown font Museo700-Regular, loading aborted
>
> I just installed the museo700 not museo500 or museo300, is this causing this?
>
> What should I do from here? Not so good at this. I have not altered anything 
> in the original type-xljbris.tex or type-xljbris.mkiv

Can you test what happens with a minimal file:

\definefont[testfont][name:museo700]

\starttext
\testfont \input knuth
\stoptext

> Is there some changes neccessary in those files?

No. type-exljbris works fine here.

The only other thing that I can think of is probably something wrong with 
the PATH. Try running

mtxrun --script context 74.tex (rather than context 74.tex)

Aditya

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

  parent reply	other threads:[~2009-10-25 11:05 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-21  9:05 luigi scarso
2009-10-25  9:15 ` Jan-Erik Hägglöf
2009-10-25  9:23   ` Wolfgang Schuster
2009-10-25  9:27     ` Taco Hoekwater
2009-10-25  9:37       ` Wolfgang Schuster
2009-10-25 10:27         ` Jan-Erik Hägglöf
2009-10-25 10:40           ` Wolfgang Schuster
2009-10-25 11:05           ` Aditya Mahajan [this message]
2009-10-25 12:09             ` Jan-Erik Hägglöf
2009-10-25 12:17               ` Aditya Mahajan
2009-10-25 12:28                 ` Jan-Erik Hägglöf
2009-10-25 12:32                 ` Jan-Erik Hägglöf
2009-10-25 12:45 ` Wolfgang Schuster
2009-10-25 14:17   ` Jan-Erik Hägglöf
2009-10-25 14:29     ` Wolfgang Schuster
2009-10-25 14:53       ` Jan-Erik Hägglöf
2009-10-26  5:42   ` Aditya Mahajan
2009-10-26  7:43     ` Wolfgang Schuster
2009-10-26 16:13       ` Aditya Mahajan
2009-10-26 21:20         ` Wolfgang Schuster
2009-10-27  6:13           ` Aditya Mahajan
2009-10-27  8:45             ` Wolfgang Schuster
2009-10-27  8:50               ` Hans Hagen
2009-10-27  8:56                 ` Wolfgang Schuster
2009-10-27  9:11                   ` Hans Hagen
2009-10-27  9:13                     ` luigi scarso
2009-10-27 13:38               ` Aditya Mahajan
2009-10-27 22:08                 ` Wolfgang Schuster

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=alpine.LNX.2.00.0910250658430.18485@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --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).