ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \enableregime[cp1250] and missing upper Greek letters in math mode.
@ 2007-10-03  6:52 context
  2007-10-03 10:42 ` Mojca Miklavec
  0 siblings, 1 reply; 4+ messages in thread
From: context @ 2007-10-03  6:52 UTC (permalink / raw)
  To: ntg-context

Hello,

 Years ago I installed TeXLive with ConTeXt - it works fine until
 I reinstalled my Windows and changed drive structures. So, I
 wanted to refresh my installation with newest MikTeX. 

 After that I have a problem with polish fonts - in older version
 I have used:
 % --translate-file=cp1250pl
 \setupbodyfont[plr,12pt]
 \mainlanguage[pl]
 \language[pl]

 and it worked fine. But with current installation I have missing
 polish characters (all) within these settings. After hours of 
 searching the web I have found setting:
 \enableregime[cp1250]

 and it works. Almost. I have found that using with 
 \setupbodyfont[plr,12pt]
 makes replacing of polish character ± -> ¼ (at least).

 If I remove \setupbodyfont[plr,12pt] I have problem with
 upper Greek letters in math mode - all are missing. With setting
 above is fine (except this ±-¼ problem).

 If any thread with the same problem? I could see similar posts
 but I am not sure if root of the problem is the same - sometimes
 proposed solution is quite complicated for not advanced user ;)
 Maybe some polish user more familiar with ConTeXt had the same 
 problems and can help? ;)   

 PS. Of course I have made:
 texexec --make en
 texexec --make --language=pl --bodyfont=plr en
 after installation

-- 
best regards
ml.

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: \enableregime[cp1250] and missing upper Greek letters in math mode.
  2007-10-03  6:52 \enableregime[cp1250] and missing upper Greek letters in math mode context
@ 2007-10-03 10:42 ` Mojca Miklavec
  2007-10-03 11:02   ` Hans Hagen
  2007-10-04  9:12   ` context
  0 siblings, 2 replies; 4+ messages in thread
From: Mojca Miklavec @ 2007-10-03 10:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 10/3/07, context@fr.pl wrote:
> Hello,
>
>  Years ago I installed TeXLive with ConTeXt - it works fine until
>  I reinstalled my Windows and changed drive structures. So, I
>  wanted to refresh my installation with newest MikTeX.
>
>  After that I have a problem with polish fonts - in older version
>  I have used:
>  % --translate-file=cp1250pl
>  \setupbodyfont[plr,12pt]
>  \mainlanguage[pl]
>  \language[pl]
>
>  and it worked fine. But with current installation I have missing
>  polish characters (all) within these settings. After hours of
>  searching the web I have found setting:
>  \enableregime[cp1250]

I needed hours of searching to figure out that ugly trick with
"--translate-file=cp1250pl", but please, please: do not use it. Around
2005 support for
    \enableregime[cp1250]
has been added and that one is much more reliable.

(I would say: try to convince your editor to support utf-8 instead,
and write your source in utf-8 with \enableregime[utf-8], if that is
an option. UTF-8 is much more future-oriented.)

>  and it works. Almost. I have found that using with
>  \setupbodyfont[plr,12pt]
>  makes replacing of polish character ± -> ¼ (at least).

Why do you need plr?

Doesn't it work fine if you simply use
\setupbodyfont[12pt]

or, perhaps one needs

\usetypescript[modern][qx]
\setupbodyfont[modern,12pt]

for Polish. There should be no need to have plr. They will be removed
sooner or later anyway (or will map to existing encodings).

>  If I remove \setupbodyfont[plr,12pt] I have problem with
>  upper Greek letters in math mode - all are missing. With setting
>  above is fine (except this ±-¼ problem).

Which version of ConTeXt are you using? (Well, if you have MikTeX,
that should not be a problem.)

Here it seems to work fine, although I have problems seing your characters.

>  If any thread with the same problem? I could see similar posts
>  but I am not sure if root of the problem is the same - sometimes
>  proposed solution is quite complicated for not advanced user ;)
>  Maybe some polish user more familiar with ConTeXt had the same
>  problems and can help? ;)
>
>  PS. Of course I have made:
>  texexec --make en
>  texexec --make --language=pl --bodyfont=plr en
>  after installation

Simply use
   texexec --make --all
You don't need plr.

Can you send a minimal example if the problem persists?

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: \enableregime[cp1250] and missing upper Greek letters in math mode.
  2007-10-03 10:42 ` Mojca Miklavec
@ 2007-10-03 11:02   ` Hans Hagen
  2007-10-04  9:12   ` context
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2007-10-03 11:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mojca Miklavec wrote:

> I needed hours of searching to figure out that ugly trick with
> "--translate-file=cp1250pl", but please, please: do not use it. Around
> 2005 support for
>     \enableregime[cp1250]
> has been added and that one is much more reliable.

indeed, translate file is real messy because there isno clus in the 
document then about what happens and all tools in the chaine then need 
that kind of magic; for me that input translation qualifies as one of 
the worst ideas implemented ever

>>  and it works. Almost. I have found that using with
>>  \setupbodyfont[plr,12pt]
>>  makes replacing of polish character ± -> ¼ (at least).
> 
> Why do you need plr?
> 
> Doesn't it work fine if you simply use
> \setupbodyfont[12pt]
> 
> or, perhaps one needs
> 
> \usetypescript[modern][qx]
> \setupbodyfont[modern,12pt]

indeed, plr is obsolete, qx is the replacement (actually, plr, csr, vnr, 
aer fonts are already obsolete since lm showed up)

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: \enableregime[cp1250] and missing upper Greek letters in math mode.
  2007-10-03 10:42 ` Mojca Miklavec
  2007-10-03 11:02   ` Hans Hagen
@ 2007-10-04  9:12   ` context
  1 sibling, 0 replies; 4+ messages in thread
From: context @ 2007-10-04  9:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

> or, perhaps one needs
> \usetypescript[modern][qx]
> \setupbodyfont[modern,12pt]

 After these setting everything works fine. Thank you very much 
 for answers (for Hans also). As I wrote - I have installed
 environment about 2003 and only my wife has used it
 from time to time. If everything works I didn't upgrade it... 
 I am still beginner in TeX ;)

-- 
best regards
ml.

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2007-10-04  9:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-03  6:52 \enableregime[cp1250] and missing upper Greek letters in math mode context
2007-10-03 10:42 ` Mojca Miklavec
2007-10-03 11:02   ` Hans Hagen
2007-10-04  9:12   ` context

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