Take the 2-minute tour ×
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.

I am finalizing my doctoral dissertation in LaTeX, and before printing my university has some very specific requirements regarding the formatting of the references section. Using makebst I have been able to reproduce most of them, but one thing has me baffled.

My university requires that author names be separated by dashes, like so:

Feeny, David F. – Willcocks, Leslie P. (1998) Core IS capabilities for exploiting information technology. Sloan Management Review, Vol. 39 (3), 9–21.

How can I edit my custom .bst file so that it will separate authors by - instead of by commas?

share|improve this question

migrated from stackoverflow.com Apr 22 '12 at 17:26

This question came from our site for professional and enthusiast programmers.

    
Welcome to TeX.sx! Your question was migrated here from another stackexchange site. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Marco Daniel Apr 22 '12 at 17:33

1 Answer 1

If you're willing to switch to biblatex, here's a solution that uses en-dashes as name separators (and meets your other formatting requirements for the article entry type):

\documentclass{article}

\usepackage[style=authoryear]{biblatex}

\usepackage{xpatch}

% Last name always before first name for authors
\DeclareNameAlias{sortname}{last-first}

% Unbreakable space -- en-dash -- space as separator between author names
\renewcommand*{\multinamedelim}{~--\space}
\renewcommand*{\finalnamedelim}{~--\space}

% No period after year
\xapptobibmacro{date+extrayear}{%
  \nopunct
}{}{}

% Titles of articles not inside quotation marks
\DeclareFieldFormat
    [article,inbook,incollection,inproceedings,patent,thesis,unpublished]{title}{#1}

% No "In: " before journal titles of articles
\renewbibmacro{in:}{%
    \ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}}

% Comma before volume of articles
\xpretobibmacro{volume+number+eid}{%
  \setunit*{\addcomma\space}%
}{}{}

% "Volume" capitalized for articles
\DeclareFieldFormat[article]{volume}{\bibsentence\bibstring{volume}~#1}

% Unbreakable space instead of dot before number of articles
\xpatchbibmacro{volume+number+eid}{%
  \setunit*{\adddot}%
}{%
  \setunit*{\addnbspace}%
}{}{}

% Number of articles in parentheses
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}

% No prefix for pages
\DeclareFieldFormat{pages}{#1}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{Fee98,
  author = {Feeny, David F. and Willcocks, Leslie P.},
  year = {1998},
  title = {Core IS capabilities for exploiting information technology},
  journaltitle = {Sloan Management Review},
  volume = {39},
  number = {3},
  pages = {9--21},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}

\printbibliography

\end{document}

enter image description here

See also Guidelines for customizing biblatex styles.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.