* Typescript not found
@ 2012-03-28 7:32 S Barmeier
2012-03-29 6:33 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: S Barmeier @ 2012-03-28 7:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
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?
Thanks,
Severin
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Typescript not found
2012-03-28 7:32 Typescript not found S Barmeier
@ 2012-03-29 6:33 ` Wolfgang Schuster
2012-03-29 23:12 ` S Barmeier
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2012-03-29 6:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
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?
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Typescript not found
2012-03-29 6:33 ` Wolfgang Schuster
@ 2012-03-29 23:12 ` S Barmeier
2012-03-30 9:47 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: S Barmeier @ 2012-03-29 23:12 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Typescript not found
2012-03-29 23:12 ` S Barmeier
@ 2012-03-30 9:47 ` Hans Hagen
2012-04-01 21:04 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2012-03-30 9:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 30-3-2012 01:12, S Barmeier wrote:
> 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.
There is some lookup-logic involved. If you have typescripts that need
to b eloaded explicitly or automatically, use type-imp-<yourname>.mkiv
(or tex) names. Alternatively you can just put the definitions in an
environment that you load as part of the document style.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Typescript not found
2012-03-30 9:47 ` Hans Hagen
@ 2012-04-01 21:04 ` Wolfgang Schuster
2012-04-01 23:08 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2012-04-01 21:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 30.03.2012 um 11:47 schrieb Hans Hagen:
> On 30-3-2012 01:12, S Barmeier wrote:
>> 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.
>
> There is some lookup-logic involved. If you have typescripts that need to b eloaded explicitly or automatically, use type-imp-<yourname>.mkiv (or tex) names. Alternatively you can just put the definitions in an environment that you load as part of the document style.
I think it’s better to use “imp” only for files in the distribution and third party or user files should just use type-<…>.tex|mkiv.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-04-01 23:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-28 7:32 Typescript not found S Barmeier
2012-03-29 6:33 ` Wolfgang Schuster
2012-03-29 23:12 ` S Barmeier
2012-03-30 9:47 ` Hans Hagen
2012-04-01 21:04 ` Wolfgang Schuster
2012-04-01 23:08 ` Hans Hagen
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).