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

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

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 <pra...@wxs.nl> 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 add

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] Tabulate \NN not working

2016-05-29 Thread Hans Åberg
> On 29 May 2016, at 20:58, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Hans Åberg 29. Mai 2016 um 20:49 >> The pages [1], "Using math mode” suggests >> \NN >> is equivalent to >> \NC $$ >> >> 1. >&g

[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

[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]

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

2016-05-31 Thread Hans Åberg
> On 31 May 2016, at 17:04, Hans Hagen <pra...@wxs.nl> 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

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

2016-05-30 Thread Hans Åberg
> On 30 May 2016, at 21:59, Hans Hagen <pra...@wxs.nl> 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 b

[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

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

2016-05-29 Thread Hans Åberg
> On 29 May 2016, at 20:42, L.S.-Soc 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 <schuster.wolfg...@gmail.com> > 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

Re: [NTG-context] Latin setupmathematics

2016-06-16 Thread Hans Åberg
> On 16 Jun 2016, at 23:48, Hans Hagen <pra...@wxs.nl> 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 &

Re: [NTG-context] Latin setupmathematics

2016-06-16 Thread Hans Åberg
> On 15 May 2016, at 22:06, Hans Åberg <haber...@telia.com> wrote: > >> On 15 May 2016, at 20:42, Hans Hagen <pra...@wxs.nl> wrote: >> >> On 5/15/2016 8:31 PM, Hans Åberg wrote: >>>> also, the lack of an upright alphabet in unicode will alw

Re: [NTG-context] Latin setupmathematics

2016-06-17 Thread Hans Åberg
> On 17 Jun 2016, at 06:20, Alan BRASLAU <alan.bras...@cea.fr> wrote: > > On Fri, 17 Jun 2016 01:02:48 +0200 > Hans Åberg <haber...@telia.com> wrote: > >> The idea is avoiding clashes between variables and constants, like >> this: >> >>

Re: [NTG-context] command reference not searchable

2016-05-20 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.

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:

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

2016-05-20 Thread Hans Åberg
> On 15 May 2016, at 19:32, Hans Åberg <haber...@telia.com> wrote: > >> On 15 May 2016, at 19:14, Hans Hagen <pra...@wxs.nl> wrote: >> >> On 5/15/2016 2:33 PM, Hans Åberg wrote: >>> Maybe a way to distinguish between unary prefix

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.

[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] Typing environment on non-ASCII

2016-05-22 Thread Hans Åberg
> On 22 May 2016, at 15:15, Hans Hagen <pra...@wxs.nl> 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. >

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

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

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.

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

2016-05-20 Thread Hans Åberg
> On 15 May 2016, at 20:00, Hans Hagen <pra...@wxs.nl> 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

[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.

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

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

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 20:42, Hans Hagen <pra...@wxs.nl> 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

[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

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

2016-05-14 Thread Hans Åberg
> On 14 May 2016, at 18:41, Aditya Mahajan <adit...@umich.edu> wrote: > > On Sat, 14 May 2016, Hans Åberg wrote: > >> >>> On 14 May 2016, at 01:25, Hans Hagen <pra...@wxs.nl> wrote: >> >>> installing and running the garden distribution i

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,

Re: [NTG-context] Latin setupmathematics

2016-05-16 Thread Hans Åberg
> On 16 May 2016, at 01:00, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/15/2016 11:55 PM, Hans Åberg wrote: >> >>> On 15 May 2016, at 23:18, Hans Hagen <pra...@wxs.nl> wrote: >>> >>>>> but eventually typesetting will become a niche and

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

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

Re: [NTG-context] Latin setupmathematics

2016-05-16 Thread Hans Åberg
> On 16 May 2016, at 11:10, Hans Hagen <pra...@wxs.nl> 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 oft

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

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

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

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 13:35, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/13/2016 1:07 PM, Hans Åberg wrote: >> >>> On 13 May 2016, at 12:22, Hans Hagen <pra...@wxs.nl> wrote: >>> >>> in principle one can make ∫ and \int but that has other si

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

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

2016-05-13 Thread Hans Åberg
> On 13 May 2016, at 17:51, Aditya Mahajan <adit...@umich.edu> 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 f

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

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

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

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

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:08, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/15/2016 4:28 PM, Hans Åberg wrote: >> >>> On 15 May 2016, at 15:37, Hans Hagen <pra...@wxs.nl> wrote: >>> >>> On 5/14/2016 7:11 PM, Hans Åberg wrote: >>>>

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

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:35, Wolfgang Schuster <schuster.wolfg...@gmail.com> > 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,

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 15:37, Hans Hagen <pra...@wxs.nl> 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', &g

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

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:14, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/15/2016 2:33 PM, Hans Åberg wrote: >> >>> On 14 May 2016, at 23:26, Aditya Mahajan <adit...@umich.edu> wrote: >> >>> Be careful with empty group in math mode: >>>

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:59, Hans Hagen <pra...@wxs.nl> 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 i

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 20:06, Hans Hagen <pra...@wxs.nl> 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:12, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/15/2016 6:36 PM, Hans Åberg wrote: >> >>> On 15 May 2016, at 16:44, Wolfgang Schuster <schuster.wolfg...@gmail.com> >>> wrote: >>> >>> \appendtoks \rm \to \ev

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

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 19:14, Hans Hagen <pra...@wxs.nl> wrote: > > On 5/15/2016 2:33 PM, Hans Åberg wrote: >> >>> On 14 May 2016, at 23:26, Aditya Mahajan <adit...@umich.edu> wrote: >> >>> Be careful with empty group in math mode: >>>

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

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 &=

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Åberg
> On 15 May 2016, at 15:37, Hans Hagen <pra...@wxs.nl> 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', &g

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

[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]

Re: [NTG-context] Indentation after formula

2016-09-14 Thread Hans Åberg
> On 14 Sep 2016, at 15:24, Wolfgang Schuster <schuster.wolfg...@gmail.com> > 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 n

[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

Re: [NTG-context] Indentation after formula

2016-09-14 Thread Hans Åberg
> On 14 Sep 2016, at 15:43, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Hans Åberg 14. September 2016 um 15:39 >> >> OK. Thanks. >> >> There is both \setupformulas and \s

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

2016-09-10 Thread Hans Åberg
> On 10 Sep 2016, at 16:06, Hans Hagen <pra...@wxs.nl> 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 comm

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

2016-09-10 Thread Hans Åberg
> On 10 Sep 2016, at 18:19, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: > >> Hans Åberg 10. September 2016 um 17:31 >> >> Does it cover those listed here: >> https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols > \setupbodyfont

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

2016-09-10 Thread Hans Åberg
> On 10 Sep 2016, at 17:13, Aditya Mahajan <adit...@umich.edu> wrote: > > On Sat, 10 Sep 2016, Hans Åberg wrote: > >>> On 10 Sep 2016, at 16:06, Hans Hagen <pra...@wxs.nl> wrote: >>> On 9/10/2016 12:57 PM, Hans Åberg wrote: >> >>>>

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

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.

Re: [NTG-context] Formula starting with brackets

2016-09-13 Thread Hans Åberg
> On 13 Sep 2016, at 11:23, Mikael P. Sundqvist <mic...@gmail.com> wrote: > > On Tue, Sep 13, 2016 at 11:17 AM, Hans Åberg <haber...@telia.com> wrote: >> In the example below, using latest ConTeXt, the bracket "[f]” does not show >> when using \startf

Re: [NTG-context] Math letters in commands

2016-09-12 Thread Hans Åberg
> On 12 Sep 2016, at 21:45, Hans Hagen <pra...@wxs.nl> 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 &g

[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] Bold italic font in Math (\definefallbackfamily)

2016-09-15 Thread Hans Åberg
> On 10 Sep 2016, at 17:13, Aditya Mahajan <adit...@umich.edu> wrote: > > On Sat, 10 Sep 2016, Hans Åberg wrote: > >>> On 10 Sep 2016, at 16:06, Hans Hagen <pra...@wxs.nl> wrote: >>> On 9/10/2016 12:57 PM, Hans Åberg wrote: >> >>>>

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

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

2016-09-15 Thread Hans Åberg
> On 15 Sep 2016, at 18:50, Hans Hagen <pra...@wxs.nl> 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

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

2016-09-15 Thread Hans Åberg
> On 15 Sep 2016, at 20:19, Wolfgang Schuster <schuster.wolfg...@gmail.com> > 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

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

2016-09-15 Thread Hans Åberg
> On 15 Sep 2016, at 20:19, Wolfgang Schuster <schuster.wolfg...@gmail.com> > 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

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

[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

Re: [NTG-context] Math letters in commands

2016-09-13 Thread Hans Åberg
> On 13 Sep 2016, at 07:57, Hans Hagen <pra...@wxs.nl> 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

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

[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

Re: [NTG-context] Quadruple integrals

2016-09-29 Thread Hans Åberg
> On 29 Sep 2016, at 20:18, Wolfgang Schuster <schuster.wolfg...@gmail.com> > 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 r

Re: [NTG-context] MacOS system wide installation

2016-10-06 Thread Hans Åberg
> On 6 Oct 2016, at 15:19, Mojca Miklavec <mojca.miklavec.li...@gmail.com> > wrote: > > On 6 October 2016 at 15:13, Hans Åberg wrote: >> For the MacOS system wide installation [1], the command 'sudo sh >> ./first-setup.sh' does not have arguments for modules an

Re: [NTG-context] Communative diagrams with TikZ & ConTeXt

2016-10-06 Thread Hans Åberg
> On 6 Oct 2016, at 15:52, Mojca Miklavec > wrote: > > I don't have the file tikzlibrarycommute.code.tex on my machine > either. Anywhere. Not in the ConTeXt distribution nor in TeX Live. > That file was only posted to the mailing list by Idris and apparently >

Re: [NTG-context] Communative diagrams with TikZ & ConTeXt

2016-10-06 Thread Hans Åberg
> On 6 Oct 2016, at 15:52, Mojca Miklavec <mojca.miklavec.li...@gmail.com> > wrote: > > On 6 October 2016 at 15:31, Hans Åberg wrote: >> The example is from [2]. >> >> 2. https://mailman.ntg.nl/pipermail/ntg-context/2013/073368.html The exam

Re: [NTG-context] Communative diagrams with TikZ & ConTeXt

2016-10-06 Thread Hans Åberg
> On 6 Oct 2016, at 15:52, Mojca Miklavec <mojca.miklavec.li...@gmail.com> > wrote: > > (was: MacOS system wide installation) > > On 6 October 2016 at 15:31, Hans Åberg wrote: >>> On 6 Oct 2016, at 15:19, Mojca Miklavec wrote: >>> >>> No, i

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.

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

Re: [NTG-context] Input methods

2016-09-26 Thread Hans Åberg
> On 26 Sep 2016, at 11:25, Wolfgang Schuster <schuster.wolfg...@gmail.com> > 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. Wit

Re: [NTG-context] IPA transcription

2017-03-23 Thread Hans Åberg
> On 23 Mar 2017, at 21:04, Nicola <nvitacolo...@gmail.com> wrote: > > On 23/03/2017 18:30, Hans Åberg wrote: >> >> You might try the text substitutions service: System Preferences > >> Keyboard > Text. One chooses replacement text and what it should

Re: [NTG-context] IPA transcription

2017-03-23 Thread Hans Åberg
> On 23 Mar 2017, at 16:57, Nicola wrote: > > Is there a (easy) way to write phonetic > > transcriptions using the IPA (International > > Phonetic Alphabet) in ConTeXt? I can't find any > > reference to it in the documentation. > > I did that some time ago, but I can

Re: [NTG-context] Input methods

2017-03-22 Thread Hans Åberg
> On 26 Sep 2016, at 11:25, Wolfgang Schuster > wrote: > > Can you provide your file(s) for download? I made a C++ program "text_to_plist" that computes a text substitution plist from a sequence of input files [1]. It checks for duplicates, does some XML

[NTG-context] Character translation with Luaotfload

2017-04-15 Thread Hans Åberg
Since Luaotfload is extracted from ConTeXt, I figure people here will know this: In the code below, math mode '.' and ',' are translated into ':'and ';', which seems to occur because that is what ASCII/Unicode has in those positions, unlike CMMI. So how to correct this? The issue is really

Re: [NTG-context] Choosing STIX stylistic sets

2017-04-15 Thread Hans Åberg
> On 15 Apr 2017, at 00:22, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/14/2017 12:42 PM, Hans Åberg wrote: >> With the STIX Two fonts [1-2], one can choose say Stylistic Set 8 for >> more upright integrals. How is that done in ConTeXt with XITS? >> >&

Re: [NTG-context] Finding OSX fonts

2017-04-14 Thread Hans Åberg
> On 14 Apr 2017, at 11:38, Meer, Hans van der wrote: > > I tried in vain to list the MacOSX fonts in mtxrun. > > In my .bashrc set: On MacOS, Terminal reads .profile. XQuartz xterm, though, reads .bashrc. In my .bashrc file, I have source ~/.profile

[NTG-context] Choosing STIX stylistic sets

2017-04-14 Thread Hans Åberg
With the STIX Two fonts [1-2], one can choose say Stylistic Set 8 for more upright integrals. How is that done in ConTeXt with XITS? 1. https://sourceforge.net/projects/stixfonts/ 2. https://en.wikipedia.org/wiki/STIX_Fonts_project#STIX_2.0.0

Re: [NTG-context] Choosing STIX stylistic sets

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 16:37, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/16/2017 3:56 PM, Hans Åberg wrote: >> >>> On 15 Apr 2017, at 00:22, Hans Hagen <pra...@wxs.nl> wrote: >>> >>> On 4/14/2017 12:42 PM, Hans Åberg wrote: >>>>

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 19:41, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/16/2017 7:06 PM, Hans Åberg wrote: >> >>> On 16 Apr 2017, at 15:49, Hans Hagen <pra...@wxs.nl> wrote: >>> >>> Just look into the luatex-math.tex file to see how to

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 15:49, Hans Hagen wrote: > > Just look into the luatex-math.tex file to see how to properly define a math > family set, you can create a \stix macro analogue to the \lucidabright and > \latinmodern ones. This works in the test example, but not the texinfo

Re: [NTG-context] Choosing STIX stylistic sets

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 19:15, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/16/2017 6:01 PM, Hans Åberg wrote: >> >> So far I have only used \setupbodyfont[xits,10pt], but found no info about >> how to specifically selecting fonts for the different modes or r

Re: [NTG-context] Choosing STIX stylistic sets

2017-04-16 Thread Hans Åberg
> On 15 Apr 2017, at 00:22, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/14/2017 12:42 PM, Hans Åberg wrote: >> With the STIX Two fonts [1-2], one can choose say Stylistic Set 8 for >> more upright integrals. How is that done in ConTeXt with XITS? >> >&

Re: [NTG-context] Character translation with Luaotfload

2017-04-16 Thread Hans Åberg
> On 16 Apr 2017, at 12:51, Hans Hagen <pra...@wxs.nl> wrote: > > On 4/15/2017 10:42 AM, Hans Åberg wrote: >> Since Luaotfload is extracted from ConTeXt, I figure people here will know >> this: >> >> In the code below, math mode '.' and ',' are tran

  1   2   >