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 would like to submit an article to a journal that requires all references to volumes to appear in roman numerals before the page reference, e.g.:

William Shakespeare, Complete Works, III, 25.

For the regular 'volume' field, a simple

\DeclareFieldFormat{volume}{\RN{#1}}

can takes care of this. This does not affect \volcite and related commands, however. I am far from an expert, and don't know how to go about this. Any advice?

share|improve this question
    
Welcome to tex.sx! It's not necessary to begin your questions with a greeting. –  lockstep Mar 16 '11 at 13:35

2 Answers 2

up vote 2 down vote accepted

What follows is a hack with possible adverse effects.

\documentclass{article}

\usepackage[style=authortitle]{biblatex}

% For biblatex <=1.5a
% \makeatletter
% \patchcmd{\blx@volcite@vol}{\ppspace#1}{\ppspace\RN{#1}}{}{}
% \makeatother

% For biblatex >=1.6
\DeclareFieldFormat{volcitevolume}{\bibstring{volume}\ppspace\RN{#1}}

\usepackage{filecontents}

\begin{filecontents}{biblatextest.bib}
@book{Sha,
  author={Shakespeare, William},
  title={Complete Works},
  date={1590/1611},
  volumes={99},
}
\end{filecontents}

\addbibresource{biblatextest.bib}

\begin{document}

Some text \avolcite{3}[25]{Sha}.

\printbibliography

\end{document}

EDIT: Solution updated for biblatex 1.6, which introduced formatting hooks for \volcite & friends.

share|improve this answer
    
Perfect, just what I was looking for. No clean solution, of course, but works for me! –  Rutger Mar 18 '11 at 11:53
1  
I think you're being too cautious in saying that this may have adverse side effects. It's not really a hack; it's just that biblatex doesn't seem to have provided a hook for this case. I don't see any problems that could arise through this solution. –  Alan Munn Apr 10 '11 at 2:14

I have used this construction: \avolcite{III}[25]{Sha}

share|improve this answer
    
This way, if you decide later that you don't like Roman numerals, you will have to hunt down and manually change every occurence of \avolcite. –  lockstep Apr 9 '11 at 22:50
    
Certainly, but the first answer suggested possible adverse effects, and this has none. Should a reversal be required, any reasonable text editor should be able easily to find all occurrences that need changing, and many can be used to automate the change. –  Rik Apr 10 '11 at 1:00

Your Answer

 
discard

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

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