; TeX output 1997.02.17:1052soUDtGGcmr17The7t-G cmcsc10LavwmosdulefortheCamelBibliographqy7Engine!", cmsy10 XQ cmr12FVrankGBennett,Jr.2K cmsy8yoExXs,anddiLfhezMx li Bib-packqages,-fordiL5ffٓRcmr7A͉TU>'ExXandBiDb32TU>EXcrespGectively*. LessonsIlearnedfromdevelopingthesepackqagessuggestedthatacomprehensiveformat-ItingpackqageforlegalcitationscouldserveasthefoundationforamoGdular,highlyIgeneralized'citationandbibliographyformattingsystem.>ThelogicalcoGdefromIthese[packqageswasexcisedandusedinthedraftingoftheCamelbibliographyIengine.6The typGesettingcodewasthenusedtoassembletheLarwmoGduleforICamel.XThefimplicationsofsuchasystemareparticularlyinterestingifitcomestobGeIwidelyɶusedinthepublicationoflawjournalsor,evenbGetter,inthepublicationofIcourt4judgements.fTheeciencywithwhichcitationscanbGereportedtocitationIserviceswouldbGeincreased,sinceBiDb32TU>ExX-formatdatabaseentriesareinastan-Idard2.formatthatcanbGeprocessedelectronically*.fThesesamelistscouldbemadeIavqailableastext-searchabledatabasesofauthority*.1NetworkdiscussionsoflegalIissuescouldbGeaccompaniedbygrowinglistsofannotatedauthority*,)avqailableforIallUUtouse.XT*ousethispackqage,allyoushouldneedtodoisunpackthe lesbyrunningI#oExXarticleIcitationtoanarticle.}]F*orthisandforallcitationtypGesde nedintheLfhezMx li BibIstyle,3thegoalistoprovidereasonablycompletecommentary*,3sothatanyoneIwantingtoalterthebGehaviourofthestylecansettoworkwithafairdegreeofIcon denceUUabGoutwhatneedstobedonetoachieveUUaparticularresult.I55SFUNCTION{article}IThearticleentryisusedforallkindsofmaterial,,soitendsupasoneoftheImost]complexentries.UBeforewedoanything,vwehavetocheckwhetherthedefaultICamelɲbridgesareacceptable.GCTherearetwotypGesofsituationstowatchoutfor.IFirst,ifthevolumeandthenumbGerarebothnon-empty*,weneedtoaddaspecialIsetGaofsubstitutebridges.GAlternatively*,ifbGothvolumeandnumberareempty*,Ibut۫thedateismorespGeci cthanjustayear,Awe۫assumewearedealingwithaInewspapGer.qInUUeithercase,weusethesamespecialsetofbridges.I56S{volumeempty$notnumberempty$notand I57]volumeempty$numberempty$year"mo.dd.yy"format.dateI58]pop$itemcount#1=notandandorI59]{"\bridges{,\p.~}{,\}{,\}{\}{\at~}{\at~}"I60f""""must.must.mustI61fnewline$I62]}ISecond,the$@articleentrytypGe,likemanyentrytypGesintheBlueBookstyle InormallyplaceswhitespacebGetweenthetitleandapinpointpagenumbGer._SIftheItitleendsinanumeralthiswillbGeconfusing,sotheBlueBookrequiresthatweIseparate=thetwo=withacommainthiscase.IjThefollowingadjustmenttobridgingIpunctuationUUaccomplishesthispurpGose.I63]{titletype.last.char"numeral"= I64f{"\bridges{,\}{,\}{,\}{\}{\at~}{\at~}"I65p2""""must.must.mustI66p2newline$I67f}I68f'skip$I69fif$I70]}if$IThen+wewritethecitationleader,3toprepareforoutputtingtheactualcontentof ItheUUcitationtext.I71XdD"\lexibib{article}{"cite$"}{"must.must.mustI72XdDget.a.kinda.sort.keyI73XdD"}{"""must.must.mustIThe"authornameispushedtothestack,followed"byatoggletotriggerlast-name- Ionlysformatting.VThentheformat.namesreducesthistoasingle,{appropriately-Iformatted( string,\pGossiblythenullstring.'AllthatislefttodoispushasetaIX-ffr J= "5-:Aacmr61LThisXcommenÎtbyOrenPatashnik.4*@soIbraces,6a/'nullstringtomakeupthreeargumentstotheexpGortroutine,6andwrite ItheUUlotontheoutput leunconditionally*,usingmust.must.must.I74Sauthor s,"lastonly"format.names I75S"}{"I76S""I77Smust.must.mustINextcomesthetitleofthearticle.<+ThisisnotspGeciallyformatted;wesimplypushIthe.title eld,thenawarningstringfollowedbyacheckforwhetheritisemptyIorUUnot,thenbracesandanullstring,andwriteagain.I78Stitle"title"checkI79S"}{"I80S""I81Smust.must.mustIThe€nextbitisactuallyratherthorny*.ITherearethreepGossiblecases.The rstIisCwherebGothavolumenumbGerandanissuenumbGerexist.kInthiscase,GkweuseaIverbGose2formofreference.ZInthesecond,thereisnovolumenumbGer,butpossiblyIan>SissuenumbGer.jThis>SistheproperformforCommonwealth>Slegalmaterials,BandIrequires theyearinbrackets,6followedbytheissuenumbGertoshowthevolumeIwithin|theyear.S)Third, we|maysimplyhaveavolumenumbGerbyitself.S)ThiscallsIforUUthecitationformformostjournals,andU.S.caserepGorters.I82]volumeempty$notnumberempty$notandI83]{journal"journal"check",v.~"volumemust.must.mustI84f",n.~"number"}{"must.must.must}I85]{volumeempty$notI86f{volume"\"journal"journal"checkempty.to.nullI87p2might.ifone.mustI88p2"}{"""""must.must.must}I89f{year"mo.dd.yy"format.dateitemcount#1=I90p2{"["swap$"]"iftwo.might.iftwoI91p2number"\"journal"journal"checkmight.ifone.mustI92p2"}{"""""must.must.must}I93p2{pop$numberempty$I94yw^{"\\"journal"journal"check"\\"must.must.mustI95"}{"""""must.must.must}I96yw^{number"\"journal"journal"checkmight.ifone.mustI97"}{"""""must.must.mustI98yw^}if$I99p2}if$E100f}if$E101]}if$IThe`9BlueBoGokdoesnotlikepagerangessoweneedtocleanoutanythingfollowingIa~dashinthepages eld.BTheshortoptiontogglesthisbGehaviouron.W*ealsoIcheckg@toseethatthepageisnotempty*.Thisisfollowedbybraces,kanullstring,IandUUoutput.E102Spages"short"format.pages"pages"checkE103S"}{"E104S""E105Smust.must.mustIW*egaddtheyearnext,{butonlyifthevolume eldisnon-empty(ifvolumeisIempty*,9^we'll2`haveputtheyearisasabracketedvolumenumbGer,9^Commonwealth-59soIstyle.[W*ecouldusejusttheyear(thisisnormalforBlueBoGokstyle,0Rbutwe'll IaddUUthemonthforgoGodUUmeasure,ifit'sbGeenprovidedintheyear eld.E106Svolumeempty$not E107]{"("""""must.must.mustE108fpublisher":\"""might.ifone.mustE109f""year"mo.dd.yy"format.date")"must.must.must}E110]{year"mo.dd.yy"format.dateitemcount#1=E111f'pop$E112f{""""must.must.mustE113f}if$E114]}if$IFinally*,+wehavetotanglewithcross-references.GY*uck.(NotacomplaintabGoutIBiDb32TU>ExX,äjustageneralrespGonsetothedesignproblemsinherentinthetask).IF*ormatting=depGendsonwhetherthereisacrossrefentry.Hearthat,wguys?IfIyouUUdon'tusethecrossref eld,we'llshort-changeyouonformattingservice.E115Scrossrefempty$IIfJthereisnocrossref,Kwejustpushabraceandacoupleofnulls,Kandwrite.IDone!qHurray!E116S{"}"""""must.must.must}IBut1iftherewasRRacrossref,we've1gotworktodo.\Darn.The1 rstthingwedoIis/havealoGokatbooktitle.Thisshouldbenon-nullinthissituation;there'sInosensesettingupacross-referencetoanindividualvolumeofajournalunlessIthere'sUUsomethingspGecialtobesaidaboutit.E117S{booktitleempty$ISoOmifnobooktitleisfound,wewhingeandformatasforano-cross-referenceIentry*.E118]{"nobooktitle(nameofspecialissue)for" E119kJcite$"/"crossref". s,Whyacrossref?"****warning$E120f"}"""""must.must.must}IIfHthereisiabooktitle,though,andHifthevolume eldisnon-empty(whichImeansthatwejustprinted,oratleastshouldhaveprinted,theyear),weclosetheIparens(followingtheyear(whichisopGenedbyLfhezMx loI TU>oExX'),andopGenanother(whichIwill_bGeclosedbyLfhezMx loI TU>oExX(').]That'sitforconditionalpunctuation;dwefollowwithIbooktitle,3which+shouldbGethetitleorsub8jectdescriptionofthespecialissueofItheUUjournal.E121]{volumeempty${""}{")("}if$booktitle"}"must.must.must}E122]if$E123S}if$IAddUUafreshnewlineintheexpGort le,andwe'redone!qWhew!E124Snewline$E125S}XThis@pistheentryforbGooks,Dwhich@pincludesindividualvolumesinaseries,Dand+book Imulti-volumeoworkswithasingletitle.CorrectmeifI'mwrong,v$butIothinkthisIlattercitationtypGeisnotsupportedbyBiDb32TU>ExX.LfhezMx li Bib)r{managesitbyallowingIthe;usertospGecifythevolumenumbGerinthetextusingtheoptional::IargumentUUtothe\lexicitetag.E126SFUNCTION{book}6EsoIThisentrytypGenormallyplaceswhitespacebetweenthetitleandapinpoint Ipage#numbGer.1IfthetitleendsinanumeralthiswillbGeconfusing,JsotheBlueIBoGok2requiresthatweseparatethetwowithacommainthiscase.f ThefollowingIadjustmentUUtobridgingpunctuationaccomplishesthispurpGose. E127S{titletype.last.char"numeral"= E128f{"\bridges{,\}{}{,\}{\}{\at~}{\at~}"E129p2""""must.must.mustE130p2newline$E131f}E132f{unitsempty.to.null"paras"=E133p2{"\bridges{,\para.~}{}{,\paras.~}{\}{,\para.~}{,\paras.}"E134yw^""""must.must.mustE135yw^newline$E136p2}E137p2'skip$E138p2if$E139f}if$INext,aftertheopGener,wepushtheopGeningmacrotagforabookentry*,the Inicknameofthecitation,andacoupleofbraces.zThisisallmandatoryandcanIsafelyUUbGegivenunconditionalexport.E140]"\lexibib{book}{"cite$"}{"must.must.must E141apget.a.kinda.sort.key"""}{"must.must.mustIAenon-empty׆volume eldmeansweneedaleadingvolumenumbGerintheBlueIBoGokTstyle.IfavolumenumbGer(oranythingelse)isfoundinthevolume eldIofRabGookRentry*,NQwereplaceitwithavolnomacro. -ThiswillexpandintheIdoGcumenttowhatevertheauthorhasspGeci edusingtheoptional:Iargumentwto\lexicite. %.F*orexample,volume8ofholdsworthwouldbGe:I\lexicite:8:{holdsworth}.E142]volumeempty$ E143]{""}E144]{"\volno\"}E145]if$IThe authorcomes rst.YW*epushthecontents oftheauthor eld,Ithenthetoggle Istring \firstinitial",andruntheformat.namesfunctiontoproGducethenameIformattedkpropGerlyforabookentry*.ThenwepushfacoupleofbracesandforceIallUUthreeitems(\volnoornull,author,andbraces)ontotheoutput.E146]author E147]"firstinitial"format.names"}{"must.must.mustIThe;8titlemaybGeasimplenameforasinglevolume,@qoritmaybGeintitle/subtitleIformat.4Title/subtitlemcanbGewrittenintothetitleentrydirectlyas\ !", cmsy10htitle[ieN:Ihsubtitle[ips".=W*eCprovideforanalternativeformhere,YjustincasebooktitleisIusedforthemaintitle|conservqationofdata.0"Ifthereisnobooktitle,weIpushZ3thetitle,[kthencheckZ3tobGesureit'snon-empty*,thenwriteitontooutput.aIfIbooktitle12exists,8mwepushit,thenacolon,thentitle,followed12byaconditionalIwrite9onoutputthatwillsuppressthecoloniftitleisempty*.[rFinally,we9pushItheclosingbracesandanopGeningparens(fortheyearinfo)andwritethatstu IonUUoutput.E148]booktitleempty$ E149f{title"title"check"""" s,must.must.must}E150f{booktitle":"titlemust.ifthree.might7SsoE151f}if$ E152]typeempty.to.null"cmnd"=E153]typeempty.to.null"command"=E154]typeempty.to.null"commandpapers"=E155]ororE156]{","year"mo.dd.yy"format.dateE157f",""Cmnd."E158f***E159fseriesempty$E160f{"no.~"}E161f{"Ser.~"series",No.~"**E162f}if$E163]number"number"checkE164ap**E165ap""""must.must.mustE166ap}E167ap'skip$E168apif$E169]"}{}{}{""("""must.must.mustIW*e'renowinthe nal\ eld"oftheLfhezMx loI TU>oExX,entry*.iThisismainlyfortheyear, IbutIwealsogivethenameoftheeditor(s)ortranslator(s)ifpresent.ӣIfthereisInoeditorortranslator,we'llputaseriesnamehere,tohelpidentifythesource.IW*eYdon'tputbGoth,ZbecauseYthiswouldconfusethings(therecanbGebookeditorsIandserieseditorstoGo,sandtheBlueBookstyleistoostreamlinedtodistinguishItheUUtwoelegantly).qSoour rsttaskistoseeifthereisaneditor...E170feditorempty$translatorempty$andI...8and^ifthereisnone,aweputinaseriesnameifitexists. TheseriesBiDb32TU>ExXI eldshouldbGeusedforthenameoftheseriesofwhichavolumeformsapart,Ibutjsomefolksmightaccidentallyusebooktitle.W*e'llbGeforgivingandacceptIitUUanyway*.E171f{seriesempty$IIfUUbGothseriesisempty*,we'venothingtodo.E172p2'skip$XIfseriesexists,5wepushit,followedbyabridgeandaseriesitemnumbGer, Iandcatoggleforthefield.tag.no.combinefunction.!HTheendlabeltogglecausesIthis$functiontoputthebridgeandthenumbGer$aftertheseriesname,.ifanumberIexists,$andupushthelotbackasasingleitemonthestack.d'OtherwiseitleavesIjustUUtheseriesname.XAndRlast,S#weputupacommatoclose,anddoamandatoryexpGortofthelot.E173p2{series"No.~"number E174p2"endlabel"field.tag.no.combine","""must.must.must}E175p2if$E176f}IIfeithertheeditororthetranslator eldswerenotempty*,weformattheeditor IorUUtranslatornameinstead,andputthosedetailshere.E177f{editortranslatoreither.or"firstinitial"format.namesIW*eHmneedtoappGendthecorrectdesignator,~6either\ed."or\trans.".%Theeither.orIfunctionwillusetheseconditempushedifbGotharenon-empty*,*sowetakeadvqan-ItageRofthis\feature"inmakingourchoiceofdesignators;!theed.oreds.strings8 asoIareUUonlyusedifthetranslator eldisempty*.qAnd nally,wepushanullstring ItoUUroundout,anddoacompulsoryexpGort.E178p2translatorempty$ E179p2{editornum.names$#1>E180yw^{"eds.\"}E181yw^{"ed.\"}E182yw^if$E183p2}E184p2{"trans.\"}E185p2if$E186p2""must.must.mustE187f}if$IW*eUUalsoneedtoindicatetheedition,ifany.E188]edition"ed.\"""might.ifone.mustITheyearitselfiseasy*.+AWepushtheyear,doachecktoissueawarningifnecessary*, Ithen>runformat.dateover>it,whichyieldstheyearintheyear,whichcanbGeIpushedbackontothestack.Thenwe llouttosixLfhezMx loI TU>oExX+ހ eldsinall,randdoIaUUcompulsoryexpGort.E189]typeempty.to.null"cmnd"= E190]typeempty.to.null"command"=E191]typeempty.to.null"commandpapers"=E192]ororE193]{""}E194]{year"mo.dd.yy"format.dateE195]}if$E196]")}"""must.must.mustIA`newlineforanewmacro,andwe'redone!:^Rejoice!Ontothenextfunction Ide nition!E197]newline$E198S}XThisqisforthosenastyentriesthatarecreatedwhensomeonepublishesanLincollection IarticleUUinacollectionofessayseditedbysomeoneelse.E199SFUNCTION{incollection}E200S{"\lexibib{incollection}{"cite$"}{"must.must.mustE201apget.a.kinda.sort.key"""}{"must.must.mustE202]author"lastonly"format.names"author"checkE203]"}{"""must.must.mustE204]title"title"checkE205]"}{"""must.must.mustE206]chapterempty$E207f{"\\in\\"}E208f{"\\"typeempty$E209p2{"chapter"chapter"chapter"check"of\\"***}E210p2{type""chapter"chapter"check"of\\"****E211p2}if$E212f}if$E213]booktitle"booktitle"checkE214]"}{"must.must.mustE215]pages"short"format.pages"pages"checkE216]"}{""("must.must.mustE217S%We'renowinthefinal``field''ofthe\LexiTeX{}entry.9 nsoE218S%Thecodinghereisthesameasfora"book"entry;the E219S%readerisreferredtothatentryforthecommentaryE220S%onthefollowingcode.E221S%X\begin{macrocode}E222feditorempty$translatorempty$andE223f{seriesempty$E224p2'skip$E225p2{series"No.~"numberE226p2"endlabel"field.tag.no.combine","""must.must.must}E227p2if$E228f}E229f{editorbooktranslatoreither.or"firstinitial"format.namesE230p2booktranslatorempty$E231p2{editornum.names$#1>E232yw^{"eds.\"}E233yw^{"ed.\"}E234yw^if$E235p2}E236p2{"trans.\"}E237p2if$E238p2""must.must.mustE239f}if$E240]edition"ed.\"""might.ifone.mustE241]year"mo.dd.yy"format.date")}"""must.must.mustE242]newline$E243S}IThere eissigni cantmassagingoftheusetowhichtitleandbooktitleisput!|inbook Ihere. TIfbGothoccur,Cbutaredi erent,theformis\titleinbooktitle",orI\title,WchapterXXCofbooktitle".WIfbGothoccur,Wbutarethesame,thetreatmentIdepGendss,onwhetherchapteroccurs.LIfitdoesnotoccur,zthestylecomplains|IanZ@inbookentryshouldalwaysrefertoachapterorotherspGeci cunitiftheItitleandbooktitlearethesame.)IfitdoGesoccur, thenthechapterorotherIspGeci eristreatedasavolumenumbGerinsertedasanoptionto\sourceusingv=,ItheUUtitlebGeinginsertedasthetitleofthework.E244SFUNCTION{inbook} E245S{"\lexibib{inbook}{"cite$"}{"must.must.mustE246]get.a.kinda.sort.key"""}{"must.must.mustE247]author"firstinitial"format.names"author"checkE248]"}{"""must.must.mustE249]titlebooktitle=E250f{chapterempty$E251p2{"nochapterorseparatetitleforinbookentry"cite$*warning$E252p2}E253p2{"{\rm""Chapter"typeeither.or.nowarningE254yw^""chapter"of}"****E255p2}if$E256f}E257f{""E258f}if$E259]title"title"checkE260]"}{"must.must.mustE261]titlebooktitle=E262f{""}10 y.soE263f{chapterempty$ E264p2{"{\rmin}"}E265p2{typeempty$E266yw^{"{\rmChapter"chapter"of}"**}E267yw^{"{\rm"type""chapter"of}"****E268yw^}if$E269p2}if$E270f}if$E271]booktitle"booktitle"checkE272]"}{"must.must.mustE273]pages"short"format.pages"pages"checkE274]"}{""("must.must.mustE275S%We'renowinthefinal``field''ofthe\LexiTeX{}entry.E276S%Thecodinghereisthesameasfora"book"entry;theE277S%readerisreferredtothatentryforthecommentaryE278S%onthefollowingcode.E279S%X\begin{macrocode}E280ftranslatorempty$E281f{seriesempty$E282p2'skip$E283p2{series"No.~"numberE284p2"endlabel"field.tag.no.combine","""must.must.must}E285p2if$E286f}E287f{translator"firstinitial"format.namesE288p2"trans.\"E289p2""must.must.mustE290f}if$E291]edition"ed.\"""might.ifone.mustE292]year"mo.dd.yy"format.date")""}"must.must.mustE293]newline$E294S}E295SFUNCTION{booklet}E296S{"\lexibib{booklet}{"cite$"}{"must.must.mustE297]get.a.kinda.sort.key"""}{"must.must.mustE298]author"full"format.names"}{"""must.must.mustE299]"\\"title"\\}{}{}{("must.must.mustE300]howpublished","""might.ifone.mustE301]year"mo.dd.yy"format.dateE302]")}"""must.must.mustE303]newline$E304S}E305SFUNCTION{techreport}E306S{"\lexibib{techreport}{"cite$"}{"must.must.mustE307]get.a.kinda.sort.key"""}{"must.must.mustE308]institutionauthoreither.or.nowarningE309]"full"format.names"author&institution"checkE310]"}{"title"title"checkmust.must.mustE311]"}{}{}{""("""must.must.mustE312]authorempty$E313f'skip$E314f{institution"\" s,""might.ifone.mustE315f}if$11 soE316]typeempty$ E317f{"Technicalreport"}E318f{typeE319f}if$E320]typeempty.to.null"Cmnd"=E321]{"\"}E322]{"No.~"E323]}if$E324]number"endlabel"field.tag.no.combineE325]","""must.must.mustE326]year"mo.dd.yy"format.dateE327]""")}"must.must.mustE328]newline$E329]}~1E330SFUNCTION{mastersthesis}E331S{"\lexibib{mastersthesis}{"cite$"}{"must.must.mustE332apget.a.kinda.sort.key"}{"""must.must.mustE333]authorE334]"full"format.names"author"checkE335]"}{"title"title"checkmust.must.mustE336]"}{}{}{("E337]typeempty$E338f{"Master'sThesis"}E339f{typeE340f}if$E341]","must.must.mustE342]institution"institution"check","""might.ifone.mustE343]year"mo.dd.yy"format.dateE344]")""}"must.must.mustE345]newline$E346]}SICases LawExXfZstyle lesdictatesthatitwillfollowanywarningsabGoutImissingUUentries.E523SEXECUTE{hello} E524Sh=bstfunctions3GZi eI2aLCamelffstylecos3deE525Shla9wcitestyle0iE526S\ProvidesFile{law.cst}[1995/01/08]I2.1gWordlistuTIAUUlistofinter-wordsUUandtheircorrespGondingexpansionsmustbeprovided. ≍E527S{\catcode`\_=13%E528XdD\catcode`\^=13%E529S\gdef\@law@wordlist{%E530]\\{\item}{\item}%E531]\\{and}{_\^And}%E532]\\{but-see}{_\^Butsee}%E533]\\{,}{_;}%E534]\\{;}{_;}%16(soE535]\\{:}{_;}% E536]\\{eg}{_;^E.g.~}%E537]\\{accord}{_;^Accord}%E538]\\{see}{_;^See}%E539]\\{see-also}{_;^Seealso}%E540]\\{cited-in}{citedin}%E541]\\{citing}{citing}%E542]\\{cf}{_;^Cf.~}%E543]\\{compare}{_;^Compare}%E544]\\{with}{with}%E545]\\{contra}{_;^Contra}%E546]\\{but-cf}{_\^Butcf.~}%E547]\\{see-generally}{_.Seegenerally}%E548]\\{affirmed}{_,^aff'd}%E549]\\{reprinted-in}{_;^Reprintedin}%E550]\@law@nomatch}E551S}I2.2gPrintroutinesuTIEveryp.cst lemustde nea\@law@printmacro.HThisisthemacrothatprints Ithecitation,bGothinthetextofthedocumentandinthebibliography*.3ThetogglesIsetүbytheCamelengineallowahighdegreeofre nementintheformattingofIcitations.>eF*orthestylescurrentlyusedinpublishingwithL5ffA͉TU>'ExX,relativelylittleIofY&thispGowerY&isrequired.};In-documentcitationstylesaremuchmoredemanding;Iif youdigesttheopGerationthefollowing\@law@printmacro,whichissuitableforIformatting=legalcitations,Byouwill ndthedraftingofauthor-datestylesandtheIlikeUUquitestraightforwardbycomparison. čE552S\gdef\@law@print{%čIInthisparticularstyle,~alongcitation(forthebibliography*,~forexample)andaI rstnin-textcitationareidentical.Theseformshaveseparatetoggles,u"sowestartIbyUUequatingthem.E553]\xdef\@law@argtwolist{\the\@ltok@argtwo}% E554]\if@law@firstuseofcite\@law@longcitetrue\fi%čIThisJCtogglestheprintingonando .PThistoggleissetbythenoptiontotheI\sourceUUcommand.E555S\if@law@printcite% E556]\begingroup%E557]\def\@law@firstslash{\begingroup\def\\{\@law@secondslash}%E558ap\the\ltokspecialface}%E559]\def\@law@secondslash{\endgroup\def\\{\@law@firstslash}}%E560]\def\\{\@law@firstslash}%čITherearetwohalvestothemacro;Fkoneforlongciteforms,=theotherforshort. ILongUUciteformsareinthe rsthalf.E561S\if@law@longcite%ILongccitationsareprettystraightforward;we'vegatheredalltheinformationwe Ineeded;#now wejustneedtoplunkitalldowninorder,prettymuch.:FirsttoprintIis& theauthor eld(thesecondargumenttothecitationdeclarationcommand),Ifollowed ibytheauthor-to-titlepunctuationbridge.Y#TheenclosingbraceslimittheIscopGeUUofthespecialactivecharacterde nitionsof^,_and|.17UsoE562XdD\global\ltokspecialface=\@ltok@authoroptionface% E563XdD{\the\@ltok@authormainface%E564XdD\@law@barinfull\the\@ltok@author}\the\@ltok@atot%UUINextUUcomessimilartreatmentforthetitle. UUE565XdD\global\ltokspecialface=\@ltok@titleoptionface%E566XdD{\the\@ltok@titlemainface%E567XdD\@law@barinfull\the\@ltok@name}\the\@ltok@ttocone%E568]\@law@longrecurse%IThis?elsemarksthebGoundarybetween?long-formcitations(whichwehaveseenare Irelatively(simpletoprint)andshort-formcitations(whicharerathercomplex).IThisUU\elsematchesthe\if@law@longciteconditional.E569S\else%UUIThe-foGotnotenumber-andtheaccompanyingbridgeshouldnotappearinashort-Iform[citationifthecitationbGeingprinted rstoccurredinthecurrentfootnote.IRatherUUthansuppressingprinting,wejustsettherelevqanttokenstonil.E570]\ifnum\the\@ltok@pageorfootno=\the\c@law@footnote\relax% E571f\xdef\@law@temp{\the\@ltok@whereitsat}%E572f\xdef\@law@temptwo{\the\@ltok@infoot}%E573f\ifx\@law@temp\@law@temptwo%E574kJ\global\@ltok@whereitsat{}%E575kJ\global\@ltok@pageorfootno{}%E576f\fi%E577]\fi%UUISpGecialformsoftidying-upmaybeappropriatetoeachofthefourclassesof Icitation.qAnUUappropriatecleaningmacroiscalledhere.E578S\csname@law@\the\@ltok@citetypepreformat\endcsname%IIfithasbGeenfoundthatthesamecitationhasbeenusedimmediatelyprevious ItoOthisinstance,SweuseId.`Ifthe\@justabovetestshowedthatId.`byitselfIis*appropriate,LwepreparetoeatanypGeriod*immediatelyfollowingthecitationImacro.7Otherwise,ɈwetackonthepinpGointreferenceanditsaccompanyingbridge.IA^efail-safe^conditionalrevertstotheoriginalplanifthepinpGointreferenceisempty*.E579]\if@justabove% E580ap{\def\,{,}%E581f\Id%E582kJ\if@l@quiteexact%E583p2\gdef\@law@gobble{\@ifnextchar.{\@gobble}{}}%E584kJ\else%E585p2\ifcat$\the\@ltok@argtwo$%E586yw^\gdef\@law@gobble{\@ifnextchar.{\@gobble}{}}%E587p2\else%E588E589yw^\the\@ltok@atbridge{\@law@barkill\the\@ltok@argtwo\relax}%E590yw^\@law@fetchparas%E591yw^\@law@shiftparas%E592yw^\@law@shortrecurse%E593p2\fi%E594kJ\fi}%UUIIf|Id.1[SomedaythismightbGehookedup.]IE602ap\@law@barinshort\the\@ltok@name}%%IAt%QthispGoint,.wemustmakedecisionsconcerningwhethertousethesupr}'a鴲cross-Ireferencingform. ThisdepGendsonthetypeofcitationweareworkingon. TheI\@nosupraiconditionissettotrueifweareworkingonacaseorastatute,oth-IerwiseUUitissettofalse.E603ap\xdef\@law@temp{\the\@ltok@citetype}% E604f\ifx\@law@temp\@law@case%E605kJ\@nosupratrue%E606f\else%E607p2\ifx\@law@temp\@law@statute%E608t\@nosupratrue%E609p2\else%E610t\@nosuprafalse%E611p2\fi%E612f\fi%%INowqweputtheresultoftheabGovetesttowork.W&First,kthecitationformforcases IorUUstatutes,whichdonotpGermitthesupr}'aform.E613f\if@nosupra%IE614kJ\the\@ltok@ttocone%E615kJ\@law@shortprint%E616kJ\@law@shortrecurse%E617f\else%E618kJ\supra\the\@ltok@whereitsat\the\@ltok@pageorfootno%E619kJ\the\@ltok@atbridge%E620kJ{\def\,{,}%E621kJ{\@law@barkill\the\@ltok@argtwo\relax}}%E622f\fi%IIIn8order,qtheseclose\if@justabove,\if@law@longciteand\if@law@printcite.E623kJ\xdef\@law@temp{\the\@ltok@citetype}%E624p2\ifx\@law@temp\@law@statute%E625t\ifcat$\the\@ltok@citefirst$%E626~0\the\@ltok@ptoctwo{\@law@barinshort\the\@ltok@citelast}%E627t\fi%E628p2\fi%E629]\fi%E630S\fi%E631S\endgroup%E632S\fi% s,<-endofif@law@printcite19ܠsoITheAK\@law@gobbleherewillconsumeapGeriodAKinsertedautomaticallyafteraforced IfoGotnote,iftheprintedformturnedouttobeanId..SeetheconcludingcodeofI\@law@setup.E633S\global\@law@longcitefalse\gdef\volno{\message{(Novolume% E634ffor\the\@ltok@nickname)}}}%t\@law@longrecurseIThisUUmacroprintsthetailendoflongcitationsuntilparallelsareexhausted.E635S\def\@law@longrecurse{%E636]\@law@longprint%E637]\ifnum\the\c@law@parapin>0\relax%E638f\loop%E639p2\addtocounter{law@paracounter}{1}%E640f\ifnum\the\c@law@paracounter<\the\c@law@parapin\relax%E641p2;\@law@longprint%E642f\repeat%E643]\else%E644f\loop%E645p2\addtocounter{law@paracounter}{1}%E646f\ifnum\the\c@law@paracounter>\the\c@law@paranormal\relax%E647f\else%E648p2;\@law@longprint%E649f\repeat%E650]\fi%XFinally, WweAprintthelastdateitem,whichmightb}'eblankifit'salreadybeen Iprinte}'dinside.E651]\@law@temp}E652S\def\@law@shortrecurse{%E653]\ifnum\the\c@law@parapin>0\relax%E654f\loop%E655p2\addtocounter{law@paracounter}{1}%E656f\ifnum\the\c@law@paracounter<\the\c@law@parapin\relax%E657p2\@law@pincut\@ltok@argtwo\frompinlist%E658p2;\@law@shortprint%E659f\repeat%E660]\else%E661f\loop%E662p2\addtocounter{law@paracounter}{1}%E663f\ifnum\the\c@law@paracounter>\the\c@law@paranormal\relax%E664f\else%E665p2;\@law@shortprint%E666f\repeat%E667]\fi}f\@law@longprintE668S\def\@law@longprint{%E669]\begingroup%E670]\@law@fetchparas%E671]\@law@tidybridges%IIf4]forsomereasoneitherthepinpGointargumentisnil,:oritand'ExXandIBiDb32TU>ExX. ōE773S\newcitestyle{article}% E774XdD{rsirsrA}E775XdD{[a],\[t],\[c]\[p],\(pl),\[rp]\[e]:[id]\at~(pl)\E776Sat~[xrf]}E777S\newcitestyle{incollection}%E778XdD{rsirsrA}E779XdD{[a],\[t],\[c]\[p],\(pl),\[rp]\[e]:[id]\at~(pl)\E780Sat~[xrf]}E781S\newcitestyle{inbook}%23CsoE782XdD{srirsrA} E783XdD{[a],\[t],\[c]\[p],\(pl),\[rp]\[e]:[id]\at~(pl)\E784Sat~[xrf]}6I2.3.3l#CasesuTIThereareseveralstylesforcases;weprettymuchneedaseparatestyleforeach Ijurisdiction.E785S\newcitestyle{case}%E786XdD{rrirrsC}E787XdD{[a][t],\[c]\[p],\(pl),\[rp]\[e]:[id]\at~(pl)\at~[xrf]}I2.3.4l#StatutesuTIThereUUareseveralofthese.qMoremayneedtobGeaddedonanadho}'c basis.E788S\newcitestyle{statute}%E789XdD{rrrsrsS}E790XdD{[a][t],\[c]\\S~[p](pl)\\S\S~[rp]\[e]:[id]\\S~(pl)\E791S\S\S~[xrf]}E792S%E793S\newcitestyle{jstatute}%E794XdD{rrrsrsS}E795XdD{[a][t][c]\\S~[p](pl)\\S\S~[rp]\[e]:[id]\\S~(pl)\E796S\S\S~[xrf]}E797Sh=la9wciteښi!čI3aLExtractionffutilitiesI3.1gTheDriverIHereUUisasimpledriverforextractingthe lesinthepackqage.E798Shinstaller"iE799S\def\batchfile{law.ins}E800S\inputdocstrip.texE801S\preambleE802E803SCopyright(C)1992--97FrankBennett,Jr.E804SAllrightsreserved.E805E806SThisfileispartoftheLawmodulefortheCamelpackage.E807S\endpreambleE808E809S\def\batchfile{camel.dst}Y%ignoredindistributionE810S\inputdocstrip.texB&4%ignoredindistributionE811E812S\keepsilentE813E814S\preambleE815SThisfileispartoftheLawmoduleoftheCamelpackage.E816S---------------------------------------------------------E817SThisisageneratedfile.E818SIMPORTANTNOTICE:24 &soE819 E820SYouareallowedtochangethisfile,subjecttothefollowingE821Sconditions. s,Underanycircumstances,newmacrodefinitionsE822Sshouldnotbeaddedtothisfile. s,YouarewelcometomodifyE823SthemacrodefinitionscontainedinthisfileforyourownE824Suse. s,IfyoupassacopyofthemodifiedversiontosomeoneE825Selse,youshould(a)letmeknowaboutthechangeonE826Sfb@soas.ac.uk,and(b)putanoteofthechangesandofyourE827Sowncontactdetailsinthefile. s,Furthermore,youmustE828SacknowledgeCamelanditsauthor(s)inthenewfile(ifitE829Sisdistributedtoothers),andyoumustattachthesesameE830Sconditionstothenewfile.E831E832SYouarenotallowedtodistributethisfilealone. s,YouarenotE833SallowedtotakemoneyforthedistributionoruseofthisfileE834S(orachangedversion)exceptforanominalchargeforcopyingE835Setc.E836E837SYouareallowedtodistributethisfileundertheconditionthatE838Sitisdistributedwithallofitscontents,intact.E839E840SForerrorreports,orofferstohelpmakethisamorepowerful,E841Sfriendlier,andbetterpackage,pleasecontactmeonE842S`fb'atsoas.ac.ukE843E844S\endpreambleE845E846E847S\generate{\file{law.cst}{\from{law.dtx}{lawcitestyle}}E848\file{law.cit}{\from{law.dtx}{lawcite}}}E849E850E851S\postambleE852S\endpostambleE853E854Shinstaller!i%ChangeengtojsebelowforJBibTeXsupportE855E856S\generate{\file{law.bst}{\from{camel.dtx}{bstheader,eng}E857΃\from{law.dtx}{bstheader,eng}E858΃\from{camel.dtx}{bstlibrary,eng}E859΃\from{law.dtx}{bstfunctions,eng}E860΃\from{camel.dtx}{bsttrailer,eng}}}E861E862S\keepsilentE863E864E865S\ifToplevel{E866S\Msg{***********************************************************}E867S\Msg{*}E868S\Msg{*Tofinishtheinstallationyouhavetomovethefollowing}E869S\Msg{*fileintoadirectorysearchedbyTeX:}E870S\Msg{*}E871S\Msg{*\space\spacelaw.cst}E872S\Msg{*\space\spacelaw.cit}25MsoE873S\Msg{*} E874S\Msg{*Youshouldalsomovethefollowingfileintoadirectory}E875S\Msg{*searchedforstylefilesbyBibTeX:}E876S\Msg{*}E877S\Msg{*\space\spacelaw.bst}E878S\Msg{*}E879S\Msg{*OtherstylemodulescanbefoundonCTANinthe`styles'}E880S\Msg{*subdirectorybelowCamelitself.}E881S\Msg{*}E882S\Msg{***********************************************************}E883S}E884Sh=installer"i!čIIndexINumbGerswritteninitalicrefertothepagewherethecorrespondingentryisde- IscribGed,Dthe onesunderlinedtothecodelineofthede nition,DtheresttothecodeIlinesUUwheretheentryisused.!ꦍmmJSymCbKols I\@ifnextcharYҍ}.΍}. 583,T586I\@law@argtwolist}.΍}.553I\@law@articlepreformat g}.΍}.}.}.}.}.}.}.}.}.}. J737 Jfe I\@law@authortracingg}. 5t740,T742,749,751I\@law@barinfull Y 564,g567,'%681,690,694I\@law@barinshort}.΍}.g}. 5t599,T602,626,716I\@law@barkill- }.΍}.}.}.}.g}. 5t589,T621,685,722I\@law@bookpreformat746fe I\@law@case@0}.΍}.}.}.}.}.}.604I\@law@casepreformat726fe I\@law@clean}.΍}.}. 740,T749I\@law@conetopsetupT}.g}.΍}.}.}.}.}.}.}. i682,T717I\@law@fetchparas}.΍}.g}.΍}.}.}. 590,T670,712I\@law@firstslash}.΍}.g}.΍}.}.}. 557,T559,560I\@law@gobbleYҍ}.΍}. 583,T586I\@law@longcitefalse633I\@law@longcitetrueT}.554I\@law@longprintz}.΍}.}.g}. 5t636,T641,648,668fe I\@law@longrecurseyꍑ}.g}.΍}.}.}.}.}.}.}. i568,T635Tfe I\@law@nomatch- }.΍}.}.}.}.550I\@law@pincutYҍ}.΍}.}.}.}.}.657I\@law@print}.΍}.}.}.}.}.}.552ꦍª\@law@secondslashyꍑ}. બ}.΍}.}.}.}.}.}.}. i557,T559 ª\@law@shiftparas}.΍}.બ}.΍}.}.}. 591,T701,724ª\@law@shortprint}.΍}.બ}. 5t615,T658,665,703fe ª\@law@shortrecurseT}.બ}.΍}.}.}. 592,T616,652ª\@law@statute- }. 607,T624ª\@law@statutepreformatબ}.΍}.}.}.}.}.}.}.}.}.}. J727 Jfe ª\@law@temp q571,T573,બ603,604,607,બ623,624,651,બ688,'%696,698,699ª\@law@temptwo- }.΍}.}.}.}.બ}. 5t572,T573,692,696ª\@law@tidybridgesyꍑ}.બ}.΍}.}.}.}.}.}.}. i671,T713ª\@law@wordlistB}.΍}.}.}.529ª\@ltok@argtwo- }.΍}.}.}.}.બ}.΍}.}.}. l553,T585,બ589,621,657,બ672,'%686,719,722ª\@ltok@atbridgez}.΍}.}.બ}.΍}.}.}. 589,T619,674ª\@ltok@atot}.΍}.}.}.}.}.}.બ}. 5t564,T599,744,753ª\@ltok@author- }.΍}.}.}.}.બ}.΍}.}.}. l564,T599,બ738,'%740,747,749ª\@ltok@authormainfaceબ}.΍}.}.}.}.}.}.}. i563,T597ꦍ