Re: [NTG-context] \setupmathematics oddity

2022-11-20 Thread Wolfgang Schuster via ntg-context
Alan Bowen via ntg-context schrieb am 18.11.2022 um 23:48: The following \setupmathematics[autopunctuation={all,semicolon}] %\setupmathematics[autopunctuation={all, semicolon}] %\setupmathematics[autopunctuation={all,semicolon,colon}] \starttext \startformula 0,0;2,0,35,17,40,41\textdegree

Re: [NTG-context] \setupmathematics oddity

2022-11-19 Thread Henning Hraban Ramm via ntg-context
Am 18.11.22 um 23:48 schrieb Alan Bowen via ntg-context: works as it should (no space after the “;” or the “,”). With the second and third versions of \setupmathematics there is an unwanted space after each punctuation mark. Oh, it’s a *space oddity*! :D (couldn’t resist) Hraban

[NTG-context] \setupmathematics oddity

2022-11-18 Thread Alan Bowen via ntg-context
The following \setupmathematics[autopunctuation={all,semicolon}] %\setupmathematics[autopunctuation={all, semicolon}] %\setupmathematics[autopunctuation={all,semicolon,colon}] \starttext \startformula 0,0;2,0,35,17,40,41\textdegree{} \cdot 365;15 \cdot 40 = 2,9;23,14\textdegree{}. \stopformula

Re: [NTG-context] \setupmathematics with stylealternative not working

2019-02-24 Thread Henri Menke
;> > \fi} >> > >> > \def\font_basics_get_font_parameter_yes#key=#value,% >> >{\if]#key% >> > \font_basics_get_font_parameter_yes_finish >> > \else >> > \expandafter\normaldef\csname p_#key\endcsname{#value}% %

Re: [NTG-context] \setupmathematics with stylealternative not working

2019-02-24 Thread Mikael P. Sundqvist
font_parameter_yes_finish > > \else > > \expandafter\normaldef\csname p_#key\endcsname{#value}% % no edef > > as we need to keep \mathsizesuffix > > \expandafter\font_basics_get_font_parameter_yes > > \fi} > > > > but even then, the official way to tr

Re: [NTG-context] \setupmathematics with stylealternative not working

2019-02-22 Thread Mikael P. Sundqvist
ameter_yes#key=#value,% >{\if]#key% > \font_basics_get_font_parameter_yes_finish > \else > \expandafter\normaldef\csname p_#key\endcsname{#value}% % no edef > as we need to keep \mathsizesuffix > \expandafter\font_basics_get_font_parameter_yes >

Re: [NTG-context] \setupmathematics with stylealternative not working

2019-02-22 Thread Hans Hagen
\fi} but even then, the official way to trigger such features is \setupmathematics[stylealternative=calligraphic] - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] \setupmathematics with stylealternative not working

2019-02-22 Thread Henri Menke
] [ss04=yes] \definefontfeature [math-scriptscript] [math-scriptscript] [ss04=yes] \setupbodyfont[lucidaot] \starttext \startTEXpage[offset=3bp] $\mathcal A$ \stopTEXpage \stoptext On 2/22/19 8:35 PM, Mikael P. Sundqvist wrote: > Hi, > > It seems that, with the latest beta, the \setupma

[NTG-context] \setupmathematics with stylealternative not working

2019-02-21 Thread Mikael P. Sundqvist
Hi, It seems that, with the latest beta, the \setupmathematics with stylealternative is not working. I tried \setupbodyfont[lucidaot] \setupmathematics[stylealternative={calligraphic}] \starttext \startTEXpage[offset=3bp] $\mathcal A$ \stopTEXpage \stoptext and got the attached output lcm.png

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] Latin setupmathematics

2016-06-16 Thread Alan BRASLAU
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: > > \starttext > > \setupmathematics[default=normal] > > $푒 = ∑_{푖=1}^∞ e^{i-푖}$ > > \setupmathematics[d

Re: [NTG-context] Latin setupmathematics

2016-06-16 Thread Hans Åberg
gt;> the Basic Latin and Greek groups, \setupmathematics should have options >> added like: >> lcletters=[normal|italic], ucletters=[normal|italic] > (i see no reason for different treatment for lc and uc) No, there is no reason - I just got it from math-inl.mkiv. > what i

Re: [NTG-context] Latin setupmathematics

2016-06-16 Thread Hans Hagen
6-May/003632.html 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 Basic Latin and Greek groups, \setupmathematics should have options added like: lcletters=[normal|italic], ucletters=[n

Re: [NTG-context] Latin setupmathematics

2016-06-16 Thread Hans Åberg
right alphabet to distinguish >> it from regular latin > > Doubt it, but I am checking it out: > http://unicode.org/pipermail/unicode/2016-May/003632.html There were no responses from the consortium here, so it means that if one should stick to the Unicode model, where the uprigh

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 “(…)”, and the the

Re: [NTG-context] Latin setupmathematics

2016-05-16 Thread Hans Hagen
On 5/16/2016 10:59 AM, Hans Åberg wrote: 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

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] Latin setupmathematics

2016-05-16 Thread Hans Hagen
On 5/16/2016 10:27 AM, Hans Åberg wrote: 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 i will

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 > i will probably not live long

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 Hagen
On 5/15/2016 10:06 PM, Hans Åberg wrote: 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: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 far short, though there

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Hagen
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) but eventually typesetting will become a niche and end up in the arts but i will probably not live long enough to

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 >>> extensive mapping mechanisms

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 then gets set ... so default suits

