* Bibliography @ 2015-07-01 8:35 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. 0 siblings, 1 reply; 11+ messages in thread From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-07-01 8:35 UTC (permalink / raw) To: ConTeXt [-- Attachment #1: Type: text/plain, Size: 1440 bytes --] Hello, I have a bibliography database in Lua. I suppose to use this DB to create a list of publications with Lua and \startpublication ... \stoppublication. So I will get something like: ---- % Will be generated by Lua, but for now >> \startpublication [k=me, t=article, a=LPr, y=2000, s=Shr, n=1, ] \city{Prg} \stoppublication % Will be generated by Lua, but for now << \setuppublications[alternative=apa] \starttext Hello \cite[me] -- \cite[Shr] -- \cite[1]. \placepublications[criterium=all] \stoptext ---- The problem is that \cite produces "(Xxxxxxxxxx, 0000)" and no list of publications is generated. What am I doing wrong? NB: I learned from http://wiki.contextgarden.net/Bibliography_mkiv and http://www.let.rug.nl/alfa/texmf/tetex30/context/bib/bibmod-doc.pdf My one-off is that I have not a .bib file and I would like to avoid .bib generation and use of BibTeX if possible. I guess that having a biblio DB in Lua is handy enough as Lua can convert the DB in whatever format - eg. via context.startpublication(...) ... context.stoppublication() So, how to "handle" the bibliography in a best manner? Than you in advance, 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.test.mkiv --] [-- Type: application/octet-stream, Size: 273 bytes --] \startpublication [k=me, t=article, a=LPr, y=2000, s=Shr, n=1, ] \city{Prg} \stoppublication \setuppublications[alternative=apa] \starttext Hello \cite[me] -- \cite[Shr] -- \cite[1]. \placepublications[criterium=all] \stoptext [-- Attachment #3: Bib.test.pdf --] [-- Type: application/pdf, Size: 5646 bytes --] [-- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Bibliography (bug compiling "components-001.tex"?) 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. 2015-07-08 18:53 ` Hans Hagen 0 siblings, 1 reply; 11+ messages in thread From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-07-08 14:06 UTC (permalink / raw) To: ConTeXt [-- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Bibliography (bug compiling "components-001.tex"?) 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 0 siblings, 1 reply; 11+ messages in thread From: Hans Hagen @ 2015-07-08 18:53 UTC (permalink / raw) To: ntg-context On 7/8/2015 4:06 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: > 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 that file is not working now which is why it had an \endinput Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Bibliography (bug compiling "components-001.tex"?) 2015-07-08 18:53 ` Hans Hagen @ 2015-07-08 20:21 ` Lukáš Procházka 2015-07-09 18:30 ` Alan BRASLAU 0 siblings, 1 reply; 11+ messages in thread From: Lukáš Procházka @ 2015-07-08 20:21 UTC (permalink / raw) To: mailing list for ConTeXt users Hello, On Wed, 08 Jul 2015 20:53:10 +0200, Hans Hagen <pragma@wxs.nl> wrote: > On 7/8/2015 4:06 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: >> 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 > > that file is not working now which is why it had an \endinput OK. Is there a way to have list of publications... - something like this to work: ---- \startpublication [k=me, t=article, a=LPr, y=2000, s=Shr, n=1, ] \city{Prg} \stoppublication \starttext Hello \cite[me]. \placepublications[criterium=all] \stoptext ---- So: - publications to be defined before \starttext, with each publication enclosed in \startpublication ... \stoppublication pairs, - \cite command to work, - list of publications via \placepublications to work. I mentioned this theme once in the mailing list - with subject "Bibliography" - but with no response... The bibtex/components-002.tex seemed to be quite close... Or: which is the recommended way to: - have a DB of publications (preferably in "standard" ConTeXt "space", not in a .bib file) - to refer to a publication - to build a list of publications? (A MWE or a link would be appreciated...) Best regards, Lukas > > Hans -- 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Bibliography (bug compiling "components-001.tex"?) 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. 0 siblings, 1 reply; 11+ messages in thread From: Alan BRASLAU @ 2015-07-09 18:30 UTC (permalink / raw) To: Lukáš Procházka; +Cc: mailing list for ConTeXt users On Wed, 8 Jul 2015 22:21:36 +0200 Lukáš Procházka <LPr@pontex.cz> wrote: > - have a DB of publications (preferably in "standard" ConTeXt > "space", not in a .bib file) MKiv bibliographies: \startbuffer[biblio] <entries in .bib format> \stopbuffer \usebtxdataset[biblio.buffer] \cite[bibkey] \placelistofpublications Alan ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Bibliography (bug compiling "components-001.tex"?) (now with sample files) 2015-07-09 18:30 ` Alan BRASLAU @ 2015-07-10 6:47 ` Procházka Lukáš Ing. - Pontex s. r. o. 2015-07-10 8:29 ` Alan BRASLAU 0 siblings, 1 reply; 11+ messages in thread From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-07-10 6:47 UTC (permalink / raw) To: ConTeXt [-- Attachment #1: Type: text/plain, Size: 3296 bytes --] Hello Alan, thanks for the idea. Now I have: ---- Bib6.mkiv, UTF-8 \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] \if+- % (1) \def\bracketed#1{\hbox to 20pt{\hfill [#1]}} \setuppublications [sorttype=bbl, autohang=no, refcommand=num, criterium=all, numbering=bib, %numbercommand=\bracketed, ] \fi %% \starttext Hello \cite[Angell] \cite[Me] \cite[101]! \hairline \placelistofpublications[criterium=all] \hairline %\placepublications[criterium=all] % (2) \stoptext ---- Some more questions: 1) Is "\placepublications" deprecated? I'm getting "Undefined control sequence" when I uncomment (2); even though \placepublications is widely cited on wiki (e.g. http://wiki.contextgarden.net/Bibliography_mkiv ) and is also mentioned in bibmod-doc.pdf (http://www.let.rug.nl/alfa/texmf/tetex30/context/bib/bibmod-doc.pdf ). 2) When I turn (1) on (\if+- -> \if++), the Ctx doesn't crash but citations are broken and no list of pubs is generated. I copied \setuppublications from http://wiki.contextgarden.net/Theory_book_style ; strange for me that also "empty" \setuppublications (i.e. \setuppublications [%sorttype=bbl, %autohang=no, %refcommand=num, %criterium=all, %numbering=bib, %numbercommand=\bracketed, ] ) produces the same "no-result". 3) I would like to alter citation style from "[1]" to "MA2004"; I guess this could be done by "\setuppublications[refcommand=author]" (see bibmod-doc.pdf, art. 2.1, pg. 2); but - as mentioned at 2) - it doesn't work. 4) Finally, in list of publications, I'd rather enumerate publications in "[1]" style rather than simple "1", i.e. enclose the publication number into []. In http://wiki.contextgarden.net/Theory_book_style , "\setuppublications[numbercommand=\bracketed]" provided that, but again, it doesn't work here due to 2). So, how to overcome all these obstacles? Best regards, Lukas On Thu, 09 Jul 2015 20:30:27 +0200, Alan BRASLAU <alan.braslau@cea.fr> wrote: > On Wed, 8 Jul 2015 22:21:36 +0200 > Lukáš Procházka <LPr@pontex.cz> wrote: > >> - have a DB of publications (preferably in "standard" ConTeXt >> "space", not in a .bib file) > > MKiv bibliographies: > > \startbuffer[biblio] > <entries in .bib format> > \stopbuffer > > \usebtxdataset[biblio.buffer] > > \cite[bibkey] > > \placelistofpublications > > > > Alan > -- 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: Bib6.log --] [-- Type: application/octet-stream, Size: 8258 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.07 21:43 MKIV beta fmt: 2015.7.9 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 'Bib6', input 'd:\\Lukas\\Docs\\Ull-Gra\\Test\\Bib6.mkiv', result 'Bib6' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > d://Lukas/Docs/Ull-Gra/Test/Bib6.mkiv publications > adding bib data to set 'default' from source 'biblio' resolvers > modules > 'oldbibtex' is loaded open source > 3 > 4 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/m-oldbibtex.mkiv open source > 4 > 5 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/bibl-bib.mkiv loading > ConTeXt Bibliography Support / Experimental BibTeX resolvers > lua > loading file 'c:/Ctx-Beta/tex/texmf-context/tex/context/base/bibl-bib.lua' succeeded publications > loading formatting style from 'bxml-apa' open source > 5 > 6 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/bxml-apa.mkiv close source > 5 > 6 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/bxml-apa.mkiv close source > 4 > 6 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/bibl-bib.mkiv open source > 4 > 7 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/bibl-tra.mkiv loading > ConTeXt Bibliography Support / BibTeX resolvers > lua > loading file 'c:/Ctx-Beta/tex/texmf-context/tex/context/base/bibl-tra.lua' succeeded publications > loading formatting style from 'bibl-apa' open source > 5 > 8 > c:/Ctx-Beta/tex/texmf-context/tex/context/bib/bibl-apa.tex close source > 5 > 8 > c:/Ctx-Beta/tex/texmf-context/tex/context/bib/bibl-apa.tex close source > 4 > 8 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/bibl-tra.mkiv close source > 3 > 8 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/m-oldbibtex.mkiv fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded publications > list > collecting entries using method 'global' and sort order 'default' 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 > 8 > d://Lukas/Docs/Ull-Gra/Test/Bib6.mkiv close source > 1 > 8 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv system > structure > start used structure used structure > text: Bib6 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/Docs/Ull-Gra/Test/Bib6.mkiv foundname=d://Lukas/Docs/Ull-Gra/Test/Bib6.mkiv usedmethod=direct used file > 6: filename=m-oldbibtex.mkiv filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/m-oldbibtex.mkiv usedmethod=database used file > 7: filename=bibl-bib.mkiv filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/bibl-bib.mkiv usedmethod=database used file > 8: filename=bibl-bib.lua filetype=tex format=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/bibl-bib.lua usedmethod=database used file > 9: filename=bxml-apa.mkiv filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/bxml-apa.mkiv usedmethod=database used file > 10: filename=bibl-tra.mkiv filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/bibl-tra.mkiv usedmethod=database used file > 11: filename=bibl-tra.lua filetype=tex format=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/base/bibl-tra.lua usedmethod=database used file > 12: filename=bibl-apa.tex filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/bib/bibl-apa.tex usedmethod=database used file > 13: filename=lm.lfg filetype=tex foundname=c:/Ctx-Beta/tex/texmf-context/tex/context/fonts/lm.lfg usedmethod=database used file > 14: filename=lmroman12-regular filetype=otf format=otf foundname=c:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database used file > 15: filename=latinmodern-math.otf filetype=opentypefonts foundname=c:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database used file > 16: 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\\Docs\\Ull-Gra\\Test\\Bib6.mkiv" used option > halt-on-error="true" used option > input="d:\\Lukas\\Docs\\Ull-Gra\\Test\\Bib6.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\\Docs\\Ull-Gra\\Test\\Bib6.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, 16 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: 1135, freed: 0, unreachable: 1135 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, 35 glue_spec, 3 attribute_list, 2 temp mkiv lua stats > node list callback tasks: 6 unique task lists, 5 instances (re)created, 47 calls mkiv lua stats > used backend: pdf (backend for directly generating pdf output) mkiv lua stats > loaded tex modules: 1 requested, all found (*-oldbibtex) 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: 659 direct, 3805 indirect, 4464 total mkiv lua stats > randomizer: resumed with value 0.31962034974212 mkiv lua stats > result saved in file: Bib6.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.344 seconds mkiv lua stats > publications load time: 0.000 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.80.1 (tex live 2015/w32tex) (rev 5274) mkiv lua stats > control sequences: 44045 of 65536 + 100000 mkiv lua stats > lua properties: engine: lua, used memory: 46 MB (ctx: 45 MB), hash type: lua, hash chars: min(32,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 1.000 seconds, 1 processed pages, 1 shipped pages, 1.000 pages/second [-- Attachment #3: Bib6.mkiv --] [-- Type: application/octet-stream, Size: 1226 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] \if++ \def\bracketed#1{\hbox to 20pt{\hfill [#1]}} \setuppublications [%sorttype=bbl, %autohang=no, %refcommand=num, %criterium=all, %numbering=bib, %numbercommand=\bracketed, ] \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \starttext Hello \cite[Angell] \cite[Me] \cite[101]! \hairline \placelistofpublications[criterium=all] \hairline %\placepublications[criterium=all] \stoptext [-- Attachment #4: Bib6.pdf --] [-- Type: application/pdf, Size: 5233 bytes --] [-- Attachment #5: 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Bibliography (bug compiling "components-001.tex"?) (now with sample files) 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. 0 siblings, 1 reply; 11+ messages in thread From: Alan BRASLAU @ 2015-07-10 8:29 UTC (permalink / raw) To: Procházka Lukáš Ing. - Pontex s. r. o.; +Cc: ConTeXt On Fri, 10 Jul 2015 08:47:35 +0200 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote: > I'm getting "Undefined control sequence" when I uncomment (2); > even though \placepublications is widely cited on wiki (e.g. > http://wiki.contextgarden.net/Bibliography_mkiv ) and is also > mentioned in bibmod-doc.pdf > (http://www.let.rug.nl/alfa/texmf/tetex30/context/bib/bibmod-doc.pdf > ). Do not mix-up the bibmod (mkii, also adapted for mkiv) with the mkiv bibliography dataset system (which is completely new). I do not know anything about the wiki on this subject but it must be completely obsolete as the development of this new system has been very active over the past year. Hans and I are (still) working on the documentation that has been promised. Alan ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Bibliography (bug compiling "components-001.tex"?) (now with sample files) 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 0 siblings, 1 reply; 11+ messages in thread From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-07-10 9:29 UTC (permalink / raw) To: ConTeXt On Fri, 10 Jul 2015 10:29:52 +0200, Alan BRASLAU <alan.braslau@cea.fr> wrote: > On Fri, 10 Jul 2015 08:47:35 +0200 > Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote: > >> I'm getting "Undefined control sequence" when I uncomment (2); >> even though \placepublications is widely cited on wiki (e.g. >> http://wiki.contextgarden.net/Bibliography_mkiv ) and is also >> mentioned in bibmod-doc.pdf >> (http://www.let.rug.nl/alfa/texmf/tetex30/context/bib/bibmod-doc.pdf >> ). > > Do not mix-up the bibmod (mkii, also adapted for mkiv) > with the mkiv bibliography dataset system (which is completely new). OK. I studied MkIV related part on bibliography on wiki, probably too archaic. > I do not know anything about the wiki on this subject but it must be > completely obsolete as the development of this new system has been very > active over the past year. > > Hans and I are (still) working on the documentation that has been > promised. Great. Back to my questions: 3) I would like to alter citation style from "[1]" to "MA2004"; I guess this could be done by "\setuppublications[refcommand=author]"... 4) Finally, in list of publications, I'd rather enumerate publications in "[1]" style rather than simple "1", i.e. enclose the publication number into []. Are / will be points 3) a 4) achievable anyhow - now, in near future, any day? Thank you anyway. Best regards, Lukas > Alan > -- 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Bibliography (bug compiling "components-001.tex"?) (now with sample files) 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 0 siblings, 1 reply; 11+ messages in thread From: Alan BRASLAU @ 2015-07-11 13:50 UTC (permalink / raw) To: Procházka Lukáš Ing. - Pontex s. r. o.; +Cc: ConTeXt On Fri, 10 Jul 2015 11:29:17 +0200 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz> wrote: > 3) I would like to alter citation style from "[1]" to "MA2004"; I > guess this could be done by "\setuppublications[refcommand=author]"... MKIV: \cite[short][bibtexkey] or, to make this the default cite style: \setupbtx[alternative=short] which should give "MA04" (the short style is first two initials of the author name or the first initials of multiple author names followed by a two digit year) You can modify the style using \setupbtx[default:cite:short][left=,right=] to get rid of the brackets. > 4) Finally, in list of publications, I'd rather enumerate > publications in "[1]" style rather than simple "1", i.e. enclose the > publication number into []. Similarly, \setupbtx[default:list:numbering][left={[},right={]}] to add brackets to the list. Alan ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Bibliography - biblio error with the latest beta 2015-07-11 13:50 ` Alan BRASLAU @ 2015-07-11 20:42 ` Lukáš Procházka 2015-07-12 12:27 ` Alan BRASLAU 0 siblings, 1 reply; 11+ messages in thread From: Lukáš Procházka @ 2015-07-11 20:42 UTC (permalink / raw) To: ConTeXt [-- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Bibliography - biblio error with the latest beta 2015-07-11 20:42 ` Bibliography - biblio error with the latest beta Lukáš Procházka @ 2015-07-12 12:27 ` Alan BRASLAU 0 siblings, 0 replies; 11+ messages in thread From: Alan BRASLAU @ 2015-07-12 12:27 UTC (permalink / raw) To: Lukáš Procházka; +Cc: ConTeXt > 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 <LPr@pontex.cz> 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.braslau@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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-07-12 12:27 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 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 ` Bibliography - biblio error with the latest beta Lukáš Procházka 2015-07-12 12:27 ` Alan BRASLAU
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).