ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Extensible arrows in ConTeXT
@ 2017-07-14  9:33 Mathias Schickel
  2017-07-14 15:15 ` Mathias Schickel
  2017-07-14 19:25 ` Alan Braslau
  0 siblings, 2 replies; 14+ messages in thread
From: Mathias Schickel @ 2017-07-14  9:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 356 bytes --]

Dear list,

I want to typeset an extensible arrow as described in this document: http://dl.contextgarden.net/myway/matharrows.pdf <http://dl.contextgarden.net/myway/matharrows.pdf> 
Sadly I get errors if I use \xrightarrow (even this simple command does not work).

Do extensible arrows still exists in ConTeXT and how can I use them?

Best
Mathias

[-- Attachment #1.2: Type: text/html, Size: 783 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-14  9:33 Extensible arrows in ConTeXT Mathias Schickel
@ 2017-07-14 15:15 ` Mathias Schickel
  2017-07-14 19:25 ` Alan Braslau
  1 sibling, 0 replies; 14+ messages in thread
From: Mathias Schickel @ 2017-07-14 15:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1211 bytes --]


> Am 14.07.2017 um 11:33 schrieb Mathias Schickel <msch@fa.uni-tuebingen.de>:
> 
> Dear list,
> 
> I want to typeset an extensible arrow as described in this document: http://dl.contextgarden.net/myway/matharrows.pdf <http://dl.contextgarden.net/myway/matharrows.pdf> 
> Sadly I get errors if I use \xrightarrow (even this simple command does not work).
> 
> Do extensible arrows still exists in ConTeXT and how can I use them?
> 

Does no-one know if ConTeXt has extensible arrows? It would be great if at least someone could tell where I can get information about topics like that. Does a written compendium of all mathematical symbols in ConTeXt exist?


> Best
> Mathias
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 2694 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-14  9:33 Extensible arrows in ConTeXT Mathias Schickel
  2017-07-14 15:15 ` Mathias Schickel
@ 2017-07-14 19:25 ` Alan Braslau
  2017-07-21 10:31   ` Mathias Schickel
  1 sibling, 1 reply; 14+ messages in thread
From: Alan Braslau @ 2017-07-14 19:25 UTC (permalink / raw)
  To: Mathias Schickel; +Cc: mailing list for ConTeXt users

On Fri, 14 Jul 2017 11:33:14 +0200
Mathias Schickel <msch@fa.uni-tuebingen.de> wrote:

> Dear list,
> 
> I want to typeset an extensible arrow as described in this document:
> http://dl.contextgarden.net/myway/matharrows.pdf
> <http://dl.contextgarden.net/myway/matharrows.pdf> Sadly I get errors
> if I use \xrightarrow (even this simple command does not work).
> 
> Do extensible arrows still exists in ConTeXT and how can I use them?
> 
> Best
> Mathias

$\xrightarrow{}{}$
$\xrightoverleftarrow{}{33°C}$
etc.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-14 19:25 ` Alan Braslau
@ 2017-07-21 10:31   ` Mathias Schickel
  2017-07-22 20:34     ` Alan Braslau
  0 siblings, 1 reply; 14+ messages in thread
From: Mathias Schickel @ 2017-07-21 10:31 UTC (permalink / raw)
  To: Alan Braslau, mailing list for ConTeXt users

> $\xrightarrow{}{}$

This throws errors. Any idea why?

> $\xrightoverleftarrow{}{33°C}$

This does work. Sadly it is not the arrow I want to have.

Mathias




