Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Create a local texmf tree in MiKTeX

I'm trying to create my first bibliography with BibTeX. I want to use the Geological Society of America's .bst file for my style.

I'm not sure where to save the file so that LaTeX will find it (I'm using TeXworks as my editor).

I'm also not sure what needs to be added to the preamble.

I'm going to save the file as gsa.bst, so I'm aware that I need to add \bibliographystyle{gsa} in the bibliography section.

Forgot to add that I already tried \Program Files\MiKTeX2.9\bibtex\bst\base\gsa.bst

share|improve this question
2  
It should be fine to keep the .bst-file with the document (folder) you are working on. – Peter Jansson Jan 17 at 19:27
latex doesn't need to see the bst file, it is bibtex that needs to see it. There is an input path for bibtex but just using the folder with your tex file is a good place to start. Then you need to run latex bibtex latex latex on your document to resolve all the citation references. – David Carlisle Jan 17 at 20:02
This should also be tagged with [MiKTeX] or [Windows], but it seems we reached an edit limit here. I was going to suggest a export BSTINPUTS="${HOME}/bst:" for .bashrc here. – mafp Jan 17 at 20:14
1  
Related: tex.stackexchange.com/questions/69483/… – egreg Jan 17 at 21:33

marked as duplicate by lockstep, Qrrbrbirlbel, Joseph Wright Feb 2 at 22:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

On my system (TeXlive on Debian), my personal .bst files are in ~/texmf/bibtex/bst/.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.