ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* issue with \in and \xmlrefatt
@ 2021-03-11 19:17 Pablo Rodriguez
  2021-03-12 17:19 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2021-03-11 19:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hans,

after the fix in current latest (2021.03.09 11:42), I get the following
error when using \in[\xmlrefatt{#1}{href}] in Windows (Linux has no
problems).

The error message reads:

fatal lua error:
    run callback [6]: bad argument #2 to 'format' (number expected, got nil)
stack traceback:
    [C]: in function 'string.format'
    ?: in field '?'
    ...ext/tex/texmf-context/tex/context/base/mkxl/luat-log.lmt:178: in
upvalue 'report'
    ...ext/tex/texmf-context/tex/context/base/mkxl/luat-log.lmt:391: in
upvalue 'report'
    [string "<m:/context/tex/texmf-context/tex/c..."]:2999: in field '?'
    ...ext/tex/texmf-context/tex/context/base/mkiv/luat-run.lua:56: in
function <...ext/tex/texmf-context/tex/context/base/mkiv/luat-run.lua:54>
mtx-context     | fatal error: return code: 1

I cannot provide a minimal sample and I wonder whether this could be
enough to find out what is missing.

Many thanks for your help,

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] 3+ messages in thread

* Re: issue with \in and \xmlrefatt
  2021-03-11 19:17 issue with \in and \xmlrefatt Pablo Rodriguez
@ 2021-03-12 17:19 ` Hans Hagen
  2021-03-12 23:13   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2021-03-12 17:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez

On 3/11/2021 8:17 PM, Pablo Rodriguez wrote:
> Hans,
> 
> after the fix in current latest (2021.03.09 11:42), I get the following
> error when using \in[\xmlrefatt{#1}{href}] in Windows (Linux has no
> problems).
> 
> The error message reads:
> 
> fatal lua error:
>      run callback [6]: bad argument #2 to 'format' (number expected, got nil)
> stack traceback:
>      [C]: in function 'string.format'
>      ?: in field '?'
>      ...ext/tex/texmf-context/tex/context/base/mkxl/luat-log.lmt:178: in
> upvalue 'report'
>      ...ext/tex/texmf-context/tex/context/base/mkxl/luat-log.lmt:391: in
> upvalue 'report'
>      [string "<m:/context/tex/texmf-context/tex/c..."]:2999: in field '?'
>      ...ext/tex/texmf-context/tex/context/base/mkiv/luat-run.lua:56: in
> function <...ext/tex/texmf-context/tex/context/base/mkiv/luat-run.lua:54>
> mtx-context     | fatal error: return code: 1
> 
> I cannot provide a minimal sample and I wonder whether this could be
> enough to find out what is missing.
i need more info

-----------------------------------------------------------------
                                           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] 3+ messages in thread

* Re: issue with \in and \xmlrefatt
  2021-03-12 17:19 ` Hans Hagen
@ 2021-03-12 23:13   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2021-03-12 23:13 UTC (permalink / raw)
  To: ntg-context

On 3/12/21 6:19 PM, Hans Hagen wrote:
> On 3/11/2021 8:17 PM, Pablo Rodriguez wrote:
>> [...]
>> I cannot provide a minimal sample and I wonder whether this could be
>> enough to find out what is missing.
> i need more info

I was able to reproduce the issue in Linux.

I have a minimal TeX environment, but the XML source is longer.

I’m sending both files to you in private.

Many thanks for your help,

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] 3+ messages in thread

end of thread, other threads:[~2021-03-12 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 19:17 issue with \in and \xmlrefatt Pablo Rodriguez
2021-03-12 17:19 ` Hans Hagen
2021-03-12 23:13   ` Pablo Rodriguez

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