ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: bibtex doesnt find stylefiles in TEXMFHOME on context standalone
Date: Sat, 10 Mar 2012 15:56:48 +0100	[thread overview]
Message-ID: <CALBOmsYeMGwnQdnyPE46uWMN7kSJvOQ=zdoKXkKy8M8tZKxAjg@mail.gmail.com> (raw)
In-Reply-To: <381A548E-CB95-47C1-8D3D-7CA810CCAAC7@arch.ethz.ch>

On Sat, Mar 10, 2012 at 15:32, Eidenbenz Michael wrote:
> hello list,
>
> i recently installed the lastest beta (2012.03.05) as standalone alongside TexLive with the latest stable version (2011.05.18)
> i use some custom stylefiles ( bst and bibl) for bibtex that are placed in my TEXMFHOME Directory that is $HOME/Library/texmf on osx.
>
> now context beta finds all the files in my TEXMFHOME but bibtex doesnt.

How/where exactly did you change settings for TEXMFHOME? I'm asking
because it is set to $HOME/texmf in ConTeXt distribution by default.

> i guess this has to do something to do with kpathsea etc. but i'm very new to TeX and am a little bit lost here. can sombody guide me in the right direction how to solve this.

The settings are in texmf/web2c/texmf.cnf. The relevant parts are

TEXMFHOME     = $HOME/texmf
TEXMF         =
{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFMODULES,!!$TEXMFCONTEXT,!!$TEXMFOS,!!$TEXMFEXTRA,!!$TEXMFMAIN}

and

BSTINPUTS         = .;$TEXMF/bibtex/bst//
BIBINPUTS         = .;$TEXMF/bibtex/bib//

You can override these settings in texmf-local/web2c/texmf.cnf (I hope
so at least, I never tested it).

You can test the setting by running
    kpsewhich --expand-path '$BIBINPUTS'
    kpsewhich --expand-path '$BSTINPUTS'
but I can confirm that this returns utterly weird results here. For
BIBINPUTS I only get current directory and for BSTINPUTS I get
    .:/contextroot/texmf-context/bibtex/bst:/contextroot/texmf-context/bibtex/bst/context
which is wrong. But I'm clueless why this happens. The two variables
seem to work fine in TeX Live.

Mojca
___________________________________________________________________________________
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:[~2012-03-10 14:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-10 14:32 Eidenbenz  Michael
2012-03-10 14:56 ` Mojca Miklavec [this message]
2012-03-10 15:05   ` Mojca Miklavec
2012-03-10 16:04     ` Eidenbenz  Michael
2012-03-10 18:56       ` Mojca Miklavec

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='CALBOmsYeMGwnQdnyPE46uWMN7kSJvOQ=zdoKXkKy8M8tZKxAjg@mail.gmail.com' \
    --to=mojca.miklavec.lists@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).