Re: [NTG-context] iso latin 2 ; storm fonts
Vit Zyka wrote: But I get error: !Math formula deleted: Insufficient symbol fonts. Where is the problem? it means that your font is not a proper math font, taco may know how to deal with this ? - \starttypescript [*] [fallback] is generaly useful. Is a good idea replaced by a (faster) setup) to move it from large type-buy.tex somewhere else? see type-def.tex: \startsetups [font:fallback:serif] \definefontsynonym [Serif][DefaultFont] \definefontsynonym [SerifBold][Serif] \definfontsynonym [SerifItalic] [Serif] \definefontsynonym [SerifSlanted] [SerifItalic] \definefontsynonym [SerifBoldItalic] [Serif] \definefontsynonym [SerifBoldSlanted] [SerifBoldItalic] \definefontsynonym [SerifCaps][Serif] \stopsetups \starttypescript \setups[font:fallback:serif] your defs \stoptypescript (see type-msw for an example) this construct is faster since it does not need a nested typescript scan ? Storm fonts have different accent shapes for lover/upper case letters. Is there some mechanism to distinguish this making the composits? interesting, \' etc are not sufficient fot that \definecommand UCgrave{\buildtextaccent\UCtextgrave} \definecommand UCacute{\buildtextaccent\UCtextacute} \definecommand UCring {\buildtextaccent\UCtextring} \definecommand UCcaron{\buildtextaccent\UCtextcaron} \definecommand UCbreve{\buildtextaccent\UCtextbreve} \definecommand UCmacron {\buildtextaccent\UCtextmacron} \definecommand UCcircumflex {\buildtextaccent\UCtextcircumflex} \definecommand UCdotaccent{\buildtextaccent\UCtextdotaccent} \definecommand UChungarumlaut {\buildtextaccent\UCtexthungarumlaut} \definecommand UCtilde{\buildtextaccent\UCtexttilde} \definecommand UCdiaeresis{\buildtextaccent\UCtextdiaeresis} \startencoding [default] \definecharacter UCtextgrave {\textgrave} . \stopencoding \startencoding [yours] \definecharacter Ediaeresis {\buildtextaccent\UCtextdiaeresis E} ... \stopencoding etc etc; needs some thinking and testing and quite some keying Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] iso latin 2 ; storm fonts
Vit Zyka wrote: Adam Lindsay wrote: Vit Zyka said this at Wed, 9 Feb 2005 22:34:13 +0100: The question is how to elegantly switch from standard (st2) tfm to extended (st3) tfm when the glyph is not present in st2 - with preserving \rm, \bf, \it, \bi. basically, you declare a variant set for a (Serif/Sans/Mono) family: \definefontvariant [Serif] [exp] [-Expert] % [fam] [call abbrev] [synonym suffix] Hallo, thanks to Adam, it was easy to implement font variants. A little bit more work was with all Storm glyph deffinition in two (+one) encodings. Before I will do the support for the rest of my Storm font families I want to ask audience (and especially Hans, Adam) to have a look into the files (http://typokvitek.com/tmp/context-storm.zip). Example in http://typokvitek.com/tmp/test-sdynamo.pdf (generaly interesting for all \show... font related command usage). Recommendation for the package improvements are welcomed. There are: enco-st1.tex - ec encoding with storm glyph extension enco-st2.tex - xl2 encoding with storm glyph extension enco-st3.tex - variants (additional glyph) for enco-st1 and enco-st2 type-sdynamo.tex - typescripts for Storm Dynamo font family math-sto.tex - simple mathematics present in Storm fonts (in progress) test-sdynamo.tex - test file test-storm.tex - support for tests Questions: ? During encoding deffinition I found some chracter name mess. I solved it by synonyms: E.g. \definecharacter textdag{\dagger} \definecharacter paragraphmark {\paragraph} \definecharacter textellipsis {\ellipsis} \definecharacter textminus {\minus} \definecharacter ostroke{\oslash} \definecharacter textdollar {\dollar} Is there some context convention for character names? ? I have a problem to define mathematics chars. I did: \starttypescript [math] [dynamoRE] [st1] \definefontsynonym [DynamoRE-Math-Letters][sdgr8te] [encoding=st1] \definefontsynonym [DynamoRE-Math-Letters-Italic] [sdgri8te] [encoding=st1] \definefontsynonym [DynamoRE-Math-Symbols][sdgr8te] % \definefontsynonym [DynamoRE-Math-Extension][] \stoptypescript \starttypescript [math] [dynamoRE] [name] \definefontsynonym [MathRoman] [DynamoRE-Math-Letters] \definefontsynonym [MathItalic][DynamoRE-Math-Letters-Italic] \definefontsynonym [MathSymbol][DynamoRE-Math-Symbols] \definefontsynonym [MathExtension] [ComputerModernMath-Extension] \stoptypescript \starttypescript [DynamoRE] [st1,st2] \definetypeface [DynamoRE] [ss] [sans] [dynamoRE] [default] [encoding=\typescripttwo] \definetypeface [DynamoRE] [mm] [math] [dynamoRE] [default] [encoding=\typescripttwo] \stoptypescript \startmathcollection[storm] \definemathcharacter [+] [bin] [sy] [2B] \definemathcharacter [=] [rel] [sy] [3B] \stopmathcollection \enablemathcollection[storm] $1+1=2$ But I get error: !Math formula deleted: Insufficient symbol fonts. Where is the problem? ? - \starttypescript [*] [fallback] is generaly useful. Is a good idea to move it from large type-buy.tex somewhere else? ? Storm fonts have different accent shapes for lover/upper case letters. Is there some mechanism to distinguish this making the composits? Thank you Vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] iso latin 2 ; storm fonts
Vit Zyka said this at Tue, 15 Mar 2005 19:23:05 +0100: enco-st1.tex - ec encoding with storm glyph extension enco-st2.tex - xl2 encoding with storm glyph extension enco-st3.tex - variants (additional glyph) for enco-st1 and enco-st2 Vit, I would refer you to this thread with Thomas Schmitz on variant encodings: http://www.ntg.nl/pipermail/ntg-context/2005/009057.html I'd call your st1 an EC variant, st2 an XL2 variant, and st3 some sort of custom expert encoding. Ultimately names aren't *that* important, but they can help a lot when others try to pick up and understand your work. ? I have a problem to define mathematics chars. I did: \starttypescript [math] [dynamoRE] [st1] \definefontsynonym [DynamoRE-Math-Letters][sdgr8te] [encoding=st1] \definefontsynonym [DynamoRE-Math-Letters-Italic] [sdgri8te] [encoding=st1] \definefontsynonym [DynamoRE-Math-Symbols][sdgr8te] % \definefontsynonym [DynamoRE-Math-Extension][] \stoptypescript But I get error: !Math formula deleted: Insufficient symbol fonts. Where is the problem? I don't know. In doing some math font adaptations, I haven't run into that error message. Basically, with all the mathematics work you're proposing, I don't have enough information to follow what you did and to help. Were there any .enc files you created for these math fonts? How did you install them? Math fonts generally require different metrics. ? - \starttypescript [*] [fallback] is generaly useful. Is a good idea to move it from large type-buy.tex somewhere else? Have you looked at ThisWay #9 yet? http://pragma-ade.com/show-mag-10.htm I haven't had a chance to play with them yet, but the \setups[font: fallback:sans] look to be helpful. ? Storm fonts have different accent shapes for lover/upper case letters. Is there some mechanism to distinguish this making the composits? I don't know. But I presume that you're play^H^H^H^Hexperimenting with these customised encodings because you want to use the full complement of designed characters, right? How many of these composite characters will you be needing? cheers, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context