ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Re: Is there a mathematica typesetting manual for ConTeXt ?
@ 2005-05-14 11:49 xiaojf
  2005-05-14 12:31 ` Adam Lindsay
  0 siblings, 1 reply; 14+ messages in thread
From: xiaojf @ 2005-05-14 11:49 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2849 bytes --]

Hi,Adam Lindsay,

	

======= 2005-05-14 08:46:00 You wrote:=======

>Tobias Burnus said this at Sat, 14 May 2005 07:05:44 +0200:
>
>>(I have to admit, I cannot find m-math.tex/t-math.tex anywhere.)
>
>I "assumed" Hans meant MathML. :)
>\usemodule[mathml]
>
>
>The basic math capabilities within ConTeXt do seem poorly documented,
>mostly because they point to different sources, often in books. However,
>ConTeXt does use  Plain TeX as its model for mathematics.
>
>The basics in ConTeXt are roughly equivalent to those described in:
><http://meta.wikimedia.org/wiki/Help:Formula>
>   (I don't know if it will specifically help you, but I note there's a
>zh version of that page)
>
>
>....but it takes some practice to spot the things that don't work directly
>in ConTeXt. Some differences are unimplemented features, some are
>differing conventions, some are because LaTeX thought they would be
>useful, and ConTeXt hasn't (yet).
>
>Some differences from the examples on that page that I notice immediately:
>
>Math is best delimited inline with \formula{ ... }, not $ ... $
>Display math is best delimited with \startformula ... \stopformula , not
>$$ ... $$
>
>\operatorname  =>  \mfunction
>
>The double-, triple-, and quadruple-integrals (\iiiint) are undefined in
>basic ConTeXt's math.
I must say thank you very very much!

In fact I've been looking for \iint in ConTeXt in the last two days -_-
so i'll try to use \int\!\!\!\int instead of looking for a ConTeXt implementation :)

I met another problem today. Since there are not as many arrows in ConTeXt as there
in AMS-LaTeX,I don't konw how to type the formula in the attached picture which will
be referred in my presentation next Monday.

>
>The \begin{case} environment needs to be simplified into the Plain
>\cases{} command.
>
>The AMSmath/LaTeX-like:
>
>$$ \begin{bmatrix} p & q \\
>                   r & s   \end{bmatrix} $$
>
>   ...can be interpreted as...
>
>\startformula
>\left[ \matrix{ p & q \cr
>                r & s     } \right]
>\stopformula
>
>
>This might not be the best answer to the original poster, but I do hope
>it provides a bit of a guide to the general ConTeXt newcomer.
>
>--
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
> Lancaster University, InfoLab21        +44(0)1524/510.514
> Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context

= = = = = = = = = = = = = = = = = = = =
			

				
        xiaojf
        jfxiao@sibs.ac.cn
          2005-05-14


[-- Attachment #2: dG_cycle.GIF --]
[-- Type: image/gif, Size: 2992 bytes --]

[-- Attachment #3: 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] 14+ messages in thread

* Re:  Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-14 11:49 Re: Is there a mathematica typesetting manual for ConTeXt ? xiaojf
@ 2005-05-14 12:31 ` Adam Lindsay
  0 siblings, 0 replies; 14+ messages in thread
From: Adam Lindsay @ 2005-05-14 12:31 UTC (permalink / raw)


xiaojf said this at Sat, 14 May 2005 19:49:02 +0800:

>>The double-, triple-, and quadruple-integrals (\iiiint) are undefined in
>>basic ConTeXt's math.
>I must say thank you very very much!
>
>In fact I've been looking for \iint in ConTeXt in the last two days -_-
>so i'll try to use \int\!\!\!\int instead of looking for a ConTeXt
>implementation :)
>
>I met another problem today. Since there are not as many arrows in
>ConTeXt as there 
>in AMS-LaTeX,I don't konw how to type the formula in the attached picture
>which will 
>be referred in my presentation next Monday.

Hello, Xiao.

I'm glad I could help: I'm learning these advanced requirements as I go
along. My personal mathematics needs are much more modest.

I wouldn't give up on ConTeXt just yet. Try:
\loadmapfile[original-ams-base]
\starttext
\showmathcharacters
Note the \formula{\rightleftharpoons} and 
\formula{\upharpoonleft\!\downharpoonright}.
\stoptext

