ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Help figuring why long document stops short in xml export
@ 2021-02-24  9:42 Christoph Hintermüller
  2021-02-24 10:24 ` Hans Hagen
  2021-02-24 14:49 ` Taco Hoekwater
  0 siblings, 2 replies; 7+ messages in thread
From: Christoph Hintermüller @ 2021-02-24  9:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi
What command line parameters, trackers etc I should activate when i
want to figure why my document lacks content worth of several pages in
xml export while the pdf which is created in parallel contains all
pages. 

I'm using 

mtx-context     | ConTeXt Process Management 1.04
mtx-context     |
mtx-context     | main context file: <prefixpath>/tex/texmf-
context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2021.02.14 16:39
mtx-context     | main context file: <prefixpath>/tex/texmf-
context/tex/context/base/mkxl/context.mkxl
mtx-context     | current version: 2021.02.14 16:39


Would switching to lmtx may be helpful in at least figuring why or be
the only known solution?

The Document it self is my lecture notes which are about 125 Pages
long. The xml export ends at Page 63. 

Are there any known commands which can cause exporter to give up early
and thus should in export be avoided or be put in mode dependent block
hiding them form exporter.

Any hint what i should, would have to check and how to hopefully grabe
any hint where to amend the document to get full output. 

Currently i have not made images mode dependent (pdf:metapost,
xml:png/svg). Could that be a reason why exporter finally ends document
early?

I'm sorry to be so clue less to not be able to provide more
information. The document it self is too big to be posted and i do not
want to make it public anyway, but if required i can provide a share
link.

Best
Christoph Hintermüller
 

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

* Re: Help figuring why long document stops short in xml export
  2021-02-24  9:42 Help figuring why long document stops short in xml export Christoph Hintermüller
@ 2021-02-24 10:24 ` Hans Hagen
  2021-02-24 14:16   ` Christoph Hintermüller
  2021-02-24 14:49 ` Taco Hoekwater
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2021-02-24 10:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Christoph Hintermüller

On 2/24/2021 10:42 AM, Christoph Hintermüller wrote:

> I'm sorry to be so clue less to not be able to provide more
> information. The document it self is too big to be posted and i do not
> want to make it public anyway, but if required i can provide a share
> link.
You can try to comment some code to see where it fails/succeeds: make a 
copy and start wiping stuff. Normally that quickly reveals where it goes 
wrong.

Indeed some real data is needed to see where it fails.

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

* Re: Help figuring why long document stops short in xml export
  2021-02-24 10:24 ` Hans Hagen
@ 2021-02-24 14:16   ` Christoph Hintermüller
  2021-02-24 14:46     ` Christoph Hintermüller
  2021-02-24 16:30     ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Christoph Hintermüller @ 2021-02-24 14:16 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users

Hi

On Wed, 2021-02-24 at 11:24 +0100, Hans Hagen wrote:
> On 2/24/2021 10:42 AM, Christoph Hintermüller wrote:
> 
> > I'm sorry to be so clue less to not be able to provide more
> > information. The document it self is too big to be posted and i do
> > not
> > want to make it public anyway, but if required i can provide a
> > share
> > link.
> 
> You can try to comment some code to see where it fails/succeeds: make
> a 
> copy and start wiping stuff. Normally that quickly reveals where it
> goes 
> wrong.
> 



I hoped so too. But the only i figured that it stops between two
sections. If i comment the whole set of sections which seem to contain
offending content. Than it simply stops at some later section. And if i
remove the set before the one seemingly offending it still stops at the
section it stopped in the first instant. If there happens to be some
pattern i'm not experienced enough to notice it.



> Indeed some real data is needed to see where it fails.
> 


May i later send a sharing link to the full sources from our university
systems, may be you immediately see what makes it hickup.

Best 
Christoph 


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

* Re: Help figuring why long document stops short in xml export
  2021-02-24 14:16   ` Christoph Hintermüller
@ 2021-02-24 14:46     ` Christoph Hintermüller
  2021-02-24 16:30     ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Christoph Hintermüller @ 2021-02-24 14:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans Hagen

Hi

On Wed, 2021-02-24 at 15:16 +0100, Christoph Hintermüller wrote:
> 
> 
> I hoped so too. But the only i figured that it stops between two
> sections. If i comment the whole set of sections which seem to
> contain
> offending content. Than it simply stops at some later section. And if
> i
> remove the set before the one seemingly offending it still stops at
> the
> section it stopped in the first instant. If there happens to be some
> pattern i'm not experienced enough to notice it.
> 
> 

