List of all bibliography items is empty in mkiv
Hi, the following code results in an empty output when typeset by MKIV on my system: \usemodule[bib] \setuppublications[criterium=all] \setupbibtex[database=mypublications] \starttext \placepublications \stoptext \end The same code typeset with MKII produces the list of all bibliography items in the .bib file, as expected. Is it a bug or is MKIV different in some respect? If it is a bug, is there a workaround? What I use: ConTeXt ver: 2010.05.24 13:05 MKII ConTeXt ver: 2010.05.24 13:05 MKIV LuaTeX, Version beta-0.60.1-2010042810 Below you find the log file. Nicola (/Users/nicola/Documents/test.tex publications : loading formatting style from bxml-apa (/usr/local/texlive/2009/texmf-dist/tex/context/base/bxml-apa.mkiv) ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.6.3 int: english/english system : cont-new loaded (/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (/usr/local/texlive/2009/texmf-dist/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys loaded (/usr/local/texlive/2009/texmf-config/tex/context/user/cont-sys.tex (/usr/local/texlive/2009/texmf-dist/tex/context/base/type-def.mkiv) (/usr/local/texlive/2009/texmf-dist/tex/context/base/type-lua.mkiv) (/usr/local/texlive/2009/texmf-dist/tex/context/base/type-siz.mkiv) (/usr/local/texlive/2009/texmf-dist/tex/context/base/type-otf.mkiv)) system : test.top loaded % % begin of optionfile % % % runtime options files (command line driven) % \unprotect % % special commands, mostly for the ctx development team % % feedback and basic job control % % handy for special styles % \startluacode % document = document or { } % document.arguments={ % ["syntex"]="1", % } % document.files={ % "test.tex", % } % \stopluacode % % process info % \setupsystem[inputfile=test.tex] % \setupsystem[\c!n=1,\c!m=1] % % modes % % options (not that important) % \startsetups *runtime:options % \setupoutput[pdftex] % \stopsetups % % styles and modules % \startsetups *runtime:modules % \stopsetups % % done % \protect \endinput % % end of optionfile % (test.top) fonts : preloading latin modern fonts {/usr/local/texlive/2009/texmf-dist/fonts/map/dvips/lm/lm-math.map}{/usr/ local/texlive/2009/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{/usr/local/te xlive/2009/texmf-dist/fonts/map/pdftex/context/mkiv-base.map} bodyfont : 12pt rm is loaded language : language en is active system : module bib loaded (/usr/local/texlive/2009/texmf-dist/tex/context/base/m-obsolete.tex systems : skipping obsolete module ) publications : wrote a new auxiliary file cont-en.aux systems : begin file test.tex at line 7 systems : end file test.tex at line 9 ) mkiv lua stats : used config path - /usr/local/texlive/2009/texmf.cnf;/usr/local/texlive/2009/texmf/web2c/tex mf.cnf mkiv lua stats : used cache path - /Users/nicola/Library/texmf mkiv lua stats : input load time - 0.114 seconds mkiv lua stats : stored bytecode data - 213 modules, 53 tables, 266 chunks mkiv lua stats : loaded tex modules - 1 requested, 1 found (*-obsolete), 0 missing mkiv lua stats : node list callback tasks - 6 unique task lists, 1 instances (re)created, 286 calls mkiv lua stats : cleaned up reserved nodes - 29 nodes, 9 lists of 410 mkiv lua stats : node memory usage - 19 glue_spec mkiv lua stats : used backend - pdf (backend for directly generating pdf output) mkiv lua stats : loaded patterns - en:us:pat:exc:2 mkiv lua stats : startup time - 0.579 seconds including runtime option file processing mkiv lua stats : callbacks - direct: 373, indirect: 4334, total: 4707 mkiv lua stats : result saved in file - test.pdf mkiv lua stats : loaded fonts - 32 files: lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm mkiv lua stats : fonts load time - 0.304 seconds mkiv lua stats : luatex banner - this is luatex, version beta-0.60.1-2010042810 mkiv lua stats : control sequences - 30645 of 265536 mkiv lua stats : current memory usage - 51 MB (ctx: 52 MB) mkiv lua stats : runtime - 1.389 seconds
On 07/02/2010 12:37 PM, Nicola wrote:
Hi, the following code results in an empty output when typeset by MKIV on my system:
\usemodule[bib] \setuppublications[criterium=all] \setupbibtex[database=mypublications] \starttext \placepublications \stoptext \end
The same code typeset with MKII produces the list of all bibliography items in the .bib file, as expected. Is it a bug or is MKIV different in some respect? If it is a bug, is there a workaround?
\placepublications[criterium=all] Best wishes, Taco
In article <4C2DC522.9040701@elvenkind.com>,
Taco Hoekwater
On 07/02/2010 12:37 PM, Nicola wrote:
Hi, the following code results in an empty output when typeset by MKIV on my system:
\usemodule[bib] \setuppublications[criterium=all] \setupbibtex[database=mypublications] \starttext \placepublications \stoptext \end
The same code typeset with MKII produces the list of all bibliography items in the .bib file, as expected. Is it a bug or is MKIV different in some respect? If it is a bug, is there a workaround?
\placepublications[criterium=all]
Shouldn't that have the same effect as \setuppublications[criterium=all]? In any case, I still get no output. I have also run (again) luatools --selfupdate mtxrun --selfupdate luatools --generate context --make but I get no output yet. Then, I have tried to typeset with my ConTeXt Minimals installation (ConTeXt ver: 2010.06.10 15:24 MKIV), with the same result (no output). But with ConTeXt Minimals MKII, the output is fine (even without following your suggestion). Btw, in both versions of MKII, the following does *not* produce a list of publications: \usemodule[bib] \setupbibtex[database=mypublications] \starttext \placepublications[criterium=all] \stoptext \end What can I check next? Nicola
On 07/02/2010 01:26 PM, Nicola wrote:
\usemodule[bib] \setupbibtex[database=mypublications] \starttext \placepublications[criterium=all] \stoptext \end
What can I check next?
You could try adding some text or even a section command. At some point it should start working (probably even without an explicit \cite anywhere). Nevertheless, it looks like a bug. Best wishes, Taco
In article <4C2DCEB2.90000@elvenkind.com>,
Taco Hoekwater
On 07/02/2010 01:26 PM, Nicola wrote:
\usemodule[bib] \setupbibtex[database=mypublications] \starttext \placepublications[criterium=all] \stoptext \end
What can I check next?
You could try adding some text or even a section command. At some point it should start working (probably even without an explicit \cite anywhere). Nevertheless, it looks like a bug.
Unfortunately, adding text or sectioning command doesn't help. Today I have updated ConTeXt Minimals as usual, using sh ./first-setup.sh, but the version I've got is 2010.05.24 (whereas I had 2010.06.10). Why? Needless to say, I don't get any output yet. Since nobody has confirmed that the problem I have described can be reproduced, I must infer that it is something related to my particular setup. So, I will provide more details on my configuration (sorry for the verbosity), hoping that someone will spot something that should be fixed. Under the latest Mac OS X, I use both (stable) ConTeXt from TeX Live 2009 and an installation of ConTeXt Minimals (beta) in ~/Library/texmf/context-minimals. This is how I update ConTeXt in TeX Live, step by step: 1) update the ConTeXt distribution to the latest stable release: sudo rsync -av rsync://contextgarden.net/minimals/current/context/current/ /usr/local/texlive/2009/texmf-dist/ 2) Update LuaTeX executable: sudo rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/osx-universal/bin/l uatex /usr/local/texlive/2009/bin/universal-darwin/ 3) Re-build LuaTeX format files: cd /usr/local/texlive/2009/texmf-var/web2c/luatex sudo luatex -ini luatex.ini sudo luatex -ini lualatex.ini sudo luatex -ini dviluatex.ini sudo luatex -ini dvilualatex.ini 4) Update XeTeX executable: sudo rsync -av rsync://contextgarden.net/minimals/current/bin/xetex/osx-universal/bin/xe tex /usr/local/texlive/2009/bin/universal-darwin/ 5) Re-build XeTeX format files: sudo fmtutil-sys --byfmt xelatex sudo fmtutil-sys --byfmt xetex 7) Update MetaPost executable: sudo rsync -av rsync://contextgarden.net/minimals/current/bin/metapost/osx-universal/bin /mpost /usr/local/texlive/2009/bin/universal-darwin/ 8) Update MetaPost format files: sudo fmtutil-sys --byfmt mpost sudo fmtutil-sys --byfmt metafun cd /usr/local/texlive/2009/texmf-var/web2c/metapost/ sudo mpost -ini mfplain dump 9) Fix permissions of some executables (I always have to do this: is it a known bug?) cd /usr/local/texlive/2009/texmf-dist/scripts/context/lua sudo chmod +x luatools.lua mtxrun.lua cd /usr/local/texlive/2009/texmf-dist/scripts/context/perl sudo chmod +x *.pl cd /usr/local/texlive/2009/texmf-dist/scripts/context/stubs/unix/ sudo chmod +x * 10) Update MKII format files: sudo mktexlsr sudo -H texexec --make --all sudo -H texexec --make --xtx --all (here I use -H because I want the format files to be written under /usr/local/texlive and not in ~/Library/texmf/web2c) 11) Update MKIV format files: luatools --generate context --make Note that these last two commands are run without sudo, because I have chosen to have luatex-cache under ~/Library/texmf, so I have added export TEXMFCACHE=~/Library/texmf to my .profile. And here is how I update ConTeXt Minimals: 0) Move to the right directory: cd ~/Library/texmf/context-minimals 1) Update first-setup.sh: curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh 2) Update ConTeXt Minimals: sh ./first-setup.sh --extras=all 3) Set environment variables (I do this every time before using ConTeXt Minimals of course): source ./tex/setuptex export TEXMFCACHE=$TEXROOT/texmf-cache Note that I also change TEXMFCACHE, not to conflict with stable ConTeXt. 4) Re-build format files: mktexlsr texexec --make --all texexec --make --xtx --all luatools --selfupdate mtxrun --selfupdate luatools --generate context --make texexec --make mpost That's it. A last remark: I have noticed that I have a .texlive2009 folder in my home folder, with the following content: texmf-var/texdoc/cache-tlpdb.lua texmf-var/web2c/pdftex/pdftex.fmt texmf-var/web2c/pdftex/pdftex.log Is it safe to delete? Nicola
participants (2)
-
Nicola
-
Taco Hoekwater