[NTG-context] MacOS system wide installation

2016-10-06 Thread Hans Åberg
For the MacOS system wide installation [1], the command 'sudo sh ./first-setup.sh' does not have arguments for modules and engine, as for the local installation. Is that correct? —I could not get the commutative diagrams tikz module to work. 1. http://wiki.contextgarden.net/Mac_Installation _

Re: [NTG-context] Quadruple integrals

2016-09-29 Thread Hans Åberg
> On 29 Sep 2016, at 20:18, Wolfgang Schuster > wrote: > >>> Hans Åberg 29. September 2016 um 15:04 >>> The example below compiles with latest ConTeXt, suggesting that the Unicode >>> quadruple symbol ⨌ has not been registered as a math symbol, as the

[NTG-context] Quadruple integrals

2016-09-29 Thread Hans Åberg
The example below compiles with latest ConTeXt, suggesting that the Unicode quadruple symbol ⨌ has not been registered as a math symbol, as the command it is set to is ignored. \setupbodyfont[xits,10pt] \setupmathematics[integral=nolimits, lcgreek=normal, default=normal] \appendtoks \catcod

Re: [NTG-context] Input methods

2016-09-29 Thread Hans Åberg
> On 26 Sep 2016, at 11:25, Wolfgang Schuster > wrote: > > Can you provide your file(s) for download? I have made a new set, at [1], as before: Abbreviations using non-alphanumerical symbols now drop the leading "\", as they seemed to caused strange conflicts. Easier to type, but will have f

Re: [NTG-context] Input methods

2016-09-26 Thread Hans Åberg
> On 26 Sep 2016, at 11:25, Wolfgang Schuster > wrote: >> Hans Åberg 26. September 2016 um 11:00 >>> FYI, I made interactive text substitutions (on MacOS) for the Unicode math >>> letters plus a number of symbols. With it in hand, it is not particularly >>&

Re: [NTG-context] Input methods

2016-09-26 Thread Hans Åberg
FYI, I made interactive text substitutions (on MacOS) for the Unicode math letters plus a number of symbols. With it in hand, it is not particularly difficult to use Unicode symbols in the input file. ___ If your qu

[NTG-context] Input methods

2016-09-16 Thread Hans Åberg
> On 15 Sep 2016, at 20:19, Wolfgang Schuster > wrote: > Another input method is shown in the following video [1] where each symbol > get its own command, e.g. \mbfitx is equal to {\bi x}. This works on MacOS 10.12 in any application that uses the standard text services. One has an XML .pli

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-15 Thread Hans Åberg
> On 15 Sep 2016, at 20:19, Wolfgang Schuster > wrote: > Another input method is shown in the following video [1] where each symbol > get its own command, e.g. \mbfitx is equal to {\bi x}. The source table > mentioned in the video can be found on the STIX page [2]. > > [1] http://zeeba.tv/re

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-15 Thread Hans Åberg
> On 15 Sep 2016, at 20:19, Wolfgang Schuster > wrote: > >>> Hans Åberg 15. September 2016 um 19:44 >>> >>> I use Xcode on MacOS (former OS X), which has very good Unicode support >>> (including RTL scripts). There is a Unicode symbols table, b

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-15 Thread Hans Åberg
> On 15 Sep 2016, at 20:19, Wolfgang Schuster > wrote: > >>> Hans Åberg 15. September 2016 um 19:44 >>> >>> I use Xcode on MacOS (former OS X), which has very good Unicode support >>> (including RTL scripts). There is a Unicode symbols table, b

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-15 Thread Hans Åberg
> On 15 Sep 2016, at 18:50, Hans Hagen wrote: > > (the scite setup that ships with context provides alphabet / symbol strips) I use Xcode on MacOS (former OS X), which has very good Unicode support (including RTL scripts). There is a Unicode symbols table, but it is slow. One can also design

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-15 Thread Hans Åberg
> On 15 Sep 2016, at 18:50, Hans Hagen wrote: > > On 9/15/2016 6:33 PM, Hans Åberg wrote: >> If one does not know the Unicode character, because the translation is >> correct, one can typeset using legacy TeX commands, and copy from the output >> PDF. It can the

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-15 Thread Hans Åberg
> On 10 Sep 2016, at 17:13, Aditya Mahajan wrote: > > On Sat, 10 Sep 2016, Hans Åberg wrote: > >>> On 10 Sep 2016, at 16:06, Hans Hagen wrote: >>> On 9/10/2016 12:57 PM, Hans Åberg wrote: >> >>>> The STIX fonts, and XITS then, support Unicod

