COIN-OR::LEMON - Graph Library

Changeset 1208:60c0c3ed8d11 in lemon


Ignore:
Timestamp:
12/19/12 15:37:12 (7 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Use MathJax? for rendering the math formulae (#455)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • INSTALL

    r1148 r1208  
    107107  really want to use this option.
    108108
     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 
    109137-DGLPK_ROOT_DIR=DIRECTORY
    110138-DCOIN_ROOT_DIR=DIRECTORY
  • doc/CMakeLists.txt

    r1207 r1208  
    55
    66SET(LEMON_DOC_SOURCE_BROWSER "NO" CACHE STRING "Include source into the doc (YES/NO).")
     7SET(LEMON_DOC_USE_MATHJAX "NO" CACHE STRING "Use MathJax to display math formulae (YES/NO).")
     8SET(LEMON_DOC_MATHJAX_RELPATH "http://www.mathjax.org/mathjax" CACHE STRING "MathJax library location.")
    79
    810CONFIGURE_FILE(
  • doc/Doxyfile.in

    r1111 r1208  
    183183FORMULA_FONTSIZE       = 10
    184184FORMULA_TRANSPARENT    = YES
    185 USE_MATHJAX            = NO
    186 MATHJAX_RELPATH        = http://www.mathjax.org/mathjax
     185USE_MATHJAX            = @LEMON_DOC_USE_MATHJAX@
     186MATHJAX_RELPATH        = @LEMON_DOC_MATHJAX_RELPATH@
    187187SEARCHENGINE           = YES
    188188SERVER_BASED_SEARCH    = NO
Note: See TracChangeset for help on using the changeset viewer.