Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-22 Thread Hans Hagen
Michail Vidiassov wrote: What about an analog of ucs LaTeX package, when Unicode math subscripts (and other symbols) in TeX file are replaced by \sub{3} etc., regardless of the font used for typesetting? the reverse mapping is doable and on the agenda (normally i do such things when i run

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-22 Thread Hans Hagen
Aditya Mahajan wrote: Microsoft implmented something like this in newer versions of Word. See the developer's blog for more detials. http://blogs.msdn.com/murrays/archive/2009/05/07/entering-math-via-the-linear-format.aspx Well, we can consider supporting linear math ..

[NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Peter Münster
Hello, Is support for unicode range 0x2080-0x2089 planned? Superscript works well, but not the subscript: \starttext x³ x₃ \stoptext I need it for something like this: \usemodule[vim] \definevimtyping[C][syntax=c] \starttext \startC for(expr₁; expr₂; expr₃) instruction \stopC

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Khaled Hosny
On Tue, Jul 21, 2009 at 11:54:02AM +0200, Peter Münster wrote: Hello, Is support for unicode range 0x2080-0x2089 planned? Superscript works well, but not the subscript: \starttext x³ x₃ \stoptext Unicode sub/superscripts aren't real sub/superscripts, and there use is discouraged. Most

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Matthijs Kooijman
Hi Peter Khaled, I think there is a way to use ConTeXt commands inside verbatim environments, but I don't recall it. I think this is the option=commands option for setuptyping friends. AFAIK this means you need to use /TEX /ETEX around your commands or something, but I'm not completely sure.

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Mojca Miklavec
On Tue, Jul 21, 2009 at 12:27, Khaled Hosnykhaledho...@eglug.org wrote: On Tue, Jul 21, 2009 at 11:54:02AM +0200, Peter Münster wrote: Hello, Is support for unicode range 0x2080-0x2089 planned? Superscript works well, but not the subscript: \starttext x³ x₃ \stoptext Unicode

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Peter Münster
On Tue, 21 Jul 2009, Khaled Hosny wrote: Unicode sub/superscripts aren't real sub/superscripts, and there use is discouraged. Most fonts will align those subscript glyphs to the base line not bellow it, and apparently LM fonts don't have them. Hello, In char-def.lua there is: [0x2074]={

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Peter Münster
On Tue, 21 Jul 2009, Peter Münster wrote: I need it for something like this: \usemodule[vim] \definevimtyping[C][syntax=c] \starttext \startC for(expr₁; expr₂; expr₃) instruction \stopC \stoptext Finally I've found a simple solution: \usemodule[vim]

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Aditya Mahajan
On Tue, 21 Jul 2009, Peter Münster wrote: On Tue, 21 Jul 2009, Khaled Hosny wrote: Unicode sub/superscripts aren't real sub/superscripts, and there use is discouraged. Most fonts will align those subscript glyphs to the base line not bellow it, and apparently LM fonts don't have them.

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Hans Hagen
Matthijs Kooijman wrote: Hi Peter Khaled, I think there is a way to use ConTeXt commands inside verbatim environments, but I don't recall it. I think this is the option=commands option for setuptyping friends. AFAIK this means you need to use /TEX /ETEX around your commands or something,

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Hans Hagen
Mojca Miklavec wrote: On Tue, Jul 21, 2009 at 12:27, Khaled Hosnykhaledho...@eglug.org wrote: On Tue, Jul 21, 2009 at 11:54:02AM +0200, Peter Münster wrote: Hello, Is support for unicode range 0x2080-0x2089 planned? Superscript works well, but not the subscript: \starttext x³ x₃ \stoptext

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Michail Vidiassov
Dear Hans and All, On Tue, 21 Jul 2009, Hans Hagen wrote: Superscript works well, but not the subscript: \starttext x³ x₃ \stoptext Unicode sub/superscripts aren't real sub/superscripts, and there use is discouraged. Most fonts will align those subscript glyphs to the base line not bellow

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-21 Thread Aditya Mahajan
On Wed, 22 Jul 2009, Michail Vidiassov wrote: Dear Hans and All, On Tue, 21 Jul 2009, Hans Hagen wrote: Superscript works well, but not the subscript: \starttext x³ x₃ \stoptext Unicode sub/superscripts aren't real sub/superscripts, and there use is discouraged. Most fonts will align those