# HG changeset patch
# User Alpar Juttner <alpar@cs.elte.hu>
# Date 1356795032 -3600
# Node ID 0919c44f674bd3a3eb0386ff0f726f17b3924558
# Parent 7780b04325d484e8966b1b3f4a9991264c6a51d4
Use MathJax for rendering the math formulae (#455)
diff --git a/INSTALL b/INSTALL
a
|
b
|
|
106 | 106 | Build shared library instead of static one. Think twice if you |
107 | 107 | really want to use this option. |
108 | 108 | |
| 109 | -DLEMON_DOC_SOURCE_BROWSER=YES |
| 110 | |
| 111 | Include the browsable cross referenced LEMON source code into the |
| 112 | doc. It makes the doc quite bloated, but may be useful for |
| 113 | developing LEMON itself. |
| 114 | |
| 115 | -DLEMON_DOC_USE_MATHJAX=YES |
| 116 | |
| 117 | Use MathJax (http://mathjax.org) for rendering the math formulae in |
| 118 | the doc. It of much higher quality compared to the default LaTeX |
| 119 | generated static images and it allows copy&paste of the formulae to |
| 120 | LaTeX, Open Office, MS Word etc. documents. |
| 121 | |
| 122 | On the other hand, it needs either Internet access or a locally |
| 123 | installed version of MathJax to properly render the doc. |
| 124 | |
| 125 | -DLEMON_DOC_MATHJAX_RELPATH=DIRECTORY |
| 126 | |
| 127 | The location of the MathJax library. It defaults to |
| 128 | http://www.mathjax.org/mathjax, which necessitates Internet access |
| 129 | for proper rendering. The easiest way to make it usable offline is |
| 130 | to set this parameter to 'mathjax' and copy all files of the MathJax |
| 131 | library into the 'doc/html/mathjax' subdirectory of the build |
| 132 | location. |
| 133 | |
| 134 | See http://docs.mathjax.org/en/latest/installation.html for more details. |
| 135 | |
| 136 | |
109 | 137 | -DGLPK_ROOT_DIR=DIRECTORY |
110 | 138 | -DCOIN_ROOT_DIR=DIRECTORY |
111 | 139 | -DCPLEX_ROOT_DIR=DIRECTORY |
diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
a
|
b
|
|
182 | 182 | EXT_LINKS_IN_WINDOW = NO |
183 | 183 | FORMULA_FONTSIZE = 10 |
184 | 184 | FORMULA_TRANSPARENT = YES |
185 | | USE_MATHJAX = NO |
186 | | MATHJAX_RELPATH = http://www.mathjax.org/mathjax |
| 185 | USE_MATHJAX = @LEMON_DOC_USE_MATHJAX@ |
| 186 | MATHJAX_RELPATH = @LEMON_DOC_MATHJAX_RELPATH@ |
187 | 187 | SEARCHENGINE = YES |
188 | 188 | SERVER_BASED_SEARCH = NO |
189 | 189 | #--------------------------------------------------------------------------- |