Discussion:
Getting the details into parentheses - the limits of Jurabib?
m***@helsinki.fi
2006-10-05 13:33:07 UTC
Permalink
Dear users of Jurabib,

I am in the process of formatting a text according to the style of T & T
Clark. They use a variant of Oxford.

Problem number one is that T & T Clark wants - for monographs - all the
information except author, title, and page-number, to be within
parenthesis. Can Jurabib do this? Now I get such info as series,
translations, etc. outside the parantheses, e.g. like this: "Hans Dieter
Betz, Galatians: A Commentary on Paul’s Letter to the Churches in Galatia,
(Philadelphia: Fortress Press, 1988), Herm, pp. 31–37." In this example,
"Herm", should be before the closing parenthesis.

Problem number two is that they want references to articles to include the
page-span of the article followed by the actual page cited in parentheses,
like this: "C. Brown, ‘The “Son of Man” Debate’, NTS 12 (1970), pp. 121-38
(125)." Jurabib features the "\formatarticlepages" function, but if that
is used also the pages for books will get parentheses, which is not
acceptable.

I use LaTeX + BibTeX + Jurabib. Please find the testfiles below. Any help
greately appreciated!

With best regards,
Mika Hietanen


--
Here is a minimal working example with the text file, the bibliography
file, and the configuration file for jurabib:


--
testfile.tex

\documentclass{book}
\usepackage{jurabib}\bibliographystyle{jurabib}
\usepackage[T1]{fontenc}

\begin{document}

According to Aristotle, there are three sorts of argument.\footnote{On
this point I am indebted to \cite[31--37]{betz}.} The objectives of these
are, respectively, certainty, acceptability, and persuasiveness. If the
aim is certainty, the arguments need to be demonstrative, and the theory
logic.\footnote{See the overview in \cite[32--33]{betz}.} Briggs' survey
of the uses of speech act theory in biblical interpretation gives us a
useful introduction.\footnote{\cite[12]{briggs}.}

\bibliography{testlit}

\end{document}


--
testlit.bib

@BOOK{betz,
author = {Hans Dieter Betz},
year = {1988},
title = {Galatians: A Commentary on Paul's Letter to the Churches
in
Galatia},
shorttitle = {Galatians},
publisher = {Fortress Press},
address = {Philadelphia},
series= {Herm},
note = {First pr. 1979},
}
@PERIODICAL{briggs,
author = {Richard S. Briggs},
year = 2001,
title = {The Uses of Speech-Act Theory in Biblical
Interpretation},
shorttitle = {Uses of Speech-Act Theory},
editor = {Alan J. Hauser},
journal = {CR:BS},
volume = 9,
pages = {229--276},
}


--
jurabib.cfg

\jbyearaftertitle
\jbdotafterbibentry
\setlength{\jbbibhang}{1.0em}
\renewcommand{\jbhowsepbeforetitle}{, }
\renewcommand*{\bibpldelim}{(}
\renewcommand*{\bibprdelim}{)}

\jurabibsetup{
titleformat=all,%
bibformat=compress,%
bibformat=ibidem,%
commabeforerest,%
citefull=first,%
pages=always,%
pages=format,%
oxford,
}
--
Dr Mika Hietanen
***@helsinki.fi
+358504600701
MEMENTO VIVERE
--
Please remember -- this is an international english speaking mailing list!

If you have a problem, please provide a complete minimal example document (with a small bibliography database), which runs out of he box without any superfluous packages loaded, otherwise we could not help.
Yahoo! Groups Links

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/jurabib/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:jurabib-***@yahoogroups.com
mailto:jurabib-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
jurabib-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
c***@kde-france.org
2006-10-07 12:15:48 UTC
Permalink
Post by m***@helsinki.fi
Dear users of Jurabib,
I am in the process of formatting a text according to the style of T & T
Clark. They use a variant of Oxford.
Problem number one is that T & T Clark wants - for monographs - all the
information except author, title, and page-number, to be within
parenthesis. Can Jurabib do this? Now I get such info as series,
translations, etc. outside the parantheses, e.g. like this: "Hans Dieter
Betz, Galatians: A Commentary on Paul’s Letter to the Churches in Galatia,
(Philadelphia: Fortress Press, 1988), Herm, pp. 31–37." In this example,
"Herm", should be before the closing parenthesis.
I have solved problem number one...

\documentclass{book}
\usepackage{jurabib}
\bibliographystyle{jurabib}
\usepackage[T1]{fontenc}
\jbyearaftertitle
\jbdotafterbibentry
\setlength{\jbbibhang}{1.0em}
\renewcommand{\jbhowsepbeforetitle}{, }
\renewcommand*{\bibpldelim}{(}
\renewcommand*{\bibprdelim}{)}

