From: Michael Orlitzky Date: Mon, 16 Sep 2019 00:32:48 +0000 (-0400) Subject: Enable a bibliography by default. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=71b85fe2012cdf733f6e72137038d7d9960ddf08;p=mjotex.git Enable a bibliography by default. --- diff --git a/GNUmakefile b/GNUmakefile index a2e2ec2..49cca6a 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -18,7 +18,7 @@ PN = examples # # Leave commented if you don't use a bibliography database. # -#BIBS = references.bib +BIBS = local-references.bib # A space-separated list of the mjotex files that you use. The path to # mjotex must be contain in your $TEXINPUTS environment variable. diff --git a/examples.tex b/examples.tex index 4005cdd..c1f3df1 100644 --- a/examples.tex +++ b/examples.tex @@ -1,7 +1,17 @@ \documentclass{report} -% We have to load this before mjotex so that mjotex knows to define -% its glossary entries. +% Setting hypertexnames=false forces hyperref to use a consistent +% internal counter for proposition/equation references rather than +% being clever, which doesn't work after we reset those counters. +\usepackage[hypertexnames=false]{hyperref} +\hypersetup{ + colorlinks=true, + linkcolor=blue, + citecolor=blue +} + +% We have to load this after hyperref, so that links work, but before +% mjotex so that mjotex knows to define its glossary entries. \usepackage[nonumberlist]{glossaries} \makenoidxglossaries @@ -157,6 +167,9 @@ $\boundedops[W]{V}$. If $W = V$, then we write $\boundedops{V}$ instead. + If you want to solve a system of equations, try Cramer's + rule~\cite{ehrenborg}. + The direct sum of $V$ and $W$ is $\directsum{V}{W}$, of course, but what if $W = V^{\perp}$? Then we wish to indicate that fact by writing $\directsumperp{V}{W}$. That operator should survive a @@ -335,5 +348,8 @@ \glsaddall \printnoidxglossaries + \bibliographystyle{mjo} + \bibliography{local-references} + \printindex \end{document} diff --git a/local-references.bib b/local-references.bib new file mode 100644 index 0000000..2d04341 --- /dev/null +++ b/local-references.bib @@ -0,0 +1,11 @@ +@article{ + ehrenborg, + author = "Richard Ehrenborg", + title = "A Conceptual Proof of {C}ramer's Rule", + journal = "Mathematics Magazine", + volume = 77, + number = 4, + year = 2004, + pages = "308", + doi = "10.2307/3219291" +}