Re: Canadian uniform citation (McGill)

"vercory" <[email protected]> Tue, 21 Nov 2006 17:44:55 -0000
Newsgroups gmane.comp.tex.bibtex.jurabib.user
Message-ID <[email protected]>
Thank you for getting the ball rolling on a LateX style sheet for
Canadian legal citation! I solved many problems this summer while
writing an essay, but I'm afraid, as it was my first time with LateX,
I reverse-engineered a lot and had to find ad hoc solutions which
aren't necessarily the ones one would adopt systematically. After
using Charles' suggestions (earlier on in the thread), I still have
three problems I have been unable to solve:

1. in an @INCOLLECTION, there is a comma before the start page of an
article - Canadian legal citation requires there not to be.

2. I can get "in" between the title of the article and the title of
the collection, but I can't get a comma before the "in", without there
being an extra space.

3. In the bibliography, I need there to be a full stop after the
author's name. This works fine when the author has no middle name, but
when there is a middle name, there are two full stops instead of one.

Thanks in advance...
Cory

%test.tex
\documentclass[12pt,french,english]{article}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{graphicx}
\clubpenalty= 300
\widowpenalty= 300
\usepackage[%
 titleformat=italic,%
 titleformat=all,%
 titleformat=commasep,%
 commabeforerest,%
 ibidem=strict,%
 authorformat=reducedifibidem,%
 bibformat=compress,%
 crossref=short,%
 authorformat=citationreversed,%
 citefull=first,%
 authorformat=firstnotreversed,%
 lookat,%
 oxford,%
 pages=always,%
]{jurabib}
\usepackage{hyperref}
\usepackage{booktabs}

\makeatletter
\AddTo\bibsenglish{%
\def\editorname{\unskip,\space{}ed.}%
\def\editorsname{\unskip,\space{}eds.}%
\def\lookatprefix{, \textit{supra} note~}%
\def\lookatsuffix{}%
\def\inname{in}%
}%
\renewcommand\jbpagesep{\space at}%
\renewcommand\jbshorttitlefont[1]{\textit{#1}}%
\renewcommand\bibapifont[1]{``#1"}%
\renewcommand\bibatsep{}%
\renewcommand{\bibbtsep}{in }%
\addto\jbonlyforfirstcitefullend{%
\ifthenelse{\equal{\jb@@shorttitle}{}}{}{ [\jb@@author:
\textit{\jb@@shorttitle}]}%
}%
\makeatother



\begin{document}
Test\footcite{bridge03}

Test2\footcite{durand53}

Test2\footcite{chapais13}
\bibliographystyle{jurabib}
\bibliography{test}
\end{document}
%end test.tex

%test.bib
@incollection{bridge03,
   Author = {Bridge, Edward D.},
   Title = {The Quebec Workmens' Compensation Act of 1909},
   Editor = {Baker, G. Blaine},
   Booktitle = {Studies in Canadian Legal History},
   Publisher = {Eastman Systems},
   Address = {Montreal},
   Year = {2003},
   Pages = {518}
   }


@incollection{chapais13,
   Author = {Chapais, Thomas},
   Title = {La responsabilit\'{e} dans les accidents du travail~:
Discours prononc\'{e} au Conseil l\'{e}gislatif, le 8 mars 1906},
   Booktitle = {Discours et conf\'{e}rences~: deuxi\`{e}me s\'{e}rie},
   Publisher = {J.P. Garneau},
   Address = {Qu\'{e}bec},
   Pages = {235},
   Notes = {235--255},
   Shorttitle = {Responsabilit\'{e}},
   Year = {1913}
   }


@book{durand53,
   Author = {Durand, Paul},
   Title = {La politique contemporaine de s\'{e}curit\'{e} sociale},
   Shorttitle = {S\'{e}curit\'{e} sociale},
   Publisher = {Librairie Dalloz},
   Address = {Paris},
   Year = {1953}
   }
%end test.bib