On 2/17/2016 8:31 AM, Otared Kavian wrote:
I agree totally with Alan in saying that the inline math signals $\cdots$
should NEVER be left out from ConTeXt, or even become deprecated.
that was never the intention (as one can always run in asciimode) but
what's being discussed here is more robust tagging (could be for editor
lexing or other purposes)
also, but don't tell alan, there is this:
\m[i:tight]{....}
i:default, i:tight, i:half, i:fixed
Indeed many people move mathematical texts from one file to another one, in
order to be able to typeset or print it either with ConTeXt, or other
macro-packages. Other situations include when one is collaborating with other
people using TeX, where inline math between two $ signs is now well
established. Also in many situations people may use ConTeXt for well presented
documents, presentations and so forth, while the same text may be published in
a scientific journal where one has to use their own formats, usually an ugly
flavor of LaTeX, since, unfortuantely, up to now I don’t know of any
mathematical journal where one can submit a TeX file written with ConTeXt
macro-package.
and even if dollars were just dollars one could easily make then
math-shift characters again
\catcode`\$ = 3
(or pounds on an brittish keyboard or ...)
btw, in math mode some chars are special too (primes for instance, a
headache character)
Best regards: OK
On 16 Feb 2016, at 20:18, Alan BRASLAU <alan.bras...@cea.fr> wrote:
On Tue, 16 Feb 2016 16:59:58 +0100
Marco Patzer <li...@homerow.info> wrote:
What sort of needs for structure could \m address for inline math?
Clearly, an equation to which one might want to have a reference
math should appear rather as displayed math.
While I agree on that one, writing \math{x^2} clearly states what it
is. TeX tradition aside, dollar signs make no sense here and you
have to manually match beginning and end. Braces are matched
automatically (probably depends on the editor as well).
\math{x²} states what it is. However \m{x²} is cryptic and, although
only two characters longer than $x²$, is infinitely less readable than
the dollar-delimited variant, even now to MS/Word users who have ever
used the equation editor.
When typing sentences containing lots of math, having many \math{}
commands becomes unwieldy, but, in the end, this becomes a
question of personal taste.
Alan
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | 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
___________________________________________________________________________________