ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* beta: problem with footnote
@ 2009-04-11 13:34 Peter Rolf
  2009-04-11 15:19 ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Rolf @ 2009-04-11 13:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

donno if this has been reported before...
I get the follwing error message with the latest beta (2009-04-10):

[..]
{r:/tex/texmf/fonts/map/dvips/lm/lm-rm.map}]
! LuaTeX error r:/tex/texmf-context/tex/context/base/strc-not.lua:143: 
attempt to index field 'pagenumber' (a nil value)
stack traceback:
    r:/tex/texmf-context/tex/context/base/strc-not.lua:143: in function 
'deltapage'
    <main ctx instance>:1: in main chunk.
\domovednote ...tructure.notes.deltapage("#1",#2)}
                                                  \or \symbol [#3]\or 
\symbo...
\dohighlow ...\scratchdimen \hbox {\dodohighlow #5
                                                  }}\ht \scratchbox 
\struthe...
\dogotofixed ...reference {#2}#1\relax }}}\else #1
                                                  \fi }
\gotopagespecial ...currenttargetpage {#4}\else #4
                                                  \fi \endgroup
l.2 ...  {page}{0}{}{\primaryreferencefoundaction}
                                                 
\doprocessreferenceelse ...eferenceprefix ","#1")}
                                                  \doresetgotowhereever
...
l.163 ...rd{PDF/X-4p}\MyFootnote{ISO 15930-7:2008}
                                                 
?

Same code works fine with beta 2009-04-06 (not tested with xp).


Best wishes,  Peter
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: beta: problem with footnote
  2009-04-11 13:34 beta: problem with footnote Peter Rolf
@ 2009-04-11 15:19 ` Idris Samawi Hamid ادريس سماوي حامد
  2009-04-12  7:24   ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2009-04-11 15:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, 11 Apr 2009 07:34:10 -0600, Peter Rolf <indiego@gmx.net> wrote:

> donno if this has been reported before...
> I get the follwing error message with the latest beta (2009-04-10):

I get something similar with TOC processing:

structure      : title @ level 2 : (0.0) . -> Table of Contents
[4.3]
! LuaTeX error  
...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:143: attempt to  
index field 'pagenumber' (a nil value)
stack traceback:
	...TeXt/tex/texmf-context/tex/context/base/strc-not.lua:143: in function  
'deltapage'
	<main ctx instance>:1: in main chunk.
\domovednote ...tructure.notes.deltapage("#1",#2)}
                                                   \or \symbol [#3]\or  
\symbo...
\dohighlow ...\scratchdimen \hbox {\dodohighlow #5
                                                   }}\ht \scratchbox  
\struthe...
\dogotofixed ...reference {#2}#1\relax }}}\else #1
                                                   \fi }
\gotopagespecial ...currenttargetpage {#4}\else #4
                                                   \fi \endgroup
l.2 ...  {page}{0}{}{\primaryreferencefoundaction}

\doprocessreferenceelse ...eferenceprefix ","#1")}
                                                   \doresetgotowhereever

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: beta: problem with footnote
  2009-04-11 15:19 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2009-04-12  7:24   ` Wolfgang Schuster
  2009-04-12 10:59     ` Peter Rolf
  2009-04-12 13:25     ` Peter Rolf
  0 siblings, 2 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2009-04-12  7:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Idris and Peter,

>> donno if this has been reported before...
>> I get the follwing error message with the latest beta (2009-04-10):
>
> I get something similar with TOC processing:

Can one of you make a example where the error is reproducable.

@Peter, the xp code is now part of the normal mkiv code.

Wolfgang

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


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

* Re: beta: problem with footnote
  2009-04-12  7:24   ` Wolfgang Schuster
@ 2009-04-12 10:59     ` Peter Rolf
  2009-04-12 13:25     ` Peter Rolf
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Rolf @ 2009-04-12 10:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster schrieb:
> Hi Idris and Peter,
>
>>> donno if this has been reported before...
>>> I get the follwing error message with the latest beta (2009-04-10):
>>
>> I get something similar with TOC processing:
>
> Can one of you make a example where the error is reproducable.
>
will try (a matter of free time)

> @Peter, the xp code is now part of the normal mkiv code.
>

Greetings, Peter

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


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

* Re: beta: problem with footnote
  2009-04-12  7:24   ` Wolfgang Schuster
  2009-04-12 10:59     ` Peter Rolf
@ 2009-04-12 13:25     ` Peter Rolf
  2009-04-12 14:51       ` Wolfgang Schuster
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Rolf @ 2009-04-12 13:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 2157 bytes --]

Wolfgang Schuster schrieb:
> Hi Idris and Peter,
>
>>> donno if this has been reported before...
>>> I get the follwing error message with the latest beta (2009-04-10):
>>
>> I get something similar with TOC processing:
>
> Can one of you make a example where the error is reproducable.
>
not minimal (no time), but it should be sufficient to isolate the cause 
of error.
also: if its to easy to solve, Hans can not listen to music 
(debug-modus) enough. ;)

same error message...

! LuaTeX error r:/tex/texmf-context/tex/context/base/strc-not.lua:143: 
attempt to index field 'pagenumber' (a nil value)
stack traceback:
    r:/tex/texmf-context/tex/context/base/strc-not.lua:143: in function 
'deltapage'
    <main ctx instance>:1: in main chunk.
\domovednote ...tructure.notes.deltapage("#1",#2)}
                                                  \or \symbol [#3]\or 
\symbo...
\dohighlow ...\scratchdimen \hbox {\dodohighlow #5
                                                  }}\ht \scratchbox 
\struthe...
\dogotofixed ...reference {#2}#1\relax }}}\else #1
                                                  \fi }
\gotopagespecial ...currenttargetpage {#4}\else #4
                                                  \fi \endgroup
l.2 ...  {page}{0}{}{\primaryreferencefoundaction}
                                                 
\doprocessreferenceelse ...eferenceprefix ","#1")}
                                                  \doresetgotowhereever
...
l.22 ... als PDF/X-4p\MyFootnote{ISO 15930-7:2008}
                                                 
?

> @Peter, the xp code is now part of the normal mkiv code.
>
> Wolfgang
>
> ___________________________________________________________________________________ 
>
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________ 
>
>


[-- Attachment #2: footnote.tex --]
[-- Type: text/plain, Size: 653 bytes --]

%\def\NoteNumber#1{\hbox to 15pt{\hfill\black \dostartoverprint#1\dostopoverprint}}
\def\NoteNumber#1{\hbox to 15pt{\hfill\black #1}}
\setupfootnotes
  [bodyfont=6pt,
   textcolor=black,
   before=,after=,
   rule=off,
   conversion={set 1},
%   distance=-2em,
   margindistance=-2em,
   numbercommand=\NoteNumber]

%\def\MyFootnote#1{\footnote{\hskip3em \dostartoverprint#1\dostopoverprint}}
\def\MyFootnote#1{\footnote{\hskip3em #1}}


\starttext

 \startlocalfootnotes
 \vbox\bgroup\hsize=78mm\dontcomplain
 \startitemize[4]
 \item die Ausgabe erfolgt als PDF/X-4p\MyFootnote{ISO 15930-7:2008}
 \stopitemize
 \egroup
 \stoplocalfootnotes


\stoptext

[-- Attachment #3: Type: text/plain, Size: 487 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: beta: problem with footnote
  2009-04-12 13:25     ` Peter Rolf
@ 2009-04-12 14:51       ` Wolfgang Schuster
  2009-04-13 11:23         ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2009-04-12 14:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 12.04.2009 um 15:25 schrieb Peter Rolf:

>> Can one of you make a example where the error is reproducable.
>
> not minimal (no time), but it should be sufficient to isolate the  
> cause of error.
> also: if its to easy to solve, Hans can not listen to music (debug- 
> modus) enough. ;)
>
> %\def\NoteNumber#1{\hbox to 15pt{\hfill\black  
> \dostartoverprint#1\dostopoverprint}}
> \def\NoteNumber#1{\hbox to 15pt{\hfill\black #1}}
> \setupfootnotes
>  [bodyfont=6pt,
>   textcolor=black,
>   before=,after=,
>   rule=off,
>   conversion={set 1},
> %   distance=-2em,
>   margindistance=-2em,
>   numbercommand=\NoteNumber]
>
> %\def\MyFootnote#1{\footnote{\hskip3em  
> \dostartoverprint#1\dostopoverprint}}
> \def\MyFootnote#1{\footnote{\hskip3em #1}}
>
> \starttext
>
> \startlocalfootnotes
> \vbox\bgroup\hsize=78mm\dontcomplain
> \startitemize[4]
> \item die Ausgabe erfolgt als PDF/X-4p\MyFootnote{ISO 15930-7:2008}
> \stopitemize
> \egroup
> \stoplocalfootnotes
>
> \stoptext

you narrowed it down but stopped just before goal :)

\starttext
\vbox{text in a vbox\footnote{footnote in a vbox}} % \hbox works!
\stoptext

Wolfgang

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


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

* Re: beta: problem with footnote
  2009-04-12 14:51       ` Wolfgang Schuster
@ 2009-04-13 11:23         ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2009-04-13 11:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:

> \starttext
> \vbox{text in a vbox\footnote{footnote in a vbox}} % \hbox works!
> \stoptext

ok, i can catch that error; the footnote is still not visible due to the 
fact that it's too deeply nested in a box (tex feature, unrelated to 
context); you can use postponefootes cum suis to catch that to some extend

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-04-13 11:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-11 13:34 beta: problem with footnote Peter Rolf
2009-04-11 15:19 ` Idris Samawi Hamid ادريس سماوي حامد
2009-04-12  7:24   ` Wolfgang Schuster
2009-04-12 10:59     ` Peter Rolf
2009-04-12 13:25     ` Peter Rolf
2009-04-12 14:51       ` Wolfgang Schuster
2009-04-13 11:23         ` Hans Hagen

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