[NTG-context] Bibliography (bug compiling "components-001.tex"?)

Procházka Lukáš Ing. - Pontex s. r. o. LPr at pontex.cz
Wed Jul 8 16:06:13 CEST 2015


Hello,

I also tried one of the ConTeXt suite test files, namely:

test\doc\context\tests\mkiv\bibtex\components-002.tex

where I just commented two lines, so I got:

----
% Was: components-001.tex

% \endinput % to be adapted

% adapted example from list

\startpublication[
         k=me,
         t=manual,
         a=Hoekwater,
         y=2006,
         s=TH2006,
         n=1,
         u=http://contextgarden.net/Bibliography,
     ]
     \author{Taco}[T.]{}{Hoekwater}
     \title{\CONTEXT\ Publication Module, The user documententation}
     \pubyear{2006}
     \note{In case you didn’t know: it’s the document you are reading now}
     \pages{14}
\stoppublication

\startproduct components-001

\startfrontmatter

   % \component components-002

   two: \cite[me]

\stopfrontmatter

\placepublications
   [criterium=text]

\stopproduct
----

But, I'm not able to compile even this file.

I'm getting:

----
mtx-context     | run 1: luatex --fmt="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --interaction="nonstopmode" --jobname="Bib
--c:path="C:\\Lukas\\ConTeXt\\Styles" "cont-yes.mkiv"
This is LuaTeX, Version beta-0.80.1 (TeX Live 2015/W32TeX) (rev 5274)
  \write18 enabled.

system          > callbacks > not registering frozen 'find_format_file'
open source     > 1 > 1 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2015.07.01 21:40 MKIV beta  fmt: 2015.7.2  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
close source    > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv

system          > jobfiles > using path: C:\\Lukas\\ConTeXt\\Styles
system          > files > jobname 'Bib', input 'd:\\Lukas\\ConTeXt\\Test\\Bib.mkiv', result 'Bib'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > d://Lukas/ConTeXt/Test/Bib.mkiv
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
structures      > begin of sectionblock 'frontpart'
publications    > analyzing previous publication run for 'default'

lua error       > error on line 30 in file d://Lukas/ConTeXt/Test/Bib.mkiv:

c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:513: attempt to index field '?' (a nil value)
stack traceback:
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:513: in function 'register'
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:591: in function 'findallused'
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:2503: in function 'processcite'
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:2814: in function '?'
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:2304: in function <c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:2262>
         (...tail calls...)

20         \pages{14}
21     \stoppublication
22
23     \startproduct components-001
24
25     \startfrontmatter
26
27       % \component components-002
28
29       two: \cite[me]
30 >>
31     \stopfrontmatter
32
33     \placepublications
34       [criterium=text]
35
36     \stopproduct
37


structures      > end of sectionblock 'frontpart'
backend         > xmp > using file 'c:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1

lua error       > error on line 33 in file d://Lukas/ConTeXt/Test/Bib.mkiv:

c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:513: attempt to index field '?' (a nil value)
stack traceback:
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:513: in function 'register'
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:591: in function 'findallused'
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:2503: in function 'processcite'
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:2814: in function '?'
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:2304: in function <c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:2262>
         (...tail calls...)

23     \startproduct components-001
24
25     \startfrontmatter
26
27       % \component components-002
28
29       two: \cite[me]
30
31     \stopfrontmatter
32
33 >>  \placepublications
34       [criterium=text]
35
36     \stopproduct
37


pages           > flushing realpage 2, userpage 2
close source    > 2 > 3 > d://Lukas/ConTeXt/Test/Bib.mkiv
close source    > 1 > 3 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv
...
mtx-context     | fatal error: return code: 1
----

The full log is attached...

What is wrong?

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bib.log
Type: application/octet-stream
Size: 8071 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150708/7e206a3f/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bib.mkiv
Type: application/octet-stream
Size: 696 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150708/7e206a3f/attachment-0003.obj>


More information about the ntg-context mailing list