[NTG-context] Typescript not found
Wolfgang Schuster
schuster.wolfgang at googlemail.com
Sun Apr 1 23:04:28 CEST 2012
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
More information about the ntg-context
mailing list