ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lua
@ 2021-08-17 13:49 Hans van der Meer via ntg-context
  2021-08-17 14:39 ` lua Hans van der Meer via ntg-context
  2021-08-17 16:37 ` lua Hans Hagen via ntg-context
  0 siblings, 2 replies; 6+ messages in thread
From: Hans van der Meer via ntg-context @ 2021-08-17 13:49 UTC (permalink / raw)
  To: NTG ConTeXt; +Cc: Hans van der Meer


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

Where is this message on luacondition 733 coming from? I would be glad to get rid of it. The message does not pinpoint the problem location enough for me to find its cause.

close source    > level 2, order 7, name './modules-docs.tex'
close source    > level 1, order 7, name 'cont-yes.mkiv'
(\end occurred when luacondition 733 on line 8 was incomplete)


dr. Hans van der Meer



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

[-- Attachment #2: Type: text/plain, Size: 493 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] 6+ messages in thread

* Re: lua
  2021-08-17 13:49 lua Hans van der Meer via ntg-context
@ 2021-08-17 14:39 ` Hans van der Meer via ntg-context
  2021-08-17 14:47   ` lua Taco Hoekwater via ntg-context
  2021-08-17 16:38   ` lua Hans Hagen via ntg-context
  2021-08-17 16:37 ` lua Hans Hagen via ntg-context
  1 sibling, 2 replies; 6+ messages in thread
From: Hans van der Meer via ntg-context @ 2021-08-17 14:39 UTC (permalink / raw)
  To: NTG ConTeXt; +Cc: Hans van der Meer


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

I am still interested in this luacondition 733 allthough the culprit has been spotted. Very nasty typo and hard to spot fo me. 
Shudder and enjoy:

\ifxmlatt{#1}{regime}{xml}\let\Flush\ModuleFlushXML\else\let\FlushModuleFlushTEX\fi
instead of
\ifxmlatt{#1}{regime}{xml}\let\Flush\ModuleFlushXML\else\let\FlushModule\FlushTEX\fi

dr. Hans van der Meer


> On 17 Aug 2021, at 15:49, Hans van der Meer via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Where is this message on luacondition 733 coming from? I would be glad to get rid of it. The message does not pinpoint the problem location enough for me to find its cause.
> 
> close source    > level 2, order 7, name './modules-docs.tex'
> close source    > level 1, order 7, name 'cont-yes.mkiv'
> (\end occurred when luacondition 733 on line 8 was incomplete)
> 
> 
> dr. Hans van der Meer
> 
> 
> ___________________________________________________________________________________
> 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: 5880 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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] 6+ messages in thread

* Re: lua
  2021-08-17 14:39 ` lua Hans van der Meer via ntg-context
@ 2021-08-17 14:47   ` Taco Hoekwater via ntg-context
  2021-08-17 16:47     ` lua Hans Hagen via ntg-context
  2021-08-17 16:38   ` lua Hans Hagen via ntg-context
  1 sibling, 1 reply; 6+ messages in thread
From: Taco Hoekwater via ntg-context @ 2021-08-17 14:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater

Hi Hans,

> On 17 Aug 2021, at 16:39, Hans van der Meer via ntg-context <ntg-context@ntg.nl> wrote:
> 
> I am still interested in this luacondition 733 allthough the culprit has been spotted. Very nasty typo and hard to spot fo me. 

The “luacondition 733” is the \ifxmlatt . You get these numbers because the command is
defined using lua ‘interfaces.implement’ (lxml-ini.lua) instead of directly as a TeX conditional.

And yes indeed, the new lua-defined commands are hard to derive from the log information
(for the other Hans: is this reporting not controlled via ‘public=true’ ? ).

Best wishes,
Taco

> Shudder and enjoy:
> 
> \ifxmlatt{#1}{regime}{xml}\let\Flush\ModuleFlushXML\else\let\FlushModuleFlushTEX\fi
> instead of
> \ifxmlatt{#1}{regime}{xml}\let\Flush\ModuleFlushXML\else\let\FlushModule\FlushTEX\fi
> 
> dr. Hans van der Meer
> 
> 
>> On 17 Aug 2021, at 15:49, Hans van der Meer via ntg-context <ntg-context@ntg.nl> wrote:
>> 
>> Where is this message on luacondition 733 coming from? I would be glad to get rid of it. The message does not pinpoint the problem location enough for me to find its cause.
>> 
>> close source    > level 2, order 7, name './modules-docs.tex'
>> close source    > level 1, order 7, name 'cont-yes.mkiv'
>> (\end occurred when luacondition 733 on line 8 was incomplete)
>> 
>> 
>> dr. Hans van der Meer
>> 
>> 
>> ___________________________________________________________________________________
>> 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
> ___________________________________________________________________________________

— 
Taco Hoekwater              E: taco@bittext.nl
genderfluid (all pronouns)



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

* Re: lua
  2021-08-17 13:49 lua Hans van der Meer via ntg-context
  2021-08-17 14:39 ` lua Hans van der Meer via ntg-context
@ 2021-08-17 16:37 ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-17 16:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 8/17/2021 3:49 PM, Hans van der Meer via ntg-context wrote:
> Where is this message on luacondition 733 coming from? I would be glad 
> to get rid of it. The message does not pinpoint the problem location 
> enough for me to find its cause.
> 
> close source    > level 2, order 7, name './modules-docs.tex'
> close source    > level 1, order 7, name 'cont-yes.mkiv'
> (\end occurred when luacondition 733 on line 8 was incomplete)
quite likely a missing \fi

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

* Re: lua
  2021-08-17 14:39 ` lua Hans van der Meer via ntg-context
  2021-08-17 14:47   ` lua Taco Hoekwater via ntg-context
@ 2021-08-17 16:38   ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-17 16:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 8/17/2021 4:39 PM, Hans van der Meer via ntg-context wrote:
> I am still interested in this luacondition 733 allthough the culprit has 
> been spotted. Very nasty typo and hard to spot fo me.
> Shudder and enjoy:
> 
> \ifxmlatt{#1}{regime}{xml}\let\Flush\ModuleFlushXML\else\let\FlushModuleFlushTEX\fi

wel, that let something to \fi and thereby gobles the \fi so you never 
end \ifxmlatt

> instead of
> \ifxmlatt{#1}{regime}{xml}\let\Flush\ModuleFlushXML\else\let\FlushModule\FlushTEX\fi
> 
> dr. Hans van der Meer
> 
> 
>> On 17 Aug 2021, at 15:49, Hans van der Meer via ntg-context 
>> <ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>> wrote:
>>
>> Where is this message on luacondition 733 coming from? I would be glad 
>> to get rid of it. The message does not pinpoint the problem location 
>> enough for me to find its cause.
>>
>> close source    > level 2, order 7, name './modules-docs.tex'
>> close source    > level 1, order 7, name 'cont-yes.mkiv'
>> (\end occurred when luacondition 733 on line 8 was incomplete)
>>
>>
>> dr. Hans van der Meer
>>
>>
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry 
>> to the Wiki!
>>
>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / 
>> http://www.ntg.nl/mailman/listinfo/ntg-context 
>> <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl> / 
>> http://context.aanhet.net <http://context.aanhet.net>
>> archive  : https://bitbucket.org/phg/context-mirror/commits/ 
>> <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki     : http://contextgarden.net <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
> ___________________________________________________________________________________
> 


-- 

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

* Re: lua
  2021-08-17 14:47   ` lua Taco Hoekwater via ntg-context
@ 2021-08-17 16:47     ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-17 16:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen, Taco Hoekwater

On 8/17/2021 4:47 PM, Taco Hoekwater via ntg-context wrote:
> Hi Hans,
> 
>> On 17 Aug 2021, at 16:39, Hans van der Meer via ntg-context <ntg-context@ntg.nl> wrote:
>>
>> I am still interested in this luacondition 733 allthough the culprit has been spotted. Very nasty typo and hard to spot fo me.
> 
> The “luacondition 733” is the \ifxmlatt . You get these numbers because the command is
> defined using lua ‘interfaces.implement’ (lxml-ini.lua) instead of directly as a TeX conditional.
> 
> And yes indeed, the new lua-defined commands are hard to derive from the log information
> (for the other Hans: is this reporting not controlled via ‘public=true’ ? ).
no, that's just namespacing, but we have a trick that can be used to 
resolve it and I simply hadn't that one plugged into the conditions 
stuff (only in functions) ... so i did that and next time HvdM will see:

(\end occurred when luacondition \ifxmlatt on line 13 was incomplete)

although of course he will never make that mistake again so he will not 
notice this new feature

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

end of thread, other threads:[~2021-08-17 16:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 13:49 lua Hans van der Meer via ntg-context
2021-08-17 14:39 ` lua Hans van der Meer via ntg-context
2021-08-17 14:47   ` lua Taco Hoekwater via ntg-context
2021-08-17 16:47     ` lua Hans Hagen via ntg-context
2021-08-17 16:38   ` lua Hans Hagen via ntg-context
2021-08-17 16:37 ` lua Hans Hagen via ntg-context

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