ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: S Barmeier <severinbarmeier@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: Typescript not found
Date: Fri, 30 Mar 2012 08:12:31 +0900	[thread overview]
Message-ID: <4F74EC5F.40102@googlemail.com> (raw)
In-Reply-To: <FE3CF43F-A884-4C5D-BC5B-4F76BA3C57AA@googlemail.com>

On 03/29/2012 03:33 PM, Wolfgang Schuster wrote:
> 
> Am 28.03.2012 um 09:32 schrieb S Barmeier:
> 
>> I have some typescript problems.
>>
>> The output says
>>
>> fonts           > typescripts > unknown: library 'mytypescript'
>> fonts           > typescripts > unknown: library 'Myface'
>> fonts           > preloading latin modern fonts (third stage)
>>
>> In my environment file I have
>>
>> \usetypescriptfile[mytypescript]
>> \usetypescript[MyIPAex]
>> \setupbodyfont[Myface,rm,12pt]
>>
>> and the typescript file is in the same folder as the source files.
>>
>> What am I doing wrong?
> 
> Has your typescript file “type-” as prefix?

It did until recently, is that a problem? Now I called it mytypescript
with an output just as above, i.e. still unable to find the typescript.

> BTW: When the file contains only one typeface it’s better to use the same name
> for the typeface, typescript and file because you can then omit the \usetypescript
> and \usetypescriptfile commands in your document.
> 
> Wolfgang

I still might have to think of better names, but here what I'm trying to
use...

Thank you for your help.
Severin

\definefontfeature[jpdefault][mode=node,script=hani,lang=jan]
\def\mydefaultfeatures{kern=yes;liga=yes;tlig=yes;trep=yes}
\definefontfallback[serifwhatever][gentium:\mydefaultfeatures][0x0000-0x0400][force=yes]
\definefontfallback[serifboldwhatever][gentiumbasicbold:\mydefaultfeatures][0x0000-0x0400][force=yes]
\definefontfallback[serifitalicwhatever][gentiumitalic:\mydefaultfeatures][0x0000-0x0400][force=yes]
\definefontfallback[serifbolditalicwhatever][gentiumbasicbolditalic:\mydefaultfeatures][0x0000-0x0400][force=yes]
\definefontfallback[sanswhatever][andikabasic:\mydefaultfeatures][0x0000-0x0400][force=yes]
\starttypescript[serif][IPAexMincho]
\definefontsynonym[ipaexmincho][ipaexm.ttf][features=jpdefault,fallbacks=serifwhatever]
\stoptypescript
\starttypescript[serif][IPAexMincho][name]
\definefontsynonym[Serif][ipaexmincho]
\stoptypescript
\starttypescript[sans][IPAexGothic]
\definefontsynonym[ipaexgothic][ipaexg.ttf][features=jpdefault,fallbacks=sanswhatever]
\stoptypescript
\starttypescript[sans][IPAexGothic][name]
\definefontsynonym[Sans][ipaexgothic]
\stoptypescript
\starttypescript[mono][KanjiStrokeOrders]
\definefontsynonym[kanjistrokeorders][KanjiStrokeOrders_v2.015.ttf][features=jpdefault]
\stoptypescript
\starttypescript[mono][KanjiStrokeOrders][name]
\definefontsynonym[Mono][kanjistrokeorders]
\stoptypescript
\starttypescript[MyIPAex]
\definetypeface[Myface][rm][serif][IPAexMincho][default]
\definetypeface[Myface][ss][sans][IPAexGothic][default]
\definetypeface[Myface][tt][mono][KanjiStrokeOrders][default][rscale=1.3]
\stoptypescript
___________________________________________________________________________________
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:[~2012-03-29 23:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28  7:32 S Barmeier
2012-03-29  6:33 ` Wolfgang Schuster
2012-03-29 23:12   ` S Barmeier [this message]
2012-03-30  9:47     ` Hans Hagen
2012-04-01 21:04       ` Wolfgang Schuster
2012-04-01 23:08         ` 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=4F74EC5F.40102@googlemail.com \
    --to=severinbarmeier@googlemail.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).