ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: "Hans Åberg" <haberg-1@telia.com>,
	"mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Latin setupmathematics
Date: Sun, 15 May 2016 20:06:47 +0200	[thread overview]
Message-ID: <41c334bb-4410-e8b1-0662-d40bfc66f2a2@wxs.nl> (raw)
In-Reply-To: <CC626A63-70E4-4F04-A8EB-F325A30DDC48@telia.com>

On 5/15/2016 7:28 PM, Hans Åberg wrote:
>
>> On 15 May 2016, at 19:12, Hans Hagen <pragma@wxs.nl> wrote:
>>
>> On 5/15/2016 6:36 PM, Hans Åberg wrote:
>>>
>>>> On 15 May 2016, at 16:44, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>>>>
>>>> \appendtoks \rm \to \everymathematics
>>>
>>> Here is another variation: using the sans-serif math styles, combining with the suggestion in the “Nolimits” thread. It would save the effort having to change all variables into italics by hand, but otherwise, just a hack. (It seems that \diff is defined, though I haven’t found a reference for it.)
>>>
>>> \setupbodyfont[xits,10pt]
>>>
>>> \appendtoks
>>>  \catcode`𝖽=\activecatcode
>>>  \letcharcode `𝖽 \diff
>>> \to \everymathematics
>>>
>>> \startformula
>>>  \startalign
>>>    I &= ∫_S d(x)\, 𝖽 x \NR
>>>    I &= ∫_S d(x)\, \diff x \NR
>>>    I &= ∫_S d(x)\, {\mathupright d} x \NR
>>>  \stopalign
>>> \stopformula
>>
>> What do you mean with change by hand ... isn't that what context can do for you? Operate on all those axes ... (\tf is the upright one). There are extensive mapping mechanisms so best user them.
>
> The idea is to follow Unicode math styles in the input, so the serif upright styles must be in the ASCII range—there are no special math styles for those. Right now, in TeX code, one normally uses the in the ASCII range for math italic. So all variables, now in the ASCII range must be changed to Unicode math italic in order to not conflict with the upright ones put into the ASCII range, unless one does something else: Say using the math sans-serif upright for the upright. But that isn’t right either, as someone, now that both serif and sans-serif math styles are available, may want to use them to indicate semantically different math objects.

well, there is no

MATHEMATICAL UPRIGHT SMALL X

so till then we have to deal with two kinds of input and an explicit 
document default

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

  reply	other threads:[~2016-05-15 18:06 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-14 17:11 Hans Åberg
2016-05-15 13:37 ` Hans Hagen
2016-05-15 14:15   ` Hans Åberg
2016-05-15 14:28   ` Hans Åberg
2016-05-15 14:44     ` Wolfgang Schuster
2016-05-15 16:06       ` Hans Åberg
2016-05-15 16:36       ` Hans Åberg
2016-05-15 17:12         ` Hans Hagen
2016-05-15 17:28           ` Hans Åberg
2016-05-15 18:06             ` Hans Hagen [this message]
2016-05-15 18:34               ` Hans Åberg
2016-05-15 17:08     ` Hans Hagen
2016-05-15 17:42       ` Hans Åberg
2016-05-15 17:59         ` Hans Hagen
2016-05-15 18:31           ` Hans Åberg
2016-05-15 18:42             ` Hans Hagen
2016-05-15 20:06               ` Hans Åberg
2016-05-15 21:18                 ` Hans Hagen
2016-05-15 21:55                   ` Hans Åberg
     [not found]                     ` <f175caa5-45df-5df6-d5a9-5bf9340a6f0d@wxs.nl>
2016-05-16  8:27                       ` Hans Åberg
2016-05-16  8:48                         ` Hans Hagen
2016-05-16  8:59                           ` Hans Åberg
2016-05-16  9:10                             ` Hans Hagen
2016-05-16 12:07                               ` Hans Åberg
2016-06-16 19:15                 ` Hans Åberg
2016-06-16 21:48                   ` Hans Hagen
2016-06-16 23:02                     ` Hans Åberg
2016-06-17  4:20                       ` Alan BRASLAU
2016-06-17  8:15                         ` Hans Åberg

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=41c334bb-4410-e8b1-0662-d40bfc66f2a2@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=haberg-1@telia.com \
    --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).