ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font question mfonts.pdf manual
@ 2006-03-13 17:45 WN
  2006-03-13 19:48 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: WN @ 2006-03-13 17:45 UTC (permalink / raw)


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 ?

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.

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 ?

Kind regards

Wim Neimeijer

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

* Re: Font question mfonts.pdf manual
  2006-03-13 17:45 Font question mfonts.pdf manual WN
@ 2006-03-13 19:48 ` Hans Hagen
  2006-03-13 22:04   ` WN
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2006-03-13 19:48 UTC (permalink / raw)


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

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

* Re: Font question mfonts.pdf manual
  2006-03-13 19:48 ` Hans Hagen
@ 2006-03-13 22:04   ` WN
  2006-03-14  2:23     ` Mojca Miklavec
  0 siblings, 1 reply; 4+ messages in thread
From: WN @ 2006-03-13 22:04 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 2715 bytes --]

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

pragma@wxs.nl 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
>   


[-- Attachment #1.2: Type: text/html, Size: 3857 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

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

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

* Re: Font question mfonts.pdf manual
  2006-03-13 22:04   ` WN
@ 2006-03-14  2:23     ` Mojca Miklavec
  0 siblings, 0 replies; 4+ messages in thread
From: Mojca Miklavec @ 2006-03-14  2:23 UTC (permalink / raw)


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 \re@DeclareMathSymbol{\boxdot}{\mathbin}{AMSa}{0} 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}}

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

end of thread, other threads:[~2006-03-14  2:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-13 17:45 Font question mfonts.pdf manual WN
2006-03-13 19:48 ` Hans Hagen
2006-03-13 22:04   ` WN
2006-03-14  2:23     ` Mojca Miklavec

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