Re: [NTG-context] Minimal installation help on windows

2008-12-25 Thread Mojca Miklavec
On Thu, Dec 25, 2008 at 2:42 PM, Mehdi Omidali wrote:
> Hi,
> Two months ago I was able to install context minimal on windows XP and
> Ubuntu but now I can not do that. After a fresh installation on
> windows by the GUI installer I faced the following halt while
> compiling a sample
>
> \starttext
> \startfarsidocument
> ایضاً این هم همین طور است.
>
> ۰۱۲۳۴۵۶۷۸۹
> \stopfarsidocument

Hello Mehdi,

LuaTeX had some issues in the past days (and new binaries are not
online yet), but adding \stoptext at the end of document sometimes
helps.

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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Wolfgang Schuster


Am 25.12.2008 um 16:49 schrieb Mojca Miklavec:


I'm still curious: what's the difference between cm-super and
cm-unicode (apart from size and different format)?


cm-super: type1
cm-unicode: opentype

Their main purpose is to create free good quality fonts for use
in X applications supporting many languages. (cm unicode [1])


One thing that I would like to see preserved within minimals is "full
compatibility" in the sense that what works in minimals should also
work on TeX Live and MikTeX. Maybe not today because TeX Live is
outdated and MikTeX dropped support for ConTeXt for some unpredictable
amount of time, but a year later or if someone updates ConTeXt in TeX
Live.)

In the old ConTeXt distribution there were lots of files that were not
present anywhere else, so what worked in the ConTeXt distribution did
not work in TeX Live or Minimals which is a pity. Such
incompatibilities should be solved in other ways.

So I would prefer to add packages that are on CTAN (or are planned to
go there) and have some potential to become part of MikTeX and TeX
Live. Is anyone working on cm-unicode being added to CTAN (preferrably
in TDS-compliant way)? Does that make sense?



I can make a package and put it on CTAN but the question is, do you
want them in the minimals, do we need type1 files and if yes for which
encodings, only t2a or more.

[1] http://canopus.iacp.dvo.ru/%7Epanov/cm-unicode/

Wolfgang

___
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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Mojca Miklavec
On Thu, Dec 25, 2008 at 4:12 PM, Wolfgang Schuster wrote:
> Am 25.12.2008 um 14:52 schrieb Taco Hoekwater:
>
>> Mojca Miklavec wrote:
>>>
>>> On Thu, Dec 25, 2008 at 1:46 PM, Wolfgang Schuster wrote:

 I think it's better to use Computer Modern Unicode before you add
 the cm-super fonts to the minimals, I wrote typescripts for MkIV
 and also one for MKII with t2a encoding. I can send you the files
 if you need them, the font files can be downloaded from
 http://canopus.iacp.dvo.ru/~panov/cm-unicode/ (you need the otf files).
>>>
>>> I didn't plan to add cm-super. Is cm-unicode the same as cm-super, but
>>> without opticals and in other format?
>>
>> Be warned that adding otfs doesn't help mkii at all.
>
> I made also tfm files for t2a encoding and pfb files to reduce
> the file size of the document. If one of you want the files I can
> send you them.

I'm still curious: what's the difference between cm-super and
cm-unicode (apart from size and different format)?

One thing that I would like to see preserved within minimals is "full
compatibility" in the sense that what works in minimals should also
work on TeX Live and MikTeX. Maybe not today because TeX Live is
outdated and MikTeX dropped support for ConTeXt for some unpredictable
amount of time, but a year later or if someone updates ConTeXt in TeX
Live.)

In the old ConTeXt distribution there were lots of files that were not
present anywhere else, so what worked in the ConTeXt distribution did
not work in TeX Live or Minimals which is a pity. Such
incompatibilities should be solved in other ways.

So I would prefer to add packages that are on CTAN (or are planned to
go there) and have some potential to become part of MikTeX and TeX
Live. Is anyone working on cm-unicode being added to CTAN (preferrably
in TDS-compliant way)? Does that make sense?

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
___