> Am 14.07.2017 um 21:25 schrieb Alan Braslau <braslau.list@comcast.net>:
> 
> On Fri, 14 Jul 2017 11:33:14 +0200
> Mathias Schickel <msch@fa.uni-tuebingen.de> wrote:
> 
>> Dear list,
>> 
>> I want to typeset an extensible arrow as described in this document:
>> http://dl.contextgarden.net/myway/matharrows.pdf
>> <http://dl.contextgarden.net/myway/matharrows.pdf> Sadly I get errors
>> if I use \xrightarrow (even this simple command does not work).
>> 
>> Do extensible arrows still exists in ConTeXT and how can I use them?
>> 
>> Best
>> Mathias
> 
> $\xrightarrow{}{}$
> $\xrightoverleftarrow{}{33°C}$
> etc.
> 
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-21 10:31   ` Mathias Schickel
@ 2017-07-22 20:34     ` Alan Braslau
  2017-07-25 22:01       ` Mathias Schickel
  0 siblings, 1 reply; 14+ messages in thread
From: Alan Braslau @ 2017-07-22 20:34 UTC (permalink / raw)
  To: Mathias Schickel; +Cc: mailing list for ConTeXt users

On Fri, 21 Jul 2017 12:31:33 +0200
Mathias Schickel <msch@fa.uni-tuebingen.de> wrote:

> > $\xrightarrow{}{}$
> 
> This throws errors. Any idea why?
> 
> > $\xrightoverleftarrow{}{33°C}$
> 
> This does work. Sadly it is not the arrow I want to have.

MWE:

\starttext
$A \xrightarrow{}{} B$
\stoptext

No problem here.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-22 20:34     ` Alan Braslau
@ 2017-07-25 22:01       ` Mathias Schickel
  2017-07-25 22:47         ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Mathias Schickel @ 2017-07-25 22:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 973 bytes --]


> Am 22.07.2017 um 22:34 schrieb Alan Braslau <braslau.list@comcast.net>:
> 
> On Fri, 21 Jul 2017 12:31:33 +0200
> Mathias Schickel <msch@fa.uni-tuebingen.de> wrote:
> 
>>> $\xrightarrow{}{}$
>> 
>> This throws errors. Any idea why?
>> 
>>> $\xrightoverleftarrow{}{33°C}$
>> 
>> This does work. Sadly it is not the arrow I want to have.
> 
> MWE:
> 
> \starttext
> $A \xrightarrow{}{} B$
> \stoptext
> 
> No problem here.

It seems to be a problem with the font I use.  Hans, do you have any idea why that does not work if I am using Minion Math? I am getting the following error:

attempt to get length of local 'charlist' (a nil value)
stack traceback:
	...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:514: in function 'horizontalcode'
	...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:541: in function <...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:540>
	(...tail calls...)

Mathias

> 
> Alan


[-- Attachment #1.2: Type: text/html, Size: 2651 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-25 22:01       ` Mathias Schickel
@ 2017-07-25 22:47         ` Hans Hagen
  2017-07-26  5:20           ` Mathias Schickel
  0 siblings, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2017-07-25 22:47 UTC (permalink / raw)
  To: ntg-context

