ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: iso latin 2 ; storm fonts
Date: Tue, 15 Mar 2005 19:23:05 +0100	[thread overview]
Message-ID: <42372809.1020309@seznam.cz> (raw)
In-Reply-To: <420A9DE7.1020102@seznam.cz>

> 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

  parent reply	other threads:[~2005-03-15 18:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-09 17:29 iso latin 2 Hans Hagen
2005-02-09 21:34 ` Vit Zyka
2005-02-09 22:18   ` Adam Lindsay
2005-02-09 23:33     ` Vit Zyka
2005-02-09 23:41       ` Adam Lindsay
2005-02-10  9:23         ` Hans Hagen
2005-02-11 10:56           ` Vit Zyka
2005-03-15 18:23       ` Vit Zyka [this message]
2005-03-15 18:29         ` iso latin 2 ; storm fonts Hans Hagen
2005-03-15 23:25         ` Hans Hagen
2005-03-16 23:52           ` Vit Zyka
2005-03-15 23:45         ` Adam Lindsay
2005-04-10 20:31           ` Vit Zyka
2005-04-11 11:16             ` Adam Lindsay
2005-02-09 22:21   ` iso latin 2 Hans Hagen
2005-02-09 23:52     ` Vit Zyka
2005-02-10  9:26       ` Hans Hagen
2005-02-11 10:17         ` Vit Zyka

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=42372809.1020309@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --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).