I don't know if that is likely to be related at all, if i insert
\showlayout at the beginning of the document the hickup occurs after
later section than if it is not present, even if the section it
initially stopped is include in the document. 

Best
Christoph


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

* Re: Help figuring why long document stops short in xml export
  2021-02-24  9:42 Help figuring why long document stops short in xml export Christoph Hintermüller
  2021-02-24 10:24 ` Hans Hagen
@ 2021-02-24 14:49 ` Taco Hoekwater
  2021-02-24 15:12   ` Christoph Hintermüller
  1 sibling, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2021-02-24 14:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> On 24 Feb 2021, at 10:42, Christoph Hintermüller <christoph@out-world.com> wrote:
> 
> Hi
> What command line parameters, trackers etc I should activate when i

There is 

  \enabletrackers[export.*]

Best wishes,
Taco

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

* Re: Help figuring why long document stops short in xml export
  2021-02-24 14:49 ` Taco Hoekwater
@ 2021-02-24 15:12   ` Christoph Hintermüller
  0 siblings, 0 replies; 7+ messages in thread
From: Christoph Hintermüller @ 2021-02-24 15:12 UTC (permalink / raw)
  To: ntg-context


On Wed, 2021-02-24 at 15:49 +0100, Taco Hoekwater wrote:
> > On 24 Feb 2021, at 10:42, Christoph Hintermüller <
> > christoph@out-world.com> wrote:
> > 
> > Hi
> > What command line parameters, trackers etc I should activate when i
> 
> There is 
> 
>   \enabletrackers[export.*]
> 


Thanks. Not sure if related at all but if i add that to the document i
do get the following error. It hicksup at \stopstandardmakeup if i
remove the stanard makeup it hicksup at frontmatter etc. I think that
has something to do with tracker and not the document itself.If i
remove everything up to \stopfrontmatter than it runs until the first
custom defined float and again yields the same error. If i explicitly
not select export.trace.details no hickup.

-------------------------registered function call [188]:
...cal/tex/texmf-context/tex/context/base/mkiv/back-exp.lua:3052:
attempt to index a nil value (field '?')
stack traceback:
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3052: in upvalue 'showdetail'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3067: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...	(skipping 5 levels)
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3330: in upvalue 'collectresults'
	...cal/tex/texmf-context/tex/context/base/mkiv/back-
exp.lua:3423: in upvalue 'nodes_handlers_export'
	[string "local tonut  = nodes.tonut..."]:30: in function
<[string "local tonut  = nodes.tonut..."]:13>
	(...tail calls...)
	[string "/usr/local/tex/texmf-context/tex/context/base..."]:34: 
in function <[string "/usr/local/tex/texmf-
context/tex/context/base..."]:33>
	(...tail calls...)

58     \definemathcommand[ld][nolop]{\mfunction{ld}}
59     \setupcaption[lefthangingfigure][width=\textwidth,align=figure]
60     \setupheadtext[content=Inhalt]
61     %\traceexternalfilters
62     \enabletrackers[export.*]
63     
64     \starttext
65     \startstandardmakeup
66     \title{Programmiertechnik 2}
67     \subsubject{Dr. Christoph Hintermüller}
68 >>  \stopstandardmakeup
69     \startfrontmatter
70     \completecontent
71     %\placecombinedlist[content]
72     \stopfrontmatter
73     \startbodymatter
74     
75     %\showlayout
76     \input ObjektorientierteProgrammierung
77     \placefloats
78     \input DatenStrukturen---------------------------------


Best
Xristoph


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

* Re: Help figuring why long document stops short in xml export
  2021-02-24 14:16   ` Christoph Hintermüller
  2021-02-24 14:46     ` Christoph Hintermüller
@ 2021-02-24 16:30     ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2021-02-24 16:30 UTC (permalink / raw)
  To: Christoph Hintermüller, mailing list for ConTeXt users

On 2/24/2021 3:16 PM, Christoph Hintermüller wrote:

> May i later send a sharing link to the full sources from our university
> systems, may be you immediately see what makes it hickup.
sure,

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

end of thread, other threads:[~2021-02-24 16:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24  9:42 Help figuring why long document stops short in xml export Christoph Hintermüller
2021-02-24 10:24 ` Hans Hagen
2021-02-24 14:16   ` Christoph Hintermüller
2021-02-24 14:46     ` Christoph Hintermüller
2021-02-24 16:30     ` Hans Hagen
2021-02-24 14:49 ` Taco Hoekwater
2021-02-24 15:12   ` Christoph Hintermüller

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