ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Small bug in current beta (references)
@ 2010-09-16  8:30 Mari Voipio
  2010-09-17 19:52 ` Mari Voipio
  0 siblings, 1 reply; 2+ messages in thread
From: Mari Voipio @ 2010-09-16  8:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

My new ConTeXt Mark IV hangs at the first \in it encounters, this is
the error message:

! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-ref.lua:656:
attempt to index field '?' (a nil value)
stack traceback:
	...text/tex/texmf-context/tex/context/base/strc-ref.lua:656: in
function 'resolve'
	...text/tex/texmf-context/tex/context/base/strc-ref.lua:735: in
function 'identify'
	...text/tex/texmf-context/tex/context/base/strc-ref.lua:947: in
function 'doifelse'
	<main ctx instance>:1: in main chunk.

system          > error on line 31 in file intro/intro.tex: LuaTeX error  ...



If I comment out all references, the file compiles without problems.



Mari
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Small bug in current beta (references)
  2010-09-16  8:30 Small bug in current beta (references) Mari Voipio
@ 2010-09-17 19:52 ` Mari Voipio
  0 siblings, 0 replies; 2+ messages in thread
From: Mari Voipio @ 2010-09-17 19:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

OK, we figured the problem is related to the fact that I'm doing
something so unusual as using a prefix to got with the references,
i.e. when I refer to something in a different chapter, there's first
the chapter reference, then a + and then the pointer to the reference.

For example the chapter is \chapter[ethernet]{ethernet} and when I
refer to a figure in that chapter, the reference goes
\in{figure}[ethernet:fig:fiber connection] (the figure reference being
fig:fiber connection).


In MKII this works fine. In MKIV it doesn't work at all, I get
question marks at all references that go to the other chapters, only
chapter-internal (i.e. non-prefixed) references work.

So good news is that ConTeXt doesn't hang on the references any more,
so I can tweak other stuff. Bad news is that my user manuals are full
of question marks...



Mari
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-17 19:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-16  8:30 Small bug in current beta (references) Mari Voipio
2010-09-17 19:52 ` Mari Voipio

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