; TeX output 1997.04.28:0856sIcolor push Blackhtml: html:c color popotkcolor push Black color popykDtGGcmr17HypserTVext7tDocumenqtswithLdKGXQ cmr12AT[-E;gX`2gG cmmi12"긹V4.0efMicrhaelMehlich37 1997/04/25+čIhtml:color push rgb 0 0.75 0.75Nff cmbx12Contents color pop html:I"V cmbx101Xhtml:Xcolor push rgb 0 0 1In9troQduction color popg9 html:@html:@color push rgb 0 0 13 color pop9 html:I2Xhtml:Xcolor push rgb 0 0 1Usage color popu# html:@html:@color push rgb 0 0 13 color pop9 html:I3Xhtml:Xcolor push rgb 0 0 1MacrosTPro9vided color pop>9 html:@html:@color push rgb 0 0 14 color pop9 html:I4X8html:Xcolor push rgb 0 0 1ViewingTHypQerL*f$cmbx7AT<8E3sX2DF cmmib10")0{documen9ts color pop 9 html:@html:@color push rgb 0 0 15 color pop9 html:I5Xhtml:Xcolor push rgb 0 0 1Bugs color popp# html:@html:@color push rgb 0 0 16 color pop9 html:I6Xhtml:Xcolor push rgb 0 0 1RelatedTW ork,Ac9knowledgement color pop:9 html:@html:@color push rgb 0 0 16 color pop9 html:I7Xhtml:Xcolor push rgb 0 0 1History color pop}9 html:@html:@color push rgb 0 0 17 color pop9 html:I8Xhtml:Xcolor push rgb 0 0 1TheTRealization color pop9 html:html:color push rgb 0 0 111 color pop9 html: XK`y cmr108.1ohtml:ocolor push rgb 0 0 1TheUUPackqageHeader color popȜ9 html:8e..........................Vcolor push Blackhtml:color push rgb 0 0 111 color pop 9 html:V color popX8.2ohtml:ocolor push rgb 0 0 1SpGecialUUCharacters color pop9 html:qP...........................Vcolor push Blackhtml:color push rgb 0 0 111 color pop 9 html:V color popX8.3ohtml:ocolor push rgb 0 0 1TheUUBasicAnchor/Reference-Entries color popUh html:8".................Vcolor push Blackhtml:color push rgb 0 0 111 color pop 9 html:V color popX8.4ohtml:ocolor push rgb 0 0 1ColoredUUAnchors/References color popן html:T......................Vcolor push Blackhtml:color push rgb 0 0 116 color pop 9 html:V color popX8.5ohtml:ocolor push rgb 0 0 1AutomaticUUGenerationofAnchorNames color pop 9 html:"L...............Vcolor push Blackhtml:color push rgb 0 0 116 color pop 9 html:V color popX8.6o'html:ocolor push rgb 0 0 1HypGerT*extUUCross{ReferencingforL5ffٓRcmr7A͉TU>'ExX2 b> cmmi10"( color pop)L9 html:*a..............Vcolor push Blackhtml:color push rgb 0 0 117 color pop 9 html:V color popX8.7ohtml:ocolor push rgb 0 0 1OtherUUCross{ReferencingF*eatures color pop*9 html: q ..................Vcolor push Blackhtml:color push rgb 0 0 118 color pop 9 html:V color popX8.8ohtml:ocolor push rgb 0 0 1HandlingUUPageNumbGers color popٜ9 html:Ə........................Vcolor push Blackhtml:color push rgb 0 0 119 color pop 9 html:V color popX8.9ohtml:ocolor push rgb 0 0 1T*ableUUofContents color popb9 html:;............................Vcolor push Blackhtml:color push rgb 0 0 121 color pop 9 html:V color popX8.10ohtml:ocolor push rgb 0 0 1Bibliography color pop9 html:..............................Vcolor push Blackhtml:color push rgb 0 0 124 color pop 9 html:V color popX8.11ohtml:ocolor push rgb 0 0 1Equations color popE* html:獍................................Vcolor push Blackhtml:color push rgb 0 0 124 color pop 9 html:V color popX8.12ohtml:ocolor push rgb 0 0 1FloatUUCaptions color popx9 html:&.............................Vcolor push Blackhtml:color push rgb 0 0 125 color pop 9 html:V color popX8.13ohtml:ocolor push rgb 0 0 1F*oGotnotes color popӟ* html:獍................................Vcolor push Blackhtml:color push rgb 0 0 126 color pop 9 html:V color popX8.14ohtml:ocolor push rgb 0 0 1Lists color pop@* html:8...................................Vcolor push Blackhtml:color push rgb 0 0 130 color pop 9 html:V color popX8.15ohtml:ocolor push rgb 0 0 1IndexUUandGlossary color popI9 html:qP...........................Vcolor push Blackhtml:color push rgb 0 0 131 color pop 9 html:V color popX8.16ohtml:ocolor push rgb 0 0 1Theorems color pop{9 html:獍................................Vcolor push Blackhtml:color push rgb 0 0 132 color pop 9 html:V color popX8.17ohtml:ocolor push rgb 0 0 1AdditionalUUPatches color pop@9 html:qP...........................Vcolor push Blackhtml:color push rgb 0 0 133 color pop 9 html:V color popX8.18ohtml:ocolor push rgb 0 0 1HandlingUUOptions color popK9 html:;............................Vcolor push Blackhtml:color push rgb 0 0 133 color pop 9 html:V color popIcolor push Blackhtml:color push rgb 0 0 11 color pop9 html:c color pop*sIcolor push Blackhtml: html:c color popoI9Xhtml:Xcolor push rgb 0 0 1SuppQortedTP9ack\rages color popş9 html:html:color push rgb 0 0 138 color pop9 html: X9.1o'html:ocolor push rgb 0 0 1 !", cmsy10AU>'M S-L5ffA͉TU>'ExX2"%S color popߟ* html:&.............................Vcolor push Blackhtml:color push rgb 0 0 138 color pop 9 html:V color popo9.1.1html:color push rgb 0 0 1TheUUClasses color pop^9 html:qP...........................Vcolor push Blackhtml:color push rgb 0 0 138 color pop 9 html:V color popo9.1.2html:color push rgb 0 0 1TheUUPackqages color pop\}9 html:8e..........................Vcolor push Blackhtml:color push rgb 0 0 141 color pop 9 html:V color popX9.2ohtml:ocolor push rgb 0 0 1CrossUUReferencesbGetweenUUDocuments color pop*9 html:8".................Vcolor push Blackhtml:color push rgb 0 0 143 color pop 9 html:V color popX9.3ohtml:ocolor push rgb 0 0 1F*ancyUUHeadings color popd9 html:&.............................Vcolor push Blackhtml:color push rgb 0 0 144 color pop 9 html:V color popX9.4ohtml:ocolor push rgb 0 0 1LongUUT*ables color pop@ 9 html:T...............................Vcolor push Blackhtml:color push rgb 0 0 146 color pop 9 html:V color popX9.5ohtml:ocolor push rgb 0 0 1RightUUColumnF*oGotnotesinDoubleColumnDocuments color popc%9 html:h ......Vcolor push Blackhtml:color push rgb 0 0 147 color pop 9 html:V color popX9.6ohtml:ocolor push rgb 0 0 1TheUU%8e..........................Vcolor push Blackhtml:color push rgb 0 0 147 color pop 9 html:V color popX9.7ohtml:ocolor push rgb 0 0 1TheUUTheoremPackqage color popЪ9 html:z.........................Vcolor push Blackhtml:color push rgb 0 0 150 color pop 9 html:V color popX9.8ohtml:ocolor push rgb 0 0 1TheUUCWEBDoGcumentClass color pop\9 html:΍.....................Vcolor push Blackhtml:color push rgb 0 0 152 color pop 9 html:V color popI10Xhtml:Xcolor push rgb 0 0 1NeededTP9ack\rages(PartofthisDistribution) color pop5 html:html:color push rgb 0 0 156 color pop9 html:X10.1ohtml:ocolor push rgb 0 0 1Pattern{LikeUUDe nitionofMacros color popjß9 html: q ..................Vcolor push Blackhtml:color push rgb 0 0 156 color pop 9 html:V color popI11Xhtml:Xcolor push rgb 0 0 1Extensions color pop)9 html:html:color push rgb 0 0 157 color pop9 html:Icolor push Blackhtml:color push rgb 0 0 12 color pop9 html:c color pop.sIcolor push Blackhtml: html:c color popo‰color push Black color popljŹHypserLdKGAT[-E;gX`2"0April28,1997)I1aLhtml:color push rgb 0 0.75 0.75Intros3duction color pop html:IT*raditionaltextsonlyhavealinearstructuregivenbyitsseriesofcharacters.HBut IthisisnotsucientforanykindofdoGcumentsonemaythinkof. Thus,recentlyIthehnumbGerofdocumentsusingamorecomplexgraphicalstructure(called\hypGerItext"UUdoGcuments)haveincreased.XThisFspackqageprovidesthegenerationofsuchdoGcumentsbasedonthealreadyIgivenastructureofL5ffA͉TU>'ExX2"* -doGcumentswithoutthedoGcumentwriterhavingtoIconsiderUUnewcommands. +I2aLhtml:color push rgb 0 0.75 0.75Usage color pop html:IJustBinsert\usepackage{hyper}inthepreambleofyourL5ffA͉TU>'ExX2e{doGcumentasItheUUlastpackqagetobGeloaded.XIfyouusethetheorempackqagede nethetheoremsvia\newtheoremafterIinsertingUUthehypGerpackqage.֍XY*oumayalsogivesomeoptionsforthepackqage,i.e.insteadofthecommandIabGoveUUyoumayuse\usepackage[]{hyper}inyourpreamble.ICurrentlyUUthefollowingoptionsareknown: Icolor push Black color popbyes,-Kno#HdeterminewhetherthehypGertextmarksareinsertedornot(defaultbisUUyes)֍Icolor push Black color popbfixhyperboxcmoGdi esthepositionofthehtml-marksinthedvi- lesothatbdvipscreatestherightbGoundingboxesforthehypGerreferences;1*itishighlybrecommendedtousethisoption(thoughforcompatibilityreasonswithear-blier;Wversionsthisisnotthedefaultsetting);Wnote,sthatthetextofthereferencebis3packedintoahorizontalbGox(\hbox)duetotheneedofmeasuringitssizeIcolor push Black color popbblack,8Mgray,color1 determinethecolorsanchorsandreferencesareprintedbinUU(defaultisblack);bthe+fcolorscanbGechangedby\definecolor{refcolor}{rgb}{&': cmti10r,g},b}forbreferences,p\definecolor{undefrefcolor}{rgb}{r,g},b}8forunresolvedbreferences,qand8\definecolor{anchorcolor}{rgb}{r,g},b}foranchorswherebr,ҍg,b[standforthered,ҍgreen,andblue,respGectively*,vqalues(bGetween0.0bandUU1.0)ofthecolor(cf.graphicspackqage)Icolor push Black color popbpagenumber,`pagetop~determinewhetherapagenumbGer~referstothepagebnumbGerUUoftherespectivelypageortothetopofthepageIcolor push Blackhtml:color push rgb 0 0 13 color pop9 html:c color popHsIcolor push Blackhtml: html:c color popoIcolor push Black color popbindexcmdshastobGegivenexplicitelywheneveranindexorglossary le bhas~bGeencreatedusingthispackqageifthe leisnotregeneratedusingthebcommandsUU\makeindexand\makeglossary,respGectively*.Icolor push Black color popbbackcitepages,backcitesectionsЏintroGducebackreferencesfromthebib-bliographyUUtothepagesandsections,respGectively*,theyhavebGeencitedinIcolor push Black color popbamsart,amsbook,amsdtx,amsldoc,amsproc,article,book,cweb,letter,bltxdoc,cltxguide,ltnews,proc,report,slides`determinethedoGcumentbclassforwhichthemoGdi cationsareloaded(defaultisthedocumentclassbgivenUUvia\documentclassifitcanbGederived)Icolor push Black color popbleqno addsmoGdi cationsforthedocumentclassoptionleqno(willbeusedbautomagicallyUUforknowndoGcumentclasses)Icolor push Black color popbamsmath,Bxamstex,amsthm,doc,fancyheadings,ftnright,longtable,bnatbib,theorem,uprefQ)addmoGdi cationsforthecorrespondingpackqageb(willUUbGeusedautomagically)Icolor push Black color popbxr]addmoGdi cationsforthepackqagexrandrede neit'sinternalmacrob\externaldocument 8addintanewparameterdeterminingtheURL{addressbofUUthedoGcumentforthecrossreferencesused(willbeusedautomagically)Icolor push Black color popbharvardaddmoGdi cationsfortherespectivelypackqagesthatarepartofthebdistributionUUbutprovidedbyotherauthorsIcolor push Black color popbGIJaddamoGdi cation le.hypthathastobeprovidedbybyourself!čI3aLhtml:color push rgb 0 0.75 0.75MacrosffProvided color pop html:ITheUUfollowingmacrosarede nedbythepackqageandmaybGeused:Icolor push Black color popb\hyperanchor#1#2Vlets#1bGeingthehypertextanchorfor#2(#1mayneitherbbGeUUanaturalnumberUUnorbeginningwithpage.orfn.)Icolor push Black color popb\blindhyperanchor#1 lets#1bGeingahypertextanchor(#1mayneitherbGebaUUnaturalnumbGerUUnorbeginningwithpage.orfn.)Icolor push Black color popb\hyperreference#1#2lets#2bGeingahypertextreferencetotheanchor#1,b(#1UUmaynotstartwitha[)Icolor push Black color popb\hyperURL#1#2#3#4lets#4bGeingahypertextreferencetoanexternalURLbwithUUtypGe#1,domain#2,anddocument#3,i.e.totheURL#1://#2/#3Icolor push Black color popb\labeltext#1#2ܤlets#1bGeingthehypertextcapable(L5ffA͉TU>'ExX2"%S)referencetobtheUUtext#2andprints#2Icolor push Black color popb\noref[#1]#2zղlets#1bGeingahypertextreferencetotheanchorde nedbybtheL5ffA͉TU>'ExX2"(d-reference#2withoutprintingthereference(#1isnotoptional!)Icolor push Black color popb\ref[#1]#2"QisthesameasL5ffA͉TU>'ExX2"(u'soriginal#1~\ref{#2}exceptthatthebhypGertextUreferenceisprovidedfromthecomplete#1~\ref{#2}insteadofb\ref{#2}UUonlyIcolor push Blackhtml:color push rgb 0 0 14 color pop9 html:c color popVdsIcolor push Blackhtml: html:c color popoIcolor push Black color popb\pageref[#1]#2isthesameas\refexceptthatwegetareferencetothe bpageUUnumbGerIcolor push Black color popb\refcurrent#15lets#1bGeingahypertextreferencetothelastnumericalbanchorUUthathasbGeengeneratedIcolor push Black color popb\refnext#1lets#1bGeingahypertextreferencetothenextnumericalanchorbthatUUwillbGegeneratedITheUUfollowingmacrosarerede nedwhenusingthecorrespGondingpackqages:Icolor push Black color popbforUUxr:bcolor push Black @{ color popx\externaldocument(#1)[#2]#3,F\externaldocument[#1](#2)#3farexequivqalentStotheoriginal\externaldocumentofthexr{packqageex-xcept[fortheadditionalparametersurroundedby()determiningthexURL{address CoftheexternaldoGcument(theURL{typGefile:isaddedxautomagically)UU(defaultis#3.dvi)ITheCfollowingmacrosareprovidedwhenusingtheoptionbackcitepagesorIbackcitesectionsUU(de nitionsshowdefaultvqalue):Icolor push Black color popb\def\hyperbackcitepage{Cited?onpage~}isthetextpreceedingabackbreferenceUUtoasinglepagenumbGer.Icolor push Black color popb\def\hyperbackcitepages{Cited?onpages~}&|isthetextpreceedingabbackUUreferencetomultiplepagenumbGers.Icolor push Black color popb\def\hyperbackcitesection{Cited?in~}mIJisthetextpreceedingabackref-berenceUUtoasinglesectionreference.Icolor push Black color popb\def\hyperbackcitesections{Cited?in~}jisthetextpreceedingabackbreferenceUUtomultiplesectionreferences.Icolor push Black color popb\def\hyperbackcitenormalseparator{,?}wIJisthetextbGetweenwtwopagebnumbGersUUorsectionreferences(exceptforthelastpair).Icolor push Black color popb\def\hyperbackcitefinalseparatorpair{?and~}eisthetextbGetweenethebpageUUnumbGersorsectionreferencesifthereareexactlytwoentries.Icolor push Black color popb\def\hyperbackcitefinalseparatorlist{,?and~}XFisthetextbGetweenXFtheblastopairpagenumbGersoorsectionreferencesiftherearemorethantwobentries.!čI4aLhtml:color push rgb 0 0.75 0.75ViewingffHyps3erL++AnTL32EdXn 2('DFff cmmib10":7{documents color pop html:IThereareseveralmethoGdsthatcanbeusedtoviewthedvi{documentswithhtml{ImarksUUresultingfromusingthispackqage.Icolor push Black color popbF*orUNIX^TM g!{systemswiththegraphicaluserinterfaceXthereisamoGdi -bcationUUofxdvicalledxhdviavqailableatanyCT*AN-site.Icolor push Black color popbF*orߋsystemsrunningunderNeXTSTEP^TMFthereexistsaHypGerTU>'ExX-capablebmoGdi cationUUofTeXview,calledHyperTeXview.Icolor push Blackhtml:color push rgb 0 0 15 color pop9 html:c color popgXsIcolor push Blackhtml: html:c color popoIcolor push Black color popbThereI{existsavqariantofdvips(calleddvihps)translatinghypGerdvi{ les btohypGerps{ lescontainingthehtml{markswhenusingtheparameter-z.b(emtexUUprovidesthisfeaturewithdvips).lqbThe|resulting lescanbGeviewedusingaHyperPS-capablePostscript-viewer,b(e.g.>ahackedversionofghostview(forUNIX^TM g!)ortheactualgsview(forbWindows^TM g!))⍍Icolor push Black color popbAnotherNwayistousedvihpstogetaHypGerPS{ lereadytobehan-bdleduPbytheAcrobat^TM g!{distilleravqailablefromAdobGeorbyghostscript'sbpdfwriter{output{device(whichbGothcantranslatehypGerps{ lestopdf{b les!thatcanbGeviewedusinganAcrobat^TM g!{readeroranyotherpdf{reader. I5aLhtml:color push rgb 0 0.75 0.75Bugs color pop html:ICurrentlythereareonlyafewknownproblems.}UnfortunatelyitisonethatIcannotUUbGeavoided.qY*ouUUhavetocareabGoutthis:čIcolor push Black color popbIfyouwriteyourbibliographieswiththethebibliograpy-environmentbybhand&(notusingbibtex)youmaygetanerrormessageduetoacommandbnot )matchingitsde nition.YThiscanbGeavoidedbyprovidinganemptylinebor7a\parcommandattheendofeachbibliographicentry(with\bibitem)bincludingUUthelastentrybGefore\end{thebibliography}.Icolor push Black color popbIfgyouincludeanindexorglossary leintothecurrentdoGcumentyoumaygetbamessagefromL5ffA͉TU>'ExXlikeUndefined?controlsequence.㹵:::r\hyperpage.bThisuisduetoyounotusing\makeindexor\makeglossaryinthepreamble.bInKthiscasejustaddthepackqageoptionindexcmdswhenloadingthehypGer{bpackqage.Icolor push Black color popbInNindexingcommandsyoumaynotuse]withoutsurroundingbraces.Ifbyougdo,k|TU>'ExXwillparsethecommandinawrongway*.Toggetthesortingofbthe؂indexrightyouthereforeshoulduse\index{A[zzzzB@A{]}B}insteadofb\index{A]B}.Icolor push Black color popbSimilarly*,`abprotectedj,i.e."jisnothandledcorrectly*.>!UseasimilarmethoGdbasUUabGovetocircumnavigatethisproblem.čIReal;0bugsarenotknownsofar.iButsurelytherearesome(otherwisethehistoryIwould|notbGealreadythatlong)._Thus,*AifyoudetectonepleaserepGortitwiththeIpackqageUUversionandasmallexampleto⍑wMichael?Mehlichwmmehlich@semdesigns.com I6aLhtml:color push rgb 0 0.75 0.75RelatedffWfork,Acknowledgement color pop html:ISebastianRahtzhaswrittenanotherpackqageforaddingHypGerT*ext{capabilitiesIto+ML5ffA͉TU>'ExX.cHispackqagehyperrefhasbGeendevelopGedinparallelwiththisoneandIusesaslightlydi erentrealizationforgettingsimilarresults.uSomeoftheideasIfound_therehave_bGeenaddedtothispackqage,too.Thus,IQhave_togiveaspecialIthankUUtohim.XThanksUUalsotoUlrichF*uchsforfurthersuggestions.Icolor push Blackhtml:color push rgb 0 0 16 color pop9 html:c color popvysIcolor push Blackhtml: html:c color popoI7aLhtml:color push rgb 0 0.75 0.75History color pop html:ZLIffcfd ffYfdWhen ffDByAN= ffWhatCٟ ffDD? ff 7zfdV ffffcffffcfffd1997/04/25ffDMichaelUUMehlichffchanged$catcoGdesforreadingthepa- rametersUUof\hyperURLCٟffJD@4.R _0esffffcfffd1997/04/17ffDMichaelUUMehlichffresolved#someproblemwiththecweb- packqageUUmoGdi cationsCٟffJD@4.R _0dffffc3<fffd1997/03/25<ffDMichaelUUMehlich3<ffresolvedproblemwithwrongfoGot- notereferenceswhenusingpackqagefootnpag(thisalsocorrectsthefor-merjwrongnamingofanchorsforfoGot-notes)Cٟ3<ffJD@4.R _0cs3<ff4ffcfffd1997/03/21ffDMichaelUUMehlichffremoved Xbugininteractionofpackqage withcweb'schunknamingmechanismCٟffJD@4.R _0bffffcIcolor push Blackhtml:color push rgb 0 0 17 color pop9 html:c color popsIcolor push Blackhtml: html:c color popoXLΉffcfd ffYfdWhen ffDByAN= ffWhatCٟ ffDD? ff 7zfdV ffffcffffcfffd1997/03/08ffDMichaelUUMehlichffaddedocolorforexternalURLadded byUU\hyperURLCٟffJD@4.R _0a9ffffc fffd1997/03/01 ffDMichaelUUMehlich ffaddedcheckforanchorexistingbGefore introGducingUUreferencetoitadded+checkwhethertheanchorshavechangedUUbGeweentwoL5ffA͉TU>'ExX2"+Trunsaddedhandlingofnestedhtml-marksbyunnesting(shit,Vthiscon ictswiththeUUoptionfixhyperbox)addedUUoptionfixhyperboxchangedcreationofanchornamesforfoGotnotesOduetoillegalnamesandduplicatedUUnamesintheoldversionimprovedBextensionpackqagebackcitesaddedi5handlingofsortedcitationsforpackqageUUnatbibchangedUUmacrosforpackqagenatbibaddedsuppGortforcommonpackqagefancyheadings D(thiswasneededforhandlingpagereferencestopagenumbGerswhencreatingpageswithemptyUUheadersandfoGoters)moGdi ed'headerandfootermodi ca-tionfforinsertingappropriateanchorsandUUreferencesC٠ ffJD@4.R _0 : ffffcclfffd1997/02/03lffDMichaelUUMehlichclffallow$\makeindexand \makeglossary toappGearafterincludingUUthepackqagecorrectedUUmishandlingofpagetopchanged|icolorsforreferencesandanchorsadded-doGcumentationabouthowtochange0colorsforcoloredreferencesandUUanchorsCٟclffJD@3.R _0csclffdffcfffd1997/01/12ffDMichaelUUMehlichffcorrectedproblemwithloGopoccurring onUUevenpagesCٟffJD@3.R _0bffffc?Hfffd1996/11/01HffDMichaelUUMehlich?Hffcorrectedproblemwithemptyhead- ingsUUcausinganoverfulUUhbGoxbugrofhavingtwopageanchorsonempty1pagesincaseofpagetopre-movedadaptedUUtocurrentversionofnatbibCٟ?HffJD@3.R _0a9?Hff@ffcIcolor push Blackhtml:color push rgb 0 0 18 color pop9 html:c color pop hsIcolor push Blackhtml: html:c color popoXLЉffcfd ffYfdWhen ffDByAN= ffWhatCٟ ffDD? ff 7zfdV ffffcffffc'0fffd1996/10/260ffDMichaelUUMehlich'0ffaddedcoGdeforbibliographicrefer- encesUUwithnatbibaddedpGossibilityofletpagelinksgototheUUtopofthepageCٟ'0ffJD@3.R _0 :'0ff(ffcfffd1996/10/21ffDMichaelUUMehlichffcorrectedhproblemwithemptypage styleCٟffJD@2.R _8a9ffffc fffd1996/01/07 ffDMichaelUUMehlich ffadaptedUUtocurrentversionoflatexCٟ ffJD@2.R _8 : ffffcfffd1995/12/19ffDMichaelUUMehlichffadaptedjtocurrentversionofthe cweb{packqageCٟffJD@2.R _7bffffc fffd1995/10/22 ffDMichaelUUMehlich ffmadeUUreferencecommandsrobustCٟ ffJD@2.R _7a9 ffffcfffd1995/09/24ffDMichaelUUMehlichffaddedsuppGortforthe+- cmcsc10Cwebdocu- mentUUclassCٟffJD@2.R _7 :ffffc'0fffd1995/07/130ffDMichaelUUMehlich'0ff\hyper?@next꯲changedto \fragilerefnext Ptoavoid Pprob-lemswhenwritingthecommandintotheUU.toc{ leCٟ'0ffJD@2.R _6a9'0ff(ffcclfffd1995/07/06lffDMichaelUUMehlichclff\hyperbackcitexoGccurredmistakenly inUUeach lebug_G xinrede nitionoftheindex-environmentUUindoc.hyphandlingUUoffoGotnotescorrectedmoGdi eda\@xeqncrinsteadof\@eqncradaptedJrede nitionofcaptionsforlongtable 8tocurrentversionoflongtableCٟclffJD@2.R _6 :clffdffc$fffd1995/07/04$ffDMichaelUUMehlich$ffcorrection ofoptionalparameterof\\ in."eqnarray{environmentmistakenlyignoredCٟ$ffJD@2.R _5d$ffffc fffd1995/06/14 ffDMichaelUUMehlich ffcorrectedUU\hyper?@oddfootCٟ ffJD@2.R _5cs ffffc3<fffd1995/05/29<ffDMichaelUUMehlich3<ffadded 1suppGortforcontribution harvard.hyp, ^changed)automaticaluploadingofpackqagestoconditionaluploadingL(testsifthepackqagereallyexists)Cٟ3<ffJD@2.R _5b3<ff4ffcfffd1995/05/23ffDMichaelUUMehlichffchangedwrongpagenumbGersforcer- tainUUdoGcumentclassesCٟffJD@2.R _5a9ffffc fffd1995/05/10 ffDMichaelUUMehlich ffaddedUUsuppGortforbackcitesCٟ ffJD@2.R _5 : ffffc'0fffd1995/05/080ffDMichaelUUMehlich'0ffinternalhandlingofreferencesto pagesUUsimpli edbugUUinxr.hyp xedanchorUUonemptypagesaddedCٟ'0ffJD@2.R _4cs'0ff(ffcfffd1995/05/07ffDMichaelUUMehlichfflet\itemaccept]inoptionalargu- mentCٟffJD@2.R _4bffffcIcolor push Blackhtml:color push rgb 0 0 19 color pop9 html:c color pop sIcolor push Blackhtml: html:c color popoLɍXffcfd ffYfdWhen ffDByAN= ffWhatCٟ ffDD? ff 7zfdV ffffcffffc fffd1995/04/20 ffDMichaelUUMehlich ffaddedUUnewoptionindexcmdsCٟ ffJD@2.R _4a9 ffffc fffd1995/04/20 ffDMichaelUUMehlich ffaddedUUsuppGortforamstexCٟ ffJD@2.R _4 : ffffcfffd1995/04/18ffDMichaelUUMehlichffcorrectedbuginindex(repGortedby UlrichUUF*uchs)CٟffJD@2.R _3a9ffffcfffd1995/02/12ffDMichaelUUMehlichffsuppGortUUforpackqagexradded handlingUUofoptionsimprovedCٟffJD@2.R _3 :ffffcfffd1995/02/11ffDMichaelUUMehlichffde nitionof\labelcorrected(bugin- troGducedUUat1995/01/31)CٟffJD@2.R _2bffffcfffd1995/02/02ffDMichaelUUMehlichffmacroszforamsthmchangedaccording toUUnewde nitioninamslatexCٟffJD@2.R _2a9ffffcfffd1995/02/01ffDMichaelUUMehlichffsuppGortUUforpackqageamslatexadded suppGortRforpackqagelongtableaddedCٟffJD@2.R _2 :ffffcW`fffd1995/01/31`ffDMichaelUUMehlichW`ffsuppGortUUforpackqagetheoremadded catcoGdesof|,@,and!Nforparsingtheparametershof\indexand\glossarychanged\@makecaptionUUmoGdi edhypGertextGreferencesineqnarraycor-rectedrede nitionUUof\labelchangedCٟW`ffJD@2.R _1 :W`ffXffc'0fffd1995/01/300ffDMichaelUUMehlich'0ffhandling;ofseriesofpagenumbGers;for index/glossaryUUadded\protected?@write/nstoppGedfromin-sertingUUanextraspaceCٟ'0ffJD@2.R _0b'0ff(ffc$fffd1995/01/29$ffDMichaelUUMehlich$ffreferencesBfromheaderstosectionsfor bibliography*,P index,glossary,andta-bleUUofcontentsUUaddedCٟ$ffJD@2.R _0a9$ffffc?Hfffd1995/01/26HffDMichaelUUMehlich?HffoptionszGtobGehandledaredetermined automagicallyUUknowprotectedtheanchorandreferenceaddingUUmacrosinsteadof"someUUinternalalgorithmschangedsomeUUmacro{nameschangedCٟ?HffJD@2.R _0 :?Hff@ffc fffd1995/01/25 ffDMichaelUUMehlich ffhandlingUUofindexandglossaryaddedCٟ ffJD@1.R _3 : ffffc$fffd1995/01/24$ffDMichaelUUMehlich$ffhandlingUUofoptionschanged color*suppGortforanchorsandrefer-encesUUaddedCٟ$ffJD@1.R _2 :$ffffc$fffd1995/01/24$ffDMichaelUUMehlich$ff\norefUUadded buginwritingwrongpagenumbGerstoauxiliaryUU lesremovedCٟ$ffJD@1.R _1 :$ffffcfffd1995/01/20ffDMichaelUUMehlichffprotected"forcompatibilitywiththe packqageUUgerman.styCٟffJD@1.R _0g9ffffc fffd1995/01/12 ffDMichaelUUMehlich ff rstUUocialversionCٟ ffJD@1.R _0 : ffffcIcolor push Blackhtml:color push rgb 0 0 110 color pop9 html:c color pop VsIcolor push Blackhtml: html:c color popoI8aLhtml:color push rgb 0 0.75 0.75TheffRealization color pop html:I,N cmbx128.1ghtml:color push rgb 0 0.75 0.75ThePack@ageHeader color pop html:uTIW*eGneedaversionofL5ffA͉TU>'ExX2edatedwithJune1,1995ornewer.Thus,wejust IdemandUUit.Ls1S0 cmsy9h1ow cmss9hypAeri Ls2S-ߤN cmtt9\NeedsTeXFormat{LaTeX2e}[1995/12/01]INowUUwehavetointroGduceourself.Ls3S\ProvidesPackage{hyper}[\filedate\spaceHyperLaTeX2eextension]6I8.2ghtml:color push rgb 0 0.75 0.75Sp`ecialCharacters color pop html:IFirstofallletusreservesomecharacterswhichareimpGortantandarenotpre- IservedUUbyeveryotherpackqage.Ls4S\bgroup Ls5]\catcode`\!00\relaxLs6]\catcode`\"12\relaxLs7]!catcode`!\12!relaxLs8]!gdef!hyper@quote{"}Ls9]!gdef!hyper@backslash{\}I10]!global!edef!hyper@hash{!string#}I11]!global!edef!hyper@tilde{!string~}I12S!egroupIF*or compatibilitywithotherpackqagesthismayneedtobGeextended.Y]ButfornowIweUUsuppGosethisbeingsucient.6I8.3ghtml:color push rgb 0 0.75 0.75TheBasicAnchor/Reference-Entries color pop html:uTIW*ehavetode nesomemacrosthatallowustoinsertthehypGertextmarksforIanchorsandreferencesintotheresultingdvi- le.lThiscanbGedonebyusingtheI\special{macro.IButbbGeforeintroducingthem,fweneedsomeauxiliariesthatallowustowritetheIhypGer*anchorstotheauxiliary leandrereadthematprogramstart.GThiswayIwecancheck,whetherweuseareferencetoanexistinganchor;WthuswecanavoidIintroGducingEQinvqalidreferences.lpThismechanismcanadditionallybGeusedtocheckIwhetherUUthehypGeranchorsmayhavechangedbGetweentwoL5ffA͉TU>'ExX2"+Truns.IThisisalsoagoGodplacetorecheckwhethertherehavebGeensomeunde nedorImultiplyUUde nedhypGeranchorsusedinhypGerreferences.I13S\newcount\hyper@changedI14S\global\hyper@changed=0I15S\def\newhyper#1#2{%I16ap\expandafter\ifx\csnamehyper@#1\endcsname\relax\else%I17p2\global\advance\hyper@changed2\relax%I18p2\PackageWarningNoLine{hyper}%I19p{Hyperanchor#1multiplydefined}%I20ap\fi%I21ap\expandafter\global\expandafter\def\csnamehyper@#1\endcsname{#2}%I22S}I23S\def\newhyper@check#1#2{%I24ap\def\reserved@a{#2}%Icolor push Blackhtml:color push rgb 0 0 111 color pop9 html:c color pop sIcolor push Blackhtml: html:c color popoI25ap\expandafter\ifx\csnamehyper@#1\endcsname\reserved@a\else% I26kJ\expandafter\ifx\csnamehyper@new@#1\endcsname\reserved@a\else%I27yw^\global\advance\hyper@changed4\relax%I28yw^\let\hyperfnpage\@gobbletwo%I29yw^\let\newhyper\@gobbletwo%I30p2\fi%I31ap\fi%I32S}I33S\let\hyper@enddocument\enddocumentI34S\def\hyper@check@end{%I35]\ifodd\hyper@changed%I36kJ\PackageWarningNoLine{hyper}{Therewereundefinedhyperreferences}%I37]\fi%I38]\divide\hyper@changed2\relax%I39]\ifodd\hyper@changed%I40kJ\PackageWarningNoLine{hyper}%I41{Thereweremultiplydefinedhyperanchors}%I42]\fi%I43]\divide\hyper@changed2\relax%I44]\ifodd\hyper@changed%I45kJ\PackageWarningNoLine{hyper}%I46{Hyperanchor(s)mayhavechanged.\MessageBreakI47 Reruntogethyperreferencesright}%I48]\fi%I49S}I50S\def\enddocument{%I51]\let\hyper@@end\@@end%I52]\def\@@end{\hyper@check@end\hyper@@end}%I53]\let\newhyper\newhyper@check%I54]\hyper@enddocument%I55S}I56S\def\hyper@to@aux#1{%I57ap\@bsphack%I58p2\expandafter\ifx\csnamehyper@#1\endcsname\relax%I59~0\expandafter\ifx\csnamehyper@new@#1\endcsname\relax%I60]\expandafter\global%I61x\expandafter\def\csnamehyper@new@#1\endcsname%I62:{{\@currentlabel}{\thepage}}%I63~0\fi%I64p2\fi%I65p2\protected@write%I66~0\@auxout%I67 {}%I68 {\string\newhyper%I69L{#1}%I70L{{\@currentlabel}{\thepage}}%I71 }%I72ap\@esphack%I73S}IThemacros\hyperreference\hyperpagereferenceandinsertahtml-reference ItoaninternallabGelexceptwhenthe rstparameterbeginswith[. ThentheIparameterLmusthavetheform[#1][#2]where#1isanexternalURLLand#2anIanchorqwithinthisURL.ThisisusedwhengeneratingcrossreferencesbGetweenIcolor push Blackhtml:color push rgb 0 0 112 color pop9 html:c color pop sIcolor push Blackhtml: html:c color popoIdoGcuments. IThePwholestu iscomplicatedbytwoproblems:ogW*ehavetoavoidnestingoftheIhtml-markups3inthedvi- leandwehavetotelldvipsabGouttherightdimensionIofthebGoxbymoGdifyingthepositionsofthespecialsfromwhichdvipsgetstheIbGoundingpboxforahypGerreference(ThelatteroneisoptionallydonewhenpassingItheUUcorrespGondingparametertothepackqage).I74S\newbox\hyper@box I75S\newdimen\hyper@fixdimI76S\newif\if@hyper@is@activeI77S\@hyper@is@activefalseI78S\def\hyper@html{html:}I79S\bgroupI80]\catcode`\<12\catcode`\>12\relax%I81]\catcode`\:12\catcode`\=12\catcode`\/12\relax%I82]\gdef\hyper{%I83f\def\hyper@unnested@special##1##2##3{%I84t\special{\hyper@html##1}##3\special{\hyper@html##2}%I85f}%I86f\def\hyper@unnested@special@anchor##1##2##3{%I87t\special{\hyper@html##1}##3\special{\hyper@html##2}%I88f}%I89f\def\hyper@unnested@special@reference@nofix##1##2##3{%I90t\special{\hyper@html##1}##3\special{\hyper@html##2}%I91f}%I92f\def\hyper@unnested@special@reference@fix##1##2##3{%I93t\setbox\hyper@box=\hbox{##3}%I94t\hyper@fixdim\dp\hyper@box%I95t\advance\hyper@fixdim0pt%I96t\lower\hyper@fixdim\hbox{\special{\hyper@html##1}}%I97t\copy\hyper@box%I98t\hyper@fixdim\ht\hyper@box%I99t\advance\hyper@fixdim-8pt%E100t\raise\hyper@fixdim\hbox{\special{\hyper@html##2}}%E101t\setbox\hyper@box=\hbox{}%E102f}%E103f\let\hyper@unnested@special@reference\hyper@unnested@special@reference@nofix%E104f\def\hyper@nested@special##1##2##3##4{%E105t\if@hyper@is@active%E106\expandafter\hyper@unnested@special\hyper@special@last%E107]{\protected@xdef\hyper@special@last{{##4}{##2}}%E108L##1{##2}{##4}{##3}%E109]}%E110t\else%E111~0\protected@xdef\hyper@special@last{{##4}{##2}}%E112~0\@hyper@is@activetrue\relax%E113~0##1{##2}{##4}{##3}%E114~0\@hyper@is@activefalse\relax%E115t\fi%E116f}%E117f\def\hyper@special@anchor{\hyper@nested@special\hyper@unnested@special@anchor}E118f\def\hyper@special@reference{\hyper@nested@special\hyper@unnested@special@reference}E119f\def\f@hyper@ref@ext[##1][##2][##3]\end@hyper@ref##4{%E120p2\ifvmode\leavevmode\fi%Icolor push Blackhtml:color push rgb 0 0 113 color pop9 html:c color popׂsIcolor push Blackhtml: html:c color popoE121p2\hyper@special% E122~0{}%E123]{\hyper@ref@color{##4}}%E124~0{}%E125f}%E126f\let\hyper@thepage\thepage%E127f\def\f@hyper@ref@int##1\end@hyper@ref##2{%E128p2\ifvmode\leavevmode\fi%E129p2\expandafter\ifx\csnamehyper@##1\endcsname\relax%E130~0\expandafter\ifx\csnamehyper@new@##1\endcsname\relax%E131]\PackageWarning{hyper}%E132x{Hyperreferencefor`##2'onpage\hyper@thepage\spaceundefined}%E133]\ifodd\hyper@changed\else\global\advance\hyper@changed1\fi%E134]\hyper@undef@color{##2}%E135~0\else%E136]\hyper@special@reference%E137x{}%E138:{\hyper@ref@color{##2}}%E139x{}%E140~0\fi%E141p2\else%E142yw^\hyper@special@reference%E143 {}%E144{\hyper@ref@color{##2}}%E145 {}%E146p2\fi%E147f}%E148f\def\f@hyper@ref{%E149p2\@ifnextchar[{\f@hyper@ref@ext[]}{\f@hyper@ref@int}%E150f}%E151f\def\fragilehyperreference##1{%E152p2\expandafter\expandafter\expandafter\f@hyper@ref##1\end@hyper@ref%E153f}%E154f\def\f@hyper@page@ref{%E155p2\@ifnextchar[{\f@hyper@ref@page@ext[page.]}{\f@hyper@ref@intpage.}%E156f}%E157f\def\fragilehyperpagereference##1{%E158p2\expandafter\expandafter\expandafter%E159p2\f@hyper@page@ref##1\end@hyper@ref%E160f}%E161f\def\fragilehyperanchor##1##2{%E162p2\ifvmode\leavevmode\fi%E163p2\hyper@special@anchor%E164~0{}%E165]{\hyper@to@aux{##1}%E166L\hyper@anchor@color{##2}%E167]}%E168~0{}%E169f}%E170f\def\fragileblindhyperanchor##1{%E171p2\hyper@special@anchor%E172~0{}%E173]{\hyper@to@aux{##1}}%E174~0{}%Icolor push Blackhtml:color push rgb 0 0 114 color pop9 html:c color pop㠠sIcolor push Blackhtml: html:c color popoE175f}% E176f\def\fragilehyperURL##1##2##3##4{%E177p2\ifvmode\leavevmode\fi%E178p2\hyper@special@reference%E179~0{}%E180]{\hyper@ref@color{##4}}%E181~0{}%E182f}%E183]}E184S\egroupE185S\hyperISometimesRweneedthispackqagewithoutbGeingallowedtoinsertthehypGertext Imarksintothedvi{ le.mINote,(thate\hyper@fixisde nedforthesolepurpGoseIof6havingthesameTU>'ExX-outputbGehaviourregardlesswhetherwecreateordonotIcreateUUhypGertextmarkups. E186S\def\nohyper{% E187]\def\hyper@fix##1{%E188kJ\ifx\hyper@unnested@special@reference\hyper@unnested@special@reference@nofix%E189yw^##1%E190kJ\else%E191yw^\hbox{##1}%E192kJ\fi%E193]}E194]\def\fragilehyperreference##1##2{%E195kJ\ifvmode\leavevmode\fi\hyper@fix{\hyper@ref@color{##2}}%E196]}%E197]\def\fragilehyperpagereference##1##2{%E198kJ\ifvmode\leavevmode\fi\hyper@fix{\hyper@ref@color{##2}}%E199]}%E200]\def\fragilehyperanchor##1##2{%E201kJ\ifvmode\leavevmode\fi\hyper@anchor@color{##2}%E202]}%E203]\def\fragileblindhyperanchor##1{}%E204]\def\fragilehyperURL##1##2##3##4{%E205kJ\ifvmode\leavevmode\fi\hyper@fix{\hyper@ref@color{##4}}%E206]}%E207S}INowUUletsprotectthefragilecommands. E208S\def\hyperreference{\protect\fragilehyperreference}E209S\def\hyperpagereference{\protect\fragilehyperpagereference}E210S\def\hyperanchor{\protect\fragilehyperanchor}E211S\def\blindhyperanchor{\protect\fragileblindhyperanchor}E212S\def\fragileChyperURL{%E213]\bgroup%E214kJ\catcode`\<12\catcode`\>12\catcode`\"12\relax%E215kJ\catcode`\:12\catcode`\=12\catcode`\/12\relax%E216kJ\catcode`\#12\catcode`\~12\relax%\catcode`\%12\relax%E217kJ\finish@hyperURL%E218S}E219S\def\finish@hyperURL#1#2#3#4{%E220f\fragilehyperURL{#1}{#2}{#3}{#4}%E221]\egroup%E222S}Icolor push Blackhtml:color push rgb 0 0 115 color pop9 html:c color popsIcolor push Blackhtml: html:c color popoE223S\def\hyperURL{\protect\fragileChyperURL}6I8.4ghtml:color push rgb 0 0.75 0.75ColoredAnchors/References color pop html:uTIAbGovewehaveusedthreemacros\hyper@ref@color, \hyper@undef@color,and I\hyper@anchor@colorwithwhichwecanmoGdifythetextthatisprintedtotheIdoGcument.BAsȆtheirnameindicateswewanttousethemtocolortheanchorsresp.Ireferences.qHenceUUweshouldde nesomevqariantsofthesemacros.ITheUU rstvqariantprintsthetextindi erentcolors.E224S\def\hyper@color{% E225]\definecolor{refcolor}{rgb}{0,0,1}%E226]\definecolor{undefrefcolor}{rgb}{1,0,0}%E227]\definecolor{anchorcolor}{rgb}{0,0.75,0.75}%E228]\def\hyper@ref@color##1{\textcolor{refcolor}{##1}}%E229]\def\hyper@undef@color##1{\textcolor{undefrefcolor}{##1}}%E230]\def\hyper@anchor@color##1{\textcolor{anchorcolor}{##1}}%E231S}IIfUUwedonothavecolorswemayusegraytextinstead.E232S\def\hyper@gray{%E233]\definecolor{refcolor}{gray}{0.75}%E234]\definecolor{undefrefcolor}{gray}{0.25}%E235]\definecolor{anchorcolor}{gray}{0.5}%E236]\def\hyper@ref@color##1{\textcolor{refcolor}{##1}}%E237]\def\hyper@undef@color##1{\textcolor{undefrefcolor}{##1}}%E238]\def\hyper@anchor@color##1{\textcolor{anchorcolor}{##1}}%E239S}IInEreadytoprintdoGcumentsweshouldnotusetheseoptionsbutprintthetextin IordinaryUUblack.qThisisalsothedefaultde nition.E240S\def\hyper@black{%E241]\def\hyper@ref@color##1{##1}%E242]\def\hyper@undef@color##1{##1}%E243]\def\hyper@anchor@color##1{##1}%E244S}E245S\hyper@black6I8.5ghtml:color push rgb 0 0.75 0.75AutomaticGenerationofAnchorNames color pop html:uTIAswewanttoinserthypGertextmarksautomagicallyweneedaservicethatpro- Ivides newnamesforanchors.=ZThesimplestsolutionistoletthenamebGeanaturalInumbGer.IThusUUweneedaninitializationforprovidingthem.E246S\newcount\hypercount E247S\hypercount=0\relaxE248S\def\@currenthyper{}INowUUwecancomputethenextanchorfromthelastonegenerated.E249S\def\hyper@setcurrent{%E250]\global\advance\hypercount1\relax%E251]\edef\@currenthyper{\the\hypercount}%E252S}%Icolor push Blackhtml:color push rgb 0 0 116 color pop9 html:c color popsIcolor push Blackhtml: html:c color popoIThe|automaticgenerationofanchornamesleadstoalittleproblem.W*ehaveto Iensure(that\@currenthyperisexpandedatanappropriatetime.bThuswede neIasmacrothatallowustogetanexpandedhypGertextreferencethatfollowsanotIyetUUexpandedtokenlist.E253S\def\hyper@ref@toggle#1#2#3{#3[\hyperreference{#1}{#2}]} E254S\def\ref@by@expanded@hyper#1\end@hyper{{#1}}E255S\def\callwithexpandedhyperref#1#2{%E256]\expandafter\expandafter\expandafter\hyper@ref@toggle%E257f\expandafter\ref@by@expanded@hyper\@currenthyper\end@hyper%E258]{#2}{#1}%E259S}6I8.6ghtml:color push rgb 0 0.75 0.75Hyp`erTextCross{ReferencingforLAl#62@cmbx8A~/TESXa28DF cmmib10"5;0 color pop html:uTIF*or%areplacementofL5ffA͉TU>'ExX2"(yM'scross{referencingfeaturesweneedtorede nethe IcommandsUU\labeland\ref.ILet6$us rstde nealabGelcommandforwritingthecurrenthypGertextreferencetoIthe3.aux{ le.`ItmustprintthreecompGonentsofalabGel:athehypGertext{anchor,Ithe L5ffA͉TU>'ExX2"(a-{anchor,and theL5ffA͉TU>'ExX2"{page.YThisisduetothefactthatweneedItoknownotonlythestu wereferencetobutalsotheinternalnameoftheanchor.E260S\def\hyperlabel#1{\@bsphack E261]\protected@write\@auxout{}%E262~0{\string\newlabel{#1}%E263ap{{\@currenthyper}{\@currentlabel}{\thepage}}}%E264]\@esphack}INowweneedsomeauxiliarymacrostobGeabletoselecteachofthethreepartsof ItherIsecondargumentof\newlabelthathasbGeenwrittentothe.aux{ le.ȤNote,IthatthethirdcompGonentmaycontaininformationsabGouttheURLofanexternalIdoGcumentd"(forcrossreferencingbetweend"documents)d"thathastobestrippedofaIpageUUnumbGerbeforeprintingit.E265S\def\hyper@firstofthree#1#2#3{#1} E266S\def\hyper@secondofthree#1#2#3{#2}E267S\def\hyper@snd@thirdofthree[#1][#2]{#2}E268S\def\hyper@thirdofthree#1#2#3{#3}E269S\def\hyper@snd@thirdofthree[#1][#2]\end@hyper{#2}E270S\def\hyper@this@thirdofthree#1\end@hyper{#1}E271S\def\hyper@test@thirdofthree{%E272]\@ifnextchar[{\hyper@snd@thirdofthree}{\hyper@this@thirdofthree}%E273S}E274S\def\hyper@page@thirdofthree#1#2#3{%E275]\expandafter\hyper@test@thirdofthree#3\end@hyper%E276S}IWhensettingareferencetoananchorwealsohavetoaddthecorrespGonding IhypGertextUUlinkintothedvi- le.E277S\let\hyper@thepage\thepageE278S\def\hyper@setref#1#2#3#4{%E279]\ifx#1\relax%E280kJ\protect\G@refundefinedtrue%E281kJ#4\nfss@text{\reset@font\bfseries??}%E282kJ\@latex@warning{Reference`#3'onpage\hyper@thepage\spaceundefined}%E283]\else%Icolor push Blackhtml:color push rgb 0 0 117 color pop9 html:c color popsIcolor push Blackhtml: html:c color popoE284f\ifx#2\hyper@firstofthree% E285p2\hyperreference{\expandafter\hyper@firstofthree#1}{#4}\null%E286f\else\ifx#2\hyper@secondofthree%E287p2\hyperreference%E288yw^{\expandafter\hyper@firstofthree#1}%E289yw^{#4\expandafter#2#1\null}\null%E290f\else%E291p2\hyperpagereference%E292yw^{\expandafter\hyper@thirdofthree#1}%E293yw^{#4\expandafter#2#1\null}\null%E294f\fi\fi%E295]\fi%E296S}IProGceedingfromthiswecande nethreemacros\hypernoref,\hyperref,and I\hyperpagerefXthatcorrespGondtothesameL5ffA͉TU>'ExX2")Y{macroswherethehyperIdoGesTnotoccur.qButwewanttodoalittlebitmore.qThusanadditionaloptionalIargument:maybGegiventothesemacrostoallowtheusertoreferencefromawholeItextUUandnotonlyfromthenumbGerUUtotheanchor.E297S\def\@@hypernoref[#1]#2{% E298]\expandafter\hyper@setref\csnamer@#2\endcsname%E299f\hyper@firstofthree{#2}{#1}%E300S}E301S\def\@hypernoref[#1]{\@@hypernoref[#1]}E302S\def\hypernoref{\@ifnextchar[{\@hypernoref}{\@@hypernoref[]}}E303S\def\@@hyperref[#1]#2{%E304]\expandafter\hyper@setref\csnamer@#2\endcsname%E305f\hyper@secondofthree{#2}{#1}%E306S}E307S\def\@hyperref[#1]{\@@hyperref[#1~]}E308S\def\hyperref{\@ifnextchar[{\@hyperref}{\@@hyperref[]}}E309S\def\@@hyperpageref[#1]#2{%E310ap\expandafter\hyper@setref\csnamer@#2\endcsname%E311kJ\hyper@page@thirdofthree{#2}{#1}%E312S}E313S\def\@hyperpageref[#1]{\@@hyperpageref[#1~]}E314S\def\hyperpageref{\@ifnextchar[{\@hyperpageref}{\@@hyperpageref[]}}INowUUlet'spatchL5ffA͉TU>'ExX2"('sref/labGel-system:E315S\let\label\hyperlabelE316S\def\noref{\protect\hypernoref}E317S\def\ref{\protect\hyperref}E318S\def\pageref{\protect\hyperpageref}IUpotonowweonlycanreferencetoanchorsbuthaven'tyetde nedsome.This IwillUUbGedoneinmanyofthefollowingsubsections.6I8.7ghtml:color push rgb 0 0.75 0.75OtherCross{ReferencingFeatures color pop html:uTIThough=L5ffA͉TU>'ExX2".$has=averygoGod=referencemechanismthisisnotenoughforIhypGertextdocuments.,TheusershouldbGeabletoaddananchortoatextofhisIownUUchoice.E319S\def\labeltext#1#2{% E320]\hyper@setcurrent%Icolor push Blackhtml:color push rgb 0 0 118 color pop9 html:c color popӠsIcolor push Blackhtml: html:c color popoE321]\bgroup% E322f\def\@currentlabel{#2}%E323f\label{#1}%E324f\hyperanchor{\@currenthyper}{#2}%E325]\egroup%E326S}IIButGthatisnotenough.mTSomeofthemacrosofthispackqagede neanchorswhich IcannotbGecaughtbya\labelcommand._ButthenitisthecurrentorthenextIanchorUUgenerated.qThefollowingmacroswillallowustoreferencetothem: IE327S\def\refcurrent#1{\hyperreference{\@currenthyper}{#1}} E328S\def\fragilerefnext#1#2{\bgroup%E329]\hypercount=#1\relax\advance\hypercount1\relax%E330]\hyperreference{\the\hypercount}{#2}%E331S\egroup}E332S\def\refnext#1{\protect\fragilerefnext{\the\hypercount}{#1}}IThis&isespGeciallyusefullforinsertinglinksfromthetableofcontents&toanun- InumbGeredUUsectionlikee.g.thereferencesofadocument.IButEwait,{thereismore.8L5ffA͉TU>'ExX2"+notonlyuses\refand\labelforit'sreferencingImechanismbutalso\refstepcountertodeterminetowhatthenext\labelIshouldUUreference.qThishastobGere ectedforthehypertextstu . IE333S\let\hyper@refstepcounter\refstepcounter E334S\def\refstepcounter{\hyper@setcurrent\hyper@refstepcounter}IAs'wewillpatchsomelatexinternalsbGelowwealsoneedamacrothatallowusItoUUforgetthenext\refstepcounter. IE335S\def\ignore@next@refstepcounter{% E336]\def\refstepcounter##1{%E337f\def\refstepcounter{\hyper@setcurrent\hyper@refstepcounter}%E338]}%E339S}I8.8ghtml:color push rgb 0 0.75 0.75HandlingPageNumb`ers color pop html:uTIW*ebwanttoreferfromthepagesinthetableofcontentstothecorrespGonding Ipage.qThusUUwehavetorecallthenecessaryinformationwhenprintingthetable.E340S\let\hyper@contentsline\contentslineE341S\def\contentsline#1#2#3{%E342]\hyper@contentsline{#1}{#2}{\hyperpagereference{#3}{#3}}%E343S}IIThe~sameisvqalidforindicesandglossaries.*BButtheyaremoreproblematic.Hence IweUUwillhandletheminasubsectionofitsown.ISofartheresultisacoupleofreferencesfrompagenumbGerstopages.ButweIhaven'tUUde nedtheanchorstheyreferto.IT*oDresolvethiswehavetomoGdifyheadersandfootersofapage.MThiscanbedoneIforUUanarbitrarypagestylewhenwechange(misuse!)q\@begindvi.ILet'sprovidetodi erentstylesforthispurpGose,oneallowingjumpstothepageInumbGer,y]andr(oneallowingjumpstothetopofthepage.AInthelattercaseweletItheUUpagenumbGersUUintheheadersandfootersrefertothetopofthepage.E344S\let\hyper@thepage\thepage E345S\def\hyper@anchorpage{%E346]\fragilehyperanchor{page.\hyper@thepage}{\hyper@thepage}%Icolor push Blackhtml:color push rgb 0 0 119 color pop9 html:c color pop sIcolor push Blackhtml: html:c color popoE347S} E348S\def\hyper@referencepage{%E349]\fragilehyperreference{page.\hyper@thepage}{\hyper@thepage}%E350S}E351S\def\hyper@empty{\@empty}E352S\def\hyper@evenhead{\@evenhead}E353S\def\hyper@oddhead{\@oddhead}E354S\def\hyper@evenfoot{\@evenfoot}E355S\def\hyper@oddfoot{\@oddfoot}E356S\def\hyper@modifyheadfoot@pagenumber{%E357]\let\hyper@thehead\@thehead%E358]\ifx\hyper@thehead\hyper@oddhead\let\hyper@thehead\@oddhead\fi%E359]\ifx\hyper@thehead\hyper@evenhead\let\hyper@thehead\@evenhead\fi%E360]\let\hyper@thefoot\@thefoot%E361]\ifx\hyper@thefoot\hyper@oddfoot\let\hyper@thefoot\@oddfoot\fi%E362]\ifx\hyper@thefoot\hyper@evenfoot\let\hyper@thefoot\@evenfoot\fi%E363]\def\@thehead{%E364p2\ifnum\ifnum\ifx\hyper@thehead\@empty1\else0\fi%E365:\ifx\hyper@thehead\hyper@empty1\else0\fi%E366:>00\else1\fi%E367]\ifnum\ifx\hyper@thefoot\@empty1\else0\fi%E368:\ifx\hyper@thefoot\hyper@empty1\else0\fi%E369:>00\else1\fi%E370]>0\relax%E371p2\else%E372~0\blindhyperanchor{page.\thepage}%E373p2\fi%E374p2\let\hyper@thepage\thepage%E375p2\let\thepage\hyper@anchorpage%E376p2\ifx\hyper@thehead\@empty%E377~0\hfil%E378p2\else\ifx\hyper@thehead\hyper@empty%E379~0\hfil%E380p2\else%E381yw^\hyper@thehead%E382p2\fi\fi%E383]}%E384]\def\@thefoot{%E385p2\let\hyper@thepage\thepage%E386p2\let\thepage\hyper@anchorpage%E387p2\ifx\hyper@thefoot\@empty%E388~0\hfil%E389p2\else\ifx\hyper@thefoot\hyper@empty%E390~0\hfil%E391p2\else%E392~0\hyper@thefoot%E393p2\fi\fi%E394]}%E395S}E396S\def\hyper@modifyheadfoot@pagetop{%E397]\let\hyper@thehead\@thehead%E398]\ifx\hyper@thehead\hyper@oddhead\let\hyper@thehead\@oddhead\fi%E399]\ifx\hyper@thehead\hyper@evenhead\let\hyper@thehead\@evenhead\fi%E400]\let\hyper@thefoot\@thefoot%Icolor push Blackhtml:color push rgb 0 0 120 color pop9 html:c color pop.sIcolor push Blackhtml: html:c color popoE401]\ifx\hyper@thefoot\hyper@oddfoot\let\hyper@thefoot\@oddfoot\fi% E402]\ifx\hyper@thefoot\hyper@evenfoot\let\hyper@thefoot\@evenfoot\fi%E403]\def\@thehead{%E404p2\blindhyperanchor{page.\thepage}%E405p2\let\hyper@thepage\thepage%E406p2\let\thepage\hyper@referencepage%E407p2\ifx\hyper@thehead\@empty%E408~0\hfil%E409p2\else\ifx\hyper@thehead\hyper@empty%E410~0\hfil%E411p2\else%E412~0\hyper@thehead%E413p2\fi\fi%E414]}%E415]\def\@thefoot{%E416p2\let\hyper@thepage\thepage%E417p2\let\thepage\hyper@referencepage%E418p2\ifx\hyper@thefoot\@empty%E419~0\hfil%E420p2\else\ifx\hyper@thefoot\hyper@empty%E421~0\hfil%E422p2\else%E423~0\hyper@thefoot%E424p2\fi\fi%E425f}%E426S}E427S\let\hyper@begindvi\@begindviE428S\def\@begindvi{%E429]\hyper@begindvi%E430]\hyper@modifyheadfoot%E431]\global\let\@begindvi\hyper@modifyheadfoot%E432S}IHopGefullyowedonotuseapagenumbGertwiceinheadersorfoGotersifwewantto IjumpUUtothepagenumbGer.IW*eUUusepagenumbGersUUasthedefaultpositionforpageanchors.E433S\let\hyper@modifyheadfoot\hyper@modifyheadfoot@pagenumber6I8.9ghtml:color push rgb 0 0.75 0.75TableofContents color pop html:uTIInzthesubsection\HandlingofPages"wealreadyhaveinsertedreferencesfromtheIpagenumbGertothecorrespondingpage.dNowwewanttoaddfurtherreferencesIfromtthetitleofanentryinthetableofcontentstothecorrespGondingtextwithinItheUUdoGcument.IT*oUUdothatwehavetomoGdifythecorrespondingsectioningcommands.E434S\let\hyper@sect\@sect E435S\def\@sect#1#2#3#4#5#6[#7]#8{%E436]\ifnum#2>\c@secnumdepth%E437f\hyper@setcurrent%E438]\else%E439f\refstepcounter{#1}%E440f\ignore@next@refstepcounter%E441]\fi%Icolor push Blackhtml:color push rgb 0 0 121 color pop9 html:c color pop9msIcolor push Blackhtml: html:c color popoE442]\global\let\@currenthyper\@currenthyper% E443]\callwithexpandedhyperref%E444f{\hyper@sect{#1}{#2}{#3}{#4}{#5}{#6}}%E445f{#7}%E446f{\hyperanchor{\@currenthyper}{#8}}%E447S}E448S\let\hyper@ssect\@ssectE449S\def\@ssect#1#2#3#4#5{%E450]\hyper@setcurrent%E451]\global\let\@currenthyper\@currenthyper%E452]\hyper@ssect{#1}{#2}{#3}{#4}{\hyperanchor{\@currenthyper}{#5}}%E453S}E454Sh/5" cmmi9=hypAeriIThe7classesbookandreportadditionallyde nea\chaptercommand.gUnfortu- InatelyW2theydoitinadi erentway*.w^Butthedi erencesarefairlysmall.ThusweIwillUUusenearlythesamede nition.E455ShbAook;repo9rt2i E456S\let\hyper@chapter\@chapterE457S\let\hyper@schapter\@schapterE458S\def\@chapter[#1]#2{%E459]\ifnum\c@secnumdepth>\m@ne%E460Sh=bAook;repo9rt2iE461ShbAookiE462f\if@mainmatter%E463Sh=bAookiE464ShbAook;repo9rt2iE465p2\refstepcounter{chapter}%E466p2\ignore@next@refstepcounter%E467Sh=bAook;repo9rt2iE468ShbAookiE469f\else%E470p2\hyper@setcurrent%E471f\fi%E472Sh=bAookiE473ShbAook;repo9rt2iE474]\else%E475f\hyper@setcurrent%E476]\fi%E477]\global\let\@currenthyper\@currenthyper%E478]\callwithexpandedhyperref%E479f{\hyper@chapter}%E480f{#1}%E481f{\hyperanchor{\@currenthyper}{#2}}%E482S}E483S\def\@schapter#1{%E484]\hyper@setcurrent%E485]\global\let\@currenthyper\@currenthyper%E486]\hyper@schapter{\hyperanchor{\@currenthyper}{#1}}%E487S}E488Sh=bAook;repo9rt2iIThereeisalsoa\part{macrode nedintheclassesarticle,book,ltnews,ltxdoc, Iltxguide,proc,andtreport.OUnfortunatelytherearetwotdi erentde nitionsweIhave7ttomoGdify*.$Buttheydi eronlyinaconstantinaconditionalexpression.Icolor push Blackhtml:color push rgb 0 0 122 color pop9 html:c color popCsIcolor push Blackhtml: html:c color popoIThusUUwecanuseanearlycommonde nition.E489Sha9rticle;bAook;ltnews;ltxdoc;ltxguide;p9roc;repo9rti E490S\let\hyper@part\@partE491S\def\@part[#1]#2{%E492]\ifnum\c@secnumdepth>%E493Sh=a9rticle;bAook;ltnews;ltxdoc;ltxguide;p9roc;repo9rtiE494Sha9rticle;ltnews;ltxdoAc;ltxguide;proAcDRiE495S-1\relax%E496Sh=a9rticle;ltnews;ltxdoAc;ltxguide;proAcDRiE497ShbAook;repo9rt2iE498S-2\relax%E499Sh=bAook;repo9rt2iE500Sha9rticle;bAook;ltnews;ltxdoc;ltxguide;p9roc;repo9rtiE501p2\refstepcounter{part}%E502p2\ignore@next@refstepcounter%E503]\else%E504f\hyper@setcurrent%E505]\fi%E506]\global\let\@currenthyper\@currenthyper%E507]\callwithexpandedhyperref%E508f{\hyper@part}%E509f{#1}%E510f{\hyperanchor{\@currenthyper}{#2}}%E511S}E512S\let\hyper@spart\@spartE513S\def\@spart#1{%E514]\hyper@setcurrent%E515]\global\let\@currenthyper\@currenthyper%E516]\hyper@spart{\hyperanchor{\@currenthyper}{#1}}%E517S}E518Sh=a9rticle;bAook;ltnews;ltxdoc;ltxguide;p9roc;repo9rtiINow&wedonotonlygetreferencesfromthetableofcontentstothecorrespGonding IsectionsgtbutalsofromtheheadersandfoGoterstothem."}ThereisonlyoneexceptionIthesereferencesarenotinserted:Ifweusedthe*{edvqariantsofthesectioningIcommandsUUthemarksarenotinsertedintheheaders.IF*or<9bibliography,uglossary,index,and<9tableofcontents<9thiscanbGechangedbyImoGdifyingUU\@mkboth.E519Sha9rticle;bAook;ltnews;ltxdoc;ltxguide;p9roc;repo9rti E520S\def\hyper@mkboth@do[#1][#2]{%E521]\markboth{#1}{#2}%E522S}E523S\def\hyper@mkboth#1#2{%E524]\callwithexpandedhyperref%E525f{\callwithexpandedhyperref{\hyper@mkboth@do}{#1}}%E526f{#2}%E527S}IAsNmarksareonlyinsertedwhenusingthepagestyle\headings",&thecorrespGonding ImacroUUhastobGemodi edtogetthedesiredresult.E528S\let\hyper@ps@headings\ps@headingsE529S\def\ps@headings{%E530]\hyper@ps@headings%E531]\let\@mkboth\hyper@mkboth%Icolor push Blackhtml:color push rgb 0 0 123 color pop9 html:c color popOsIcolor push Blackhtml: html:c color popoE532S} E533Sh=a9rticle;bAook;ltnews;ltxdoc;ltxguide;p9roc;repo9rtiILastUUbutnotleastsetthenewpagestyle.E534ShbAook;repo9rt2iE535S\pagestyle{headings}E536Sh=bAook;repo9rt2iIUnfortunately*,!thepackqagedoc.stymoGdi esthetheindexenvironmentinaway IthatftheabGovefchangesdonotworkcorrectlywithit."Hence,+wehavetomoGdifyIthisUUenvironmenttoresolvethis.E537ShdoAceLi E538S\g@addto@macro\index@prologue{%E539]\def\markboth#1#2{%E540f\@mkboth{\refcurrent{#1}}{\refcurrent{#2}}%E541]}%E542S}E543Sh=doAceLi6I8.10nhtml:color push rgb 0 0.75 0.75Bibliography color pop html:uTIW*e5wanttoreferencefromcitationpGointswithinthetext,<;givenby\cite,<;tothe IcorrespGondingentryinthebibliography*.uTorealizethisweonlyhavetomoGdifyItheUU\bibitem{macro.E544ShhypAeri E545S\def\@lbibitem[#1]#2{%E546]\hyper@setcurrent%E547]\item[\@biblabel{\hyperanchor{\@currenthyper}{#1}}\hfill]%E548]\if@filesw%E549p2{\let\protect\@unexpandable@protect%E550t\immediate%E551t\write\@auxout{%E552~0\string\bibcite{#2}{\hyperreference{\@currenthyper}{#1}}%E553t}%E554p2}%E555]\fi%E556]\ignorespaces%E557S}E558S\def\@bibitem{%E559]\stepcounter{\@listctr}%E560]\@lbibitem[\the\value{\@listctr}]%E561S}6I8.11nhtml:color push rgb 0 0.75 0.75Equations color pop html:uTIThen6goalistoreferencetotheequationnumbGern6inequationsandarraysofequa- Itions.qThisUUisreallysimpletodo.E562S\def\@eqnnum{%E563]\hyperanchor{\@currenthyper}{\reset@font\rmfamily(\theequation)}%E564S}E565S\let\hyper@eqnarray\eqnarrayE566S\def\eqnarray{%E567]\hyper@setcurrent%Icolor push Blackhtml:color push rgb 0 0 124 color pop9 html:c color pop[sIcolor push Blackhtml: html:c color popoE568]\def\@currenthyper{\the\hypercount}% E569]\hyper@eqnarray%E570S}E571S\let\hyper@xeqncr\@xeqncrE572S\def\@xeqncr[#1]{%E573]\hyper@xeqncr[#1]%E574]\hyper@setcurrent%E575S}E576Sh=hypAeriIThereUUisadoGcumentclassoptionleqnothathastoberede nedforus.E577ShleqnoiE578S\def\@eqnnum{%E579]\hboxto.01\p@{}%E580]\rlap{\reset@font\rmfamily%E581yw^\hskip-\displaywidth%E582S\hyperanchor{\@currenthyper}{\reset@font\rmfamily(\theequation)}%E583t}%E584S}E585Sh=leqnoi6I8.12nhtml:color push rgb 0 0.75 0.75FloatCaptions color pop html:uTIWhatxqdoyouthinkwewanttodohere?Simplyusing\captiontode nean IanchorUUthatmaybGeusedtorefertothecurrent oat.E586ShhypAeriE587S\long\def\@caption#1[#2]#3{\par%E588]\addcontentsline%E589f{\csnameext@#1\endcsname}%E590f{#1}%E591f{\protect\numberline{\csnamethe#1\endcsname}%E592kJ{\ignorespaces\hyperreference{\@currenthyper}{#2}}%E593f}%E594]\begingroup%E595f\@parboxrestore%E596f\normalsize%E597f\@makecaption{\csnamefnum@#1\endcsname}{\ignorespaces#3}\par%E598]\endgroup%E599S}E600Sh=hypAeriIObviously -weneedtomoGdify\@makecaptiontode netheanchor.YAsthismacro Iisde nedonlyfortheclassesarticle,!book,ltnews,ltxdoc,ltxguide,proc,IandUUreportwerede neitonlyforthem.E601Sha9rticle;bAook;ltnews;ltxdoc;ltxguide;p9roc;repo9rti E602S\let\hyper@makecaption\@makecaptionE603S\long\def\@makecaption#1#2{%E604]\hyper@makecaption{\hyperanchor{\@currenthyper}{#1}}{#2}%E605S}E606Sh=a9rticle;bAook;ltnews;ltxdoc;ltxguide;p9roc;repo9rtiIcolor push Blackhtml:color push rgb 0 0 125 color pop9 html:c color popf?sIcolor push Blackhtml: html:c color popoI8.13nhtml:color push rgb 0 0.75 0.75Fo`otnotes color pop html:uTIHerewewanttohandlereferencesfromfoGotnotemarkstofootnotesatthebottom IofUUthepage.IAtn8 rstmoGdifythestandardde nitionof\@makefnmarktorefertoafootnoteIwhichiscomplicatedbythefactthat\thepagedoGesnotnecessarilyrefertotheIactualppagewhenused.Sowehavetowritethepagetoanauxiliary leandIrereadditafterwards.Z!Let'snotforgettocheckforchangesoftheseentriestowarnItheUUuserabGoutpossiblechanges. E607ShhypAeri E608S\newcount\hyper@fnmark@countE609S\hyper@fnmark@count0E610S\def\hyper@currentfnmark{%E611ap\global\advance\hyper@fnmark@count1\relax%E612ap\@bsphack%E613p2\protected@write\@auxout%E614~0{}%E615~0{\string\hyperfnpage{\the\hyper@fnmark@count}{\thepage}}%E616ap\@esphack%E617ap\hb@xt@\z@{%E618f\ifx\hyper@minipage@label\@empty%E619p2\global\edef\hyper@current@fnmark%E620yw^{fn.\@arabic\c@footnote.%E621 \expandafter%E622\ifx\csnamehyper@fn@\the\hyper@fnmark@count\endcsname%E623:\relax%E624?%E625 \else%E626\csnamehyper@fn@\the\hyper@fnmark@count\endcsname%E627 \fi%E628yw^}%E629f\else\ifnum\hyper@minipage@label=0\relax%E630p2\global\edef\hyper@current@fnmark%E631yw^{fn.\hyper@minipage@label.\@arabic\c@footnote.%E632 \expandafter%E633\ifx\csnamehyper@fn@\the\hyper@fnmark@count\endcsname%E634:\relax%E635?%E636 \else%E637\csnamehyper@fn@\the\hyper@fnmark@count\endcsname%E638 \fi%E639yw^}%E640f\else%E641p2\global\edef\hyper@current@fnmark%E642yw^{fn.\hyper@minipage@label.\@arabic\c@mpfootnote.%E643 \expandafter%E644\ifx\csnamehyper@fn@\the\hyper@fnmark@count\endcsname%E645:\relax%E646?%E647 \else%E648\csnamehyper@fn@\the\hyper@fnmark@count\endcsname%E649 \fi%E650yw^}%E651ap\fi\fi%Icolor push Blackhtml:color push rgb 0 0 126 color pop9 html:c color poppsIcolor push Blackhtml: html:c color popoE652]}% E653S}E654S\def\hyperfnpage#1#2{%E655]\expandafter\global\expandafter\def\csnamehyper@fn@#1\endcsname{#2}%E656S}E657S\def\hyperfnpage@check#1#2{%E658ap\def\reserved@a{#2}%E659ap\expandafter\ifx\csnamehyper@fn@#1\endcsname\reserved@a\else%E660p2\global\advance\hyper@changed4\relax%E661p2\let\hyperfnpage\@gobbletwo%E662p2\let\newhyper\@gobbletwo%E663ap\fi%E664S}E665S\let\hyper@fn@enddocument\enddocumentE666S\def\enddocument{%E667]\let\hyperfnpage\hyperfnpage@check%E668]\global\hyper@fnmark@count0\relax%E669]\hyper@fn@enddocument%E670S}E671S\def\@makefnmark{%E672]\hyper@currentfnmark%E673]\hbox{\@textsuperscript{%E674\normalfont\hyperreference%E675 {\hyper@current@fnmark}%E676 {\@thefnmark}%E677kJ}}%E678S}E679S\def\hyper@makefnmark@text{%E680]\hyper@currentfnmark%E681]\hbox{\@textsuperscript{%E682\normalfont\hyperanchor%E683]{\hyper@current@fnmark}%E684]{\@thefnmark}%E685t}}%E686S}E687Sh=hypAeriIUnfortunately*,Ҹthede nitionof\@makefntextisdepGendendofthedocumentclass IweUUuse.IF*orParticle,5book,letter,ltnews,ltxdoc,ltxguide,proc,report,andIslidesUUwehavetousethefollowinghypGertext{vqariant. E688Sha9rticle;bAook;letter ;ltnews;ltxdoc;ltxguide;p9roc;repo9rt;slidesCi E689S\let\hyper@makefntext\@makefntext%E690S\long\def\@makefntext#1{%E691]\bgroup%E692f\hyper@currentfnmark%E693f\edef\@currenthyper{\hyper@current@fnmark}%E694f\let\@makefnmark\hyper@makefnmark@text%E695f\hyper@makefntext{#1}%E696]\egroup%E697S}E698Sh=a9rticle;bAook;letter ;ltnews;ltxdoc;ltxguide;p9roc;repo9rt;slidesCiIThereUUarealsofoGotnoteswithinminipages.qThereforeweshouldhandlethem. E699ShhypAeriIcolor push Blackhtml:color push rgb 0 0 127 color pop9 html:c color pop{sIcolor push Blackhtml: html:c color popoE700S\newcount\hyper@minipage@cnt E701S\hyper@minipage@cnt=0E702S\edef\hyper@minipage@label{}E703S\let\hyper@minipage\minipageE704S\let\hyper@endminipage\endminipageE705S\def\minipage{%E706]\bgroup%E707f\global\advance\hyper@minipage@cnt1\relax%E708f\edef\hyper@minipage@label{\the\hyper@minipage@cnt}%E709f\hyper@minipage%E710S}E711S\def\endminipage{%E712f\hyper@endminipage%E713]\egroup%E714S}E715Sh=hypAeriINote,gthatthereexistsonlyonelevelofminipagesthefoGotnotesarehandled IcorrectlyUUbyL5ffA͉TU>'ExX2"(.qThuswehaven'ttodomore.IUnfortunately0xthereisanotherproblem./ThefoGotnote{macrosarerede nedbyItheUU\maketitle{macroinsomeclasses.IThus~weneedthefollowingchangesfortheclassesarticle,8Hbook,ltxdoc,Iltxguide,UUandreport.E716Sha9rticle;bAook;ltxdoc;ltxguide;repo9rti E717S\if@titlepage\elseE718S\renewcommand\maketitle{\parE719]\begingroupE720f\renewcommand\thefootnote{\fnsymbol{footnote}}%E721f\def\@makefnmark{%E722p2\hyper@currentfnmark%E723p2\rlap{\@textsuperscript{%E724yw^\normalfont%E725yw^\hyperreference{\hyper@current@fnmark}%E726S{\@thefnmark}%E727p2}}%E728f}%E729f\long\def\@makefntext##1{%E730p2\hyper@currentfnmark%E731p2\bgroup%E732yw^\edef\@currenthyper{\hyper@current@fnmark}%E733yw^\parindent1em\noindentE734yw^\hb@xt@1.8em{%E735\hss\@textsuperscript{%E736]\normalfont%E737]\hyperanchor{\hyper@current@fnmark}{\@thefnmark}E738]}%E739S}%E740S##1%E741p2\egroup%E742f}%E743f\if@twocolumnE744p2\ifnum\col@number=\@neE745yw^\@maketitleE746p2\elseIcolor push Blackhtml:color push rgb 0 0 128 color pop9 html:c color popqsIcolor push Blackhtml: html:c color popoE747yw^\twocolumn[\@maketitle]% E748p2\fiE749f\elseE750p2\newpageE751p2\global\@topnum\z@E752p2\@maketitleE753f\fiE754f\thispagestyle{plain}\@thanksE755]\endgroupE756]\setcounter{footnote}{0}%E757]\let\thanks\relaxE758]\let\maketitle\relax\let\@maketitle\relaxE759]\gdef\@thanks{}\gdef\@author{}\gdef\@title{}}E760S\fiE761Sh=a9rticle;bAook;ltxdoc;ltxguide;repo9rtiIF*orUUtheclassprocanotherrede nitionisneeded.E762Shp9roAcLgiE763S\def\maketitle{\parE764XdD\begingroupE765ap\renewcommand\thefootnote{\fnsymbol{footnote}}%E766ap\def\@makefnmark{%E767p2\hyper@currentfnmark%E768p2\hboxto\z@{%E769p2\@textsuperscript{%E770yw^\normalfont%E771S\hyperreference{\hyper@current@fnmark}%E772S{\@thefnmark}%E773p2}%E774ap}}%E775ap\twocolumn[\@maketitle]%E776ap\@thanksE777XdD\endgroupE778XdD\setcounter{footnote}{0}%E779XdD\let\maketitle\relaxE780XdD\let\@maketitle\relaxE781XdD\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}E782Sh=p9roAcLgiIThepackqagedoc.styalsomoGdi es\maketitlethathasarede nitionof I\@makefnmarkUUand\@makefntext.E783ShdoAceLiE784S\def\maketitle{\parE785p2\begingroup\def\thefootnote{\fnsymbol{footnote}}%E786p2\setcounter{footnote}\z@E787p2\def\@makefnmark{%E788yw^\hyper@currentfnmark%E789S\hboxto\z@{%E790yw^$\m@th^{%E791\hyperreference%E792]{\hyper@current@fnmark}%E793]{\@thefnmark}%E794yw^}$\hss%E795p2}}%E796p2\long\def\@makefntext##1{%Icolor push Blackhtml:color push rgb 0 0 129 color pop9 html:c color popsIcolor push Blackhtml: html:c color popoE797yw^\hyper@currentfnmark% E798yw^\bgroupE799\edef\@currenthyper{\hyper@current@fnmark}E800\parindent1em\noindentE801\hboxto1.8em{%E802]\hss$\m@th^{%E803\hyperanchor{\hyper@current@fnmark}{\@thefnmark}%E804]}$%E805]}%E806]##1%E807yw^\egroup%E808p2}%E809p2\if@twocolumn\twocolumn[\@maketitle]%E810p2\else\newpage\global\@topnum\z@\@maketitle\fiE811t\thispagestyle{titlepage}\@thanks\endgroupE812p2\setcounter{footnote}\z@E813p2\gdef\@date{\today}\gdef\@thanks{}%E814p2\gdef\@author{}\gdef\@title{}}E815Sh=doAceLiƍIShit,nowPwecangetthesamenameforhypGeranchors,oneviamaketitleand Ioneforthefollowingtext.jLet'spretendthetitlepagebGeingminipage0.Note,Ithat{thede nitionof\hyper@currentfnmarkgivenabGovetestsforthis. (ThisisInecessary!)bAdditionally(wehavetomoGdifythemacro\thankstogetthecorrectIanchorsUUinthefoGotnotetexts. ƍE816ShhypAeri E817S\AtBeginDocument{%E818ap\let\hyper@maketitle\maketitle%E819ap\def\maketitle{%E820kJ\edef\hyper@minipage@label{0}%E821kJ\hyper@maketitle%E822kJ\let\hyper@minipage@label\@empty%E823ap}%E824S}E825S\def\hyper@thanks@footnotetext#1[#2]#3{%E826]\bgroup%E827kJ\edef\hyper@current@fnmark{#1}%E828kJ\let\hyper@currentfnmark\relax%E829kJ\footnotetext[#2]{#3}%E830]\egroup%E831S}E832S\def\thanks#1{\footnotemark%E833f\expandafter\protected@xdef\expandafter\@thanks\expandafter{\expandafter\@thanks%E834yw^\expandafter\protect%E835 \expandafter\hyper@thanks@footnotetext%E836\expandafter{\hyper@current@fnmark}[\the\c@footnote]{#1}}%E837S}E838Sh=hypAeriZI8.14nhtml:color push rgb 0 0.75 0.75Lists color pop html:uTISomelistshaveenumerateditemswhichmaybGereferencedtobythelabGelcom- Imand.qHenceUUwehavetosetthecorrespGondinganchors.E839ShhypAeriIcolor push Blackhtml:color push rgb 0 0 130 color pop9 html:c color popsIcolor push Blackhtml: html:c color popoE840S\let\hyper@item\@item E841S\def\@item[#1]{%E842]\if@noitemarg%E843f\if@nmbrlist%E844p2\hyper@item[\hyperanchor{\@currenthyper}{#1}]%E845f\else%E846p2\hyper@item[{#1}]%E847f\fi%E848]\else%E849f\hyper@item[{#1}]%E850]\fi%E851S}6I8.15nhtml:color push rgb 0 0.75 0.75IndexandGlossary color pop html:uTIAslhalreadyhasbGeensaid,wedon'twritethepagenumbGertogetherwithareference ItoC.idx{resp..glo{ les.3lmakeindexwouldn'tacceptsuchinformations.3lButthatImeansVHthatwehavetothinkofawaytogetbackthereferencesaftermakeindexIhasUUgeneratedtheindexresp.glossary*.IAsithisstu needsanadditionalpackqageweshouldincludeitonlyifitisnecessary*.IThus,UUletusat rstsaveitinamacro.E852S\def\hyper@idxglo@cmds{IF*orUUthefollowingde nitionweneedthedefpattern-packqage.E853S\RequirePackage{defpattern}INowUUwecande nehypGertextvqariantsofthemacros\indexand\glossary. IFirstUUofallwehandleseriesofpagenumbGersandranges.E854S\def\hyper@ref@page##1{\hyperpagereference{##1}{##1}} E855S\defpattern\hyper@page@range[##2]{\hyper@ref@page{##2}}E856S\defpattern\hyper@page@range[##2--##3]{%E857]\hyper@ref@page{##2}--\hyper@ref@page{##3}%E858S}E859S\defpattern\hyper@page@range[##2,##3]{%E860]\hyper@page@range[##2],\hyper@page@range[##3]%E861S}IBasedhonthiswecande neamacro\hyperpagewithanoptionalexecutable ImacroUUasprovidedbytheindexingsystemtosurroundapagenumbGer.E862S\def\hyper@page@cmd[##1]##2{##1{\hyper@page@range[##2]}}E863S\def\hyper@page@nocmd##1{\hyper@page@range[##1]}E864S\def\hyperpage{\@ifnextchar[{\hyper@page@cmd}{\hyper@page@nocmd}}IAfterUUsavingtheoriginalmeaningof\indexand\glossaryE865S\let\hyper@index\indexE866S\let\hyper@glossary\glossaryIweUUcaninsertthepagenumbGersurroundingcommandformakeindexbyE867S\defpattern\hyper@ig@pat[##2|##3]{##2{##3|hyperpage}}E868S\defpattern\hyper@ig@pat[##2|##3|##4]{%E869]##2{##3|hyperpage[\hyper@backslash##4]}%E870S}E871S\defpattern\hyper@ig@pat[##2|##3|(##4]{%E872]##2{##3|(hyperpage[\hyper@backslash##4]}%E873S}Icolor push Blackhtml:color push rgb 0 0 131 color pop9 html:c color pop =sIcolor push Blackhtml: html:c color popoE874S\defpattern\hyper@ig@pat[##2|##3|)##4]{% E875]##2{##3|)hyperpage[\hyper@backslash##4]}%E876S}E877S\defpattern\hyper@ig@pat[##2|##3|(]{##2{##3|(hyperpage}}E878S\defpattern\hyper@ig@pat[##2|##3|)]{##2{##3|)hyperpage}}нIandUUde nethenew\index{and\glossary{macrosasfollows. нE879S\def\hyper@ig{%E880]\@bsphack\begingroup%E881f\catcode`\@=12\catcode`\!=12\catcode`\|=12\catcode`\"=12\relax%E882f\@sanitize\hyper@ig@%E883S}E884S\def\hyper@ig@##1##2{%E885f\hyper@ig@pat[##1|##2]%E886]\endgroup\@esphack%E887S}E888S\def\index{\hyper@ig\hyper@index}E889S\def\glossary{\hyper@ig\hyper@glossary}IW*ehavereachedtheendofthemacro.Butaswedonotcallitscontentstwice IweUUjustletthemacrobGeinganopbefore. нE890S\let\hyper@idxglo@cmds\relaxE891S}INowUUlet'scallthestu wheneveranindexorglossaryhastobGegenerated. нE892S\ifnum%E893]\ifx\@indexfile\@undefined0\else1\fi%E894]\ifx\@glossaryfile\@undefined0\else1\fi%E895]>0\relaxE896f\hyper@idxglo@cmdsE897S\fiE898S\ifx\makeindex\@empty\elseE899]\let\hyper@makeindex\makeindexE900]\def\makeindex{\hyper@makeindex\hyper@idxglo@cmds}E901S\fiE902S\ifx\makeglossary\@empty\elseE903]\let\hyper@makeglossary\makeglossaryE904]\def\makeglossary{\hyper@makeglossary\hyper@idxglo@cmds}E905S\fiՃI8.16nhtml:color push rgb 0 0.75 0.75Theorems color pop html:uTITheorems,Lemmatas,Corollaries,Examples,etc.areoftenreferedto.;Hencethey IhaveUUtointroGduceananchorforthesereferences.E906S\let\hyper@begintheorem\@begintheorem%E907S\def\@begintheorem#1#2{\trivlist%E908ap\item[\hskip%E909~0\labelsep{\hyperanchor{\@currenthyper}{\bfseries#1\#2}}%E910yw^]\itshape%E911S}E912S\def\@opargbegintheorem#1#2#3{\trivlist%E913p2\item[\hskip%E914]\labelsep%E915x{\hyperanchor{\@currenthyper}{\bfseries#1\#2}\(#3)}%E916 ]\itshape%Icolor push Blackhtml:color push rgb 0 0 132 color pop9 html:c color pop!esIcolor push Blackhtml: html:c color popoE917S} E918Sh=hypAeriݠITheseOde nitionsarechangedbythetheorem{packqage.Hence,Bwehavetogive IhypGertextUUde nitionsforthembelow.I8.17nhtml:color push rgb 0 0.75 0.75AdditionalPatches color pop html:uTIThe#HypGerTU>'ExX{previewerforNeXTSTEPcan'thandlemultiplepageswiththeIsamenamecorrectly*.NItsuppGosesthateachlinkonapagenumbGer1isonthe rstIpagewiththenumbGerone.>LThisisaproblemforthetitlepageoftenhavingtheIsameonumbGerasoneofthefollowingpages./HencewepatchthepagenumbGerofItheUUtitlepagefrom1to-1(ifthenextpagealsohasnumbGerUU1). ݠE919Sha9rticle;repAort7color push rgb 0 0.75 0.75HandlingOptions color pop html:uTIAt> rstletusde nesomemacrostocollectanddetectmutuallyexcludingoptions.E933ShhypAeriE934S\def\hyper@set@option#1#2#3{%E935]\ifx#1\@undefined%E936f\def#1{#2}%E937]\else%E938f\PackageError{hyper}{#3}{}%E939]\fi}E940S\def\set@hyper@class#1{%E941]\hyper@set@option\hyper@class{#1}%E942f{Onlyoneclassisallowedinoptionlist}%E943S}E944S\def\set@hyper@do#1{%E945]\hyper@set@option\hyper@do{#1}%E946f{Excludingoptions'yes'and'no'inoptionlistfound}%E947S}E948S\def\set@hyper@pageanchor#1{%E949]\hyper@set@option\hyper@pageanchor{#1}%E950f{Excludingoptions'pagenumber'and'pagetop'inoptionlistfound}%E951S}E952S\def\set@hyper@color#1{%Icolor push Blackhtml:color push rgb 0 0 133 color pop9 html:c color pop"\sIcolor push Blackhtml: html:c color popoE953]\hyper@set@option\hyper@this@color{#1}% E954f{Multiplecoloroptionsinoptionlistfound}%E955S}E956S\def\set@hyper@idxglo{%E957]\let\hyper@idxglo\hyper@idxglo@cmds%E958S}IW*eVsuppGoseeachotheroptiongivenbGeinganadditionalpackqage.Theyarecol- IlectedUUwithoutregardingmultipleoGccurrences.E959S\def\hyper@packages{}E960S\def\add@hyper@package#1{%E961]\edef\hyper@packages{\hyper@packages(#1)}%E962S}E963S\def\hyper@extensions{}E964S\def\add@hyper@extension#1{%E965]\edef\hyper@extensions{\hyper@extensions(#1)}%E966S}INow6wede netheoptionsknowntodistributethembGetweenthemacrosgiven IabGove.ITheUUdoGcumentclassesknownbythepackqagearethefollowing.E967S\DeclareOption{article}{\set@hyper@class{article}} E968S\DeclareOption{book}{\set@hyper@class{book}}E969S\DeclareOption{letter}{\set@hyper@class{letter}}E970S\DeclareOption{ltxdoc}{\set@hyper@class{ltxdoc}}E971S\DeclareOption{ltxguide}{\set@hyper@class{ltxguide}}E972S\DeclareOption{ltnews}{\set@hyper@class{ltnews}}E973S\DeclareOption{proc}{\set@hyper@class{proc}}E974S\DeclareOption{report}{\set@hyper@class{report}}E975S\DeclareOption{slides}{\set@hyper@class{slides}}E976S\DeclareOption{amsart}{\set@hyper@class{amsart}}E977S\DeclareOption{amsproc}{\set@hyper@class{amsproc}}E978S\DeclareOption{amsbook}{\set@hyper@class{amsbook}}E979S\DeclareOption{amsdtx}{\set@hyper@class{amsdtx}}E980S\DeclareOption{amsldoc}{\set@hyper@class{amsldoc}}E981S\DeclareOption{cweb}{\set@hyper@class{cweb}}ITherearetwooptionsdeterminingwhetherwewanttoinsertthehypGertext{marks IintoUUthedvi{ le.E982S\DeclareOption{yes}{\set@hyper@do{\hyper}}E983S\DeclareOption{no}{\set@hyper@do{\nohyper}}IW*eX shouldnotforgetthatwehaveanoptionalbGehaviourfor xingthebGounding IbGoxUUofahypGerreference.qSowehavetointroGduceandhandleanoptionforit.E984S\DeclareOption{fixhyperbox}{%E985]\AtBeginDocument{%E986kJ\let\hyper@unnested@special@reference\hyper@unnested@special@reference@fix%E987]}%E988S}E989S%Inthesubsection``ColoredAnchors/References''wehaveintroducedE990S%threevariantsofcolorstheanchorsresp.\referencesmaybeprintedin.E991S%X\begin{macrocode}E992S\DeclareOption{color}{\set@hyper@color{\hyper@color}}E993S\DeclareOption{gray}{\set@hyper@color{\hyper@gray}}E994S\DeclareOption{black}{\set@hyper@color{\hyper@black}}Icolor push Blackhtml:color push rgb 0 0 134 color pop9 html:c color pop#ǧsIcolor push Blackhtml: html:c color popoIW*eadditionallyhavetochoGosewhetherahypGerlinktoapagealwaysjumpsto ItheUUpagenumbGerUUortothetopofthepage. ؞E995S\DeclareOption{pagenumber}{\set@hyper@pageanchor{\hyper@modifyheadfoot@pagebottom}} E996S\DeclareOption{pagetop}{\set@hyper@pageanchor{\hyper@modifyheadfoot@pagetop}}؞IIfCtheuserwantCtohaveCtheindexandglossarycommands,e.g.whenincludinganIindexforglossarywithoutusing\makeindexrespGectively\makeglossaryhemayIgiveUUtheoptionindexcmds.E997S\DeclareOption{indexcmds}{\set@hyper@idxglo}؞IAdditionallyUUwehavetopasstheoptionsfortheextensionalpackqagesE998S\DeclareOption{backcitepages}{% E999]\PassOptionsToPackage{pages}{hxt-bc}%A1000]\add@hyper@extension{hxt-bc}%A1001S}A1002S\DeclareOption{backcitesections}{%A1003]\PassOptionsToPackage{sections}{hxt-bc}%A1004]\add@hyper@extension{hxt-bc}%A1005S}؞IAllUUotheroptionstobGegivenareconsideredaspackqages.A1006S\DeclareOption*{\add@hyper@package{\CurrentOption}}INowUUlet'scollecttheoptionsgiven.A1007S\ProcessOptionsISoUUfarnowweknowtheoptionstheuserhassendtous. IIf6VnooptiondeterminingadoGcumentclasshasbeengivenweshouldtrytodeter-ImineUUwhichclassthedoGcumentisof.A1008S\ifx\hyper@class\@undefined A1009]\@ifclassloaded{slides}{\def\hyper@class{slides}}{}A1010]\@ifclassloaded{report}{\def\hyper@class{report}}{}A1011]\@ifclassloaded{letter}{\def\hyper@class{letter}}{}A1012]\@ifclassloaded{book}{\def\hyper@class{book}}{}A1013]\@ifclassloaded{article}{\def\hyper@class{article}}{}A1014]\@ifclassloaded{proc}{\def\hyper@class{proc}}{}A1015]\@ifclassloaded{ltnews}{\def\hyper@class{ltnews}}{}A1016]\@ifclassloaded{ltxguide}{\def\hyper@class{ltxguide}}{}A1017]\@ifclassloaded{ltxdoc}{\def\hyper@class{ltxdoc}}{}A1018]\@ifclassloaded{amsart}{\def\hyper@class{amsart}}{}A1019]\@ifclassloaded{amsproc}{\def\hyper@class{amsproc}}{}A1020]\@ifclassloaded{amsbook}{\def\hyper@class{amsbook}}{}A1021]\@ifclassloaded{amsdtx}{\def\hyper@class{amsdtx}}{}A1022]\@ifclassloaded{amsldoc}{\def\hyper@class{amsldoc}}{}A1023]\@ifclassloaded{cweb}{\def\hyper@class{cweb}}{}A1024S\fi؞IIf6thereisadoGcumentclassloadthecorresponding.hyp{ leotherwisegivean IerrorUUmessage.A1025S\ifx\hyper@class\@undefinedA1026]\PackageError{hyper}{Documentclasscan'tbedetermined.\MessageBreakA1027Pleaseaddonetotheoptionlist%A1028kJ}{}A1029S\elseA1030]\InputIfFileExists{\hyper@class.hyp}{}%A1031f{\PackageError{hyper}{\hyper@class.hypnotfound.\MessageBreakIcolor push Blackhtml:color push rgb 0 0 135 color pop9 html:c color pop$sIcolor push Blackhtml: html:c color popoA1032Pleasereinstallthecompletepackage% A1033D}{}%A1034f}%A1035S\fiIIf weexplicitelywanttohavethecommandsforindexandglossarywehaveto IintroGduceuDthembycallingthemacroholdingthestu .ѕNote,}@thatthemacroisaInopUUwhenthestu alreadyhasbGeenadded.A1036S\ifx\hyper@idxglo\@undefined\else A1037]\hyper@idxglo@cmdsA1038S\fiIIfwewanttoprinttheanchorsresp.referencesincolorswehavetoloadthe Icolor-packqageUUandde nedtheappropriatemacros.A1039S\ifx\hyper@this@color\@undefinedA1040S\elseA1041]\expandafter\ifx\hyper@this@color\hyper@grayA1042f\RequirePackage{color}A1043]\else\expandafter\ifx\hyper@this@color\hyper@colorA1044f\RequirePackage{color}A1045]\else\expandafter\ifx\hyper@this@color\hyper@blackA1046]\elseA1047f\PackageError{hyper}{Implementationerror:\MessageBreakA1048SCaseforreference/anchorcolordefinitionnotdefined}{}A1049]\fi\fi\fiA1050]\hyper@this@colorA1051S\fiIAfterwardsUUwehavetoloadmoGdi cations. IAteT rstwejusthandlethedoGcumentclassoptionleqnoifitcanbGefoundintheIoptionUUlist.A1052S\@ifclasswith\hyper@class{leqno}% A1053]{\InputIfFileExists{leqno.hyp}{}%A1054kJ{\PackageError{hyper}{leqno.hypnotfound.\MessageBreakA1055:Pleasereinstallthecompletepackage}{}%A1056kJ}%A1057]}%A1058]{}IW*e.mayhavetohandlesomeknownpackqages,%i.e.weneedtoloadsomemoGdi - IcationsUUforthem.IAsUUthereisacommonwayUUtodothisletus rstde neagenericmacro.A1059S\def\hyper@loadpackage#1{% A1060]\@ifpackageloaded{#1}%A1061f{\InputIfFileExists{#1.hyp}%A1062t{\expandafter\edef\csnamehyper@loaded@#1\endcsname{#1.hyp}}%A1063t{\PackageError{hyper}{#1.hypnotfound.\MessageBreakA1064*fPleasereinstallthecompletepackage}{}%A1065t}%A1066f}%A1067f{}A1068S}INowUUwecancallthismacroforeachpackqageknown.A1069S\hyper@loadpackage{amsmath}Icolor push Blackhtml:color push rgb 0 0 136 color pop9 html:c color pop%⺠sIcolor push Blackhtml: html:c color popoA1070S\hyper@loadpackage{amstex} A1071S\hyper@loadpackage{amsthm}A1072S\hyper@loadpackage{doc}A1073S\hyper@loadpackage{fancyheadings}A1074S\hyper@loadpackage{ftnright}A1075S\hyper@loadpackage{harvard}A1076S\hyper@loadpackage{longtable}A1077S\hyper@loadpackage{natbib}A1078S\hyper@loadpackage{theorem}A1079S\hyper@loadpackage{upref}A1080S\hyper@loadpackage{xr}IAfterwardsUUweaddeachpackqagetheuserhastoldustodo.A1081S\def\@hyper@load@pkg(#1){%A1082]\expandafter\ifx\csnamehyper@loaded@#1\endcsname\relax%A1083f\IfFileExists{#1.hyp}%A1084p2{\IfFileExists{#1.sty}{\RequirePackage{#1}}{}%A1085t\input{#1.hyp}%A1086t\expandafter\edef\csnamehyper@loaded@#1\endcsname{#1.hyp}%A1087p2}%A1088p2{\PackageError{hyper}{Modificationfile#1.hypnotfound}{}}%A1089]\fi%A1090]\hyper@loadpackage%A1091S}A1092S\def\hyper@loadpackage{\@ifnextchar({\@hyper@load@pkg}{}}A1093S\expandafter\hyper@loadpackage\hyper@packages\relaxIAdditionally*,UUwehavetoloadsomeextensionsofthehypGerpackqage.A1094S\def\@hyper@load@ext(#1){%A1095]\expandafter\ifx\csnamehyper@loaded@ext@#1\endcsname\relax%A1096f\IfFileExists{#1.sty}%A1097p2{\RequirePackage{#1}%A1098t\expandafter\edef\csnamehyper@loaded@ext@#1\endcsname{#1.sty}%A1099p2}%A1100p2{\PackageError{hyper}{Extensionfile#1.stynotfound}{}}%A1101]\fi%A1102]\hyper@loadpackage%A1103S}A1104S\def\hyper@load@extension{\@ifnextchar({\@hyper@load@ext}{}}A1105S\expandafter\hyper@load@extension\hyper@extensions\relaxINowwehavetoactivqatethe(nondefault)decisionforplacingtheanchorsonpages I(topUUofpageorpagenumbGer)A1106S\ifx\hyper@pageanchor\@undefinedA1107S\elseA1108]\expandafter\let\expandafter\hyper@modifyheadfoot\hyper@pageanchorA1109S\fiILastbutnotleastwehavetodecidewhetherwereallywantthehypGertext{marks IbGeingUUinsertedintothedvi{ le.A1110S\ifx\hyper@do\@undefined\else\hyper@do\fiA1111Sh=hypAeriIcolor push Blackhtml:color push rgb 0 0 137 color pop9 html:c color pop&sIcolor push Blackhtml: html:c color popoI9aLhtml:color push rgb 0 0.75 0.75Supps3ortedffPackages color pop html:I9.1ghtml:color push rgb 0 0.75 0.75!", cmsy10AUM S-LAl#A~/TESXa2"00 color pop html:uTI9.1.1l#html:color push rgb 0 0.75 0.75TheTClasses color pop html:IFirstUUofallletusmoGdifytheAU>'M S-L5ffA͉TU>'ExX2"%S{classes. IW*eUUchangeamsart.cls,amsproc.cls,andamsbook.clsinthefollowingway*.A1112Shamsa9rt;amsproAc;amsbookiHQi A1113S\let\hyper@makecaption\@makecaptionA1114S\def\@makecaption#1#2{%A1115]\hyper@makecaption{\hyperanchor{\@currenthyper}{#1}}{#2}%A1116S}A1117S\def\@makefnmark{%A1118]\hyper@currentfnmark%A1119]\hbox{%A1120p2\@textsuperscript{%A1121yw^\normalfont%A1122S\hyperreference{\hyper@current@fnmark}%A1123S{\@thefnmark}%A1124p2}%A1125f}%A1126S}A1127S\long\def\@makefntext#1{\indent%A1128]\hyper@currentfnmark%A1129]\bgroup%A1130f\edef\@currenthyper{\hyper@current@fnmark}%A1131f\parindent1em\noindentA1132f\hbox{%A1133p2\hss\@textsuperscript{%A1134yw^\normalfont%A1135yw^\hyperanchor{\hyper@current@fnmark}{\@thefnmark}%A1136p2}%A1137f}%A1138f#1A1139]\egroup%A1140S}A1141S\let\hyper@tocwriteb\@tocwritebA1142S\def\hyper@tocwriteb@def[#1]{%A1143f\def\@tocwriteb##1##2##3{%A1144t\hyper@tocwriteb{##1}{##2}{#1}%A1145t\let\@tocwriteb\hyper@tocwriteb%A1146f}%A1147S}A1148S\def\@sect#1#2#3#4#5#6[#7]#8{%A1149]\ifnum#2>\c@secnumdepth%A1150f\hyper@setcurrent%A1151]\else%A1152f\refstepcounter{#1}%A1153f\ignore@next@refstepcounter%A1154]\fi%A1155]\ifnum#2>\@m\else%A1156f\callwithexpandedhyperref{\hyper@tocwriteb@def}{#8}%A1157]\fi%Icolor push Blackhtml:color push rgb 0 0 138 color pop9 html:c color pop'BsIcolor push Blackhtml: html:c color popoA1158]\callwithexpandedhyperref% A1159f{\hyper@sect{#1}{#2}{#3}{#4}{#5}{#6}}%A1160f{#7}%A1161f{\hyperanchor{\@currenthyper}{#8}}%A1162S}A1163Sh=amsa9rt;amsproAc;amsbookiHQiIF*orUUamsbook.clsweneedsomeadditionalmoGdi cationsforpartsandchapters. A1164ShamsbAook'QiA1165S\let\hyper@chapter\@chapterA1166S\def\@chapter[#1]#2{%A1167]\refstepcounter{chapter}%A1168]\ignore@next@refstepcounter%A1169]\global\let\@currenthyper\@currenthyper%A1170]\callwithexpandedhyperref{\hyper@tocwriteb@def}{#2}%A1171]\hyper@chapter[#1]{\hyperanchor{\@currenthyper}{#2}}%A1172S}A1173S\let\hyper@chaptermark\chaptermarkA1174S\def\hyper@chaptermark@def[#1]{%A1175f\def\chaptermark##1{%A1176t\hyper@chaptermark{#1}%A1177t\let\chaptermark\hyper@chaptermark%A1178f}%A1179S}A1180S\let\hyper@schapter\@schapterA1181S\def\@schapter#1{%A1182]\hyper@setcurrent%A1183]\global\let\@currenthyper\@currenthyper%A1184]\callwithexpandedhyperref{\hyper@tocwriteb@def}{#1}%A1185]\callwithexpandedhyperref{\hyper@chaptermark@def}{#1}%A1186]\hyper@schapter{\hyperanchor{\@currenthyper}{#1}}%A1187S}A1188S\let\hyper@part\@partA1189S\def\@part[#1]#2{%A1190]\ifnum\c@secnumdepth>-2\relax%A1191f\refstepcounter{part}%A1192f\ignore@next@refstepcounter%A1193]\else%A1194f\hyper@setcurrent%A1195]\fi%A1196]\global\let\@currenthyper\@currenthyper%A1197]\callwithexpandedhyperref%A1198f{\hyper@part}%A1199f{#1}%A1200f{\hyperanchor{\@currenthyper}{#2}}%A1201S}A1202S\def\hyper@add@part[#1]{%A1203]\addcontentsline{toc}{part}{\protect\noindent#1}%A1204S}A1205S\def\@spart#1{%A1206]\hyper@setcurrent%A1207]\callwithexpandedhyperref{\hyper@add@part}{#1}%A1208]\begingroup\centeringA1209]\fontsize{\@xxpt}{25}\bfseriesA1210kJ\hyperanchor{\@currenthyper}{#1}%Icolor push Blackhtml:color push rgb 0 0 139 color pop9 html:c color pop(ޠsIcolor push Blackhtml: html:c color popoA1211kJ\vfil\vfil\endgroup\newpage\thispagestyle{empty}} A1212Sh=amsbAook'QiIamsdtx.clsUUhastobGemodi edasfollows.A1213Shamsdtx XiA1214S\input{book.hyp}A1215S\renewcommand\maketitle{\parA1216]\begingroupA1217f\renewcommand\thefootnote{\fnsymbol{footnote}}%A1218f\def\@makefnmark{%A1219p2\hyper@currentfnmark%A1220p2\hboxto\z@{%A1221p2\@textsuperscript{%A1222yw^\normalfont%A1223S\hyperreference%A1224]{\hyper@current@fnmark}%A1225]{\@thefnmark}%A1226p2}%A1227f}}%A1228f\long\def\@makefntext##1{%A1229p2\hyper@currentfnmark%A1230p2\bgroup%A1231yw^\edef\@currenthyper{\hyper@current@fnmark}%A1232yw^\parindent1em%A1233yw^\noindent%A1234yw^\hboxto1.8em%A1235{\hss$\m@th^{%A1236f\hyperanchor{\hyper@current@fnmark}{\@thefnmark}%A1237]}$}##1%A1238t\egroup%A1239f}%A1240f\if@twocolumnA1241p2\ifnum\col@number=\@neA1242yw^\@maketitleA1243p2\elseA1244yw^\twocolumn[\@maketitle]%A1245p2\fiA1246f\elseA1247p2\newpageA1248p2\global\@topnum\z@A1249p2\@maketitleA1250f\fiA1251f\thispagestyle{plain}\@thanksA1252]\endgroupA1253]\setcounter{footnote}{0}%A1254]\let\thanks\relaxA1255]\let\maketitle\relax\let\@maketitle\relaxA1256]\gdef\@thanks{}\gdef\@author{}\gdef\@title{}}A1257Sh=amsdtx XiIF*orUUamsldoc.clsweneedthefollowingchanges.A1258ShamsldoAc#iA1259S\input{book.hyp}A1260S\let\hyper@theindex\theindexA1261S\def\theindex{%Icolor push Blackhtml:color push rgb 0 0 140 color pop9 html:c color pop)sIcolor push Blackhtml: html:c color popoA1262]\bgroup% A1263f\let\hyper@makeschapterhead\@makeschapterhead%A1264f\def\@makeschapterhead##1{%A1265p2\hyper@setcurrent%A1266p2\global\let\@currenthyper\@currenthyper%A1267p2\hyper@makeschapterhead{\hyperanchor{\@currenthyper}{##1}}%A1268f}A1269f\hyper@theindex%A1270]\egroup%A1271]\let\autoindex\@gobble%A1272]\let\item\@idxitem%A1273S}A1274Sh=amsldoAc#iI9.1.2l#html:color push rgb 0 0.75 0.75TheTP9ack\rages color pop html:uTIT*o{addthehypGertext{capability{toamsmathrespectivelyamstexsomemacrosof IthemUUhavetobGemodi ed.IAs:wehaverede ned\@eqnnumandweneedanotherde nitionforamsmathandIamstexUUletussetthemacrotoitsdefault. IA1275Shamsmath;amstexG i A1276S\iftagsleft@A1277]\def\@eqnnum{\hboxto1sp{}\rlap{\normalfont\normalcolorA1278f\hskip-\displaywidth\tagform@\theequation}}A1279S\elseA1280]\def\@eqnnum{{\normalfont\normalcolor\tagform@\theequation}}A1281S\fiA1282Sh=amsmath;amstexG iIIamsmathNtempGoraryrede nes\labelbutneedstheoriginalde nitionthatishold IinUU\ltx@label.A1283Shamsmath'4iA1284S\let\ltx@label\labelA1285Sh=amsmath'4iIINowletusde neablindanchorforreferencingacoupleofequationsbGound Itogether.A1286Shamsmath;amstexG iA1287S\let\hyper@subequations\subequationsA1288S\def\subequations{%A1289]\hyper@setcurrent%A1290]\blindhyperanchor{\@currenthyper}%A1291]\hyper@subequations%A1292S}IIT*oallowthereferencespGointingtoanequationnumbGerwehavetode nean IappropriateUUanchor.A1293S\let\hyper@tagform@\tagform@A1294S\def\tagform@#1{%A1295]\maketag@@@{\hyperanchor{\@currenthyper}{(\ignorespaces#1\unskip)}}%A1296S}A1297Sh=amsmath;amstexG iIIF*or6%userde nedtagsitisnecessarytogenerateanewhypGertextnumbGerin IamsmathIcolor push Blackhtml:color push rgb 0 0 141 color pop9 html:c color pop*֠sIcolor push Blackhtml: html:c color popoA1298Shamsmath'4i A1299S\let\hyper@make@display@tag\make@display@tagA1300S\def\make@display@tag{%A1301]\if@eqnsw\else\iftag@%A1302f\hyper@setcurrent%A1303]\fi\fi%A1304]\hyper@make@display@tag%A1305S}A1306Sh=amsmath'4iIF*orXamstexasimilarresultcannotbGeprovidedwithanassimplechanging.{This Iis?dueto\@seteqlabelbGeingcalledwhenintroducinganewtag.SupposingI\@seteqlabelvde ningthecorrect\@currenthyperwethereforehavetomoGdifyI\make@df@tagUUasfollows.A1307Shamstexsi A1308S\def\make@df@tag@@@#1{%A1309]\@seteqlabel{#1}%A1310]\global\let\ams@currenthyper\@currenthyper%A1311]\gdef\df@tag{\let\@currenthyper\ams@currenthyper\tagform@{#1}}%A1312S}INowUUwejusthavetoensure\@seteqlabelde ningthecorrect\@currenthyper.A1313S\def\@seteqlabel#1{%A1314]\toks@\@xp{\p@equation{#1}}%A1315]\hyper@setcurrent%A1316]\edef\@currenthyper{\@currenthyper.\the\toks@}%A1317]\edef\@currentlabel{\the\toks@}%A1318S}A1319Sh=amstexsiIW*eUUshouldnotuseananchorwhenusing\eqrefA1320Shamsmath;amstexG iA1321S\def\eqref#1{\textup{\hyper@tagform@{\ref{#1}}}}A1322Sh=amsmath;amstexG iIT*o gethypGertextreferencestotheorems,+'lemmas,etc. amsthmhastobemodi ed.A1323Shamsthm#moiA1324S\let\@begintheorem\hyper@begintheoremA1325S\def\thmhead@plain#1#2#3{%A1326]\hyperanchor{\@currenthyper}{\thmname{#1}\thmnumber{#2}}%A1327]\thmnote{{\the\theoremnotefont(#3)}}%A1328S}A1329S\let\thmhead\thmhead@plainA1330S\def\swappedhead#1#2#3{%A1331]\hyperanchor{\@currenthyper}{\thmnumber{#2}\thmname{.#1}}%A1332]\thmnote{{\the\theoremnotefont(#3)}}%A1333S}A1334Sh=amsthm#moiIF*orUUuprefworkingcorrectitissucienttomoGdify\hyper@setref.A1335Shup9refiA1336S\def\hyper@setref#1#2#3#4{%A1337]\ifx#1\relax%A1338kJ\protect\G@refundefinedtrue%A1339kJ#4\nfss@text{\reset@font\bfseries??}%A1340kJ\@latex@warning{Reference`#3'onpage\thepage\spaceundefined}%Icolor push Blackhtml:color push rgb 0 0 142 color pop9 html:c color pop+"ؠsIcolor push Blackhtml: html:c color popoA1341]\else% A1342f\ifx#2\hyper@firstofthree%A1343p2\hyperreference{\expandafter\hyper@firstofthree#1}{#4}\null%A1344f\else\ifx#2\hyper@secondofthree%A1345p2\hyperreference%A1346yw^{\expandafter\hyper@firstofthree#1}%A1347yw^{#4\protect\textup{\expandafter#2#1\hbox{}}}\null%A1348f\else%A1349p2\hyperpagereference%A1350yw^{\expandafter\hyper@thirdofthree#1}%A1351yw^{#4\protect\textup{\expandafter#2#1\hbox{}}}\null%A1352f\fi\fi%A1353]\fi%A1354S}A1355Sh=up9refi6I9.2ghtml:color push rgb 0 0.75 0.75CrossReferencesb`etweenDocuments color pop html:uTITheFcpackqagexraddsthecapabilityofgeneratingcross{referencesbGetweendi erent IL5ffA͉TU>'ExX2"nS{doGcuments.^ It$isanicefeaturetosupportthisbyhypGertextlinks.^ ThusIweUUhavetomoGdifyxrappropriately*.IAtN: rstletusprovideanadditionalparameterto\externaldocumentgivingtheIURL{addressofthedoGcumentweusereferencesto. Q IthastobGegivenwithIsurroundingUU().qThedefaultvqalueisgivenbydocumentname.dvi.A1356Shxr -Oi A1357S\def\externaldocument{%A1358]\@ifnextchar(%A1359f{\hyper@externaldocument}%A1360f{\hyper@externaldocument()}%A1361S}A1362S\def\hyper@externaldocument(#1){%A1363]\@ifnextchar[%A1364f{\hyper@@externaldocument(#1)}%A1365f{\hyper@@externaldocument(#1)[]}%A1366S}A1367S\def\hyper@@externaldocument(#1)[#2]#3{%A1368]\def\hyper@XR@docprefix{#1}%A1369]\ifx\hyper@XR@docprefix\@empty%A1370f\def\hyper@XR@docprefix{#3.dvi}%A1371]\fi%A1372]\XR@[#2]{#3}%A1373S}INow`wehavetomoGdifytheanchorswerefertofromtheirloGcalde nitioninthe IdoGcumentsUU.aux{ letoitsexternalURL{de nitions.A1374S\def\hyper@xr@newlabel#1#2#3#4{%A1375f\newlabel%A1376p2{\XR@prefix#4}%A1377p2{{[file:\hyper@XR@docprefix][#1]}%A1378t{#2}%A1379t{[file:\hyper@XR@docprefix][#3]}%A1380p2}%A1381S}Icolor push Blackhtml:color push rgb 0 0 143 color pop9 html:c color pop,.sIcolor push Blackhtml: html:c color popoA1382S\long\def\XR@test#1#2#3#4\XR@{% A1383]\ifx#1\newlabel%A1384f\expandafter\hyper@xr@newlabel#3{#2}%A1385]\else\ifx#1\@input%A1386kJ\edef\XR@list{\XR@list#2\relax}%A1387]\fi\fi%A1388]\ifeof%A1389f\@inputcheck\expandafter\XR@aux%A1390]\else%A1391f\expandafter\XR@read%A1392]\fi%A1393S}A1394Sh=xr -Oi6I9.3ghtml:color push rgb 0 0.75 0.75FancyHeadings color pop html:uTITheY*packqagefancyheadingsusesadi erentwaytoexpressheadings.}GThisgives Ius1troubleonpageswithan\empty"pagestyleviathe(default)settingsforIheadersSandfoGotersusingthemacro\fancyplain.m5T*ogetthepagenumberSifIall@thepartsfortheheadsandfoGotsareemptydemandsafairlycomplicatedImechanismtoimplementifwewanttorefertothepagenumbGeraswedohavetoIdetectnwhetherwereallyhaveapagenumbGeronthepage.F*orsakeofsimplicityIofproGcessingweassumethatanytimethereisanon-emptytextfortheheadorItheUUfoGottherealsoisapagenumberUUprintedineithertheheadorthefoGot.A1395Shfancyheadings:Pi A1396S\def\hyper@fancy@oddhead{\@fancyhead\@lodd\@olhead\@ochead\@orhead\@rodd}A1397S\def\hyper@fancy@oddfoot{\@fancyfoot\@lodd\@olfoot\@ocfoot\@orfoot\@rodd}A1398S\def\hyper@fancy@evenhead{\@fancyhead\@rodd\@elhead\@echead\@erhead\@lodd}A1399S\def\hyper@fancy@evenfoot{\@fancyfoot\@rodd\@elfoot\@ecfoot\@erfoot\@lodd}A1400S\def\hyper@fancy@empty{{\hyper@empty\hyper@empty}}A1401S\def\hyper@iffancyplain@empty#1#2#3#4#5\hyper@iffancyplain@empty{%A1402]\ifx#4\hyper@fancy@empty%A1403kJ\ifx#1\fancyplain%A1404yw^\if@fancyplain%A1405 \ifx\\#2\\1\else0\fi%A1406yw^\else%A1407 \ifx\\#3\\1\else0\fi%A1408yw^\fi%A1409kJ\else%A1410yw^0%A1411kJ\fi%A1412]\else%A1413kJ0%A1414]\fi%A1415S}A1416S\def\hyper@iffancy@empty#1{%A1417ap\ifnum\ifx#1\@empty1\else0\fi%A1418~0\ifx#1\hyper@empty1\else0\fi%A1419~0\expandafter%A1420]\hyper@iffancyplain@empty%A1421x#1\hyper@fancy@empty%A1422\hyper@fancy@empty\hyper@fancy@empty%A1423\hyper@fancy@empty\hyper@fancy@empty%Icolor push Blackhtml:color push rgb 0 0 144 color pop9 html:c color pop-9נsIcolor push Blackhtml: html:c color popoA1424]\hyper@iffancyplain@empty% A1425~0>00\else1\fi%A1426S}A1427S\def\hyper@modifyheadfoot@pagenumber{%A1428]\let\hyper@thehead\@thehead%A1429]\ifx\hyper@thehead\hyper@oddhead\let\hyper@thehead\@oddhead\fi%A1430]\ifx\hyper@thehead\hyper@evenhead\let\hyper@thehead\@evenhead\fi%A1431]\let\hyper@thefoot\@thefoot%A1432]\ifx\hyper@thefoot\hyper@oddfoot\let\hyper@thefoot\@oddfoot\fi%A1433]\ifx\hyper@thefoot\hyper@evenfoot\let\hyper@thefoot\@evenfoot\fi%A1434]\def\@thehead{%A1435p2\ifnum\ifnum\ifx\hyper@thehead\@empty1\else0\fi%A1436:\ifx\hyper@thehead\hyper@empty1\else0\fi%A1437:\ifx\hyper@thehead\relax1\else0\fi%A1438:>00\else1\fi%A1439]\ifnum\ifx\hyper@thefoot\@empty1\else0\fi%A1440:\ifx\hyper@thefoot\hyper@empty1\else0\fi%A1441:\ifx\hyper@thefoot\relax1\else0\fi%A1442:>00\else1\fi%A1443]>0\relax%A1444~0\ifnum\ifnum\ifx\hyper@thehead\hyper@fancy@oddhead1\else0\fi%A1445\ifx\hyper@thehead\hyper@fancy@evenhead1\else0\fi%A1446>00\else1\fi%A1447x\ifnum\ifx\hyper@thefoot\hyper@fancy@oddfoot1\else0\fi%A1448\ifx\hyper@thefoot\hyper@fancy@evenfoot1\else0\fi%A1449>00\else1\fi%A1450x>0\relax%A1451~0\else%A1452]\ifnum\ifnum\hyper@iffancy@empty\@olhead%A1453\hyper@iffancy@empty\@ochead%A1454\hyper@iffancy@empty\@orhead%A1455>01\else0\fi%A1456:\ifnum\hyper@iffancy@empty\@olfoot%A1457\hyper@iffancy@empty\@ocfoot%A1458\hyper@iffancy@empty\@orfoot%A1459>01\else0\fi%A1460:>0\relax%A1461]\else%A1462x\blindhyperanchor{page.\thepage}%A1463]\fi%A1464~0\fi%A1465p2\else%A1466~0\blindhyperanchor{page.\thepage}%A1467p2\fi%A1468p2\let\hyper@thepage\thepage%A1469p2\let\thepage\hyper@anchorpage%A1470p2\ifx\hyper@thehead\@empty%A1471~0\hfil%A1472p2\else\ifx\hyper@thehead\hyper@empty%A1473~0\hfil%A1474p2\else%A1475~0\hyper@thehead%A1476p2\fi\fi%A1477]}%Icolor push Blackhtml:color push rgb 0 0 145 color pop9 html:c color pop.EsIcolor push Blackhtml: html:c color popoA1478]\def\@thefoot{% A1479p2\let\hyper@thepage\thepage%A1480p2\let\thepage\hyper@anchorpage%A1481p2\ifx\hyper@thefoot\@empty%A1482~0\hfil%A1483p2\else\ifx\hyper@thefoot\hyper@empty%A1484~0\hfil%A1485p2\else%A1486~0\hyper@thefoot%A1487p2\fi\fi%A1488]}%A1489S}A1490S\let\hyper@modifyheadfoot\hyper@modifyheadfoot@pagenumberA1491Sh=fancyheadings:Pi6I9.4ghtml:color push rgb 0 0.75 0.75LongTables color pop html:uTITheHpackqagelongtableusesade nitionof\captionforit'sown.mThuswehave ItoUUmoGdifythistore ectthehypertextneeds.A1492Shlongtable'#iA1493S\let\hyper@LT@array\LT@arrayA1494S\def\LT@array{%A1495]\refstepcounter{table}\ignore@next@refstepcounter%A1496]\def\@currenthyper{\the\hypercount}%A1497]\hyper@LT@array%A1498S}A1499S\def\LT@c@ption#1[#2]#3{%A1500]\LT@makecaption#1\fnum@table{#3}%A1501]\def\@tempa{#2}\ifx\@tempa\@empty\elseA1502kJ{\let\\\space%A1503p2\edef\@currenthyper{\the\hypercount}%A1504p2\addcontentsline%A1505yw^{lot}%A1506S{table}%A1507S{\protect\numberline{\thetable}{\hyperreference{\@currenthyper}{#2}}}%A1508kJ}%A1509]\fi}A1510S\def\LT@makecaption#1#2#3{%A1511]\LT@mcol\LT@colsc{\hboxto\z@{\hss\parbox[t]\LTcapwidth{%A1512f\hyper@setcurrent%A1513f\sbox\@tempboxa{\hyperanchor{\@currenthyper}{#1{#2}}:#3}%A1514f\ifdim\wd\@tempboxa>\hsizeA1515p2\hyperanchor{\@currenthyper}{#1{#2}}:#3%A1516f\elseA1517p2\hboxto\hsize{\hfil\box\@tempboxa\hfil}%A1518f\fiA1519f\endgraf\vskip\baselineskip}%A1520]\hss}}%A1521S}A1522Sh=longtable'#iIcolor push Blackhtml:color push rgb 0 0 146 color pop9 html:c color pop/PsIcolor push Blackhtml: html:c color popoI9.5ghtml:color push rgb 0 0.75 0.75Right'ColumnFo`otnotesinDoubleColumnDocuments color pop html:uTIftnright.styrede nesthemacro\@makefntext.\~ThuswehavetomoGdifyit's Ide nitionUUwhenneeded.A1523Shftnright!&i A1524S\long\def\@makefntext#1{%A1525]\hyper@currentfnmark%A1526]\bgroup%A1527f\edef\@currenthyper{\hyper@current@fnmark}%A1528f\parindent1em%A1529f\noindent\hboxto2em{}%A1530f\llap{${\hyperanchor{\hyper@current@fnmark}{\@thefnmark}}.\;\;$}#1%A1531]\egroup%A1532S}A1533Sh=ftnright!&i6I9.6ghtml:color push rgb 0 0.75 0.75The@߆T cmtt12@natbib-Pack@age color pop html:IUnfortunately*,SJthe bibliographystu ischangedbythenatbib-packqage.HSowe IhavetoprovideaspGecialmacrocodefragmentforitwhichiscomplicatedbytheIfact,xthat@thepackqagescanspartsofthe\bibitemparametersfromthe*.aux- le.ILet'sUUstartwithaddingananchortothebibliographicentries.A1534Shnatbib|i A1535S\def\@lbibitem[#1]#2{%A1536ap\hyper@setcurrent%A1537ap\@ifundefined{b@#2\@extra@b@citeb}{\def\NAT@num{}}{\NAT@parse{#2}}%A1538ap\item[\hfil\hyperanchor{\@currenthyper}{\@biblabel{\NAT@num}}]%A1539f\NAT@ifcmd#1()()\@nil{#2}%A1540S}IT*o[bGeabletoassociatethecorrecthyperlinksfromcitationstotherespectively Ibibliographicmentries,rwehavetosavethehypGer-addressesintothe.aux- leandIprovideamacrotoreadthem.W,Note,thatwecannotusethesametechniqueIas'instandardL5ffA͉TU>'ExX2"-Xasthenatbib-packqagescanspartsoftheargumentsofI\bibitempqandwehavetoensure,8thatwedonotintroGducecon ictsbysurroundingItheventrieswithahypGerlink.+T*oavoidthatwestorethehypGerlinkinanotherImacro.A1541S\renewcommand\NAT@wrout[5]{% A1542]\if@filesw%A1543f{\let\protect\noexpand\let~\relax%A1544kJ\immediate%A1545kJ\write\@auxout%A1546t{\string\bibcite{#5}{{#1}{#2}{{#3}}{{#4}}}{\@currenthyper}}%A1547f}%A1548]\fi%A1549]\ignorespaces%A1550S}A1551S\renewcommand\bibcite[3]{%A1552ap\@ifundefined{b@#1\@extra@binfo}\relaxA1553kJ{\NAT@citemultiple%A1554p2\PackageWarningNoLine{natbib}{Citation`#1'multiplydefined}%A1555kJ}%A1556ap\global\@namedef{b@#1\@extra@binfo}{#2}%Icolor push Blackhtml:color push rgb 0 0 147 color pop9 html:c color pop0ZFsIcolor push Blackhtml: html:c color popoA1557ap\global\@namedef{hyper@b@#1\@extra@binfo}{#3}% A1558S}A1559S\AtEndDocument{\NAT@swatrue\renewcommand\bibcite[3]{\NAT@testdef{#1}{#2}}}%INowwZcomesthecrucialpart.W*ehavetoinvokethehypGerlinksatappropriate IpGointshinthecitationmacros. F*ortunatelynatbibsupportshyperrefbyaddingImacrosUUatappropriateplacesthatcanbGerede nedforintroducingthelinks. A1560S\def\hyper@natlinkstart#1#2\hyper@natlinkend{% A1561]\hyperreference{\csnamehyper@b@#1\@extra@b@citeb\endcsname}{#2}%A1562S}A1563S\def\hyper@natlinkend{\relax}IButwedonotliketheirsolutionforcitationswithauthornameandyear.LW*ecan IdoUUbGetterbynotincludingtheseparatorsintothelinks. A1564S\def\NAT@citex%A1565][#1][#2]#3{\let\@citea\@empty%A1566]\@cite{\let\NAT@nm\@empty\let\NAT@year\@empty%A1567f\@for\@citeb:=#3\do%A1568f{\edef\@citeb{\expandafter\@firstofone\@citeb}%A1569kJ\if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi%A1570kJ\@ifundefined{b@\@citeb\@extra@b@citeb}{\@citea%A1571t{\reset@font\bfseries?}\NAT@citeundefined%A1572\PackageWarning{natbib}%A1573t{Citation`\@citeb'onpage\thepage\spaceundefined}}%A1574kJ{\let\NAT@last@nm=\NAT@nm\let\NAT@last@yr=\NAT@year%A1575kJ\NAT@parse{\@citeb}\ifNAT@full\let\NAT@nm\NAT@all@names\else%A1576t\let\NAT@nm\NAT@name\fi%A1577kJ\ifNAT@swa%A1578t\ifx\NAT@last@nm\NAT@nm\NAT@yrsep%A1579~0\ifx\NAT@last@yr\NAT@year%A1580 \hyper@natlinkstart{\@citeb}{\NAT@exlab}\hyper@natlinkend%A1581~0\else%A1582 \unskip\%A1583 \hyper@natlinkstart{\@citeb}{\NAT@date}\hyper@natlinkend%A1584~0\fi%A1585t\else\@citea%A1586\hyper@natlinkstart{\@citeb}{{\NAT@nm}}\hyper@natlinkend%A1587\NAT@aysep\%A1588\hyper@natlinkstart{\@citeb}{\NAT@date}\hyper@natlinkend%A1589t\fi%A1590t\def\@citea{\NAT@sep\}%A1591kJ\else%A1592t\ifx\NAT@last@nm\NAT@nm\NAT@yrsep%A1593~0\ifx\NAT@last@yr\NAT@year%A1594 \hyper@natlinkstart{\@citeb}{\NAT@exlab}\hyper@natlinkend%A1595~0\else%A1596]\unskip\%A1597]\hyper@natlinkstart{\@citeb}{\NAT@date}\hyper@natlinkend%A1598~0\fi%A1599t\else\@citea%A1600~0\hyper@natlinkstart{\@citeb}{{\NAT@nm}}\hyper@natlinkend%A1601~0\\NAT@open%A1602~0\hyper@natlinkstart{\@citeb}{\NAT@date}\hyper@natlinkend%A1603t\fi%A1604t\def\@citea{\NAT@close\NAT@sep\}%Icolor push Blackhtml:color push rgb 0 0 148 color pop9 html:c color pop1g>sIcolor push Blackhtml: html:c color popoA1605kJ\fi}}\ifNAT@swa\else\NAT@close\fi}{#1}{#2}}IDamned,1$natbib(accessesthismacrosthrough\@citexusinga\let-assignment. IW*e8havetorecallthisassignmenttode neit. qF*ortunately,1thepackqageprovidesIaUUmacrotoachieveUUthis. A1606S\NAT@set@citesIBadnews,KnatbibdoGesnotprovidedummiesforinsertinghypGertext-markupsintoIranges.qThusUUwehavetopatchthesortingmacrosofthepackqage. A1607S\ifnum\NAT@sort=1 A1608S\begingroup\catcode`\_=8A1609S\gdef\@make@cite@list{%A1610f\edef\@citeb{\expandafter\@firstofone\@citeb}%A1611kJ\@ifundefined{b@\@citeb\@extra@b@citeb}{%A1612p2\@citea{\reset@font\bfseries?}%A1613p2\def\@citea{\NAT@sep\penalty\@m\NAT@space}%A1614p2\NAT@citeundefined\PackageWarning{natcite}%A1615p2{Citation`\@citeb'onpage\thepage\spaceundefined}}%A1616f{\NAT@parse{\@citeb}%A1617p2\ifcat_\ifnum\z@<0\NAT@num_\elseA\fi%A1618t\@tempcnta\NAT@num\relax%A1619t\ifnum\@tempcnta>\@tempcntb%A1620\edef\@cite@list{\@cite@list\@celt{{\NAT@num}{\@citeb}}}%A1621\@tempcntb\@tempcnta%A1622t\else%A1623\edef\@cite@list{\expandafter\@sort@celt\@cite@list\@gobble@}%A1624t\fi%A1625f\else%A1626t\@citea\hyper@natlinkstart{\@citeb}{\NAT@num}\hyper@natlinkend%A1627t\def\@citea{\NAT@sep\penalty\@m\NAT@space}%A1628XdD\fi}}A1629S\endgroupA1630S\def\@sort@celt#1#2{%A1631ap\ifx\@celt#1%A1632p2\hyper@sort@celt#2%A1633ap\fi%A1634S}%A1635S\def\hyper@sort@celt#1#2{%A1636ap\ifnum#1<\@tempcnta%A1637p2\@celt{{#1}{#2}}%A1638p2\expandafter\expandafter\expandafter\@sort@celt%A1639ap\else%A1640p2\@celt{{\NAT@num}{\@citeb}}\@celt{{#1}{#2}}%A1641]\fi%A1642S}A1643S\def\@compress@cite#1{\hyper@compress@cite#1}A1644S\def\hyper@compress@cite#1#2{%A1645]\advance\@tempcnta\@ne%A1646]\ifnum#1=\@tempcnta%A1647kJ\ifx\@h@ld\relax%A1648yw^\edef\@h@ld{%A1649 \@citea%A1650 \noexpand\hyper@natlinkstart{#2}{#1}\noexpand\hyper@natlinkend%A1651yw^}%A1652kJ\else%Icolor push Blackhtml:color push rgb 0 0 149 color pop9 html:c color pop2tsIcolor push Blackhtml: html:c color popoA1653yw^\def\@h@ld{% A1654 \hbox{--}%A1655 \hyper@natlinkstart{#2}{#1}\hyper@natlinkend%A1656yw^}%A1657kJ\fi%A1658]\else%A1659kJ\@h@ld\@citea%A1660kJ\hyper@natlinkstart{#2}{#1}\hyper@natlinkend%A1661kJ\let\@h@ld\relax%A1662]\fi%A1663]\@tempcnta#1\def\@citea{\NAT@sep\penalty\@m\NAT@space}%A1664S}A1665S\fiA1666Sh=natbib|iROI9.7ghtml:color push rgb 0 0.75 0.75TheTheoremPack@age color pop html:uTIAnaloguoustothetheoremenvironmentofL5ffA͉TU>'ExX2"+YֲwehavetomoGdifythedi er- IentUUtheoremstylesofthetheorempackqage. 8]A1667Shtheo9rem# iA1668S%plainA1669S\gdef\th@plain{\normalfont\itshape%A1670]\def\@begintheorem##1##2{%A1671kJ\item[\hskip\labelsep%A1672 \hyperanchor{\@currenthyper}{\theorem@headerfont##1\##2}%A1673]%A1674]}%A1675]\def\@opargbegintheorem##1##2##3{%A1676kJ\item[\hskip\labelsep%A1677 \hyperanchor%A1678L{\@currenthyper}%A1679L{\theorem@headerfont##1\##2}\(##3)%A1680]%A1681]}%A1682S}A1683S%breakA1684S\gdef\th@break{\normalfont\slshape%A1685]\def\@begintheorem##1##2{%A1686kJ\item[\rlap{\vbox{\hbox{\hskip\labelsep%A1687L\hyperanchor{\@currenthyper}{\theorem@headerfont##1\##2}%A1688ap}\hbox{\strut}}}%A1689]%A1690]}%A1691]\def\@opargbegintheorem##1##2##3{%A1692f\item[\rlap{\vbox{\hbox{\hskip\labelsep%A1693]\hyperanchor%A1694{\@currenthyper}%A1695{\theorem@headerfont##1\##2}\(##3)%A1696}\hbox{\strut}}}%A1697~0]%A1698]}%A1699S}A1700S%marginbreakA1701S\gdef\th@marginbreak{\normalfont\slshape%Icolor push Blackhtml:color push rgb 0 0 150 color pop9 html:c color pop3sIcolor push Blackhtml: html:c color popoA1702]\def\@begintheorem##1##2{% A1703f\item[\rlap{\vbox{\theorem@headerfont%A1704]\hbox{\llap{##2}\hskip\labelsep%A1705:\hyperanchor{\@currenthyper}{##1}%A1706}%A1707\hbox{\strut}}}%A1708~0]%A1709]}%A1710]\def\@opargbegintheorem##1##2##3{%A1711f\item[\rlap{\vbox{\theorem@headerfont%A1712]\hbox{\llap{##2}\hskip\labelsep%A1713:\hyperanchor{\@currenthyper}{##1}\(##3)A1714}%A1715\hbox{\strut}}}%A1716~0]%A1717]}%A1718S}A1719S%changebreakA1720S\gdef\th@changebreak{\normalfont\slshape%A1721]\def\@begintheorem##1##2{%A1722f\item[\rlap{\vbox{\hbox{\hskip\labelsep%A1723]\hyperanchor{\@currenthyper}{\theorem@headerfont##2\##1}%A1724}\hbox{\strut}}}%A1725~0]%A1726]}%A1727]\def\@opargbegintheorem##1##2##3{%A1728f\item[\rlap{\vbox{\hbox{\hskip\labelsep%A1729]\hyperanchor%A1730{\@currenthyper}%A1731{\theorem@headerfont##2\##1}\(##3)%A1732}\hbox{\strut}}}%A1733~0]%A1734]}%A1735S}A1736S%changeA1737S\gdef\th@change{\normalfont\slshape%A1738]\def\@begintheorem##1##2{%A1739f\item[\hskip\labelsep%A1740\hyperanchor{\@currenthyper}{\theorem@headerfont##2\##1}%A1741~0]%A1742]}%A1743]\def\@opargbegintheorem##1##2##3{%A1744f\item[\hskip\labelsep%A1745\hyperanchor%A1746]{\@currenthyper}%A1747]{\theorem@headerfont##2\##1}\(##3)%A1748~0]%A1749]}%A1750S}A1751S%marginA1752S\gdef\th@margin{\normalfont\slshape%A1753]\def\@begintheorem##1##2{%A1754f\item[\theorem@headerfont\llap{##2}\hskip\labelsep%A1755\hyperanchor{\@currenthyper}{##1}%Icolor push Blackhtml:color push rgb 0 0 151 color pop9 html:c color pop4sIcolor push Blackhtml: html:c color popoA1756~0]% A1757]}%A1758]\def\@opargbegintheorem##1##2##3{%A1759f\item[\theorem@headerfont\llap{##2}\hskip\labelsep%A1760\hyperanchor{\@currenthyper}{##1}\(##3)%A1761~0]%A1762]}%A1763S}A1764Sh=theo9rem# i6I9.8ghtml:color push rgb 0 0.75 0.75TheCWEBDo`cumentClass color pop html:uTIF*orDCwebthereexistsaL5ffA͉TU>'ExX2",X2doGcumentclassthatde nedareferencemech- IanismUUforliterateprogrammingusinglatexandCweb.IFirstofallitisbasedonanotherdoGcumentclass.k{ThuswehavetoloadtheImoGdi cationsUUforthisclass,too.A1765Shcw9ebi A1766S\InputIfFileExists{\CwebBaseClass.hyp}{}%A1767]{\PackageError{hyper}{\CwebBaseClass.hypnotfound.\MessageBreakA1768xPleasechooseanotherbasedocumentclassforcweb\MessageBreakA1769torredefine\string\CwebBaseClasstopointtoa\MessageBreakA1770tmodificationdocumentclassforthebasedocumentclassA1771}{}%A1772]}%IAsC7weusepattern{likede nitionsforsomestu followingbGelowanadditiional IpackqageUUhastobGeloaded.A1773S\RequirePackage{defpattern}Icweb.clsڲusestheunderscorecharacterasaletterforsomemacronameswehave ItoUUrede ne.qThuswesetthecategorycoGdeof_correspondingley*.A1774S\chardef\hyper@CatUsCode=\catcode`\_ A1775S\catcode`\_=\CatLetterIWhythehellmusttheclassusearede nitionof\refstepcounterforitsown? IThisUUmeansthatwehavetorede neitanothertime.A1776S\let\hyper@cweb@refstepcounter=\hyper@refstepcounter A1777S\def\refstepcounter#1{%A1778f\def\@tempa{#1}%A1779f\ifx\@tempa\cweb@string@chunk%A1780t\protected@edef\@currenthyper{cweb.\cweb@refchunk}%A1781t\protected@edef\@currentlabel{\cweb@refchunk}%A1782f\else%A1783t\hyper@setcurrent%A1784t\hyper@cweb@refstepcounter{#1}%A1785f\fi%A1786S}INaturally*,wewanttousethechunknumbGersaslinkstothecorrespondingchunks. IThis1meansthatwehavetorede ne\CwebRefName.[Don'taskwhyit'sthatIcomplicated.A1787S\let\hyper@CwebRefName\CwebRefName A1788S\def\CwebRefName#1:#2\X{%A1789f\ifmmode s,\gdef\cwbb@toggle_text{\null$\null}%Icolor push Blackhtml:color push rgb 0 0 152 color pop9 html:c color pop53sIcolor push Blackhtml: html:c color popoA1790f\else s,\let\cwbb@toggle_text\relax% A1791f\fi%A1792f\cwbb@toggle_text%A1793f\expandafter\ifx\csnamehyper@cweb.#1\endcsname\relax%A1794t\expandafter\ifx\csnamehyper@new@cweb.#1\endcsname\relax%A1795\PackageWarning{hyper}%A1796p{Hyperreferencefor`cweb.#1'onpage\hyper@thepage\spaceundefined}%A1797\ifodd\hyper@changed\else\global\advance\hyper@changed1\fi%A1798\hyper@undef@color{%A1799L$\langle\,${\cwbb@tex\cwbb@check_dot{#2}\CwebRefNumber{#1}}$\,\rangle$%A1800}%A1801t\else%A1802\hyperreference{cweb.#1}{%A1803L$\langle\,${\cwbb@tex\cwbb@check_dot{#2}\CwebRefNumber{#1}}$\,\rangle$%A1804}%A1805t\fi%A1806f\else%A1807t\hyperreference{cweb.#1}{%A1808$\langle\,${\cwbb@tex\cwbb@check_dot{#2}\CwebRefNumber{#1}}$\,\rangle$%A1809t}%A1810f\fi%A1811f\cwbb@toggle_text%A1812S}IHowever,UUtherehastoexistanchorsfortheselinkstothechunks. IW*ell,forahierarchicalstructurethechunknumbGersarewrittenintothemarginIwhereasfora atstructuretheyarewrittenatthebGeginningofthechunkusingIthechunkbGeginmacro\M.ThereforeweneedthefollowingmoGdi cationsoftheIoriginalUUcoGde.A1813S\ifcase\cweb@structure A1814f%%hierarchicA1815f\let\hyper@cwbb@marginal_chunkno\cwbb@marginal_chunkno%A1816f\def\cwbb@marginal_chunkno{%A1817p2\let\hyper@thechunk\thechunk%A1818p2\def\thechunk{\hyperanchor{cweb.\arabic{chunk}}{\hyper@thechunk}}%A1819p2\hyper@cwbb@marginal_chunkno%A1820p2\let\thechunk\hyper@thechunk%A1821f}A1822]\orA1823f%%flatA1824f\let\hyper@M\M%A1825f\def\M#1{%A1826p2\let\hyper@thechunk\thechunk%A1827p2\def\thechunk{\hyperanchor{cweb.\arabic{chunk}}{\hyper@thechunk}}%A1828p2\hyper@M{#1}%A1829p2\let\thechunk\hyper@thechunk%A1830f}A1831S\fiIUnfortunately*,thisisnotsucient.Ucolor push rgb 0 0 153 color pop9 html:c color pop6{sIcolor push Blackhtml: html:c color popoA1832S\let\hyper@CwebCREt\CwebCREt A1833S\let\hyper@CwebCRsEt\CwebCRsEtA1834S\def\CwebCREt{!}A1835S\def\CwebCRsEt{?}A1836S%A1837S\defpattern\hyper@split@CwebCrossRef[#2]{\hyperreference{cweb.#2}{#2}}A1838S\defpattern\hyper@split@CwebCrossRef[#2]{\hyper@split@CwebCrossRef[#2]}A1839S\defpattern\hyper@split@CwebCrossRef[#2,#3]{%A1840]\hyper@split@CwebCrossRef[#2],%A1841]\hyper@split@CwebCrossRef[#3]%A1842S}A1843S\defpattern\hyper@split@CwebCrossRef[#2!#3]{%A1844]\hyper@split@CwebCrossRef[#2]\hyper@CwebCREt%A1845]\hyper@split@CwebCrossRef[#3]%A1846S}A1847S\defpattern\hyper@split@CwebCrossRef[#2?#3]{%A1848]\hyper@split@CwebCrossRef[#2]\hyper@CwebCRsEt%A1849]\hyper@split@CwebCrossRef[#3]%A1850S}A1851S\def\hypersplit@CwebCrossRef[#1]{%A1852]\edef\hyper@tmp{#1}%A1853]\expandafter\hyper@split@CwebCrossRef\expandafter[\hyper@tmp]%A1854S}A1855S%A1856S\let\hyper@CwebCrossRef\CwebCrossRefA1857S\def\CwebCrossRef#1#2.{%A1858]\hyper@CwebCrossRef{#1}{\hypersplit@CwebCrossRef[#2]}.%A1859S}IAsSyoumighthaveexpGected,thisevendoGesnotresolveallproblems.mThelist IofUQreferencesmaycontainmultipleentriespGointingtodi erentchunkscontainingIcoGde4$forthesameliterate.3Thereforewehavetorede netheliteratestoallowIlinksUUtodi erentoGccurrences.A1860S\let\hyper@CwebRefList\CwebRefList A1861S\def\hyper@CwebRefName@RefList#1:#2\X{%A1862]\hyper@CwebRefName\hypersplit@CwebCrossRef[#1]:#2\X%A1863S}A1864S\def\CwebRefList{%A1865]\let\hyper@CwebReadPPList\CwebReadPPList%A1866]\let\CwebReadPPList\relax%A1867]\hyper@CwebRefList%A1868]\let\X\hyper@CwebRefName@RefListA1869]\def\CwebCrossRef##1##2.{%A1870f\quad{\reset@font\footnotesize##1~\hypersplit@CwebCrossRef[##2].}%A1871]}%A1872]\let\CwebReadPPList\hyper@CwebReadPPList%A1873]\CwebReadPPList%A1874S}ILast!butnotleastwehavetohandletheindexreferencingfromvqariablestothe Ichunks'1theyoGccurin.bfThemodi cationsbelowarejustalittlebitcomplicatedasIwehavetosplitthelistofoGccurrencestoseveralpartseachofwhichhastobGeIhandledsepGeartelywithoutbeingallowedtousetheoriginallistthatmaycontainItheUUcharacter]thatcannotbGeusedinpattern{likede nitionsweneedhere.Icolor push Blackhtml:color push rgb 0 0 154 color pop9 html:c color pop7sIcolor push Blackhtml: html:c color popoA1875S\let\hyper@CwebIndexEntry\CwebIndexEntry A1876S\let\hyper@CwebIndexDeclared\CwebIndexDeclaredA1877S\def\CwebIndexDeclared#1]{|#1|}A1878S\defpattern\hyper@cwebindex[#2]{\hyperreference{cweb.#2}{#2}}A1879S\defpattern\hyper@cwebindex[|#2|]{%A1880]\hyperreference{cweb.#2}{\hyper@CwebIndexDeclared#2]}%A1881S}A1882S\defpattern\hyper@cwebindex[#2,#3]{%A1883]\hyper@cwebindex[#2],\hyper@cwebindex[#3]%A1884S}A1885S\def\hyper@cweb@index#1{%A1886]\edef\hyper@tmp{#1}%A1887]\expandafter\hyper@cwebindex\expandafter[\hyper@tmp]%A1888S}A1889S\def\CwebIndexEntry#1,#2.{%A1890]\hyper@CwebIndexEntry#1,\hyper@cweb@index{#2}.%A1891S}INow@iitjustremainstoresetthecategorycoGdefor_totheonewehadbGeforethe ImoGdi cationsUUstarted.A1892S\catcode`\_=\hyper@CatUsCodeA1893Sh=cw9ebiIcolor push Blackhtml:color push rgb 0 0 155 color pop9 html:c color pop8@sIcolor push Blackhtml: html:c color popo̍I10ifdhtml:color push rgb 0 0.75 0.75NeededffPackages(PartofthisDistribution) color pop html:I10.1nhtml:color push rgb 0 0.75 0.75Pattern{LikeDe nitionofMacros color pop html:uTIF*or`theindexandglossaryde nitionswehaveusedthepackqagedefpatternthatis Ialready>partofthefp{packqageonCTAN:macros/latex/contrib/other/fp.jOThisIisaveryusefullmacroallowingthede nitionofothermacrosbypatternmatchingIrules.IThevpackqagehasbGeenadaptedfromAlanJe rey's\howtothatcanbefoundinI\TU>'ExXandUUTUGNEWS2(2)".A1894Shdefpattern,Ji A1895S\ProvidesPackage{defpattern}A1896S\message{%A1897]`\string\defpattern-macro%A1898ap(adaptedfrom\string\howto\space%A1899f(AlanJeffreyinTeXandTUGNEWS2(2))%A1900ap)%A1901]'%A1902S}A1903S\def\xcs#1#2{\expandafter#1\csname#2\endcsname}A1904S\newcount\actioncountA1905S\def\defpattern#1[#2]#3{%A1906]\xcs\ifx{\expandafter\gobble\string#1}\relaxA1907]\def#1{\erroraction#1}\fiA1908]\advance\actioncountby1\relaxA1909]\expandafter\defaction\expandafter{#1}{#3}{#2}%A1910]\def\temp##1##2##3##4##5##6##7##8##9{\def\temp{[#2]}}%A1911]\temp\empty\empty\empty\empty\empty\empty\empty\empty\emptyA1912]\edef#1{\noexpand\doaction\xcs\noexpandA1913f{action-\the\actioncount}\temp}}A1914S\def\defaction#1#2#3{%A1915]\xcs\def{action-\the\actioncount}##1[#3]{\applyto{#1}{#2}}}A1916S\def\gobble#1{}A1917S\def\applyto#1#2#3{#3{#1}{#2}}A1918S\def\doaction#1[#2][#3]{#1[#3]\success[#2]\failure[#3]}A1919S\def\success#1#2[#3]\failure[#4]{#2}A1920S\def\failure#1#2{#1}A1921S\def\erroraction#1[#2]{%A1922ap\PackageError{defpattern}{Idon'tknowhowto\string#1[#2]}{}}A1923Sh=defpattern,JiIcolor push Blackhtml:color push rgb 0 0 156 color pop9 html:c color pop9sIcolor push Blackhtml: html:c color popoI11ifdhtml:color push rgb 0 0.75 0.75Extensions color pop html:ICurrentlyUUthefollowingextensionsexistforthispackqage.]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color pop]color push Black color popIcolor push Black color popbBackUUreferencesfromthebibliographytothecitations b(describGedUUinbackcite.dtx)Icolor push Blackhtml:color push rgb 0 0 157 color pop9 html:c color popǬ;9 9@߆T cmtt128DF cmmib1062@cmbx81ow cmss90 cmsy9/5" cmmi9-ߤN cmtt9,N cmbx12+- cmcsc10'DFff cmmib10&': cmti10% cmmi10K`y cmr10ٓRcmr7V