Re: [NTG-context] Font question mfonts.pdf manual

2006-03-13 Thread Hans Hagen
WN wrote:
 Hi,

 I am reading the mfonts.pdf manual to understand more about Context font 
 mechanism.
 In section 10 Math collection, Hans writes

 Math is a complicated matter and therefore we will not spend that many 
 words on the gory details ..
 .
 More information can be found in the documentation of the math module

 First question is : Why do you not spend more words on this subject ?
   
setting up math fonts is normally not something that a user does: there 
is a limited amount of math fonts and they are normally supported 
out-of-the-box
 I suppose a lot of Latex users are possibly interested
 in using Context for their math typesetting but not knowing all the gory 
 details,
 will complicate matters and hinder a possible conversion from Latex to 
 Context.
   
it depends on how many users want to define math symbols, make math font 
metrics (no fun) etc

in most cases there should beno problem to go from latex to context 
because symbolic names are used for math symbols and resolving them is a 
low level (hidden) activity.
 Second question is : where can I find the documentation of the  math 
 module ? Is it in PDF or do I
 need to consult math-ini.tex ?
   
wiki

taco and i will make a manual for math (the built in features) some day 
soon - we will use a special font for that which is work in progress
   
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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font question mfonts.pdf manual

2006-03-13 Thread WN




I use a lot of mathematics i.e a lot of integral symbols (\oint,
\oiint, \oiiint ) for my documentation. 
I could not find the corresponding Context math symbols. I suppose they
are not defined as yet ?

Furthermore I use a small tex module written by David Munger and which
I posted 
on this newsgroup a couple of days ago to define some of these math
symbols. 
I was wondering can one switch back and forth using the mechanism of 

\enablemathcollection[collection 1]
\usemathcollection[collection 1]

Some math .

\enablemathcollection[collection 2]
\usemathcollection[collection 2]

Some math .

Thanks for the help 

Kind regards
Wim Neimeijer

[EMAIL PROTECTED] wrote:

  WN wrote:
  
  
Hi,

I am reading the mfonts.pdf manual to understand more about Context font 
mechanism.
In section 10 Math collection, Hans writes

"Math is a complicated matter and therefore we will not spend that many 
words on the gory details ..
.
More information can be found in the documentation of the math module"

First question is : Why do you not spend more words on this subject ?
  

  
  setting up math fonts is normally not something that a user does: there 
is a limited amount of math fonts and they are normally supported 
out-of-the-box
  
  
I suppose a lot of Latex users are possibly interested
in using Context for their math typesetting but not knowing all the gory 
details,
will complicate matters and hinder a possible conversion from Latex to 
Context.
  

  
  it depends on how many users want to define math symbols, make math font 
metrics (no fun) etc

in most cases there should beno problem to go from latex to context 
because symbolic names are used for math symbols and resolving them is a 
low level (hidden) activity.
  



  
Second question is : where can I find the documentation of the  math 
module ? Is it in PDF or do I
need to consult math-ini.tex ?
  

  
  wiki

taco and i will make a manual for math (the built in features) some day 
soon - we will use a special font for that which is work in progress
  

  


  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
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
  




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Font question mfonts.pdf manual

2006-03-13 Thread Mojca Miklavec
WN wrote:
  I use a lot of mathematics i.e a lot of integral symbols (\oint, \oiint,
 \oiiint ) for my documentation.
  I could not find the corresponding Context math symbols. I suppose they are
 not defined as yet ?

No, they are not. I already noticed this question last time, but
didn't know how to answer it.

The main problem is that not only the symbols: not even the proper
font is defined. \oiint resides in pxexa font, which is mapped to
Palatino-Math-Extension-A, but that font is not mapped any further.

It would be nice to define (copy definitions from LaTeX) those
amsmath symbols once anyway (probably the first time when someone will
need them). An example of such a definition would be:

\definemathsymbol [boxdot] [bin]  [ma] [00]

(copied from [EMAIL PROTECTED] in pxfonts.sty)

After that you can use $\boxdot$.

But this font is mapped to ma, while I have no idea which steps are
needed to do the same for Math-Extension-A fonts. In order to make
yout integral signs work, you have to ask Adam/Taco/Hans for font
definitions first.

After that you will need the following two definitions:

\definemathsymbol [oiintop]  [op]  [m?] [10]
\definemathsymbol [oiiintop] [op]  [m?] [51]

\definemathcommand [oiint]{\oiintop\nolimits}
\definemathcommand [oiiint]   {\oiiintop\nolimits}


[Second part of the mail removed ...]

Mojca

PS for Hans: regarding the math definitions: are the two functions
general enough to deserve two lines in math-tex?

\definemathcommand [erf]  [nolop] {\mfunction{erf}}
\definemathcommand [erfc] [nolop] {\mfunction{erfc}}
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context