Re: [NTG-context] How to define your own math character (MK-IV)

2010-04-12 Thread gummybears
Hi Hans & Aditya

Please be patient as I am not a developer just someone who writes
documents.

I discovered the integral symbols starting at the double integral
are now composed by repeating the normal integral symbol
n-times. However in an earlier email I commented that they didn't
look right (something to do with setting the displaystyle (I think))

Then I discovered the Asana math font which has "correct" glyphs
The missing symbols for math-vfu.lua are

Asana math font
0x222B normal integral \int
0x222C double integral \iint
0x222D triple integral \iiint
0x222E contour integral \oint
0x222F surface integral \oiint
0x2230 volume integral \oiiint

I also need the space-time integral \nt (4 i's) but could
not find it in the Asana font

Note for the other math stuff the Asana math font does not work
like vectors and such. For $\vec{r}, \vec{R}$ the vector symbol is shifted
to the right and not aligned above the character (hope this make some sense
otherwise
forget it for the moment).

Kind regards
gummybears
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to define your own math character (MK-IV)

2010-04-11 Thread Aditya Mahajan

On Sun, 11 Apr 2010, gummybears wrote:


Hi,

How to use definemathcommand to setup some of the missing math symbols ?
Some of these symbols are defined in char-def.lua but missing in
math-vfu.lua.


math-vfu does not use definecommand. You need to find the font that 
contains that symbol, create a math vector containing mappings like


[uncode slot] = [font slot]

and add the math vector to define_math_font (don't remember the exact 
name).


It may be faster if you tell which symbolsare missing (or wrong) in 
math-vfu and the name of the font that contains them (if you know that). 
If you give the list of missing symbols in small installments, I can 
update math-vfu to include them. Finding the missing symbols/mappings is 
the more time consuming step.


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] How to define your own math character (MK-IV)

2010-04-11 Thread Hans Hagen

On 11-4-2010 2:45, gummybears wrote:

Hi,

How to use definemathcommand to setup some of the missing math symbols ?
Some of these symbols are defined in char-def.lua but missing in
math-vfu.lua.


if they are in the regular tex fonts, then we need to extend the vfu ... 
keep in mind that the vfu approach is just a placeholder for real math 
fonts ... we're not going to waste much time on hacks when eventually we 
will have proper uinicode math fonts.


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___