Re: [NTG-context] Using dsrom with MKIV

2008-12-25 Thread Aditya Mahajan

On Thu, 25 Dec 2008, Taco Hoekwater wrote:


Aditya Mahajan wrote:


But why does it work if I replace mc by mr (as Wolfgang showed). Also, how 
can I check the mathcode of a character, other than going through the 
sources and figuring out where it is set.


 \message{\the\mathcode`\1 }

And it is "0031. It should have been "7031 for variable family use.
That is the value that initex initializes it to (that explains mkii).
Mkiv sets the values explicitly (and incorrectly)

In math-ini.lua:

@@ -52,7 +52,7 @@
mathematics.classes.diacritic   = mathematics.classes.accent
mathematics.classes.large   = mathematics.classes.op
mathematics.classes.variable= mathematics.classes.alphabetic
-mathematics.classes.number  = mathematics.classes.nothing
+mathematics.classes.number  = mathematics.classes.alphabetic



Thank you. After making this change and regenerating formats, the dsrom 
works correctly for both the test document and my actual document.


Aditya
___
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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Wolfgang Schuster


Am 25.12.2008 um 14:52 schrieb Taco Hoekwater:


Mojca Miklavec wrote:

On Thu, Dec 25, 2008 at 1:46 PM, Wolfgang Schuster wrote:

I think it's better to use Computer Modern Unicode before you add
the cm-super fonts to the minimals, I wrote typescripts for MkIV
and also one for MKII with t2a encoding. I can send you the files
if you need them, the font files can be downloaded from
http://canopus.iacp.dvo.ru/~panov/cm-unicode/ (you need the otf  
files).
I didn't plan to add cm-super. Is cm-unicode the same as cm-super,  
but

without opticals and in other format?


Be warned that adding otfs doesn't help mkii at all.


I made also tfm files for t2a encoding and pfb files to reduce
the file size of the document. If one of you want the files I can
send you them.

Wolfgang

___
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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Taco Hoekwater

Mojca Miklavec wrote:

On Thu, Dec 25, 2008 at 1:46 PM, Wolfgang Schuster wrote:

I think it's better to use Computer Modern Unicode before you add
the cm-super fonts to the minimals, I wrote typescripts for MkIV
and also one for MKII with t2a encoding. I can send you the files
if you need them, the font files can be downloaded from
http://canopus.iacp.dvo.ru/~panov/cm-unicode/ (you need the otf files).


I didn't plan to add cm-super. Is cm-unicode the same as cm-super, but
without opticals and in other format?


Be warned that adding otfs doesn't help mkii at all.

Best wishes,
Taco




___
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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Wolfgang Schuster


Am 25.12.2008 um 14:31 schrieb Mojca Miklavec:


On Thu, Dec 25, 2008 at 1:46 PM, Wolfgang Schuster wrote:


I think it's better to use Computer Modern Unicode before you add
the cm-super fonts to the minimals, I wrote typescripts for MkIV
and also one for MKII with t2a encoding. I can send you the files
if you need them, the font files can be downloaded from
http://canopus.iacp.dvo.ru/~panov/cm-unicode/ (you need the otf  
files).


I didn't plan to add cm-super. Is cm-unicode the same as cm-super, but
without opticals and in other format?


More or less, the are converted from the original CM fonts in MetaFont
to OpenType with mftrace.

The package has what Latin Modern lacks, support for cyrillic and
the Concrete and CM Bright fonts in OpenType format.

Wolfgang

___
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
___


[NTG-context] Minimal installation help on windows

2008-12-25 Thread Mehdi Omidali
Hi,
Two months ago I was able to install context minimal on windows XP and
Ubuntu but now I can not do that. After a fresh installation on
windows by the GUI installer I faced the following halt while
compiling a sample, here is the log file

(sample.tex

ConTeXt  ver: 2008.11.10 21:40 MKIV  fmt: 2008.12.25  int: english/english

system : cont-new loaded
(c:/contextminimal/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(c:/contextminimal/texmf-context/tex/context/base/cont-new.mkiv)
(c:/contextminimal/texmf-context/tex/context/base/cont-mtx.tex))
system : cont-fil loaded
(c:/contextminimal/texmf-context/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys.rme loaded
(c:/contextminimal/texmf-context/tex/context/user/cont-sys.rme
(c:/contextminimal/texmf-context/tex/context/base/type-tmf.tex)
(c:/contextminimal/texmf-context/tex/context/base/type-siz.tex)
(c:/contextminimal/texmf-context/tex/context/base/type-otf.tex))
bodyfont   : 12pt rm is loaded
specials   : pdftex loaded
language   : language en is active
system : sample.top loaded
(sample.top) (sample.tuo) (sample.tuo)
systems: begin file sample at line 27
fontnames | identifying tree font files with suffix otf
fontnames | identifying tree font files with suffix OTF
fontnames | 161 tree files identified, 222 hash entries added, runtime
0.203 seconds
fontnames | identifying tree font files with suffix ttf
fontnames | identifying tree font files with suffix TTF
fontnames | 5 tree files identified, 7 hash entries added, runtime 0.125 seconds
fontnames | identifying tree font files with suffix ttc
fontnames | identifying tree font files with suffix TTC
fontnames | 0 tree files identified, 0 hash entries added, runtime 0.125 seconds
fontnames | identifying tree font files with suffix afm
fontnames | identifying tree font files with suffix AFM
fontnames | 76 tree files identified, 65 hash entries added, runtime
0.219 seconds
fontnames | identifying system font files with suffix otf
fontnames | globbing path C:/WINDOWS/Fonts/**.otf
fontnames | identifying system font files with suffix OTF
fontnames | globbing path C:/WINDOWS/Fonts/**.OTF
fontnames | 0 system files identified, 0 hash entries added, runtime
0.063 seconds
fontnames | identifying system font files with suffix ttf
fontnames | globbing path C:/WINDOWS/Fonts/**.ttf
fontnames | identifying system font files with suffix TTF
fontnames | globbing path C:/WINDOWS/Fonts/**.TTF
fontnames | 380 system files identified, 608 hash entries added,
runtime 0.313 seconds
fontnames | identifying system font files with suffix ttc
fontnames | globbing path C:/WINDOWS/Fonts/**.ttc
fontnames | identifying system font files with suffix TTC
fontnames | globbing path C:/WINDOWS/Fonts/**.TTC
fontnames | 1 system files identified, 4 hash entries added, runtime
0.063 seconds
fontnames | identifying system font files with suffix afm
fontnames | globbing path C:/WINDOWS/Fonts/**.afm
fontnames | identifying system font files with suffix AFM
fontnames | globbing path C:/WINDOWS/Fonts/**.AFM
fontnames | 0 system files identified, 0 hash entries added, runtime
0.063 seconds)
*
%
and at this point I just terminated the process. Any idea? The source file is

%%
\definefontfeature
[persian]
[mode=node,language=dflt,script=arab,
init=yes,medi=yes,fina=yes,isol=yes,
liga=yes,dlig=yes,rlig=yes,clig=yes,
mark=yes,mkmk=yes,kern=yes,curs=yes]

\starttypescript [serif] [persian]
\definefontsynonym [Farsi-Light][name:XB Zar.ttf][features=persian]
\stoptypescript

\starttypescript [serif][persian][name]
\usetypescript[serif][persian]
\definefontsynonym [Serif][Farsi-Light][features=persian]
\stoptypescript

\starttypescript [Farsi]
\definetypeface[Farsi][rm][serif][persian][default]
\stoptypescript
\def\FarsiGlobalDir {\pagedir TRT\bodydir TRT\pardir TRT\textdir TRT}
\definestartstop
[farsidocument]
[commands={\usetypescript[Farsi]%
\setupbodyfont[Farsi,12pt]%
\FarsiGlobalDir}]

\starttext
\startfarsidocument
ایضاً این هم همین طور است.

۰۱۲۳۴۵۶۷۸۹
\stopfarsidocument
___
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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Mojca Miklavec
On Thu, Dec 25, 2008 at 1:46 PM, Wolfgang Schuster wrote:
>
> I think it's better to use Computer Modern Unicode before you add
> the cm-super fonts to the minimals, I wrote typescripts for MkIV
> and also one for MKII with t2a encoding. I can send you the files
> if you need them, the font files can be downloaded from
> http://canopus.iacp.dvo.ru/~panov/cm-unicode/ (you need the otf files).

I didn't plan to add cm-super. Is cm-unicode the same as cm-super, but
without opticals and in other format?

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
___


Re: [NTG-context] \input behaves different

2008-12-25 Thread Hans van der Meer
I understand from these messages I may look forward to implementation  
of searching for "thefile.tex" and then for "thefile" in the next  
update. Appreciate that very much.


It is not for compatibility alone, I was asking. I have a great many  
files that are used in another context then ConTeXt, but are included  
in a typeset document collection. Giving them a .tex suffix would  
obfuscate their original character.


Hans van der Meer




On 24 dec 2008, at 20:17, Hans Hagen wrote:


Taco Hoekwater wrote:

Hans van der Meer wrote:
MKii and MKiv differ in their behaviour of \input with respect to  
the .tex suffix.

Consider the following program:
 \starttext
 reading file1.tex: \input file1\par
 reading file1a: \input file1a\par
 \stoptext
Processing with mkii reads both files, but mkiv chokes on the  
second \input:

! I can't find file `file1a'.

  \par
l.3 reading file1a: \input file1a\par

This seems a very nasty difference to me, because it will  
necessitate me to rename a great many files. Is this behaviour  
intended?

I would advise against using filenames without an extension, but
nevertheless it would be nice if aux.find_file (I hope I got the
function name right) would at least test for the existance of
 ./
Hans (Hagen), is that OK with you?


it's indeed in that function but i need to check it careful because  
i don't want to mess up. I guess that i can do it just before here


   if not done and doscan then
   -- todo: slow path scanning
   end


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
___


___
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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Mojca Miklavec
On Thu, Dec 25, 2008 at 1:21 PM, Mojca Miklavec wrote:
> On Thu, Dec 25, 2008 at 10:01 AM, Andrey Riabushenko wrote:
>>
>> Sample 3:
>> \enableregime[utf]
>> \mainlanguage[ru]
>> \definetypeface [russian] [rm] [serif] [computer-modern] [default]
>> [encoding=t2a]
>> \setupbodyfont [russian]
>>
>> This one doesn't work on any of three systems described earlier. Latin
>> transliteration instead of Cyrillic letters.
>
> This needs to be fixed in ConTeXt core.

I'm sorry. Misinformation. You either need to add the fonts to
minimals or update ConTeXt in TeX Live and then it will work.

You can run this command for example (single line, you might need to
be root to be able to do it):
   rsync -av rsync://contextgarden.net/minimals/current/context/beta/
/usr/local/texlive/2008/texmf-dist/

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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Wolfgang Schuster


Am 25.12.2008 um 13:21 schrieb Mojca Miklavec:




Sample 3:
\enableregime[utf]
\mainlanguage[ru]
\definetypeface [russian] [rm] [serif] [computer-modern] [default]
[encoding=t2a]
\setupbodyfont [russian]

This one doesn't work on any of three systems described earlier.  
Latin

transliteration instead of Cyrillic letters.


This needs to be fixed in ConTeXt core.


I think it's better to use Computer Modern Unicode before you add
the cm-super fonts to the minimals, I wrote typescripts for MkIV
and also one for MKII with t2a encoding. I can send you the files
if you need them, the font files can be downloaded from
http://canopus.iacp.dvo.ru/~panov/cm-unicode/ (you need the otf files).

Wolfgang

___
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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Mojca Miklavec
On Thu, Dec 25, 2008 at 10:01 AM, Andrey Riabushenko wrote:
> So far I have tried using pdfetex:
>
> Sample 1:
> \enableregime[utf]
> \usemodule[lang-cyr]
>
> \mainlanguage[ru]
>
> \usetypescript[postscript][t2a]
> \setupbodyfont[postscript, 12pt]
>
> This one doesn't work on any of three systems described earlier. Latin
> transliteration instead of Cyrillic letters.

Just this (isn't lang-cyr already loaded by the format?):

\enableregime[utf-8]
\mainlanguage[ru]
\usetypescript[postscript][t2a]
\setupbodyfont[postscript,12pt]

Just to make it clear:
- you need to forget about trying to make it work on teTeX unless you
are willing to handle *lots* of issues on your own
- you can make most examples work on TeX Live 2008, but you might need
to update ConTeXt
- minimals don't include cm-super fonts, but if you add them yoursef,
they should work
- there might be some patches needed in ConTeXt - very few people use
Cyrillic with ConTeXt, thus it's not too well tested, but this can be
changed within hours or days; if you use minimals, you can update
almost instantly

To make this example work, you need to change the following definitions:

In type-one.tex ([minimals or
/usr/local/texlive/2008/texmf-dist]/tex/context/base/type-one.tex)
change this line:

\starttypescript [postscript] [texnansi,ec,qx,t5,8r,t2a] % add t2a
\definetypeface [postscript] [rm] [serif] [times] [default]
[encoding=\typescripttwo]
\definetypeface [postscript] [ss] [sans]  [helvetica] [default]
[rscale=.9,encoding=\typescripttwo]
\definetypeface [postscript] [tt] [mono]  [courier]   [default]
[rscale=1.1,encoding=\typescripttwo]
\definetypeface [postscript] [mm] [math]  [times] [default]
\usemathcollection[default]
\quittypescriptscanning
\stoptypescript

then run "texexec --make en". This will still give you some problems
like this one:

! Font \*postscript7ptrmscrm*:=t2a-qtmr-sc at 7.0pt not loadable: Metric (TFM)
file not found.

(You may ignore those messages.) Hans/Taco, where's the best place to
fix Small Caps mapping for Cyrillic?

> Sample 2:
>
> \enableregime[utf]
> \mainlanguage[ru]
>
> \usetypescript[antykwa-torunska][t2a]
> \setupbodyfont[antykwa, 12pt]
>
> Works on ConTeXt Minimals, but does not work on TeX Live 2008 and teTeX 3.0.
> Latin transliteration instead of Cyrillic letters.

You may forget teTeX. I'm impressed that it fails on TeX Live 2008. It
works here, but I updated ConTeXt at some point (quite a while ago).
Can you send me the log?

> Sample 3:
> \enableregime[utf]
> \mainlanguage[ru]
> \definetypeface [russian] [rm] [serif] [computer-modern] [default]
> [encoding=t2a]
> \setupbodyfont [russian]
>
> This one doesn't work on any of three systems described earlier. Latin
> transliteration instead of Cyrillic letters.

This needs to be fixed in ConTeXt core.

> In there a solution that will work on every of three distributions?

It can be made to work on minimals and TeX Live 2008, but you need to
keep one thing in mind: if the issues get fixed, you need to update
ConTeXt. From that point of view you can automatically fetch updates
if you are using minimals, while you need to update ConTeXt
semi-manually on TeX Live.

(The problem of LaTeX is that such fixes would not be updated for a
long time. The problem of ConTeXt is that if you need updates, these
updates get into the core rather quickly, but if you want to convince
other people to use your code you need to convince them to update
first.)

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
___


Re: [NTG-context] Using dsrom with MKIV

2008-12-25 Thread Hans Hagen

Taco Hoekwater wrote:

Aditya Mahajan wrote:


But why does it work if I replace mc by mr (as Wolfgang showed). Also, 
how can I check the mathcode of a character, other than going through 
the sources and figuring out where it is set.


  \message{\the\mathcode`\1 }

And it is "0031. It should have been "7031 for variable family use.
That is the value that initex initializes it to (that explains mkii).
Mkiv sets the values explicitly (and incorrectly)

In math-ini.lua:

@@ -52,7 +52,7 @@
 mathematics.classes.diacritic   = mathematics.classes.accent
 mathematics.classes.large   = mathematics.classes.op
 mathematics.classes.variable= mathematics.classes.alphabetic
-mathematics.classes.number  = mathematics.classes.nothing
+mathematics.classes.number  = mathematics.classes.alphabetic


ok fixed

-
  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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Taco Hoekwater

Andrey Riabushenko wrote:


In there a solution that will work on every of three distributions?


If anything at all works on tetex, it is accidental and unsupported.
Tetex itself is abandoned, and even in the old days the context
support in it was suboptimal.

Best wishes,
Taco
___
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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Michail Vidiassov

Dear Andrey and All,

On Thu, 25 Dec 2008, Andrey Riabushenko wrote:


Works on ConTeXt Minimals, but does not work on TeX Live 2008 and teTeX 3.0.

In there a solution that will work on every of three distributions?


teTeX is abandoned by te and is considered obsolete, is not it?
Is really teTeX compatibility desired or required anywhere?

  Sincerely, Michail
___
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
___


Re: [NTG-context] PDF Attachments

2008-12-25 Thread Michail Vidiassov

Dear All,

I agree, it should be documented better. I figured the usage from the 
source and trial and error.


i wrote it when it was just available bug bugged in the viewer so it never 
made it into some myway since i never used it except from demos


is the functionality supposed to work in MKIV now?

   Sincerely, Michail
PS. I have cut-n-pased from the wiki page, but have got no result.

___
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
___


Re: [NTG-context] Does ConTeXt really support russian language?

2008-12-25 Thread Andrey Riabushenko
So far I have tried using pdfetex:

Sample 1:
\enableregime[utf]
\usemodule[lang-cyr]

\mainlanguage[ru]

\usetypescript[postscript][t2a]
\setupbodyfont[postscript, 12pt]

This one doesn't work on any of three systems described earlier. Latin 
transliteration instead of Cyrillic letters.

Sample 2:

\enableregime[utf]
\mainlanguage[ru]

\usetypescript[antykwa-torunska][t2a]
\setupbodyfont[antykwa, 12pt]

Works on ConTeXt Minimals, but does not work on TeX Live 2008 and teTeX 3.0. 
Latin transliteration instead of Cyrillic letters.


Sample 3:
\enableregime[utf]
\mainlanguage[ru]
\definetypeface [russian] [rm] [serif] [computer-modern] [default]
[encoding=t2a]
\setupbodyfont [russian]

This one doesn't work on any of three systems described earlier. Latin 
transliteration instead of Cyrillic letters.


In there a solution that will work on every of three distributions?
___
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
___


Re: [NTG-context] Using dsrom with MKIV

2008-12-25 Thread Taco Hoekwater

Aditya Mahajan wrote:


But why does it work if I replace mc by mr (as Wolfgang showed). Also, 
how can I check the mathcode of a character, other than going through 
the sources and figuring out where it is set.


  \message{\the\mathcode`\1 }

And it is "0031. It should have been "7031 for variable family use.
That is the value that initex initializes it to (that explains mkii).
Mkiv sets the values explicitly (and incorrectly)

In math-ini.lua:

@@ -52,7 +52,7 @@
 mathematics.classes.diacritic   = mathematics.classes.accent
 mathematics.classes.large   = mathematics.classes.op
 mathematics.classes.variable= mathematics.classes.alphabetic
-mathematics.classes.number  = mathematics.classes.nothing
+mathematics.classes.number  = mathematics.classes.alphabetic



Best wishes,
Taco






___
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
___