🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #222

Isolated a bug in theapa

#222
From: ajayshah
Date: Tue, 03 Nov 1992 19:45
84 lines
2982 bytes
I seem to have turned up a bug when using theapa.sty and theapa.bst
(I don't know which is responsible).

I enclose two TINY files which isolate this bug: bugdemo.tex and
bugdemo.bst

What goes wrong:

   You start by saying "latex bugdemo.tex" and "bibtex bugdemo" and
   all is well.

   Now when you say "latex bugdemo.tex" this appears on screen:

! Undefined control sequence.
l.7 \newblock \btr
			, The National Population and Family Development Board, Kuala
? 


I grepped for \btr in theapa* and was surprised to see it defined
nowhere.  Who is inserting it?  I find that changing \btr to \BTR
in bugdemo.bbl corrects the problem (so painful, I don't even call it
a workaround).

Version information: both theapa.sty and theapa.bst are v2.5, April 92.

Thanks,

	-ans.

#! /bin/sh
# This is a shell archive.  Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file".  To overwrite existing
# files, type "sh file -c".  You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g..  If this archive is complete, you
# will see the following message at the end:
#		"End of shell archive."
# Contents:  bugdemo.tex bugdemo.bib
# Wrapped by ajayshah@mle on Tue Nov  3 11:44:21 1992
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'bugdemo.tex' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'bugdemo.tex'\"
else
echo shar: Extracting \"'bugdemo.tex'\" \(206 characters\)
sed "s/^X//" >'bugdemo.tex' <<'END_OF_FILE'
X\documentstyle[11pt,theapa]{article}
X
X\begin{document}
X\citepunct{}{\&}{and}{, }{; }{, }{}{}{.}
X
XThis is a citation \fullcite{Arshat86}.
X
X\bibliographystyle{theapa}
X\bibliography{references}
X\end{document}
END_OF_FILE
if test 206 -ne `wc -c <'bugdemo.tex'`; then
    echo shar: \"'bugdemo.tex'\" unpacked with wrong size!
fi
# end of 'bugdemo.tex'
fi
if test -f 'bugdemo.bib' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'bugdemo.bib'\"
else
echo shar: Extracting \"'bugdemo.bib'\" \(277 characters\)
sed "s/^X//" >'bugdemo.bib' <<'END_OF_FILE'
X
X@techreport{Arshat86,
X  author = {Arshat, A. Hamid and Anjli D. Ghandi and Andy Ramasamy},
X  title = {Population \& Family Development, Malaysia},
X  institution = {The National Population and Family Development Board},
X  year = {1986},
X  address = {Kuala Lumpur, Malaysia}
X}
X
END_OF_FILE
if test 277 -ne `wc -c <'bugdemo.bib'`; then
    echo shar: \"'bugdemo.bib'\" unpacked with wrong size!
fi
# end of 'bugdemo.bib'
fi
echo shar: End of shell archive.
exit 0
Technical Details
Message-ID: <13770@cis.rand.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!usc!randvax!cis.rand.org!ajayshah

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!wupost!usc!randvax!cis.rand.org!ajayshah
From: ajayshah@cis.rand.org
Newsgroups: comp.text.tex
Subject: Isolated a bug in theapa
Message-ID: <13770@cis.rand.org>
Date: 3 Nov 92 19:45:51 GMT
Sender: bobs@cis.rand.org
Reply-To: ajayshah@cis.rand.org
Organization: RAND, Santa Monica CA
Lines: 84