Do you know how you would code that cycle in (AMS)LaTeX?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-14 16:41 ` Adam Lindsay
@ 2005-05-18  7:22   ` Mojca Miklavec
  0 siblings, 0 replies; 14+ messages in thread
From: Mojca Miklavec @ 2005-05-18  7:22 UTC (permalink / raw)


I'm affraid I'm too late already, but I'm sending this anyway. The
lines you sent as an example have two pecculiarities:
- bad alignment
- too short arrows

I managed to solve the first problem -- alignment (with some
"cheating", using TeXBOOK), but I have no idea how to extend
\downharpoonright for example and \longrightleftharpoons also don't
look as they should.

In plain TeX it is possible to say \big\downarrow or \Bigg\downarrow
and the arrow is as long as desired. I neither do understand how this
mechanism works nor did I found out how \downharpoonright was defined
(which font, ...).

Does any Font/TeXnician have any idea how to make \Big\updownharpoons work?

xiaojf said this at Sat, 14 May 2005 21:36:45 +0800:
> 
> Hi,
> I  can code the cycle in ConTeXt,but it's too ugly and I will try to
> improve it.
> here is my code:
>
> \starttext
> \placeformula
> \startformula
> \matrix{A+B&{\Delta G_1\atop\rightleftharpoons}&AB\cr
> \Delta G_3\!\!\upharpoonleft\!\downharpoonright&&
> \upharpoonleft\!\downharpoonright\!\!\Delta G_4\cr
> A'+B&{\rightleftharpoons\atop\Delta G_2}&A'B\cr}
> \stopformula
> \stoptext

see below

> There is a similar example in "The TeXbook"(example 18.46).
> You can try the follow code:
>
> $$\def\normalbaselines{\baselineskip20pt\lineskip3pt \lineskiplimit3pt }

these are just a few local space adjustment, not important to
undestand the content.

> \def\mapright#1{\smash{
> \mathop{\longrightarrow}\limits^{#1}}}

define a command \mapright:
- \mathop makes \longrightarror behave in a similar way as big
operators like \sum, \int, ...
- \limits makes the ^{#1} appear centered above the arrow smaller than
the rest (the same as super/sub-scripts)

> \def\mapdown#1{\Big\downarrow
> \rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}

define a command \mapdown:
- \Big makes the \downarrow longer (no idea how to make something
similar for a harpoon)
- \rlap places the argument to the right of the arrow with virtual box
width 0 (so that the arrow can be centered)
- $\vcenter{\hbox{...}}$ takes care of vertical centering
- $\scriptstyle #1$ is a compensation for ^{#1} above and takes care
that the argument becomes "smaller". Note that if equation is not
typeset in \displaystyle, than it may be that this is not of the same
size as the argument in \mapright

> \matrix{&&&&&&0\cr
> &&&&&&\mapdown{}\cr
> 0&\mapright{}&{\cal O}_C&\mapright\iota&
> \cal E&\mapright\rho&\cal L&\mapright{}&0\cr
> &&\Big\Vert&&\mapdown\phi&&\mapdown\psi\cr
> 0&\mapright{}&{\cal O}_C&\mapright{}&
> \pi_*{\cal O}_D&\mapright\delta&
> R^1f_*{\cal O}_V(-D)&\mapright{}&0\cr
> &&&&&&\mapdown{\theta_i\otimes\gamma^{-1}}\cr
> &&&&&&\hidewidth R^1f_*\bigl({\cal O}
> _V(-iM)\bigr)\otimes\gamma^{-1}\hidewidth\cr
> &&&&&&\mapdown{}\cr
> &&&&&&0\cr}$$
>
> Since i'm just a newbie of TeX, I don't really understand the first a few lines
> of the solution. I still need some learning and practice :)

I hope I explained at least a little bit of it. 

So here's my proposal (not perfect yet):

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usemodule[nath]

% is there any other way to use local variables than \unprotect?
% I also had to define \m@th once more, which is not very elegant,
% but I don't know any other way
\unprotect

\def\m@th{\mathsurround=0pt}

