Re: Re: jurabib/bibtex

Peter Flynn <[email protected]>
Newsgroups gmane.comp.tex.bibtex.jurabib.user
Organization Silmaril Consultants
Message-ID <[email protected]>
jdbillett wrote:
> Dear Seb,
> 
> I'm engaged in a similar struggle, so maybe I can help:
> 
> 1.  I've found that pages=format is not really a great option for some
> humanities disciplines, simply because there are often other kinds of
> numberings to which we must refer (e.g. "column", "folio"). 
> Therefore, I've abandoned it altogether, and defined a couple of quick
> and easy commands:
> 
>      \newcommand{\p}[1]{p.~{#1}}
>      \newcommand{\pp}[1]{pp.~{#1}}

Perhaps easier on the user is to test for a range, eg

\usepackage{ifthen}
\def\testpp#1-#2\sentinel#3{\ifthenelse
   {\equal{#1}{#3}}{p.\thinspace#3}{pp.\thinspace#3}}
\newcommand{\p}[1]{\testpp#1-x\sentinel{#1}}
...
\p{12--24} or \p{1224}

> This may seem like a lot of extra effort, 

I prefer not to make the user have to specify something the machine can
work out for itself.

///Peter


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/jurabib/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.