Re: [NTG-context] Indentation after formula

2016-09-14 Thread Hans Åberg
> On 14 Sep 2016, at 15:43, Wolfgang Schuster > wrote: > >> Hans Åberg 14. September 2016 um 15:39 >> >> OK. Thanks. >> >> There is both \setupformulas and \setupfo

Re: [NTG-context] Indentation after formula

2016-09-14 Thread Hans Åberg
> On 14 Sep 2016, at 15:24, Wolfgang Schuster > wrote: > >> Hans Åberg 14. September 2016 um 15:20 >> Looks like a bug: >> >> If there is no text immediately following a formula, the following paragraph >> is not treated as such, but as the text follow

[NTG-context] Indentation after formula

2016-09-14 Thread Hans Åberg
Looks like a bug: If there is no text immediately following a formula, the following paragraph is not treated as such, but as the text following it. \setupbodyfont[xits,10pt] \setupmathematics[integral=nolimits, lcgreek=normal, default=normal] \setupindenting[yes,medium,next] \starttext For

Re: [NTG-context] Formula starting with brackets

2016-09-13 Thread Hans Åberg
> On 13 Sep 2016, at 11:23, Mikael P. Sundqvist wrote: > > On Tue, Sep 13, 2016 at 11:17 AM, Hans Åberg wrote: >> In the example below, using latest ConTeXt, the bracket "[f]” does not show >> when using \startformula. > I think it gets interpreted as an (option

[NTG-context] Formula starting with brackets

2016-09-13 Thread Hans Åberg
In the example below, using latest ConTeXt, the bracket "[f]” does not show when using \startformula. \setupbodyfont[xits,10pt] \setupmathematics[lcgreek=normal, default=normal] \starttext \startformula [f] = B \stopformula $$ [f] = B $$ \stoptext ___

Re: [NTG-context] Math letters in commands

2016-09-13 Thread Hans Åberg
> On 13 Sep 2016, at 07:57, Hans Hagen wrote: > sure, but when you do > > \appendtoks > \catcode`\‘=\active > \def‘#1’{\csname #1\endcsname} > \to … FYI, this does not work for me; I must use LuaTeX \letcharcode: \def\usemathcommand#1’{\csname #1\endcsname} \appendtoks \catcode`‘=\active

Re: [NTG-context] Math letters in commands

2016-09-13 Thread Hans Åberg
> On 13 Sep 2016, at 07:57, Hans Hagen wrote: > > On 9/12/2016 10:02 PM, Hans Åberg wrote: >> It does not happen with TeX using >> \catcode`\‘=\active >> \def‘#1’{\csname #1\endcsname} > > sure, but when you do > > \appendtoks > \catcode`\‘=\acti

Re: [NTG-context] Math letters in commands

2016-09-12 Thread Hans Åberg
> On 12 Sep 2016, at 21:45, Hans Hagen wrote: > fwiw, the current beta makes math characters also letters now I saw it. Fine! ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Math letters in commands

2016-09-12 Thread Hans Åberg
> On 12 Sep 2016, at 21:45, Hans Hagen wrote: > > On 9/12/2016 8:25 PM, Hans Åberg wrote: >> But then there seems to be a bug in the LuaTex \letcharcode command: There >> must be a character between “$” and the first occurring \activecatcode >> letter. Possibl

Re: [NTG-context] Math letters in commands

2016-09-12 Thread Hans Åberg
Found a workaround: The idea is to use \csname …\endcsname with two delimiters not likely to be used in math mode, below chosen to ‘…’. But then there seems to be a bug in the LuaTex \letcharcode command: There must be a character between “$” and the first occurring \activecatcode letter. Possi

