ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Lukáš Procházka" <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Re: Bibliography - biblio error with the latest beta
Date: Sat, 11 Jul 2015 22:42:26 +0200	[thread overview]
Message-ID: <op.x1mmg0cuf14xzu@lkzd-2013> (raw)
In-Reply-To: <20150711155013.41bea0ee@iram-hb-003386.extra.cea.fr>

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

Hello,

when trying to compile the latest Alan's proposals with the latest beta, a very simplified code:

----
\startbuffer[biblio]
@article{Angell,
   Author = {Marcia Angell},
   Journal = {New York Review of Books},
   Month = {July 15},
   Title = {The Truth About the Drug Companies},
   Year = {2004},
}
@article{Me,
   Author = {Štěpán Čech},
   Journal = {New York Review of Books},
   Month = {July 15},
   Title = {The Truth About the Drug Companies},
   Year = {2004},
}
@article{101,
   Author = {Štěpán Čech},
   Journal = {New York Review of Books},
   Month = {July 15},
   Title = {The Truth About the Drug Companies},
   Year = {2004},
}
\stopbuffer

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usebtxdataset[biblio.buffer]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\starttext
   Hello \cite[Angell] \cite[Me] \cite[101]!

   \hairline
   \placelistofpublications[criterium=all]
\stoptext
----

crashes with:

"
D:\Lukas\Docs\Ull-Gra\Test>context.exe Bib64.mkiv --nonstopmode

mtx-context     | run 1: luatex --fmt="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --interaction="nonstopmode" --jobname="Bib64" --lua="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bf
e781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./Bib64.mkiv" --c:input="./Bib64.mkiv" --c:kindofrun=1 --c:maxnofruns=8 --c:nonstopmode "cont-yes.mkiv"
This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5041)
  \write18 enabled.
open source     > 1 > 1 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.07.30 10:31 MKIV beta  fmt: 2015.7.11  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          > files > jobname 'Bib64', input './Bib64.mkiv', result 'Bib64'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > D:/Lukas/Docs/Ull-Gra/Test/Bib64.mkiv
publications    > adding bib data to set 'standard' from source 'biblio'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
publications    > no field 'num' for tag 'Angell' in dataset 'standard'
fonts           > treatment > fixing some wrong widths
publications    > no field 'num' for tag 'Me' in dataset 'standard'
publications    > no field 'num' for tag '101' in dataset 'standard'

lua error       > error on line 36 in file D:/Lukas/Docs/Ull-Gra/Test/Bib64.mkiv:

c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:650: attempt to index local 'used' (a nil value)
stack traceback:
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:650: in function 'enhance'
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-dat.lua:151: in function '__index'
         c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:1349: in function 'btxpreparelistentries'
         [\directlua]:1: in main chunk

26
27     \usebtxdataset[biblio.buffer]
28
29     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30
31     \starttext
32       Hello \cite[Angell] \cite[Me] \cite[101]!
33
34       \hairline
35       \placelistofpublications[criterium=all]
36 >>  \stoptext
37


backend         > xmp > using file 'c:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
close source    > 2 > 3 > D:/Lukas/Docs/Ull-Gra/Test/Bib64.mkiv
close source    > 1 > 3 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv

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.010 seconds, 1 scans with scantime 0.026 seconds, 0 shared scans, 9 found files, scanned paths: c:/windows/fonts
mkiv lua stats  > stored bytecode data: 353 modules (0.136 sec), 69 tables (0.003 sec), 422 chunks (0.139 sec)
mkiv lua stats  > running in nuts mode: yes
mkiv lua stats  > cleaned up reserved nodes: 44 nodes, 442 lists of 441
mkiv lua stats  > node memory usage: 2 glue, 2 penalty, 9 attribute, 28 glue_spec, 3 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances (re)created, 45 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.002 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: 162 direct, 213 indirect, 375 total
mkiv lua stats  > result saved in file: Bib64.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 3 files: latinmodern-math.otf, lmmono12-regular.otf, lmroman12-regular.otf
mkiv lua stats  > fonts load time: 0.212 seconds
mkiv lua stats  > publications load time: 0.001 seconds, 515 bytes, 3 definitions, 0 shortcuts
mkiv lua stats  > used platform: mswin, type: windows, binary subtree: texmf-mswin
mkiv lua stats  > luatex banner: this is luatex, version beta-0.79.1 (tex live 2014/w32tex) (rev 5041)
mkiv lua stats  > control sequences: 39036 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 29 MB (ctx: 28 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (¤ä╬Á¤ç)
mkiv lua stats  > runtime: 0.605 seconds, 1 processed pages, 1 shipped pages, 1.653 pages/second

mtx-context     | fatal error: return code: 1
"

It seems to be related to the latest beta recoding.

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: Bib64.log --]
[-- Type: application/octet-stream, Size: 6726 bytes --]

open source     > 1 > 1 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.07.30 10:31 MKIV beta  fmt: 2015.7.11  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          > files > jobname 'Bib64', input './Bib64.mkiv', result 'Bib64'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > D:/Lukas/Docs/Ull-Gra/Test/Bib64.mkiv
publications    > adding bib data to set 'standard' from source 'biblio'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
publications    > no field 'num' for tag 'Angell' in dataset 'standard'
fonts           > treatment > fixing some wrong widths
publications    > no field 'num' for tag 'Me' in dataset 'standard'
publications    > no field 'num' for tag '101' in dataset 'standard'

