Hello, i have made a typescript which works. the only thing is that i have in my typescript something like: \startsetups [fallbackfonts] … \stopsetups \starttypescript [bla] \setups[fallbackfonts] … \stoptypescript referring in my document to the typescriptfile with \usetypescriptfile[Mytypescript] does not load the setups and so the font fallback is not working (obviously \usetypescriptfile only loads the typescripts). When i do: \input Mytypescript in the document all works as expected. So my question is how can i load setups with \usetypescriptfile Maybe i have to make a extra „fontfallback-setups“ file, but i don´t know how it is recognized by context. Please help. best regards Bernhard
ok i have boiled it down as minimal as possible (2 files in attachment). I have commented out line 123 in my typescript: %\definefontsynonym[SansSubhead-SemiBold] [file:CronosPro-SemiboldSubh] [features=default] so according to my \startsetups[font:optical:sans:fallback] (line 3 in typescript) it should do: \definefontsynonym[SansSubhead-SemiBold] [SansSubhead-Bold] (line 60 typescript) but it doesn´t. the line \definefontsynonym[SansSubhead-SemiBold] [SansSubhead-Bold] in my document restores the wanted behaviour. So \startsetups … \stopsetups don´t get loaded from the \usetypescriptfile command. i hope i have made it clear what i mean. best regards Bernhard Am 30.05.2010 um 10:51 schrieb Wolfgang Schuster:
Am 30.05.2010 um 10:51 schrieb Wolfgang Schuster:
second try (i think i have something messed up with the email format…): ok i have boiled it down as minimal as possible (2 files in attachment). I have commented out line 123 in my typescript: %\definefontsynonym[SansSubhead-SemiBold] [file:CronosPro-SemiboldSubh] [features=default] so according to my \startsetups[font:optical:sans:fallback] (line 3 in typescript) it should do: \definefontsynonym[SansSubhead-SemiBold] [SansSubhead-Bold] (line 60 typescript) but it doesn´t. the line \definefontsynonym[SansSubhead-SemiBold] [SansSubhead-Bold] in my document restores the wanted behaviour. So \startsetups … \stopsetups don´t get loaded from the \usetypescriptfile command. i hope i have made it clear what i mean. best regards Bernhard
yes this works normal, but the \startsetups[fontfallback] … \stopsetups are not loaded with \usetypescriptfile - only the \starttypescript … \stoptypescript sections. Please see my second post. There are the file attachments which should demonstrate the behaviour. best regards Bernhard
participants (3)
-
Bernhard Rosensteiner
-
Willi Egger
-
Wolfgang Schuster