From: 00prneubauer@leo.bsuvc.bsu.edu (Paul Neubauer)
Newsgroups: comp.text.tex
Subject: Bibliography problems
Date: 24 Jan 93 03:22:10 GMT
Organization: Ball State U.

Hi folks,

Sorry if this posting is long, but I needed to include a fair amount
of context.  I am having a bad time with a couple of bibliography
problems in LaTeX and BIBTeX so I decided to see if anyone feels like
giving me a hand (or pointing out where my stupidity is tripping me
up, or whatever).

There are a couple of things that are bothering me, but the biggest is
the following:

I am putting together a bibliography article, in which there are
several sections of references.  I do not want the bibitems all
jumbled together, so I am using a modification of Neil Kempson's
chapterbib.sty.  The reason that I have tried to modify chapterbib.sty
is that I do not want each of the sections to start on a new page. 
When there is room, I want the next section to simply start where it
is.  Now, chapterbib.sty has already modified the LaTeX \include macro
to the following:

\def\include#1{\clearpage
\def\@currentipfile{#1}                             
\@debugoutput{\string\@currentipfile = `\@currentipfile'}    
\addtocounter{@includefilectr}{1}                           
\setcounter{@ipfilectr}{\value{@includefilectr}}            

and I modified it by simply commenting out the \clearpage.  This works
to the extent that I can, in the .tex file for the article, simply say

\include{abibsection}

where abibsection.tex consists of:

\begingroup
\nocite{*}
\bibliographystyle{mystyle}
\renewcommand{\bibtitle}{thesectionheading}
\bibliography{abblfile}
\endgroup

Note that I have redefined (from apalike.sty) thebibliography as:

\newlength{\bibhang}
\setlength{\bibhang}{2em}
\def\bibtitle{References}
\def\thebibliography#1{
  \ifx\@empty\bibtitle{\par}\else{\section*{\bibtitle}}\fi
  \list
  {\relax \@endparpenalty=3995 }{\setlength{\labelsep}{0em}
	\setlength{\itemindent}{-\bibhang}
	\setlength{\leftmargin}{\bibhang}}
    \def\newblock{\hskip .11em plus .33em minus .07em}
    \sloppy\clubpenalty4000\widowpenalty4000
    \sfcode`\.=1000\relax
}

so that it uses the value of \bibtitle instead of insisting on
``Bibliography'' all the time.  It also does not create a section at
all if I give it an empty \bibtitle as in:

\renewcommand{\bibtitle}{}

This is useful in this particular case, since I do have some cases
where I want text separating (sub)sections of the bibliography.  It
has also proven critical in my diagnosis of the problem so far, which
is that although I am not getting a new page {\em at the start} of a
section of bibliography, I am getting an unwanted pagebreak {\em at
the end} of each section of bibliography.  That is, I am getting
output like this:

My text starts out like this and then:

%[on the same page]

First bibliography section heading

a bunch of bibitems

%[page break]

Second bibliography section heading

some bibitems

%[page break]

Some text that does not really constitute a new section, but does
separate the preceding bibitems from the following.

%[no page break]

more bibitems

etc.  As you can see, a page break is forced (regardless of space
remaining on the old page) each time an \include'd bibligraphy setion
ends (but NOT when one starts).  I even added the \@endparpenalty=3995
to the starting conditions for the thebibliography environment in the
hope that that would inhibit pagebreaking at the end of the
environment, but that has been fruitless.

Has anyone got a clue for clueless me?  I'm desparate.

This particular project has also caused me to wonder about a couple of
other BIBTeX questions.  I have a number of Oriental authors in the
listing and the usual convention for people from nationalities who
normally put the surname first is to list them in a bibliography as,
e.g., "Mao Tse-Tung" or "Nguyen Cao Ky" not as "Nguyen, Cao Ky" (with
a spurious comma).  Consequently, I want to suppress generation of a
comma by BIBTeX.  The fix I have been using in the present case is
simply:

	AUTHOR = "{Nguyen Cao Ky}",

Again, this works, as far as it goes.  However, I note that if I were
actually citing these works (instead of simply grabbing them with a
\nocite{*}) this would generate citations in the text like (Nguyen Cao
Ky 1973) instead of (Nguyen 1973) (I need to use a more or less
APAlike citation style).  I do not see any useful suggestions in
either newapa.bst or theapa.bst, so as far as I can tell, the authors
of those styles have not considered this problem.  I suppose that I
could add a field to entry that would (if not empty) override the
normal label, but I wondered if anyone else has solved the problem
already, with any of the more or less standard .bst files that are
already out there.

Another thing that has bothered me is what to do with ``minor
authors'' who are listed as ``with'' rather than ``and'' in a
citation.  This crops up all the time in things like celebrity
`autobiographies' where you get things authored by, e.g., Bo Jackson
with I. M. Ghostwriter.  In this case, you can't simply say:

	AUTHOR = "Bo Jackson with I. M. Ghostwriter",

because the eventual bibitem will be cited as:

	Ghostwriter, Bo Jackson with I. M.  1991.  {\em The Ghost of
		Footballs Past}.  Gnu Yock:  Screwball, Inc.

where if the .bib file had  were:

	AUTHOR = "Bo Jackson and I. M. Ghostwriter",

we would get the correct (in that case):

	Jackson, Bo and I. M. Ghostwriter.  1991.  {\em The Ghost of
		Footballs Past}.  Gnu Yock:  Screwball, Inc.

So far I have faked it with:

	AUTHOR = "Jackson, Bo with I. M. Ghostwriter",

and BIBTeX simply assumes that everything following the comma is
Jackson's first (and middle and middle and ...) names.  I am also
assuming (without having tested it) that if I were using a
bibliography style where all names were inverted to `last, others'
then listing them as:

	AUTHOR = "Jackson, Bo with Ghostwriter, I. M.",

would also work and that BIBTeX would effectively just ignore the
second comma.  Does anyone have a better suggestion for dealing with
`with'?  

adv10Qance

-- 
Paul Neubauer   00prneubauer@leo.bsuvc.bsu.edu  00prneubauer@bsuvax1.BITNET
                00prneubauer@bsu-ucs.UUCP       neubauer@bsu-cs.UUCP
Newsgroups: comp.text.tex