]> gitweb.michael.orlitzky.com - mjotex.git/commitdiff
Enable a bibliography by default.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 16 Sep 2019 00:32:48 +0000 (20:32 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 16 Sep 2019 00:32:48 +0000 (20:32 -0400)
GNUmakefile
examples.tex
local-references.bib [new file with mode: 0644]

index a2e2ec2159831a93b9b1eb787df356162206e2f9..49cca6a6cc4aff1a4acee75c6d8017e25ce61bb7 100644 (file)
@@ -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.
index 4005cdd984dfe9a46194751b97b1bea2b8679748..c1f3df1eb64e416fb00c52f809cdcfc562138324 100644 (file)
@@ -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
 
     $\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
   \glsaddall
   \printnoidxglossaries
 
+  \bibliographystyle{mjo}
+  \bibliography{local-references}
+
   \printindex
 \end{document}
diff --git a/local-references.bib b/local-references.bib
new file mode 100644 (file)
index 0000000..2d04341
--- /dev/null
@@ -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"
+}