[NTG-context] Math letters in commands

2016-09-11 Thread Hans Åberg
Just found that the code below does not work as intended, because \𝐝𝐢𝐦 will be parsed as \𝐝 followed by 𝐢𝐦. Can’t tell if it ought to be changed, though one could think other cases where it might be natural. The command definition of \𝐝 works though. \setupbodyfont[xits,10pt] \setupmathematic

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-10 Thread Hans Åberg
> On 10 Sep 2016, at 18:19, Wolfgang Schuster > wrote: > >> Hans Åberg 10. September 2016 um 17:31 >> >> Does it cover those listed here: >> https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols > \setupbodyfont[xits,30pt] OK. Fine. Adding a

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-10 Thread Hans Åberg
> On 10 Sep 2016, at 17:13, Aditya Mahajan wrote: > > On Sat, 10 Sep 2016, Hans Åberg wrote: > >>> On 10 Sep 2016, at 16:06, Hans Hagen wrote: >>> On 9/10/2016 12:57 PM, Hans Åberg wrote: >> >>>> The STIX fonts, and XITS then, support Unicod

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-10 Thread Hans Åberg
> On 10 Sep 2016, at 16:06, Hans Hagen wrote: > > On 9/10/2016 12:57 PM, Hans Åberg wrote: >> The STIX fonts, and XITS then, support Unicode math semantic styles. So >> perhaps the TeX commands should expand to these: > > what tex commands ... we're talking

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-10 Thread Hans Åberg
> On 10 Sep 2016, at 10:09, Wolfgang Schuster > wrote: > Most math fonts come only with a regular style which provides upright, > italic, bold and bolditalic symbols but all of them part of the same font, > only a few fonts provide also a bold style (which is usefull in sections) > which com

Re: [NTG-context] Latin setupmathematics

2016-06-17 Thread Hans Åberg
> On 17 Jun 2016, at 06:20, Alan BRASLAU wrote: > > On Fri, 17 Jun 2016 01:02:48 +0200 > Hans Åberg wrote: > >> The idea is avoiding clashes between variables and constants, like >> this: >> >> \starttext >> >> \setupmathemat

Re: [NTG-context] Latin setupmathematics

2016-06-16 Thread Hans Åberg
> On 16 Jun 2016, at 23:48, Hans Hagen wrote: > > On 6/16/2016 9:15 PM, Hans Åberg wrote: >> There were no responses from the consortium here, so it means that if one >> should stick to the Unicode model, where the upright styles are unified with >> the B

Re: [NTG-context] Latin setupmathematics

2016-06-16 Thread Hans Åberg
> On 15 May 2016, at 22:06, Hans Åberg wrote: > >> On 15 May 2016, at 20:42, Hans Hagen wrote: >> >> On 5/15/2016 8:31 PM, Hans Åberg wrote: >>>> also, the lack of an upright alphabet in unicode will always make some 'x' >>>> in t

Re: [NTG-context] beta

2016-06-08 Thread Hans Åberg
> On 8 Jun 2016, at 22:33, Hans Hagen wrote: >>> I uploaded a new beta. >> >> The OS X installation page does not say how to update when installing system >> wide into /Applications/. >> >> http://wiki.contextgarden.net/Mac_Installation > > just run first_setup again OK. _

Re: [NTG-context] beta

2016-06-08 Thread Hans Åberg
> On 8 Jun 2016, at 16:41, Hans Hagen wrote: > I uploaded a new beta. The OS X installation page does not say how to update when installing system wide into /Applications/. http://wiki.contextgarden.net/Mac_Installation __

Re: [NTG-context] Sans serif for all math in a document.-

2016-06-06 Thread Hans Åberg
> On 7 Jun 2016, at 00:05, Hans Hagen wrote: > > On 6/6/2016 11:10 PM, Hans Åberg wrote: >> You are welcome. Unicode has added math styles, which some fonts have, like >> STIX. Those not in the chart below have other positions, as they were added >> earlier. &g

Re: [NTG-context] Sans serif for all math in a document.-