Re: [NTG-context] Latin setupmathematics

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

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Hagen
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 then gets set ... so default suits well (something latin in the name just sounds weird) i have no problem adding

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] 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] 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 variation: using the

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Hagen
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 variation: using the sans-serif math styles, combining with the suggestion in the “Nolimits” thread. It would save

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Hans Hagen
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: In order to align with Unicode, \setupmathematics might have Latin shape options, as the Greek ‘lcgreek’ and ‘ucgreek', say ‘lclatin' and ‘u

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 Wolfgang Schuster
Hans Åberg 15. Mai 2016 um 16:28 Traditionally constants are set in upright and variables in italic. So constants like “log” etc., are set in upright. It is not used rigorously because of past typographical limitations, but one might in principle do that, cf. the

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] Latin setupmathematics

2016-05-15 Thread Hans Hagen
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', both defaulting to ’italic’. Unicode added the Latin italic symbols to the Math Alphanumeric Symbols

[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

[NTG-context] \setupmathematics: autopunctuation only for certain symbols like . or ,

2011-07-24 Thread Paul Menzel
--- \starttext \setupformulas[align=right] \startformula ℕ ≔ \left\{ 0; 1; 2; 3; … \right\} \stopformula \setupmathematics[autopunctuation=no] \startformula ℕ ≔ \left\{ 0; 1; 2; 3; … \right\} \stopformula \stoptext --- 8 --- minimal example --- 8 --- I wonder if this is on purpose because the Wiki

[NTG-context] Strange behavior of '\setupmathematics' and '\iint'

2010-11-25 Thread Vladimir Lomov
Hi. I faced with strange (for me) behavior of combination of '\setupmathematics' and '\iint'. Consider the following example: example name=ex1.tex \setupbodyfont[xits] \setupmathematics[integral=displaylimits] \starttext This is a sample. \startformula \exp^{\imath\phi}=\cos\phi+\imath\sin

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-10 Thread Hans Hagen
Aditya Mahajan wrote: On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: BTW, after setting \setupmathematics[lcgreek=normal] with default TeX math font, all low case greek letters are disappeared :( Hans, any idea why ConTeXt is looking for U+03B1 in font LMMath12-Regular rather than

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-10 Thread Aditya Mahajan
On Tue, 10 Nov 2009, Hans Hagen wrote: Aditya Mahajan wrote: On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: BTW, after setting \setupmathematics[lcgreek=normal] with default TeX math font, all low case greek letters are disappeared :( Hans, any idea why ConTeXt is looking for U+03B1

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-10 Thread Aditya Mahajan
On Wed, 11 Nov 2009, Mojca Miklavec wrote: On Wed, Nov 11, 2009 at 01:12, Vyatcheslav Yatskovsky wrote: Hello friends, I look at the conversations on the list and begin feeling scared. I have a serious project with very tough deadline and heavy use of math. Our publishing department reject

[NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-09 Thread Vyatcheslav Yatskovsky
Hello, BTW, after setting \setupmathematics[lcgreek=normal] with default TeX math font, all low case greek letters are disappeared :( Vyatcheslav ___ If your question is of interest to others as well, please add

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-09 Thread Khaled Hosny
On Mon, Nov 09, 2009 at 12:18:55PM -0500, Aditya Mahajan wrote: On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: Vyatcheslav, if you want upright greek letters, you should really consider using an opentype math font (cambria, asana, irianis ADF math). Do Irianis ADF Math include MATH table?

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-09 Thread Aditya Mahajan
On Mon, 9 Nov 2009, Khaled Hosny wrote: On Mon, Nov 09, 2009 at 12:18:55PM -0500, Aditya Mahajan wrote: On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: Vyatcheslav, if you want upright greek letters, you should really consider using an opentype math font (cambria, asana, irianis ADF math).

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-09 Thread luigi scarso
On Mon, Nov 9, 2009 at 8:14 PM, Aditya Mahajan adit...@umich.edu wrote: On Mon, 9 Nov 2009, Khaled Hosny wrote: On Mon, Nov 09, 2009 at 12:18:55PM -0500, Aditya Mahajan wrote: On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: Vyatcheslav, if you want upright greek letters, you should really

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-09 Thread Aditya Mahajan
On Mon, 9 Nov 2009, luigi scarso wrote: On Mon, Nov 9, 2009 at 8:14 PM, Aditya Mahajan adit...@umich.edu wrote: The NOTICE file says that it does (but I don't even know how to check that in the font) fontforge ? ttx ? Let me rephrase. I am not motivated enough to learn how to check a MATH

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-09 Thread luigi scarso
On Mon, Nov 9, 2009 at 8:44 PM, Aditya Mahajan adit...@umich.edu wrote: On Mon, 9 Nov 2009, luigi scarso wrote: On Mon, Nov 9, 2009 at 8:14 PM, Aditya Mahajan adit...@umich.edu wrote: The NOTICE file says that it does (but I don't even know how to check that in the font) fontforge ? ttx

Re: [NTG-context] \setupmathematics[lcgreek=normal] problem with default font

2009-11-09 Thread Vyatcheslav Yatskovsky
Hello, Vyatcheslav, if you want upright greek letters, you should really consider using an opentype math font (cambria, asana, irianis ADF math). Aditya, I'm trying to use math provided with Termes (don't know what math fonts are used). But the first thing I stuck is just the opposite --