On 7/26/2017 12:01 AM, Mathias Schickel wrote:
> 
>> Am 22.07.2017 um 22:34 schrieb Alan Braslau <braslau.list@comcast.net 
>> <mailto:braslau.list@comcast.net>>:
>>
>> On Fri, 21 Jul 2017 12:31:33 +0200
>> Mathias Schickel <msch@fa.uni-tuebingen.de 
>> <mailto:msch@fa.uni-tuebingen.de>> wrote:
>>
>>>> $\xrightarrow{}{}$
>>>
>>> This throws errors. Any idea why?
>>>
>>>> $\xrightoverleftarrow{}{33°C}$
>>>
>>> This does work. Sadly it is not the arrow I want to have.
>>
>> MWE:
>>
>> \starttext
>> $A \xrightarrow{}{} B$
>> \stoptext
>>
>> No problem here.
> 
> It seems to be a problem with the font I use.  Hans, do you have any 
> idea why that does not work if I am using Minion Math? I am getting the 
> following error:
> 
> attempt to get length of local 'charlist' (a nil value)
> stack traceback:
> ...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:514: in 
> function 'horizontalcode'
> ...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:541: in 
> function <...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:540>
> (...tail calls...)
you can patch this in that file and remake the format

     elseif kind == e_right then
         local charlist = data[3].horiz_variants
         if charlist then
             local right = charlist[#charlist]
             roffset = abs((right["start"] or 0) - (right["end"] or 0))
         end



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-25 22:47         ` Hans Hagen
@ 2017-07-26  5:20           ` Mathias Schickel
  2017-07-26  6:07             ` Pablo Rodriguez
  0 siblings, 1 reply; 14+ messages in thread
From: Mathias Schickel @ 2017-07-26  5:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 26.07.2017 um 00:47 schrieb Hans Hagen <pragma@wxs.nl>:
> 
> On 7/26/2017 12:01 AM, Mathias Schickel wrote:
>>> Am 22.07.2017 um 22:34 schrieb Alan Braslau <braslau.list@comcast.net <mailto:braslau.list@comcast.net>>:
>>> 
>>> On Fri, 21 Jul 2017 12:31:33 +0200
>>> Mathias Schickel <msch@fa.uni-tuebingen.de <mailto:msch@fa.uni-tuebingen.de>> wrote:
>>> 
>>>>> $\xrightarrow{}{}$
>>>> 
>>>> This throws errors. Any idea why?
>>>> 
>>>>> $\xrightoverleftarrow{}{33°C}$
>>>> 
>>>> This does work. Sadly it is not the arrow I want to have.
>>> 
>>> MWE:
>>> 
>>> \starttext
>>> $A \xrightarrow{}{} B$
>>> \stoptext
>>> 
>>> No problem here.
>> It seems to be a problem with the font I use.  Hans, do you have any idea why that does not work if I am using Minion Math? I am getting the following error:
>> attempt to get length of local 'charlist' (a nil value)
>> stack traceback:
>> ...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:514: in function 'horizontalcode'
>> ...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:541: in function <...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:540>
>> (...tail calls...)
> you can patch this in that file and remake the format
> 
>    elseif kind == e_right then
>        local charlist = data[3].horiz_variants
>        if charlist then
>            local right = charlist[#charlist]
>            roffset = abs((right["start"] or 0) - (right["end"] or 0))
>        end

Hi Hans,

thank you for your quick answer! I am not sure How I can remake that format. Can you tell me the command for that? And can you maybe patch that in the distribution, too? (Else I fear that I have to remake that format every time I will update the distribution from contextgarden.)

Best
Mathias


> 
> 
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-26  5:20           ` Mathias Schickel
@ 2017-07-26  6:07             ` Pablo Rodriguez
  2017-07-26 11:31               ` Mathias Schickel
  0 siblings, 1 reply; 14+ messages in thread
From: Pablo Rodriguez @ 2017-07-26  6:07 UTC (permalink / raw)
  To: ntg-context

On 07/26/2017 07:20 AM, Mathias Schickel wrote:
>> Am 26.07.2017 um 00:47 schrieb Hans Hagen:
>> [...]>> you can patch this in that file and remake the format
>>
>>    elseif kind == e_right then
>>        local charlist = data[3].horiz_variants
>>        if charlist then
>>            local right = charlist[#charlist]
>>            roffset = abs((right["start"] or 0) - (right["end"] or 0))
>>        end
> 
> Hi Hans,
> 
> thank you for your quick answer! I am not sure How I can remake that
> format. Can you tell me the command for that?

Hi Matthias,

as far as I can remember, the command is (I have used it in the past,
but my memory is weak):

  context --make --all

> And can you maybe patch that in the distribution, too? (Else I fear
> that I have to remake that format every time I will update the
> distribution from contextgarden.)
As far as I can tell, Hans will fix ConTeXt (he has done in the past).
But he has provided the patch, so that you may  work until the next beta
update.

Cheers,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-26  6:07             ` Pablo Rodriguez
@ 2017-07-26 11:31               ` Mathias Schickel
  2017-07-26 15:36                 ` Pablo Rodriguez
  0 siblings, 1 reply; 14+ messages in thread
From: Mathias Schickel @ 2017-07-26 11:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 3698 bytes --]


> Am 26.07.2017 um 08:07 schrieb Pablo Rodriguez <oinos@gmx.es>:
> 
> On 07/26/2017 07:20 AM, Mathias Schickel wrote:
>>> Am 26.07.2017 um 00:47 schrieb Hans Hagen:
>>> [...]>> you can patch this in that file and remake the format
>>> 
>>>   elseif kind == e_right then
>>>       local charlist = data[3].horiz_variants
>>>       if charlist then
>>>           local right = charlist[#charlist]
>>>           roffset = abs((right["start"] or 0) - (right["end"] or 0))
>>>       end
>> 
>> Hi Hans,
>> 
>> thank you for your quick answer! I am not sure How I can remake that
>> format. Can you tell me the command for that?
> 
> Hi Matthias,
> 
> as far as I can remember, the command is (I have used it in the past,
> but my memory is weak):
> 
>  context --make --all
> 

Hi Pablo,

thank you for advice! Unfortunately I still get the error

ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:514: attempt to get length of local 'charlist' (a nil value)
stack traceback:
	...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:514: in function 'horizontalcode'
	...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:541: in function <...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:540>
	(...tail calls…)


I see two possible reasons for that:

Either the command „context --make --all“ is not the right one  (besides: How can I check if ConTeXt has remade the format?), or the code is not correctly changed. Maybe you can answer that, Hans.

From line 506 on the code of math-act.lua now is

if kind == e_left then
        local charlist = data[3].horiz_variants
        if charlist then												-- this is the line of the first error as the error code suggests
            local left = charlist[1]
            loffset = abs((left["start"] or 0) - (left["end"] or 0))
        end
    elseif kind == e_right then
       	local charlist = data[3].horiz_variants
       	if charlist then
           	local right = charlist[#charlist]
           	roffset = abs((right["start"] or 0) - (right["end"] or 0))
       	end
     elseif kind == e_horizontal then
        local charlist = data[3].horiz_variants
        if charlist then
            local left = charlist[1]
            local right = charlist[#charlist]
            loffset = abs((left ["start"] or 0) - (left ["end"] or 0))
            roffset = abs((right["start"] or 0) - (right["end"] or 0))
        end
    end
    return kind, loffset, roffset

Is that correct now?

In every case the error code mentioned another line of the same file:

math-act.lua:541: in function <...ext/tex/texmf-context/tex/context/base/mkiv/math-act.lua:540>
	(...tail calls…)

>> And can you maybe patch that in the distribution, too? (Else I fear
>> that I have to remake that format every time I will update the
>> distribution from contextgarden.)
> As far as I can tell, Hans will fix ConTeXt (he has done in the past).
> But he has provided the patch, so that you may  work until the next beta
> update.

Okay, that is very good!

> 
> Cheers,
> 
> Pablo


Best
Mathias


> -- 
> http://www.ousia.tk
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 7794 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-26 11:31               ` Mathias Schickel
@ 2017-07-26 15:36                 ` Pablo Rodriguez
  2017-07-27 16:02                   ` Mathias Schickel
  0 siblings, 1 reply; 14+ messages in thread
From: Pablo Rodriguez @ 2017-07-26 15:36 UTC (permalink / raw)
  To: ntg-context

On 07/26/2017 01:31 PM, Mathias Schickel wrote:
> [...]
> Hi Pablo,
> 
> thank you for advice! Unfortunately I still get the error
> [...]
> I see two possible reasons for that:
> 
> Either the command „context --make --all“ is not the right one
>  (besides: How can I check if ConTeXt has remade the format?), or the
> code is not correctly changed. Maybe you can answer that, Hans.

Hi Matthias,

The log displays the date of the format in its third line:

system          > ConTeXt  ver: 2017.07.17 00:20 MKIV beta  fmt:
2017.7.26  int: english/english

A minimal sample:

    \definefontfamily[mainfont][rm][MinionPro]
    \definefontfamily[mainfont][mm][Minion Math]
    \setupbodyfont[mainfont]
    \starttext
    $A \xrightarrow{}{} B$
    \stoptext

This should work fine in your computer with \setupbodyfont[pagella] or
no \setupbodyfont. The previous sample works fine in my computer,
because I don’t have Minion Math installed.

The problem here is that we don’t have access to your fonts. Guessing
may be hard, so could you provide another font (freely available to
anyone) that shows the issue?

> From line 506 on the code of math-act.lua now is
> [...]
> Is that correct now?

I don’t know. But you may check it yourself and then report back.

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-26 15:36                 ` Pablo Rodriguez
@ 2017-07-27 16:02                   ` Mathias Schickel
  2017-07-27 16:33                     ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Mathias Schickel @ 2017-07-27 16:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 26.07.2017 um 17:36 schrieb Pablo Rodriguez <oinos@gmx.es>:
> 
> On 07/26/2017 01:31 PM, Mathias Schickel wrote:
>> [...]
>> Hi Pablo,
>> 
>> thank you for advice! Unfortunately I still get the error
>> [...]
>> I see two possible reasons for that:
>> 
>> Either the command „context --make --all“ is not the right one
>> (besides: How can I check if ConTeXt has remade the format?), or the
>> code is not correctly changed. Maybe you can answer that, Hans.
> 
> Hi Matthias,
> 
> The log displays the date of the format in its third line:
> 
> system          > ConTeXt  ver: 2017.07.17 00:20 MKIV beta  fmt:
> 2017.7.26  int: english/english
> 
> A minimal sample:
> 
>    \definefontfamily[mainfont][rm][MinionPro]
>    \definefontfamily[mainfont][mm][Minion Math]
>    \setupbodyfont[mainfont]
>    \starttext
>    $A \xrightarrow{}{} B$
>    \stoptext
> 
> This should work fine in your computer with \setupbodyfont[pagella] or
> no \setupbodyfont. The previous sample works fine in my computer,
> because I don’t have Minion Math installed.
> 
> The problem here is that we don’t have access to your fonts. Guessing
> may be hard, so could you provide another font (freely available to
> anyone) that shows the issue?

The problem is that I have not yet found another font that showed the problem. Using LuaLaTeX and fontspec \xrightarrow does work as intended. 
Besides I know that Hans has a version of Minion Math. Maybe he can try himself. Else we could ask Johannes Küster (the designer of Minion Math) if he could provide you files for testing.

Possibly the true problem is that I have not been able to properly remake the format. I have executed context --make --all on the terminal but I am getting MKIV beta  fmt:
2017.7.25.

Does that mean that the change in the file is not realised by ConTeXT? Or does that only tell me when I have downloaded the beta itself?

> 
>> From line 506 on the code of math-act.lua now is
>> [...]
>> Is that correct now?
> 
> I don’t know. But you may check it yourself and then report back.

I am not a lua programmer and I have no idea what that code does. So maybe Hans can tell me if I changed the code as he intended.

> 
> Pablo

Mathias

> -- 
> http://www.ousia.tk
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-27 16:02                   ` Mathias Schickel
@ 2017-07-27 16:33                     ` Hans Hagen
  2017-07-29  9:41                       ` Mathias Schickel
  0 siblings, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2017-07-27 16:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Mathias Schickel

On 7/27/2017 6:02 PM, Mathias Schickel wrote:

> I am not a lua programmer and I have no idea what that code does. So maybe Hans can tell me if I changed the code as he intended.
i uploaded a beta

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Extensible arrows in ConTeXT
  2017-07-27 16:33                     ` Hans Hagen
@ 2017-07-29  9:41                       ` Mathias Schickel
  0 siblings, 0 replies; 14+ messages in thread
From: Mathias Schickel @ 2017-07-29  9:41 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users


> Am 27.07.2017 um 18:33 schrieb Hans Hagen <pragma@wxs.nl>:
> 
> On 7/27/2017 6:02 PM, Mathias Schickel wrote:
> 
>> I am not a lua programmer and I have no idea what that code does. So maybe Hans can tell me if I changed the code as he intended.
> i uploaded a beta

I can confirm that everything is working as intended! Thank you very much, Hans!

> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-07-29  9:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-14  9:33 Extensible arrows in ConTeXT Mathias Schickel
2017-07-14 15:15 ` Mathias Schickel
2017-07-14 19:25 ` Alan Braslau
2017-07-21 10:31   ` Mathias Schickel
2017-07-22 20:34     ` Alan Braslau
2017-07-25 22:01       ` Mathias Schickel
2017-07-25 22:47         ` Hans Hagen
2017-07-26  5:20           ` Mathias Schickel
2017-07-26  6:07             ` Pablo Rodriguez
2017-07-26 11:31               ` Mathias Schickel
2017-07-26 15:36                 ` Pablo Rodriguez
2017-07-27 16:02                   ` Mathias Schickel
2017-07-27 16:33                     ` Hans Hagen
2017-07-29  9:41                       ` Mathias Schickel

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