2016-06-06 Thread Hans Åberg
> On 6 Jun 2016, at 22:48, Freddy Omar López Quintero > wrote: > > Thanks for your tips!! You are welcome. Unicode has added math styles, which some fonts have, like STIX. Those not in the chart below have other positions, as they were added earlier. http://www.unicode.org/charts/ http://ww

Re: [NTG-context] Sans serif for all math in a document.-

2016-06-06 Thread Hans Åberg
> On 6 Jun 2016, at 20:20, Freddy Omar López Quintero > wrote: > I'm trying to make a document that need fill the requirement to have all > fonts sans serifed; but, with the following minimal code, just work for the > normal text and doesn't for the math portion. The STIX fonts have them, ex

Re: [NTG-context] Colon as non-operator

2016-05-31 Thread Hans Åberg
> On 31 May 2016, at 17:04, Hans Hagen wrote: > > On 5/31/2016 4:18 PM, Hans Åberg wrote: >> It is possible to get the symbol : COLON U+003A to expand to \colon, instead >> of the ratio operator, as it is now? > it's a commented option What does that mean? >

[NTG-context] Colon as non-operator

2016-05-31 Thread Hans Åberg
It is possible to get the symbol : COLON U+003A to expand to \colon, instead of the ratio operator, as it is now? The latter is rather rare in pure math, and in addition, it seems to have been reversed in the implementation with ∶ RATIO U+2236, cf. example below. \setupbodyfont[xits,10pt] \sta

Re: [NTG-context] Avoiding \startformulas starting new paragraph

2016-05-30 Thread Hans Åberg
> On 30 May 2016, at 21:59, Hans Hagen wrote: > > On 5/30/2016 6:55 PM, Hans Åberg wrote: >> In the example below, \startformulas starts a new paragraph with indenting, >> whereas \startformula does not. Is there any way to avoid that? > will be fixed in a next beta

[NTG-context] Avoiding \startformulas starting new paragraph

2016-05-30 Thread Hans Åberg
In the example below, \startformulas starts a new paragraph with indenting, whereas \startformula does not. Is there any way to avoid that? \setupbodyfont[xits,10pt] \setupindenting[yes, medium, next] \starttext Some text. Some more text \startformulas \startformula 2 + 2 = 4 \stopfo

Re: [NTG-context] Tabulate \NN not working

2016-05-29 Thread Hans Åberg
> On 29 May 2016, at 20:58, Wolfgang Schuster > wrote: > >> Hans Åberg 29. Mai 2016 um 20:49 >> The pages [1], "Using math mode” suggests >> \NN >> is equivalent to >> \NC $$ >> >> 1. >> http://wiki.contextgarden.net/

Re: [NTG-context] Tabulate \NN not working

2016-05-29 Thread Hans Åberg
> On 29 May 2016, at 20:42, L.S.-Soc&Gam wrote: > > You also shouldn't paste blackboard characters as you did in your example. > > Instead you should use \blackboard command -> I want to use Unicode characters, making the source code more readable. __

Re: [NTG-context] Tabulate \NN not working

2016-05-29 Thread Hans Åberg
> On 29 May 2016, at 18:57, Wolfgang Schuster > wrote: > >> Hans Åberg 29. Mai 2016 um 18:38 >> For some reason, the use of \NN as in the first table below is not working. >> It works fine using math columns, though, as in the second table below. > What do you

[NTG-context] Tabulate \NN not working

2016-05-29 Thread Hans Åberg
For some reason, the use of \NN as in the first table below is not working. It works fine using math columns, though, as in the second table below. \setupbodyfont[xits,10pt] \starttabulate[|c|c|] \NN x \NN ¬x \NR \HL \NN 𝕗 \NN 𝕥 \NR \NC 𝕥 \NN 𝕗 \NR \stoptabulate \starttabulate[|mc|mc|]

Re: [NTG-context] Typing environment on non-ASCII

2016-05-22 Thread Hans Åberg
> On 22 May 2016, at 15:15, Hans Hagen wrote: > > On 5/21/2016 8:39 PM, Hans Åberg wrote: >> The code below works. One can alternatively put it on the \starttyping >> command, admitting mixing with traditional monospace code at other places. >> The idea here is to

