From: Alan BRASLAU <alan.braslau@cea.fr>
To: Aditya Mahajan <adityam@umich.edu>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Deprecated $…$ for inline math?
Date: Wed, 17 Feb 2016 15:18:28 -0700 [thread overview]
Message-ID: <20160217151828.4bc45777@cea.fr> (raw)
In-Reply-To: <alpine.LNX.2.20.1602171322050.16336@ybpnyubfg.ybpnyqbznva>
On Wed, 17 Feb 2016 13:24:53 -0500
Aditya Mahajan <adityam@umich.edu> wrote:
> I am curious to know if there is ANYONE who types in a lot of math
> and regularly uses \m{...} or \math{...}. I still use $....$ and use
> \math{..} or \mathematics{...} only when generating output from lua
> code: context.math("....") etc. is cleaner than context("$%s$", ...)
We should DROP \m{} (in favor of \math{}) as this is really useless. I
suppose that in the beginning (and according to Aditya's blog), this
was some attempt to be as short as $...$, well only two characters
longer. Since no one in his or her right mind would regularly use
\m{...} in favor to $...$, as Aditya himself suggests above, it is
redundant. Indeed, \math{...}, context.math(¨..."), \mathematics{...}
and context.mathematics("...") have their utility. See also below.
On Wed, 17 Feb 2016 20:08:31 +0100
Hans Hagen <pragma@wxs.nl> wrote:
> you're an american citizen who likes $x^2$ but to call if
> beautiful ... €x^2€ nor £x^2£ (in 8 bit encodings / local keyboards
> times) all look bad ...
Hans, you forgot: ¥x^2¥, ₽x^2₽, ₱x^2₱, ₹x^2₹, ...
Besides, U+0024 comes from ASCII and all programmers know that it is a
perfectly valid and useful character.
> we need a proper begin/end symbol ..
Too bad Knuth did not choose ¡x^2!
> anyway, this won't happen as it's too tricky:
>
> $[i:tight] x^2$
This is a good case for \math[i:tight]{x^2}
> so for controlled situations (we happen to need it) the \m or s
> variant is quite ok (inside xml processing one only needs a few such
> calls in mappings
The \math or \mathematics variant should work in all such cases.
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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-02-17 22:18 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 8:22 Nicola
2016-02-16 8:54 ` Hans Hagen
2016-02-16 15:21 ` Alan BRASLAU
2016-02-16 15:59 ` Marco Patzer
2016-02-16 16:20 ` Hans Hagen
2016-02-16 19:12 ` Alan BRASLAU
2016-02-16 18:50 ` Aditya Mahajan
2016-02-16 19:18 ` Alan BRASLAU
2016-02-17 7:31 ` Otared Kavian
2016-02-17 9:44 ` Hans Hagen
2016-02-17 16:32 ` Alan BRASLAU
2016-02-17 18:24 ` Aditya Mahajan
2016-02-17 20:45 ` Rogers, Michael K
2016-02-17 22:18 ` Alan BRASLAU [this message]
2016-02-17 23:40 ` Pablo Rodriguez
2016-02-18 0:38 ` Alan BRASLAU
2016-02-18 9:22 ` Hans Hagen
2016-02-18 9:57 ` Marcin Borkowski
2016-02-18 20:37 ` Mojca Miklavec
2016-02-18 21:01 ` Hans Hagen
2016-02-18 9:16 ` Hans Hagen
2016-02-18 9:25 ` Meer, Hans van der
2016-02-16 16:16 ` Hans Hagen
2016-02-16 8:56 ` Marco Patzer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160217151828.4bc45777@cea.fr \
--to=alan.braslau@cea.fr \
--cc=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).