lua error       > error on line 36 in file D:/Lukas/Docs/Ull-Gra/Test/Bib64.mkiv:

c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:650: attempt to index local 'used' (a nil value)
stack traceback:
	c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:650: in function 'enhance'
	c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-dat.lua:151: in function '__index'
	c:/Ctx-Beta/tex/texmf-context/tex/context/base/publ-ini.lua:1349: in function 'btxpreparelistentries'
	[\directlua]:1: in main chunk

26     
27     \usebtxdataset[biblio.buffer]
28     
29     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30     
31     \starttext
32       Hello \cite[Angell] \cite[Me] \cite[101]!
33     
34       \hairline
35       \placelistofpublications[criterium=all]
36 >>  \stoptext
37     

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

backend         > xmp > using file 'c:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
close source    > 2 > 3 > D:/Lukas/Docs/Ull-Gra/Test/Bib64.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: Bib64

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=cont-new.mkiv filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used file       >    3: filename=lang-us.lua filetype=scripts foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used file       >    4: filename=D:\Lukas\Docs\Ull-Gra\Test/Bib64.mkiv foundname=D:/Lukas/Docs/Ull-Gra/Test/Bib64.mkiv usedmethod=direct
used file       >    5: filename=lm.lfg filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database
used file       >    6: filename=lmroman12-regular filetype=otf format=otf foundname=c:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
used file       >    7: filename=latinmodern-math.otf filetype=opentypefonts foundname=c:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
used file       >    8: filename=lmmono12-regular filetype=otf format=otf foundname=c:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm/lmmono12-regular.otf usedmethod=database
used file       >    9: filename=lmroman12-italic filetype=otf format=otf foundname=c:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm/lmroman12-italic.otf usedmethod=database
used file       >   10: 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="./Bib64.mkiv"
used option     > input="./Bib64.mkiv"
used option     > kindofrun="1"
used option     > maxnofruns="8"
used option     > no-parse-first-line="true"
used option     > nonstopmode="true"

system          > options > stop commandline options

system          > options > start commandline files

used file       >    1: ./Bib64.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.010 seconds, 1 scans with scantime 0.026 seconds, 0 shared scans, 10 found files, scanned paths: c:/windows/fonts
mkiv lua stats  > stored bytecode data: 353 modules (0.140 sec), 69 tables (0.002 sec), 422 chunks (0.142 sec)
mkiv lua stats  > running in nuts mode: yes
mkiv lua stats  > cleaned up reserved nodes: 44 nodes, 442 lists of 441
mkiv lua stats  > node memory usage: 2 glue, 2 penalty, 9 attribute, 28 glue_spec, 3 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances (re)created, 100 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.002 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: 265 direct, 213 indirect, 478 total
mkiv lua stats  > randomizer: resumed with value 0.20850245674001
mkiv lua stats  > interactive elements: 0 references, 3 destinations
mkiv lua stats  > result saved in file: Bib64.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 4 files: latinmodern-math.otf, lmmono12-regular.otf, lmroman12-italic.otf, lmroman12-regular.otf
mkiv lua stats  > fonts load time: 0.274 seconds 
mkiv lua stats  > publications load time: 0.001 seconds, 515 bytes, 3 definitions, 0 shortcuts
mkiv lua stats  > used platform: mswin, type: windows, binary subtree: texmf-mswin
mkiv lua stats  > luatex banner: this is luatex, version beta-0.79.1 (tex live 2014/w32tex) (rev 5041)
mkiv lua stats  > control sequences: 39044 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 30 MB (ctx: 29 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.771 seconds, 1 processed pages, 1 shipped pages, 1.297 pages/second


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

\startbuffer[biblio]
@article{Angell,
  Author = {Marcia Angell},
  Journal = {New York Review of Books},
  Month = {July 15},
  Title = {The Truth About the Drug Companies},
  Year = {2004},
}
@article{Me,
  Author = {Štěpán Čech},
  Journal = {New York Review of Books},
  Month = {July 15},
  Title = {The Truth About the Drug Companies},
  Year = {2004},
}
@article{101,
  Author = {Štěpán Čech},
  Journal = {New York Review of Books},
  Month = {July 15},
  Title = {The Truth About the Drug Companies},
  Year = {2004},
}
\stopbuffer

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usebtxdataset[biblio.buffer]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\starttext
  Hello \cite[Angell] \cite[Me] \cite[101]!

  \hairline
  \placelistofpublications[criterium=all]
\stoptext

[-- 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-11 20:42 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 ` Bibliography (bug compiling "components-001.tex"?) Procházka Lukáš Ing. - Pontex s. r. o.
2015-07-08 18:53   ` 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                 ` Lukáš Procházka [this message]
2015-07-12 12:27                   ` Bibliography - biblio error with the latest beta 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.x1mmg0cuf14xzu@lkzd-2013 \
    --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).