nosplit option for Jurabib

"Roger Templeton" <[email protected]> Tue, 06 Jan 2004 20:48:42 -0800
Newsgroups gmane.comp.tex.bibtex.jurabib.devel
Message-ID <[email protected]>
I found jurabib, it is really great.  It's got the right set of features for 
my wife's theological writing.

There's another standard CTAN package out there, footbib.  It's kind of like 
jurabib extra-lite, has the beginnings of the functionality we needed but 
didn't go all the way.
http://www.mit.edu/afs/athena/contrib/tex-contrib/Footbib/footbib.sty

However, footbib has one feature that we wanted in Jurabib: the [nosplit] 
option, which prevents footnotes from being split across pages.  Split 
footnotes are really annoying (in this case), and we wanted to prevent them.

I know very little "real TeX", but looked into the jurabib.sty and 
footbib.sty files to see what i could do.  I found the following code in 
footbib, dealing with the nosplit option:

\newcommand\fb@citefn{%
  \insert\fb@ins{%
    \color@begingroup
      \reset@font\footrefstyle
      \interlinepenalty\iffb@nosplit\@M\else\interfootnotelinepenalty\fi
      \splittopskip 1.2\ht\strutbox
      \splitmaxdepth \dp\strutbox
      \floatingpenalty \@MM
      \hsize\columnwidth
...

The corresponding code in jurabib.sty is as follows:

  \ifjb@hyper\else
   \long\def\@footnotetext#1{\insert\footins{%
    \jb@fntrue% we are in footnote, borrowed from camel.sty
    \def\baselinestretch{1}% no spacing in footnotes (jura.cls!)
    \reset@font\footnotesize
    \interlinepenalty\interfootnotelinepenalty
    \splittopskip\footnotesep
    \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
...

I changed following line in Jurabib:
    \interlinepenalty\interfootnotelinepenalty
to
    \interlinepenalty\@M

The intention was to "hard-wire" a "nosplit" option into Jurabib.  It seemed 
to work.  Does anyone know if this was truly the right thing to do to get 
nosplit capability?  Would anyone be intersted in adding the nosplit option 
to Jurabib in the proper manner?

Thanks,
-- Bob

_________________________________________________________________
Tired of slow downloads? Compare online deals from your local high-speed 
providers now.  https://broadband.msn.com


 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/jurabib-developer/

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/