% The TeXBOOK, page 358, modified \longrightarrow
% for some reason, the harpoon and line are not 100% perfectly joined
\def\longrightharpoonup{\relbar\joinrel\rightharpoonup}
\def\longleftharpoondown{\leftharpoondown\joinrel\relbar}

% slightly longer line which didn't work: it this looks ugly
% probably a definition, similar as in \overrightarrow
% would help producing longer harpoons
%
% \def\longrightharpoonup{\relbar\joinrel\relbar\joinrel\rightharpoonup}
% \def\longleftharpoondown{\leftharpoondown\joinrel\relbar\joinrel\relbar}

% The TeXBOOK, page 361m modified \rightleftharpoons
\def\longrightleftharpoons{\mathrel{\mathpalette\rlh@{}}}
\def\rlh@#1{\vcenter{\m@th\hbox{\ooalign{\raise2pt
           \hbox{$#1\longrightharpoonup$}\crcr $#1\longleftharpoondown$}}}}

% copied from your code
\def\updownharpoons{\upharpoonleft\!\downharpoonright}

% here are four different placements of \Delta G_i,
% based on Knuth's example above
% 
% I tried to explain the command already above
% please ask if there is something you don't understand yet
%
\def\MyEquivTop#1{\smash{\mathop{\longrightleftharpoons}\limits^{#1}}}
\def\MyEquivBot#1{\smash{\mathop{\longrightleftharpoons}\limits_{#1}}}
\def\MyEquivLft#1{\llap{$\vcenter{\hbox{$\scriptstyle{#1}$}}$}\updownharpoons}
\def\MyEquivRt#1{\updownharpoons\rlap{$\vcenter{\hbox{$\scriptstyle{#1}$}}$}}

\protect

$$
% copied from the Knuth's example above
\def\normalbaselines{\baselineskip20pt\lineskip10pt\lineskiplimit10pt}

\matrix{A+B & \MyEquivTop{\Delta G_1} & AB \cr
        \MyEquivLft{\Delta G_3} & & \MyEquivRt{\Delta G_4} \cr
        A'+B' & \MyEquivBot{\Delta G_2} & A'B \cr}
$$

\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Mojca

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

* Re:  Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-14 13:36 xiaojf
@ 2005-05-14 16:41 ` Adam Lindsay
  2005-05-18  7:22   ` Mojca Miklavec
  0 siblings, 1 reply; 14+ messages in thread
From: Adam Lindsay @ 2005-05-14 16:41 UTC (permalink / raw)


xiaojf said this at Sat, 14 May 2005 21:36:45 +0800:

>Hi,
>I  can code the cycle in ConTeXt,but it's too ugly and I will try to
>improve it.
>here is my code:
>
>\starttext
>\placeformula
>\startformula
>\matrix{A+B&{\Delta G_1\atop\rightleftharpoons}&AB\cr
>\Delta G_3\!\!\upharpoonleft\!\downharpoonright&&
>\upharpoonleft\!\downharpoonright\!\!\Delta G_4\cr
>A'+B&{\rightleftharpoons\atop\Delta G_2}&A'B\cr}
>\stopformula
>\stoptext

Hmm. It seems like a reasonable starting point, but I'll admit this is
beyond my abilities to fix over this weekend. I hope some other TeXnician
might come along and offer some advice.

Best of luck,
adam

>There is a similar example in "The TeXbook"(example 18.46).
>You can try the follow code:
>
>$$\def\normalbaselines{\baselineskip20pt
>\lineskip3pt \lineskiplimit3pt }
>\def\mapright#1{\smash{
>\mathop{\longrightarrow}\limits^{#1}}}
>\def\mapdown#1{\Big\downarrow
>\rlap{$\vcenter{\hbox{$\scriptstyle#1$}}$}}
>\matrix{&&&&&&0\cr
>&&&&&&\mapdown{}\cr
>0&\mapright{}&{\cal O}_C&\mapright\iota&
>\cal E&\mapright\rho&\cal L&\mapright{}&0\cr
>&&\Big\Vert&&\mapdown\phi&&\mapdown\psi\cr
>0&\mapright{}&{\cal O}_C&\mapright{}&
>\pi_*{\cal O}_D&\mapright\delta&
>R^1f_*{\cal O}_V(-D)&\mapright{}&0\cr
>&&&&&&\mapdown{\theta_i\otimes\gamma^{-1}}\cr
>&&&&&&\hidewidth R^1f_*\bigl({\cal O}
>_V(-iM)\bigr)\otimes\gamma^{-1}\hidewidth\cr
>&&&&&&\mapdown{}\cr
>&&&&&&0\cr}$$
>
>Since i'm just a newbie of TeX, I don't really understand the first a few
>lines 
>of the solution. I still need some learning and practice :)

ah, don't we all...
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-14  5:05         ` Tobias Burnus
  2005-05-14  7:46           ` Adam Lindsay
@ 2005-05-14  9:44           ` Patrick Gundlach
  1 sibling, 0 replies; 14+ messages in thread
From: Patrick Gundlach @ 2005-05-14  9:44 UTC (permalink / raw)


>
> (I have to admit, I cannot find m-math.tex/t-math.tex anywhere.)

see http://modules.contextgarden.net/amsl

Patrick


PS: now with RSS-feed
-- 
ConTeXt wiki and more: http://contextgarden.net

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

* Re:  Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-14  5:05         ` Tobias Burnus
@ 2005-05-14  7:46           ` Adam Lindsay
  2005-05-14  9:44           ` Patrick Gundlach
  1 sibling, 0 replies; 14+ messages in thread
From: Adam Lindsay @ 2005-05-14  7:46 UTC (permalink / raw)


Tobias Burnus said this at Sat, 14 May 2005 07:05:44 +0200:

>(I have to admit, I cannot find m-math.tex/t-math.tex anywhere.)

I "assumed" Hans meant MathML. :)
\usemodule[mathml]


The basic math capabilities within ConTeXt do seem poorly documented,
mostly because they point to different sources, often in books. However,
ConTeXt does use  Plain TeX as its model for mathematics. 

The basics in ConTeXt are roughly equivalent to those described in:
<http://meta.wikimedia.org/wiki/Help:Formula>
   (I don't know if it will specifically help you, but I note there's a
zh version of that page)


...but it takes some practice to spot the things that don't work directly
in ConTeXt. Some differences are unimplemented features, some are
differing conventions, some are because LaTeX thought they would be
useful, and ConTeXt hasn't (yet).

Some differences from the examples on that page that I notice immediately:

Math is best delimited inline with \formula{ ... }, not $ ... $
Display math is best delimited with \startformula ... \stopformula , not
$$ ... $$

\operatorname  =>  \mfunction

The double-, triple-, and quadruple-integrals (\iiiint) are undefined in
basic ConTeXt's math.

The \begin{case} environment needs to be simplified into the Plain
\cases{} command.

The AMSmath/LaTeX-like:

$$ \begin{bmatrix} p & q \\
                   r & s   \end{bmatrix} $$

   ...can be interpreted as...

\startformula
\left[ \matrix{ p & q \cr
                r & s     } \right]
\stopformula


This might not be the best answer to the original poster, but I do hope
it provides a bit of a guide to the general ConTeXt newcomer.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-14  4:03       ` redox
@ 2005-05-14  5:05         ` Tobias Burnus
  2005-05-14  7:46           ` Adam Lindsay
  2005-05-14  9:44           ` Patrick Gundlach
  0 siblings, 2 replies; 14+ messages in thread
From: Tobias Burnus @ 2005-05-14  5:05 UTC (permalink / raw)


Ni hao and hello,


redox wrote:

>>\usemodule[math]
>>  or
>>\usemodule[newmat]
>>  or
>>\usemodule[nath]
>>    
>>
For most equation, the plain TeX commands incl. \eqalign and \eqalignno
should be enough. (For the latter: \formulanumber{} and
\formulasubnumber are useful.)

For nath, one should use the LaTeX documentation; for details see:
http://contextgarden.net/Math_with_nath

Analogously for AMS math functionality, see
http://contextgarden.net/Math_with_amsl


>".... At this moment you can load the following modules:
>  units
>"
>I noted that the version of "ConTeXt an excursion" is "May 27, 1999", so I think it's also a little out-of-date.
>  
>
True, but all documentation is soon out of date. For the modules, you
quoted, see also:
http://contextgarden.net/Math

For bold math symbols:
http://contextgarden.net/Bold_Math

For m-newmat, read the source code; m-newmat is based on/inspired by
AMS's macropackage.
http://source.contextgarden.net/tex/context/base/m-newmat.tex


(I have to admit, I cannot find m-math.tex/t-math.tex anywhere.)

Regards,

Tobias

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

* Re: Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-13  7:16     ` Hans Hagen
@ 2005-05-14  4:03       ` redox
  2005-05-14  5:05         ` Tobias Burnus
  0 siblings, 1 reply; 14+ messages in thread
From: redox @ 2005-05-14  4:03 UTC (permalink / raw)


Hans Hagen wrote:

>redox wrote:
>  
>
>>Hi, Mikael,
>>
>>Thanks for your kindness, and sorry for my bad English ^_^
>>
>>I mean I want to type some math formulas with ConTeXt. Since i don't
>>know too much about ConTeXt/TeX, i want to find a manual about this
>>subject and to learn by myself.
>>
>>In the "ConTeXt an excursion"(page 15), it says,
>>
>>"We advise you to do some further reading on typesetting formula in TeX.
>>See for example:
>>The TeXBook by D.E. Kunth
>>The Beginners Book of TeX by S. Levy and R.Seroul
>>"
>>
>>I know that LaTeX(and AMS-LaTeX) has made some extensions to TeX in math
>>typesetting, so I'm wondering if ConTeXt has also made extensions to
>>TeX, or I can only type math formula in the way of basic TeX ?
>>    
>>
>
>\usemodule[math]
>
>or
>
>\usemodule[newmat]
>
>or
>
>\usemodule[nath]
>
>Hans
>  
>
In the "ConTeXt an excursion"(page 92)(mp-cb-en.pdf), it says,

".... At this moment you can load the following modules:
  chemic
  units
  pictex
"
I noted that the version of "ConTeXt an excursion" is "May 27, 1999", so I think it's also a little out-of-date. 

Now my question is, what modules can I use in ConTeXt ? And where can I find detailed descriptions of these modules ?

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

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

* Re: Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-13  3:18   ` redox
  2005-05-13  7:16     ` Hans Hagen
@ 2005-05-13  7:22     ` Maurice Diamantini
  1 sibling, 0 replies; 14+ messages in thread
From: Maurice Diamantini @ 2005-05-13  7:22 UTC (permalink / raw)
  Cc: Maurice Diamantini


Le 13 mai 05 à 05:18, redox a écrit :
>
> I mean I want to type some math formulas with ConTeXt. Since i don't
> know too much about ConTeXt/TeX, i want to find a manual about this
> subject and to learn by myself.
>
> In the "ConTeXt an excursion"(page 15), it says,
>
> "We advise you to do some further reading on typesetting formula in  
> TeX.
> See for example:
> The TeXBook by D.E. Kunth
> The Beginners Book of TeX by S. Levy and R.Seroul
> "
>
> I know that LaTeX(and AMS-LaTeX) has made some extensions to TeX in  
> math
> typesetting, so I'm wondering if ConTeXt has also made extensions to
> TeX, or I can only type math formula in the way of basic TeX ?

The first (only) starting point about math and context is

    http://contextgarden.net/Math

The main AMS environnements are available with amsl module
(should be in the recent context distribution, but not with the
TeXlive-2004)

    http://contextgarden.net/Math_with_amsl

Giuseppe Bilotta has also port the NATH LaTeX package
(NAtural maTHematics) :
    http://contextgarden.net/Math_with_nath


There is not yet documentation and sample about using thes module,
but the documentation of there LaTeX LaTeX version is very
usefull,

Cordialement,

Maurice Diamantini,

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

* Re: Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-13  3:18   ` redox
@ 2005-05-13  7:16     ` Hans Hagen
  2005-05-14  4:03       ` redox
  2005-05-13  7:22     ` Maurice Diamantini
  1 sibling, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2005-05-13  7:16 UTC (permalink / raw)
  Cc: Mikael Persson

redox wrote:
> Hi, Mikael,
> 
> Thanks for your kindness, and sorry for my bad English ^_^
> 
> I mean I want to type some math formulas with ConTeXt. Since i don't
> know too much about ConTeXt/TeX, i want to find a manual about this
> subject and to learn by myself.
> 
> In the "ConTeXt an excursion"(page 15), it says,
> 
> "We advise you to do some further reading on typesetting formula in TeX.
> See for example:
> The TeXBook by D.E. Kunth
> The Beginners Book of TeX by S. Levy and R.Seroul
> "
> 
> I know that LaTeX(and AMS-LaTeX) has made some extensions to TeX in math
> typesetting, so I'm wondering if ConTeXt has also made extensions to
> TeX, or I can only type math formula in the way of basic TeX ?

\usemodule[math]

or

\usemodule[newmat]

or

\usemodule[nath]

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] 14+ messages in thread

* Re: Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-12 19:43 ` Mikael Persson
@ 2005-05-13  3:18   ` redox
  2005-05-13  7:16     ` Hans Hagen
  2005-05-13  7:22     ` Maurice Diamantini
  0 siblings, 2 replies; 14+ messages in thread
From: redox @ 2005-05-13  3:18 UTC (permalink / raw)


Hi, Mikael,

Thanks for your kindness, and sorry for my bad English ^_^

I mean I want to type some math formulas with ConTeXt. Since i don't
know too much about ConTeXt/TeX, i want to find a manual about this
subject and to learn by myself.

In the "ConTeXt an excursion"(page 15), it says,

"We advise you to do some further reading on typesetting formula in TeX.
See for example:
The TeXBook by D.E. Kunth
The Beginners Book of TeX by S. Levy and R.Seroul
"

I know that LaTeX(and AMS-LaTeX) has made some extensions to TeX in math
typesetting, so I'm wondering if ConTeXt has also made extensions to
TeX, or I can only type math formula in the way of basic TeX ?


xiaojf


Mikael Persson wrote:

>On 5/12/05, redox <jfxiao@sibs.ac.cn> wrote:
>  
>
>>hi all,
>>
>>I am a newbie of ConTeXt, i'm sorry if my question is foolish.
>>
>>I have two questions:
>>
>>1.
>>Is there a mathematica typesetting manual for ConTeXt ? There seems no
>>ConTeXt manual focused on mathematica. Or I just need to find a
>>mathematica manual for LaTeX ?
>>    
>>
>
>What do you mean by mathematica typesetting? I am sometimes using the
>Mathematica math fonts. I also wrote somekind of macro that try to
>immitate Mathematica notebooks, a shot is given at
>
>http://www.math.chalmers.se/~mickep/mma.png
>
>The files for the fonts (the fonts are freely available) can I share
>without problems, but the macros for the book I can not share (yet at
>least).
>
>If this did not help in any way, please ask again.
>
>/Micke P
>
>  
>
>>2.
>>I'm running TeTeX 2.0.2 on Debian Sarge, and the version of texexec is
>>3.1 which I think is out of date, so i tried to update ConTeXt.
>>
>>I downloaded www.pragma-ade.com/context/latest/cont-tmf.zip , and
>>unziped it to /usr/local/share/texmf/, then I ran "mktexlsr" and
>>"texexec --make --all".
>>
>>But when i ran "texexec --version", the version was still 3.1. It seemed
>>that the texexec wasn't updated.
>>
>>Thanks in advance!!
>>
>>_______________________________________________
>>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
>
>
>  
>

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

* Re: Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-12 11:14 redox
  2005-05-12 13:00 ` Hans Hagen
@ 2005-05-12 19:43 ` Mikael Persson
  2005-05-13  3:18   ` redox
  1 sibling, 1 reply; 14+ messages in thread
From: Mikael Persson @ 2005-05-12 19:43 UTC (permalink / raw)


On 5/12/05, redox <jfxiao@sibs.ac.cn> wrote:
> hi all,
> 
> I am a newbie of ConTeXt, i'm sorry if my question is foolish.
> 
> I have two questions:
> 
> 1.
> Is there a mathematica typesetting manual for ConTeXt ? There seems no
> ConTeXt manual focused on mathematica. Or I just need to find a
> mathematica manual for LaTeX ?

What do you mean by mathematica typesetting? I am sometimes using the
Mathematica math fonts. I also wrote somekind of macro that try to
immitate Mathematica notebooks, a shot is given at

http://www.math.chalmers.se/~mickep/mma.png

The files for the fonts (the fonts are freely available) can I share
without problems, but the macros for the book I can not share (yet at
least).

If this did not help in any way, please ask again.

/Micke P

> 2.
> I'm running TeTeX 2.0.2 on Debian Sarge, and the version of texexec is
> 3.1 which I think is out of date, so i tried to update ConTeXt.
> 
> I downloaded www.pragma-ade.com/context/latest/cont-tmf.zip , and
> unziped it to /usr/local/share/texmf/, then I ran "mktexlsr" and
> "texexec --make --all".
> 
> But when i ran "texexec --version", the version was still 3.1. It seemed
> that the texexec wasn't updated.
> 
> Thanks in advance!!
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

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

* Re: Is there a mathematica typesetting manual for ConTeXt ?
  2005-05-12 11:14 redox
@ 2005-05-12 13:00 ` Hans Hagen
  2005-05-12 19:43 ` Mikael Persson
  1 sibling, 0 replies; 14+ messages in thread
From: Hans Hagen @ 2005-05-12 13:00 UTC (permalink / raw)


redox wrote:
> hi all,
> 
> I am a newbie of ConTeXt, i'm sorry if my question is foolish.
> 
> I have two questions:
> 
> 1.
> Is there a mathematica typesetting manual for ConTeXt ? There seems no
> ConTeXt manual focused on mathematica. Or I just need to find a
> mathematica manual for LaTeX ?
> 
> 2.
> I'm running TeTeX 2.0.2 on Debian Sarge, and the version of texexec is
> 3.1 which I think is out of date, so i tried to update ConTeXt.
> 
> I downloaded www.pragma-ade.com/context/latest/cont-tmf.zip , and
> unziped it to /usr/local/share/texmf/, then I ran "mktexlsr" and
> "texexec --make --all".
> 
> But when i ran "texexec --version", the version was still 3.1. It seemed
> that the texexec wasn't updated.

try to locate texexec.pl (somewhere in the scripts path) and move that to the
bino path (remove suffix)

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] 14+ messages in thread

* Is there a mathematica typesetting manual for ConTeXt ?
@ 2005-05-12 11:14 redox
  2005-05-12 13:00 ` Hans Hagen
  2005-05-12 19:43 ` Mikael Persson
  0 siblings, 2 replies; 14+ messages in thread
From: redox @ 2005-05-12 11:14 UTC (permalink / raw)


hi all,

I am a newbie of ConTeXt, i'm sorry if my question is foolish.

I have two questions:

1.
Is there a mathematica typesetting manual for ConTeXt ? There seems no
ConTeXt manual focused on mathematica. Or I just need to find a
mathematica manual for LaTeX ?

2.
I'm running TeTeX 2.0.2 on Debian Sarge, and the version of texexec is
3.1 which I think is out of date, so i tried to update ConTeXt.

I downloaded www.pragma-ade.com/context/latest/cont-tmf.zip , and
unziped it to /usr/local/share/texmf/, then I ran "mktexlsr" and
"texexec --make --all".

But when i ran "texexec --version", the version was still 3.1. It seemed
that the texexec wasn't updated.

Thanks in advance!!

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

end of thread, other threads:[~2005-05-18  7:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-14 11:49 Re: Is there a mathematica typesetting manual for ConTeXt ? xiaojf
2005-05-14 12:31 ` Adam Lindsay
  -- strict thread matches above, loose matches on Subject: below --
2005-05-14 13:36 xiaojf
2005-05-14 16:41 ` Adam Lindsay
2005-05-18  7:22   ` Mojca Miklavec
2005-05-12 11:14 redox
2005-05-12 13:00 ` Hans Hagen
2005-05-12 19:43 ` Mikael Persson
2005-05-13  3:18   ` redox
2005-05-13  7:16     ` Hans Hagen
2005-05-14  4:03       ` redox
2005-05-14  5:05         ` Tobias Burnus
2005-05-14  7:46           ` Adam Lindsay
2005-05-14  9:44           ` Patrick Gundlach
2005-05-13  7:22     ` Maurice Diamantini

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