Re: [NTG-context] Typing environment on non-ASCII

2016-05-21 Thread Hans Åberg
> On 21 May 2016, at 20:03, Wolfgang Schuster > wrote: >> OK. There are two different issues involved: if one wants to use a monospace >> font, and if one wants it verbatim, without TeX translation. For me, the >> latter would suffice. The typing environment, it seems, combines the two, >> a

Re: [NTG-context] Typing environment on non-ASCII

2016-05-21 Thread Hans Åberg
> On 21 May 2016, at 18:31, Wolfgang Schuster > wrote: > You need a font which has the necessary symbols or you take the missing one > from another font but in this case you should look for one which has a > similar style as the main font (which is not the case in my example). > > \definefal

[NTG-context] Typing environment on non-ASCII

2016-05-21 Thread Hans Åberg
The typing environment does not seem to work on non-ASCII characters: below, ∀, ≔ and ∈ drop out. Perhaps not available in monospace, substituting nothing. \setupbodyfont[xits,10pt] \starttyping ∀(i, k) ∈ I×K: C(i, k) ≔ ∑_(j∈J) A(i, j)·B(j, k) \stoptyping __

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-20 Thread Hans Åberg
> On 15 May 2016, at 19:32, Hans Åberg wrote: > >> On 15 May 2016, at 19:14, Hans Hagen wrote: >> >> On 5/15/2016 2:33 PM, Hans Åberg wrote: >>> Maybe a way to distinguish between unary prefix operator “-“, and binary >>> infix operator “-“: {} is i

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-20 Thread Hans Åberg
> On 15 May 2016, at 20:00, Hans Hagen wrote: > > On 5/15/2016 7:44 PM, Hans Åberg wrote: >> Invisibles of different semantic meaning are pretty tricky to use in the >> input, because it is hard to detect errors. > > a proper monospace editor font would show it In

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-20 Thread Hans Åberg
> On 13 May 2016, at 12:22, Hans Hagen wrote: > in principle one can make ∫ and \int but that has other side effects > \appendtoks >\catcode`∫=\activecatcode > \to \everymathematics One should add \def\∫{∫} before the code above. This way one can use both. For example: \setupbodyfont[xi

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Hans Åberg
> On 19 May 2016, at 18:49, Meer, Hans van der wrote: > > Checked again also on a MacBook, definitely not searchable here. > I am running El Capitan, and the command reference version is the one from > May 17, 2016, found in one of the latest contextbeta distributions. You probably need to det

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Hans Åberg
> On 19 May 2016, at 18:49, Meer, Hans van der wrote: > > Checked again also on a MacBook, definitely not searchable here. > I am running El Capitan, and the command reference version is the one from > May 17, 2016, found in one of the latest contextbeta distributions. You probably need to det

Re: [NTG-context] command reference not searchable

2016-05-19 Thread Hans Åberg
> On 19 May 2016, at 17:00, Meer, Hans van der wrote: > > The command reference in file i-context.pdf is highly useful, but that > document is not searchable, neither with Preview nor Adobe Reader. Searches work for me in Preview.

Re: [NTG-context] Latin setupmathematics

2016-05-16 Thread Hans Åberg
> On 16 May 2016, at 11:10, Hans Hagen wrote: > > On 5/16/2016 10:59 AM, Hans Åberg wrote: >> The TeX syntax is too loose to do input that is close to the input. For >> example, in math, if properly parsed, the "{…}” can often be replaced by the >> normal “(…)

Re: [NTG-context] Latin setupmathematics

2016-05-16 Thread Hans Åberg
> On 16 May 2016, at 10:48, Hans Hagen wrote: >>> interesting tex was flexible enough to survive many decades >> >> Other survivors are C, C++, Scheme. With TeX, change may start as with Lua, >> only some better syntax for text input. > > that always depend on the content; for complex docs te

Re: [NTG-context] Latin setupmathematics

2016-05-16 Thread Hans Åberg
> On 16 May 2016, at 01:00, Hans Hagen wrote: > > On 5/15/2016 11:55 PM, Hans Åberg wrote: >> >>> On 15 May 2016, at 23:18, Hans Hagen wrote: >>> >>>>> but eventually typesetting will become a niche and end up in the arts but >>>&

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 23:18, Hans Hagen wrote: > >>> but eventually typesetting will become a niche and end up in the arts but i >>> will probably not live long enough to see that happen >> >> From the point of computer language design, TeX is not very good. One of the >> pitfalls of macro pro

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 20:42, Hans Hagen wrote: > > On 5/15/2016 8:31 PM, Hans Åberg wrote: > >>> there will always be some kind of escape >> >> Hopefully from TeX as well. :-) > > you can use ms word (which has tex like math but with a gui) That falls

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 20:06, Hans Hagen wrote: > > On 5/15/2016 7:28 PM, Hans Åberg wrote: >>> 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 >>>

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:59, Hans Hagen wrote: > > On 5/15/2016 7:42 PM, Hans Åberg wrote: > >>> (where of course we default to default=italic) >> >> Yes, but perhaps another name than “default”. > > well, it is \mathdefault that is used and the

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:14, Hans Hagen wrote: > > On 5/15/2016 2:33 PM, Hans Åberg wrote: >> >>> On 14 May 2016, at 23:26, Aditya Mahajan wrote: >> >>> Be careful with empty group in math mode: >>> >>> \startformula{} -a \stopfor

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 15:37, Hans Hagen wrote: > > On 5/14/2016 7:11 PM, Hans Åberg wrote: >> In order to align with Unicode, \setupmathematics might have Latin shape >> options, as the Greek ‘lcgreek’ and ‘ucgreek', say ‘lclatin' and ‘uclatin', >>

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:35, Wolfgang Schuster > wrote: > >> Hans Åberg 15. Mai 2016 um 19:32 >> >> What is \zwnj? > zero width non-joiner OK. Invisibles of different semantic meaning are pretty tricky to use in the input, becau

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:08, Hans Hagen wrote: > > On 5/15/2016 4:28 PM, Hans Åberg wrote: >> >>> On 15 May 2016, at 15:37, Hans Hagen wrote: >>> >>> On 5/14/2016 7:11 PM, Hans Åberg wrote: >>>> In order to align with Unicode, \setupma

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:14, Hans Hagen wrote: > > On 5/15/2016 2:33 PM, Hans Åberg wrote: >> >>> On 14 May 2016, at 23:26, Aditya Mahajan wrote: >> >>> Be careful with empty group in math mode: >>> >>> \startformula{} -a \stopfor

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:12, Hans Hagen wrote: > > On 5/15/2016 6:36 PM, Hans Åberg wrote: >> >>> On 15 May 2016, at 16:44, Wolfgang Schuster >>> wrote: >>> >>> \appendtoks \rm \to \everymathematics >> >> Here is another vari

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 16:44, Wolfgang Schuster > 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,

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 16:44, Wolfgang Schuster > wrote: > > \appendtoks \rm \to \everymathematics This does the trick. Here more carefully composed example, showing how tricky it is to use currently: \setupbodyfont[xits,10pt] \startformula \startalign I &= ∫_S d(x)\, dx \NR I &= ∫_

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 15:37, Hans Hagen wrote: > > On 5/14/2016 7:11 PM, Hans Åberg wrote: >> In order to align with Unicode, \setupmathematics might have Latin shape >> options, as the Greek ‘lcgreek’ and ‘ucgreek', say ‘lclatin' and ‘uclatin', >>

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Åberg
> On 14 May 2016, at 23:26, Aditya Mahajan wrote: > Be careful with empty group in math mode: > > \startformula{} -a \stopformula > \startformula\relax -a \stopformula Maybe a way to distinguish between unary prefix operator “-“, and binary infix operator “-“: {} is interpreted as an empt

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-15 Thread Hans Åberg
> On 14 May 2016, at 23:26, Aditya Mahajan wrote: >>> Use >>> \startformula\relax >>> ... >>> \stopformula >> >> Just about anything seems to work: >> I put in an empty group >> \startformula{} >> ... >> \stopformula > > Be careful with empty group in math mode: > > \startformula{} -a \st

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Hans Åberg
> On 14 May 2016, at 18:41, Aditya Mahajan wrote: > > On Sat, 14 May 2016, Hans Åberg wrote: > >> >>> On 14 May 2016, at 01:25, Hans Hagen wrote: >> >>> installing and running the garden distribution is quite simple (as is >>> updating) ..

[NTG-context] Latin setupmathematics

2016-05-14 Thread Hans Åberg
In order to align with Unicode, \setupmathematics might have Latin shape options, as the Greek ‘lcgreek’ and ‘ucgreek', say ‘lclatin' and ‘uclatin', both defaulting to ’italic’. Unicode added the Latin italic symbols to the Math Alphanumeric Symbols range, so the upright letters are inaccessible

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Hans Åberg
> On 14 May 2016, at 01:25, Hans Hagen wrote: > installing and running the garden distribution is quite simple (as is > updating) .. there are less files too (so no big burden to have it alongside > tex live) With this installation, I get a strange bug: In the example below, the first integr

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Hans Åberg
> On 13 May 2016, at 12:22, Hans Hagen wrote: > > in principle one can make ∫ and \int but that has other side effects What side effect do you have in mind here? ___ If your question is of interest to others as we

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-14 Thread Hans Åberg
> On 14 May 2016, at 01:25, Hans Hagen wrote: > installing and running the garden distribution is quite simple (as is > updating) .. there are less files too (so no big burden to have it alongside > tex live) I installed it on OS X 10.11.5 Beta in /Applications/ConTeXt. Then it turns out tha

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 22:53, Hans Hagen wrote: >> Tex Live 2016 is about to be released in few weeks time [1], so hopefully, >> it has a later version. Final updates May 16. >> >> 1. https://www.tug.org/texlive/ > > you can install the version from the context garden alongside (independent) >

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 21:46, Hans Hagen wrote: > >> This example generates an error (ConTeXt 0.61 with TeX Live 2015): > for older engines > > \installanddefineactivecharacter `∫ {\int} > > \appendtoks > \catcode`∫=\activecatcode > \to \everymathematics That does not work either. I can hack

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 17:51, Aditya Mahajan wrote: > > On Fri, 13 May 2016, Hans Åberg wrote: > >> There may not be so many symbols: the “large operators" in the Tex Book, p. >> 435, though Unicode have more, and some others like √ U+221A for \sqrt. > >

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 14:08, Hans Hagen wrote: > > On 5/13/2016 1:55 PM, Hans Åberg wrote: >> >>> On 13 May 2016, at 13:35, Hans Hagen wrote: >>> >>> On 5/13/2016 1:07 PM, Hans Åberg wrote: >>>> >>>>> On 13 May 2016, at

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 13:35, Hans Hagen wrote: > > On 5/13/2016 1:07 PM, Hans Åberg wrote: >> >>> On 13 May 2016, at 12:22, Hans Hagen wrote: >>> >>> in principle one can make ∫ and \int but that has other side effects >> >> What side ef

Re: [NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 12:22, Hans Hagen wrote: > > in principle one can make ∫ and \int but that has other side effects What side effect do you have in mind here? ___ If your question is of interest to others as we

[NTG-context] Nolimits not working with Unicode characters

2016-05-13 Thread Hans Åberg
In the example below, the nolimits directive [1] is not working in display style on a Unicode integral sign ∫ U+222B, though it works with \int, and in inline style. Example below compiled with ‘context’ of TeX Live 2015. - I have found no differences between using STIX and XITS fonts. 1. http:

Re: [NTG-context] [OT] Full-width justification (xkcd)

2016-05-09 Thread Hans Åberg
> On 9 May 2016, at 12:15, Arthur Reutenauer > wrote: > >> PS: I guess that ConTeXt still lacks support for fillers and >> >> \startalign[snakes] >> ... >> \stopalign > > The snakes idea is actually pretty close to the practice of Kashida in > Arabic typography (https://en.wikipedia.org/wiki

<    1   2