Re: [NTG-context] \mathematics might be missing \everymathematics

2019-02-25 Thread Hans Hagen

On 2/25/2019 9:47 PM, Henri Menke wrote:

Bump


i'll catch it (no uploads today)



On 19/02/19 10:02 PM, Henri Menke wrote:

Dear Hans,

In the following example I want to locally set lcgreek=normal but it is
not picked up because the attribute is not propagated.  When I enter
\everymathematics manually it works fine.  Is this by design or is this
a bug?  MWE below.

Cheers, Henri

---

\starttext

The greek letter should be upright here

\m[lcgreek=normal]{\varphi}

\m[lcgreek=normal]{\the\everymathematics\varphi}

\stoptext



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] \mathematics might be missing \everymathematics

2019-02-25 Thread Henri Menke
Bump

On 19/02/19 10:02 PM, Henri Menke wrote:
> Dear Hans,
> 
> In the following example I want to locally set lcgreek=normal but it is
> not picked up because the attribute is not propagated.  When I enter
> \everymathematics manually it works fine.  Is this by design or is this
> a bug?  MWE below.
> 
> Cheers, Henri
> 
> ---
> 
> \starttext
> 
> The greek letter should be upright here
> 
> \m[lcgreek=normal]{\varphi}
> 
> \m[lcgreek=normal]{\the\everymathematics\varphi}
> 
> \stoptext
> 

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] \mathematics might be missing \everymathematics

2019-02-19 Thread Henri Menke
Dear Hans,

In the following example I want to locally set lcgreek=normal but it is
not picked up because the attribute is not propagated.  When I enter
\everymathematics manually it works fine.  Is this by design or is this
a bug?  MWE below.

Cheers, Henri

---

\starttext

The greek letter should be upright here

\m[lcgreek=normal]{\varphi}

\m[lcgreek=normal]{\the\everymathematics\varphi}

\stoptext
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Mathematics (\lim, \int, ...)

2013-10-08 Thread Marco Patzer
On 2013–10–08 Alan BRASLAU wrote:

> Is something gone funny with mathematics?

http://thread.gmane.org/gmane.comp.tex.context/84607/focus=84616

It was a bug which has been fixed in the current beta.

Marco


signature.asc
Description: Digital signature
___
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
___

[NTG-context] Mathematics (\lim, \int, ...)

2013-10-08 Thread Alan BRASLAU
Is something gone funny with mathematics?

\starttext
$\lim_1^2$

$\int_1^2$
\stoptext


Undefined control sequence ...
1 \starttext
2 >>  $\lim_1^2$
3 
4 $\int_1^2$
5 \stoptext
6 

 \lim_ 
  
l.2 $\lim_
1^2$
? 
! Undefined control sequence.


1 \starttext
2 $\lim_1^2$
3 
4 >>  $\int_1^2$
5 \stoptext
6 

 \int_ 
  
l.4 $\int_
1^2$
? 


\lim, \int and others are undefined.

-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.fr
___
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] (mathematics) Stretching Unicode big operator

2013-06-24 Thread Hans Hagen

On 6/22/2013 10:45 PM, Sander Maijers wrote:

If I decide to use, for instance, "Σ" instead of "\sum", this operator
is no longer stretched/scaling regardless of the sub/superscripts
specified tot it. Is it possible to keep stretching/scaling while using
Inicode characters for such operators?


This is because it's a greek sigma and I'm pretty sure that e.g. Thomas 
would be surprised to see a math symbol showing up in his greek.


You need to use another one:

$$\sum\frac{1}{\frac{1}{\frac{1}{\frac{1}{2$$

$$∑\frac{1}{\frac{1}{\frac{1}{\frac{1}{2$$

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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
___

[NTG-context] (mathematics) Stretching Unicode big operator

2013-06-22 Thread Sander Maijers
If I decide to use, for instance, "Σ" instead of "\sum", this operator 
is no longer stretched/scaling regardless of the sub/superscripts 
specified tot it. Is it possible to keep stretching/scaling while using 
Inicode characters for such operators?

___
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] \mathematics

2006-08-14 Thread Boris Tschirschwitz
Cool, it works nicely here, too.Thanks,Boris.On 8/14/06, taco hoekwater <[EMAIL PROTECTED]> wrote:
Boris Tschirschwitz wrote:> Hi.>> When writing math I like avoiding $ whenever possible by defining my
> math operators with \mathematics, e.g.> \def\grp{\mathematics{G}}.> So far I was using this like I use \EnsureMath in LaTeX, but now I'm> running into problems in MPgraphics:> Texexec compiles the following file fine until I add the paragraph
> called "Math in Math in MP". There it seems to somehow> choke on too many $ and \relax.>> Is there a better way to do such definitions?I've changed my local definition of \mathematics to:
   \unexpanded\long\def\mathematics#1% {\relax\ifmmode#1\else $#1$\fi}And that works nicely.Cheers, Taco___ntg-context mailing list
ntg-context@ntg.nlhttp://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] \mathematics

2006-08-14 Thread taco hoekwater
Boris Tschirschwitz wrote:
> Hi.
> 
> When writing math I like avoiding $ whenever possible by defining my 
> math operators with \mathematics, e.g.
> \def\grp{\mathematics{G}}.
> So far I was using this like I use \EnsureMath in LaTeX, but now I'm 
> running into problems in MPgraphics:
> Texexec compiles the following file fine until I add the paragraph 
> called "Math in Math in MP". There it seems to somehow
> choke on too many $ and \relax.
> 
> Is there a better way to do such definitions?

I've changed my local definition of \mathematics to:

   \unexpanded\long\def\mathematics#1%
 {\relax\ifmmode#1\else $#1$\fi}

And that works nicely.

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


[NTG-context] \mathematics

2006-08-14 Thread Boris Tschirschwitz
Hi.When writing math I like avoiding $ whenever possible by defining my math operators with \mathematics, e.g.\def\grp{\mathematics{G}}.So far I was using this like I use \EnsureMath in LaTeX, but now I'm running into problems in MPgraphics:
Texexec compiles the following file fine until I add the paragraph called "Math in Math in MP". There it seems to somehowchoke on too many $ and \relax.Is there a better way to do such definitions?
Thanks,Boris.PS: There's already a problem in the second to last paragraph where the G is not set in math mode any more.The example file:\def\grp{\mathematics{G}}\starttextTest.
Running text:A group \grpMath:$\grp$$\grp_{\grp}$Text in MP:\startusableMPgraphic{groupone}label(textext("\grp"),origin) ;\stopusableMPgraphic
\useMPgraphic{groupone}Math in MP:\startusableMPgraphic{grouptwo}label(textext("\mathematics{\grp}"),origin) ;\stopusableMPgraphic\useMPgraphic{grouptwo}Math in Math in MP:
\startusableMPgraphic{groupthree}label(textext("\mathematics{\grp_{\grp}}"),origin) ;\stopusableMPgraphic\useMPgraphic{groupthree}\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context