On Wed, Nov 06, 2002 at 09:39:02PM -0500, Paul Tremblay wrote:
> 
> For my tutorial, I need for LyX to be able to see a custom bst file. The
> users of my tutorials may be novices like myself. I need to give
> instructions that are straightforward and will work every time. If I
> tell a user to:
> 
> (1) put the line  'HOMETEXMF = $HOME/texmf' in your
> $TEXMF/web2c/texmf.cnf file.
> 
> (2) Change the TEXMF to {$HOMETEXMF,  <the rest of the line>}

If the user does not have root access, he can't modify the texmf.cnf
file, so he needs to set the TEXMF environment variable.
If you only need this for custom bst file, a simpler solution
is to set the environment variable BSTINPUTS to
  :$HOME/<path to the dir in which the bst file is located>
Note that the : at the beginning is important.

> will this work every time?

It should, at least with tetex. I'm not familiar with other TeX distributions.

> I will explain the procedures a bit better, but will these four steps
> work on all (most?) systems? It can be very frustrating if someone was
> doing my tutorial, and after creating the custom bst didn't get the
> correct results because of a TEXMF issue.  The user would keep repeating
> the steps with no luck because LyX couldn't find the bst--and the user
> wouldn't know what was happening!

kpsewich can be used for testing that everything is OK.


Reply via email to