From 565c5eeed96cbd72e0c0a32e86c92233b647c193 Mon Sep 17 00:00:00 2001
From: Ian Bell <ian.bell@nist.gov>
Date: Fri, 2 Jun 2023 11:29:40 -0400
Subject: [PATCH] Try to update the Doxyfile to include some helpful LaTeX
 macros

Something is wrong with the parsing of docs, not clear what
---
 Doxyfile       | 10 +++-------
 doc/macros.tex |  1 +
 2 files changed, 4 insertions(+), 7 deletions(-)
 create mode 100644 doc/macros.tex

diff --git a/Doxyfile b/Doxyfile
index 6179797..9cc7892 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -1753,7 +1753,7 @@ FORMULA_FONTSIZE       = 10
 # to create new LaTeX commands to be used in formulas as building blocks. See
 # the section "Including formulas" for details.
 
-FORMULA_MACROFILE      =
+FORMULA_MACROFILE      = doc/macros.tex
 
 # Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
 # https://www.mathjax.org) which uses client side JavaScript for the rendering
@@ -1810,8 +1810,8 @@ MATHJAX_RELPATH        =
 
 # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
 # extension names that should be enabled during MathJax rendering. For example
-# for MathJax version 2 (see https://docs.mathjax.org/en/v2.7-latest/tex.html
-# #tex-and-latex-extensions):
+# for MathJax version 2 (see
+# https://docs.mathjax.org/en/v2.7-latest/tex.html#tex-and-latex-extensions):
 # MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
 # For example for MathJax version 3 (see
 # http://docs.mathjax.org/en/latest/input/tex/extensions/index.html):
@@ -2265,10 +2265,6 @@ DOCBOOK_OUTPUT         = docbook
 
 GENERATE_AUTOGEN_DEF   = NO
 
-#---------------------------------------------------------------------------
-# Configuration options related to Sqlite3 output
-#---------------------------------------------------------------------------
-
 #---------------------------------------------------------------------------
 # Configuration options related to the Perl module output
 #---------------------------------------------------------------------------
diff --git a/doc/macros.tex b/doc/macros.tex
new file mode 100644
index 0000000..472a009
--- /dev/null
+++ b/doc/macros.tex
@@ -0,0 +1 @@
+\newcommand{\deriv}[3]{\left(\frac{\partial #1}{\partial #2}\right)_{#3}}
\ No newline at end of file
-- 
GitLab