From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: Extensible arrows in ConTeXT
Date: Wed, 26 Jul 2017 00:47:05 +0200 [thread overview]
Message-ID: <7f346ec3-6c66-1dc6-3dd9-511adaa03cc0@wxs.nl> (raw)
In-Reply-To: <3CBCB102-71E4-4058-997F-90416B56799E@fa.uni-tuebingen.de>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2017-07-25 22:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 9:33 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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7f346ec3-6c66-1dc6-3dd9-511adaa03cc0@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).