\renewcommand{\bibapyldelim}{(} %% <- left parenthesis
\renewcommand{\bibsnfont}[1]{#1)} %% <- right parenthesis
%\jbfirstcitepageranges
%\formatarticlepages{(}{)}

\jurabibsetup{
titleformat=all,%
bibformat=compress,%
bibformat=ibidem,%
commabeforerest,%
citefull=first,%
%pages=always,%
%pages=format%
}
\formatpages{periodical}{(}{)}
\AddTo\bibsenglish{%
\def\herename{}%
}
\begin{document}

According to Aristotle, there are three sorts of argument.\footnote{On
this point I am indebted to \cite[31--37]{betz}.} The objectives of these
are, respectively, certainty, acceptability, and persuasiveness. If the
aim is certainty, the arguments need to be demonstrative, and the theory
logic.\footnote{See the overview in \cite[32--33]{betz}.}  Briggs' survey
of the uses of speech act theory in biblical interpretation gives us a
useful introduction.\footnote{\cite[12]{briggs}.}

\bibliography{testlit}

\end{document}
Post by m***@helsinki.fi
Problem number two is that they want references to articles to include the
page-span of the article followed by the actual page cited in parentheses,
like this: "C. Brown, ‘The “Son of Man” Debate’, NTS 12 (1970), pp. 121-38
(125)." Jurabib features the "\formatarticlepages" function, but if that
is used also the pages for books will get parentheses, which is not
acceptable.
I'm stuck with your second problem.

I have no luck with the \formatpages command !!

Cheers,
Charles
--
Please remember -- this is an international english speaking mailing list!

If you have a problem, please provide a complete minimal example document (with a small bibliography database), which runs out of he box without any superfluous packages loaded, otherwise we could not help.
Yahoo! Groups Links

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/jurabib/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:jurabib-***@yahoogroups.com
mailto:jurabib-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
jurabib-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
c***@kde-france.org
2006-10-07 14:44:45 UTC
Permalink
Well, with some hacking and poking. It seems I have a solution for your
second problem :

\documentclass{book}
\usepackage{jurabib}
\bibliographystyle{finland}
\usepackage[T1]{fontenc}
\jbyearaftertitle
\jbdotafterbibentry
\setlength{\jbbibhang}{1.0em}
\renewcommand{\jbhowsepbeforetitle}{, }
\renewcommand*{\bibpldelim}{(}
\renewcommand*{\bibprdelim}{)}

\renewcommand{\bibapyldelim}{(}
\renewcommand{\bibsnfont}[1]{#1)}
\jbfirstcitepageranges
\jurabibsetup{
titleformat=all,%
bibformat=compress,%
bibformat=ibidem,%
commabeforerest,%
citefull=first,%
%pages=always,%
pages=format%
}
\makeatletter
\renewcommand*{\jbpagesformat}[1]{%
\ifthenelse{\(%
\equal{\jb@@type}{article}%
\or
\equal{\jb@@type}{periodical}%
\)
}%
{(\hspace{-1ex}#1)}%
{#1}%
}
\renewcommand*{\jbPageName}{
\ifthenelse{\(%
\equal{\jb@@type}{article}%
\or
\equal{\jb@@type}{periodical}%
\)
}
{}%
{\jbpagename\jbpagesnamesep}%
}
\renewcommand*{\jbPagesName}{
\ifthenelse{\(%
\equal{\jb@@type}{article}%
\or
\equal{\jb@@type}{periodical}%
\)
}
{\unskip}%
{\unskip\jbpagesname\jbpagesnamesep}%
}
\renewcommand*{\***@before@***@sep}{
\ifthenelse{\(%
\equal{\jb@@type}{article}%
\or
\equal{\jb@@type}{periodical}%
\)
}
{\unskip~}%
{\unskip, }%
}
\makeatother

\AddTo\bibsenglish{%
\def\herename{}%
}
\begin{document}

According to Aristotle, there are three sorts of argument.\footnote{On
this point I am indebted to \cite[31--37]{betz}.} The objectives of these
are, respectively, certainty, acceptability, and persuasiveness. If the
aim is certainty, the arguments need to be demonstrative, and the theory
logic.\footnote{See the overview in \cite[32--33]{betz}.}  Briggs' survey
of the uses of speech act theory in biblical interpretation gives us a
useful introduction.\footnote{\cite[12]{briggs}.}

\bibliography{testlit}

\end{document}

You will need the slighty modified jurabib.bst file, that I have called
finland.bst that I attach to this mail.

Cheers,
Charles
--
Please remember -- this is an international english speaking mailing list!

If you have a problem, please provide a complete minimal example document (with a small bibliography database), which runs out of he box without any superfluous packages loaded, otherwise we could not help.
Yahoo! Groups Links

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/jurabib/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:jurabib-***@yahoogroups.com
mailto:jurabib-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
jurabib-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Loading...