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.

Is it possible to make biblatex output page counts for both the regular pages and the roman-numbered pages, for example:

Cook, Theodore Andrea. The Curves of Life : Being an Account of Spiral Formations and Their Application to Growth in Nature, to Science and to Art; with Special Reference to the Manuscripts of Leonardo da Vinci. — London : Constable and Company, 1914. — xxx + 479 p.

Here there are "30 pages + 478 pages" in total. Thanks!

share|improve this question
1  
Have you tried entering "xxx + 479" in the pagetotal field? It is a literal field. –  Charles Stewart Apr 29 '11 at 8:02
    
yes, but then it does not add the "p." at the end. –  drozzy Apr 29 '11 at 12:54
1  
For literal page range references which are not auto-detected as such (usually only numbers are), you can manually add what you need with the macros like "\pno" from section 3.6.8 of the biblatex manual. See especially section 3.11.3 for examples like this. –  PLK Apr 29 '11 at 13:08
    
Wow! Does this work in the actual bib file where I list the references? I'll try it out! Can you post your comment up as an answer - so I can accept it? Thanks! –  drozzy Apr 29 '11 at 17:48
    
@PLK: Please post your comment as an answer. –  lockstep Apr 30 '11 at 18:00
add comment

1 Answer 1

up vote 5 down vote accepted

Actually my comment above is incorrect as it only applies to citations, not the bibliography itself. However, you can tailor the allowed list of things that \mkpagetotal thinks are "numerals" and so in your example, all you should need to do is add this to your preamble:

\DeclareNumChars*{+}

This adds "+" to the "numeral" category and so \mkpagetotal will see "xxx + 179" as a numeral and append the right "p" or "pp" automatically for you.

share|improve this answer
add comment

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.