ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nicola <nvitacolonna@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: List of all bibliography items is empty in mkiv
Date: Mon, 05 Jul 2010 10:32:51 +0200	[thread overview]
Message-ID: <nvitacolonna-EA2D60.10325105072010@news.gmane.org> (raw)
In-Reply-To: <4C2DCEB2.90000@elvenkind.com>

In article <4C2DCEB2.90000@elvenkind.com>,
 Taco Hoekwater <taco@elvenkind.com> wrote:

> 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

___________________________________________________________________________________
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:[~2010-07-05  8:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02 10:37 Nicola
2010-07-02 10:53 ` Taco Hoekwater
2010-07-02 11:26   ` Nicola
2010-07-02 11:34     ` Taco Hoekwater
2010-07-05  8:32       ` Nicola [this message]

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=nvitacolonna-EA2D60.10325105072010@news.gmane.org \
    --to=nvitacolonna@gmail.com \
    --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).