ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* problems with uppercase Greek letters in math
@ 2006-03-06 14:36 Mojca Miklavec
  2006-03-06 15:04 ` Adam Lindsay
  0 siblings, 1 reply; 4+ messages in thread
From: Mojca Miklavec @ 2006-03-06 14:36 UTC (permalink / raw)


Hello,

The uppercase Greek letters in the following example don't work since
the letters are taken from ec encoding, while the default TeX encoding
is assumed in the definitions of Phi, Psi, ... ("mr", math roman font)

Any suggestions how to fix this strange behaviour?

Thanks a lot,
    Mojca


\starttypescript [something] [ec,texnansi]
  \definetypeface [somename] [rm] [serif] [modern] [default]
[encoding=\typescripttwo]
\stoptypescript

\usetypescript[something][ec]
\setupbodyfont[somename,rm]

\starttext
$\Psi\Phi\Lambda$
\stoptext

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with uppercase Greek letters in math
  2006-03-06 14:36 problems with uppercase Greek letters in math Mojca Miklavec
@ 2006-03-06 15:04 ` Adam Lindsay
  2006-03-06 15:21   ` Mojca Miklavec
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Lindsay @ 2006-03-06 15:04 UTC (permalink / raw)


Mojca Miklavec wrote:
> Hello,
> 
> The uppercase Greek letters in the following example don't work since
> the letters are taken from ec encoding, while the default TeX encoding
> is assumed in the definitions of Phi, Psi, ... ("mr", math roman font)
> 
> Any suggestions how to fix this strange behaviour?
> 
> \starttypescript [something] [ec,texnansi]
>   \definetypeface [somename] [rm] [serif] [modern] [default]
> [encoding=\typescripttwo]
> \stoptypescript

Hi Mojca,

My rule-of-thumb would be that if you're going to use math in your 
document, you're best off defining something for the [mm] [math] family: ;)

\starttypescript [something] [ec,texnansi]
   \definetypeface [somename] [rm] [serif] [modern] [default]
[encoding=\typescripttwo]
   \definetypeface [somename] [mm] [math] [modern] [modern]
[encoding=\typescripttwo]
\stoptypescript

Hope that helps.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
  Lancaster University, InfoLab21        +44(0)1524/510.514
  Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with uppercase Greek letters in math
  2006-03-06 15:04 ` Adam Lindsay
@ 2006-03-06 15:21   ` Mojca Miklavec
  2006-03-06 15:38     ` Adam Lindsay
  0 siblings, 1 reply; 4+ messages in thread
From: Mojca Miklavec @ 2006-03-06 15:21 UTC (permalink / raw)


On 3/6/06, Adam Lindsay wrote:
> Mojca Miklavec wrote:
> > Hello,
> >
> > The uppercase Greek letters in the following example don't work since
> > the letters are taken from ec encoding, while the default TeX encoding
> > is assumed in the definitions of Phi, Psi, ... ("mr", math roman font)
> >
> > Any suggestions how to fix this strange behaviour?
> >
> > \starttypescript [something] [ec,texnansi]
> >   \definetypeface [somename] [rm] [serif] [modern] [default]
> > [encoding=\typescripttwo]
> > \stoptypescript
>
> Hi Mojca,
>
> My rule-of-thumb would be that if you're going to use math in your
> document, you're best off defining something for the [mm] [math] family: ;)

Thanks a lot for the extremely quick answer. This solved the problem!

And it was really stupid of me. I actually use two typescripts in the
document and I defined math font in the second one (because I needed
another font for math in titles). But I thought that the default math
family was OK. It also worked without any problems untill I tried to
use ucgreek.

(Is [encoding=\typescripttwo] used in "math" or may it be left out?)

> \starttypescript [something] [ec,texnansi]
>    \definetypeface [somename] [rm] [serif] [modern] [default]
> [encoding=\typescripttwo]
>    \definetypeface [somename] [mm] [math] [modern] [modern]
> [encoding=\typescripttwo]
> \stoptypescript

Thanks again,
    Mojca

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems with uppercase Greek letters in math
  2006-03-06 15:21   ` Mojca Miklavec
@ 2006-03-06 15:38     ` Adam Lindsay
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Lindsay @ 2006-03-06 15:38 UTC (permalink / raw)


Mojca Miklavec wrote:

> (Is [encoding=\typescripttwo] used in "math" or may it be left out?)

I tend to leave it out. I believe the encoding= value there is ignored.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
  Lancaster University, InfoLab21        +44(0)1524/510.514
  Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-06 15:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-06 14:36 problems with uppercase Greek letters in math Mojca Miklavec
2006-03-06 15:04 ` Adam Lindsay
2006-03-06 15:21   ` Mojca Miklavec
2006-03-06 15:38     ` Adam Lindsay

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).