structures.lists.ordered empty in latest beta
![](https://secure.gravatar.com/avatar/c10a9794cde725cb719c118dcc00e966.jpg?s=120&d=mm&r=g)
Hi, I use the global lua table ConTeXt provides called : structures.lists.ordered to perform some manipulations with sections (using structures.lists.ordered.section which is itself a lua table), but from latest beta it seems that that variable (a lua table) is now completely empty. Is this expected ? Thanks a lot Best regards Joseph
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 8/15/2018 10:37 PM, Joseph Canedo wrote:
Hi,
I use the global lua table ConTeXt provides called : structures.lists.ordered to perform some manipulations with sections (using structures.lists.ordered.section which is itself a lua table), but from latest beta it seems that that variable (a lua table) is now completely empty. Is this expected ? afaik nothing changed
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/c10a9794cde725cb719c118dcc00e966.jpg?s=120&d=mm&r=g)
I also noticed that (at least some) latelua functions do not seem called (They output stuff in the log and these are no longer present). De : Hans Hagen Envoyé le :mercredi 15 août 2018 23:32 À : ntg-context@ntg.nl >> mailing list for ConTeXt users Objet :Re: [NTG-context] structures.lists.ordered empty in latest beta On 8/15/2018 10:37 PM, Joseph Canedo wrote:
Hi,
I use the global lua table ConTeXt provides called : structures.lists.ordered to perform some manipulations with sections (using structures.lists.ordered.section which is itself a lua table), but from latest beta it seems that that variable (a lua table) is now completely empty. Is this expected ? afaik nothing changed
----------------------------------------------------------------- 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/c10a9794cde725cb719c118dcc00e966.jpg?s=120&d=mm&r=g)
The latelua functions seems fixed with 2018-08-16 beta but in some occurrences the realpage information for some sections is wrong, being set to page before the actual page the section title appears in pdf. This seems to happen when the title of section is first at top of page. If needed I can try working on a MWE. Thanks Joseph
From .tuc file.
{ ["metadata"]=129, ["numberdata"]=133, ["references"]={ ["block"]="bodypart", ["internal"]=5, ["realpage"]=3, -- this should be 4 ["section"]=5, ["used"]="width", }, ["titledata"]={ ["bookmark"]="Chapitre .iiij.", ["label"]="subsection", ["marking"]="Chapitre", ["title"]="Chapitre \\LeftDot \\RM {4}.", }, ["userdata"]={ ["blank_after_chapter"]="none", ["blank_before_chapter"]="none", }, De : Joseph Canedo Envoyé le :mercredi 15 août 2018 23:46 À : mailing list for ConTeXt users Objet :RE: [NTG-context] structures.lists.ordered empty in latest beta I also noticed that (at least some) latelua functions do not seem called (They output stuff in the log and these are no longer present). De : Hans Hagen Envoyé le :mercredi 15 août 2018 23:32 À : ntg-context@ntg.nl >> mailing list for ConTeXt users Objet :Re: [NTG-context] structures.lists.ordered empty in latest beta On 8/15/2018 10:37 PM, Joseph Canedo wrote:
Hi,
I use the global lua table ConTeXt provides called : structures.lists.ordered to perform some manipulations with sections (using structures.lists.ordered.section which is itself a lua table), but from latest beta it seems that that variable (a lua table) is now completely empty. Is this expected ? afaik nothing changed
----------------------------------------------------------------- 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Here is your minimal example. \starttext \dorecurse{20}{\section[sec:#1]{Section #1}} Section \in[sec:16] appears on page \at[sec:16]. Section \in[sec:17] appears on page \at[sec:17]. \stoptext Wolfgang Joseph Canedo schrieb am 17.08.18 um 23:08:
The latelua functions seems fixed with 2018-08-16 beta but in some occurrences the realpage information for some sections is wrong, being set to page before the actual page the section title appears in pdf. This seems to happen when the title of section is first at top of page.
If needed I can try working on a MWE.
Thanks
Joseph
From .tuc file.
{
["metadata"]=129,
["numberdata"]=133,
["references"]={
["block"]="bodypart",
["internal"]=5,
["realpage"]=3, -- this should be 4
["section"]=5,
["used"]="width",
},
["titledata"]={
["bookmark"]="Chapitre .iiij.",
["label"]="subsection",
["marking"]="Chapitre",
["title"]="Chapitre \\LeftDot \\RM {4}.",
},
["userdata"]={
["blank_after_chapter"]="none",
["blank_before_chapter"]="none",
},
*De : *Joseph Canedo mailto:josephcanedo@gmail.com *Envoyé le :*mercredi 15 août 2018 23:46 *À : *mailing list for ConTeXt users mailto:ntg-context@ntg.nl *Objet :*RE: [NTG-context] structures.lists.ordered empty in latest beta
I also noticed that (at least some) latelua functions do not seem called (They output stuff in the log and these are no longer present).
*De : *Hans Hagen mailto:j.hagen@xs4all.nl *Envoyé le :*mercredi 15 août 2018 23:32 *À : *ntg-context@ntg.nl >> mailing list for ConTeXt users mailto:ntg-context@ntg.nl *Objet :*Re: [NTG-context] structures.lists.ordered empty in latest beta
On 8/15/2018 10:37 PM, Joseph Canedo wrote:
Hi,
I use the global lua table ConTeXt provides called :
structures.lists.ordered to perform some manipulations with sections
(using structures.lists.ordered.section which is itself a lua table),
but from latest beta it seems that that variable (a lua table) is now
completely empty. Is this expected ?
afaik nothing changed
-----------------------------------------------------------------
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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 8/18/2018 10:11 AM, Wolfgang Schuster wrote:
Here is your minimal example.
\starttext
\dorecurse{20}{\section[sec:#1]{Section #1}}
Section \in[sec:16] appears on page \at[sec:16].
Section \in[sec:17] appears on page \at[sec:17].
\stoptext Goes ok here.
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/c10a9794cde725cb719c118dcc00e966.jpg?s=120&d=mm&r=g)
I see in pdf (created using MWE Wolfgang kindly provided and latest Context beta) page 2: Section 16 appears on page 1. Should read I think Section 16 appears on page 2. Joseph De : Hans Hagen Envoyé le :samedi 18 août 2018 13:48 À : mailing list for ConTeXt users; Wolfgang Schuster; Joseph Canedo Objet :Re: [NTG-context] structures.lists.ordered empty in latest beta On 8/18/2018 10:11 AM, Wolfgang Schuster wrote:
Here is your minimal example.
\starttext
\dorecurse{20}{\section[sec:#1]{Section #1}}
Section \in[sec:16] appears on page \at[sec:16].
Section \in[sec:17] appears on page \at[sec:17].
\stoptext Goes ok here.
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 8/18/2018 2:41 PM, Joseph Canedo wrote:
I see in pdf (created using MWE Wolfgang kindly provided and latest Context beta) page 2:
Section 16 appears on page 1.
Should read I think
Section 16 appears on page 2.
hm, not here, so question for wolfgang: can you run the test with \showmakeup[whatsit] and see if there are lateluas shown (beta on ftp)
Joseph
*De : *Hans Hagen mailto:j.hagen@xs4all.nl *Envoyé le :*samedi 18 août 2018 13:48 *À : *mailing list for ConTeXt users mailto:ntg-context@ntg.nl; Wolfgang Schuster mailto:wolfgang.schuster.lists@gmail.com; Joseph Canedo mailto:josephcanedo@gmail.com *Objet :*Re: [NTG-context] structures.lists.ordered empty in latest beta
On 8/18/2018 10:11 AM, Wolfgang Schuster wrote:
Here is your minimal example.
\starttext
\dorecurse{20}{\section[sec:#1]{Section #1}}
Section \in[sec:16] appears on page \at[sec:16].
Section \in[sec:17] appears on page \at[sec:17].
\stoptext
Goes ok here.
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Hans Hagen schrieb am 18.08.18 um 15:22:
On 8/18/2018 2:41 PM, Joseph Canedo wrote:
I see in pdf (created using MWE Wolfgang kindly provided and latest Context beta) page 2:
Section 16 appears on page 1.
Should read I think
Section 16 appears on page 2.
hm, not here, so question for wolfgang:
can you run the test with
\showmakeup[whatsit]
and see if there are lateluas shown
The visualizer for section 16 appears one the first page but the section itself is moved to the second page. Wolfgang
![](https://secure.gravatar.com/avatar/c10a9794cde725cb719c118dcc00e966.jpg?s=120&d=mm&r=g)
Latest beta fixes the issue. Thanks a lot. Joseph De : Wolfgang Schuster Envoyé le :samedi 18 août 2018 18:30 À : Hans Hagen Cc : Joseph Canedo; mailing list for ConTeXt users Objet :Re: [NTG-context] structures.lists.ordered empty in latest beta Hans Hagen schrieb am 18.08.18 um 15:22:
On 8/18/2018 2:41 PM, Joseph Canedo wrote:
I see in pdf (created using MWE Wolfgang kindly provided and latest Context beta) page 2:
Section 16 appears on page 1.
Should read I think
Section 16 appears on page 2.
hm, not here, so question for wolfgang:
can you run the test with
\showmakeup[whatsit]
and see if there are lateluas shown
The visualizer for section 16 appears one the first page but the section itself is moved to the second page. Wolfgang
participants (3)
-
Hans Hagen
-
Joseph Canedo
-
Wolfgang Schuster