Re: \jbfirstcitepageranges for InCollection

Jens Berger <[email protected]> Sun, 08 Dec 2002 18:40:47 +0100
Newsgroups gmane.comp.tex.bibtex.jurabib.devel
Message-ID <[email protected]>
David Feest wrote:

> Thew new Version of Jurabib has a splendid new function called
> \jbfirstcitepageranges. But it only works for Periodicals/Articles.
> Wouldn't it be consequent to extend it to InCollection as well? That's
> how I, being a historian, normally handle it. 

Hmm, I will introduce your suggestion into the next release. As long as 
it is not available, use this in your preamble or .cfg file:

\makeatletter
\renewcommand*{\jb@make@pageranges@for@first@cite}{%
  \ifthenelse{\equal{\@nameuse{citefull@\@citeb}}{citefull}%
   \and\not\boolean{jb@allow@adding@of@pagerange@for@first@cite}%
  }{%
          \let\jbPAGES\@gobble
          \let\jbpages\@gobble
          \let\jbPages\@gobble
          \let\jbartPages\@gobble
  }{%
     \ifthenelse{\(%                                *
                   \equal{\jb@@type}{article}%      *
                   \or%                             *
                   \equal{\jb@@type}{periodical}%   *
                   \or%                             * NEW
                   \equal{\jb@@type}{incollection}% * NEW
                 \)%                                *
                 \and%                              *
	        \boolean{jb@allow@adding@of@pagerange@for@first@cite}%
       }{% do nothing
       }{%
           \let\jbPAGES\@gobble
           \let\jbpages\@gobble
           \let\jbPages\@gobble
           \let\jbartPages\@gobble
       }%
  }%
}
\makeatother


All the best,

Jens
-- 
jurabib home: <http://www.jurabib.org>

Registered fli4l-User #00000167




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/EGnolB/TM
---------------------------------------------------------------------~->

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/