Re: [NTG-context] Bibliography - biblio error with the latest beta

2015-07-12 Thread Alan BRASLAU
> It seems to be related to the latest beta recoding.

Probably, as your code below compiles without any problem in the
pre-most-recent-beta distribution.

Alan



On Sat, 11 Jul 2015 22:42:26 +0200
Lukáš Procházka  wrote:

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



-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS UMR 3680
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.fr
___
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
___

Re: [NTG-context] Bibliography - biblio error with the latest beta

2015-07-11 Thread Lukáš Procházka

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 tot