ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Re: Bibliography (bug compiling "components-001.tex"?)
Date: Wed, 08 Jul 2015 16:06:13 +0200	[thread overview]
Message-ID: <op.x1gj4nkytpjj8f@lpr> (raw)
In-Reply-To: <op.x0254phbtpjj8f@lpr>

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

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@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

[-- Attachment #2: Bib.log --]
[-- Type: application/octet-stream, Size: 8071 bytes --]

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     

The lua interpreter ran into a problem, so the
remainder of this lua chunk will be ignored.

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     

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

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

system          > structure > start used structure

used structure  > text: Bib
used structure  >   product: components-001

system          > structure > stop used structure


system          > files > start used files

used file       >    1: filename=cont-yes.mkiv filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used file       >    2: filename=publ-imp-default.lua filetype=scripts foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-imp-default.lua usedmethod=database
used file       >    3: filename=cont-new.mkiv filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used file       >    4: filename=lang-us.lua filetype=scripts foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used file       >    5: filename=d://Lukas/ConTeXt/Test/Bib.mkiv foundname=d://Lukas/ConTeXt/Test/Bib.mkiv usedmethod=direct
used file       >    6: filename=lm.lfg filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used file       >    7: filename=lmroman12-regular filetype=otf format=otf foundname=c:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used file       >    8: filename=latinmodern-math.otf filetype=opentypefonts foundname=c:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used file       >    9: filename=lpdf-pdx.xml filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database

system          > files > stop used files


system          > options > start commandline options

used option     > currentrun="1"
used option     > fulljobname="d:\\Lukas\\ConTeXt\\Test\\Bib.mkiv"
used option     > halt-on-error="true"
used option     > input="d:\\Lukas\\ConTeXt\\Test\\Bib.mkiv"
used option     > kindofrun="1"
used option     > maxnofruns="9"
used option     > no-parse-first-line="true"
used option     > nonstopmode="true"
used option     > path="C:\\Lukas\\ConTeXt\\Styles"

system          > options > stop commandline options

system          > options > start commandline files

used file       >    1: d:\\Lukas\\ConTeXt\\Test\\Bib.mkiv

system          > options > stop commandline files


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.016 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 9 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 380 modules (0.360 sec), 78 tables (0.015 sec), 458 chunks (0.375 sec)
mkiv lua stats  > traced context: maxstack: 1134, freed: 0, unreachable: 1134
mkiv lua stats  > running in nuts mode: yes
mkiv lua stats  > cleaned up reserved nodes: 44 nodes, 439 lists of 438
mkiv lua stats  > node memory usage: 2 glue, 2 penalty, 9 attribute, 43 glue_spec, 3 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances (re)created, 77 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > jobdata time: 0.000 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: 257 direct, 274 indirect, 531 total
mkiv lua stats  > randomizer: resumed with value 0.10168767357402
mkiv lua stats  > result saved in file: Bib.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats  > fonts load time: 0.422 seconds 
mkiv lua stats  > used platform: mswin, type: windows, binary subtree: texmf-mswin
mkiv lua stats  > luatex banner: this is luatex, version beta-0.80.1 (tex live 2015/w32tex) (rev 5274)
mkiv lua stats  > control sequences: 43149 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 33 MB (ctx: 32 MB), hash type: lua, hash chars: min(32,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 1.203 seconds, 2 processed pages, 2 shipped pages, 1.663 pages/second


[-- Attachment #3: Bib.mkiv --]
[-- Type: application/octet-stream, Size: 696 bytes --]

% 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

[-- Attachment #4: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-07-08 14:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01  8:35 Bibliography Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-08 14:06 ` Procházka Lukáš Ing. - Pontex s. r. o. [this message]
2015-07-08 18:53   ` Bibliography (bug compiling "components-001.tex"?) Hans Hagen
2015-07-08 20:21     ` Lukáš Procházka
2015-07-09 18:30       ` Alan BRASLAU
2015-07-10  6:47         ` Bibliography (bug compiling "components-001.tex"?) (now with sample files) Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-10  8:29           ` Alan BRASLAU
2015-07-10  9:29             ` Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-11 13:50               ` Alan BRASLAU
2015-07-11 20:42                 ` Bibliography - biblio error with the latest beta Lukáš Procházka
2015-07-12 12:27                   ` Alan BRASLAU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.x1gj4nkytpjj8f@lpr \
    --to=lpr@pontex.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).