BibTeX, biblatex and biberLocation for Custom Style

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
siltex
Posts: 1
Joined: Tue Jul 31, 2012 1:50 pm

Location for Custom Style

Post by siltex »

Hi

I'm having a problem with my custom \bibliographystyle i created with makebst. I searched through the forum but couldn't find an answer.

I use natbib and created a custom style with makebst because I need citations in German rather than English.

Unfortunately latex does not use my custom style even-though set it as \bibliographystyle. I'm not sure if I have my .bst style file in the right location/folder. Where do I have to put it in order that latex uses it? I use MiKTex 2.9

My praeambel:

Code: Select all

\documentclass[
	a4paper,             	% A4 Papier
	12pt               		% 10pt Schrift
]{article}

\usepackage[left=3.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm,includeheadfoot]{geometry}

\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage[babel,german=quotes]{csquotes}

\usepackage{natbib}
At the end of my main file:

Code: Select all

\bibliographystyle{hope3}
\bibliography{bib/quellen}
\end{document}
Thanks in advance for your help!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

niteshs
Posts: 45
Joined: Wed Jun 06, 2012 9:57 pm

Location for Custom Style

Post by niteshs »

Hi siltex,

You did not mention where your custom .bst file was located. You could technically put it with the other .bst files in the MiKTeX installation directory, and be able to use it provided you "refresh the file name database":
  • Run MiKTeX Options (Admin)> General > Refresh FNDB
But the better way to do it would be to save the custom style in a separate folder (preferably in the current 'User' path), then 'register' this location with MiKTeX:
  • 1.Create a folder structure at your preferred location: ..latex/tex/latex/
    2.Copy your custom file here (you can save all future custom latex files here)
    3.MiKTeX Options (Admin) > Roots > Add > add above root latex folder (../latex/)
    4.MiKTeX Options (Admin) > General > Refresh FNDB
Now you can use your custom file. Everytime you save a new custom file here, just remember to "Refresh FNDB".

Hope this helps. Good luck!
Post Reply