Changeset f8b59e3 in sasview for docs/sphinx-docs/source
- Timestamp:
- Aug 16, 2017 10:55:45 AM (7 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 78d0a9b
- Parents:
- 35ddae5 (diff), 940d034 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- docs/sphinx-docs/source
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/source/conf.py
rf2ea95a rf4771596 36 36 'sphinx.ext.coverage', 37 37 'sphinx.ext.mathjax', 38 #'mathjax', # replacement mathjax that allows a list of paths 38 39 'dollarmath', 39 40 'sphinx.ext.viewcode'] 41 42 mathjax_path = ( 43 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?' 44 'config=TeX-MML-AM_CHTML') 45 46 # For katex uncomment the following 47 """ 48 #STATIC_PATH = '../../_static/' 49 STATIC_PATH = '' 50 mathjax_path = [ 51 STATIC_PATH + 'katex/katex.min.js', 52 STATIC_PATH + 'katex/contrib/auto-render.min.js', 53 STATIC_PATH + 'rendermath.js' 54 ] 55 mathjax_css = STATIC_PATH + 'katex/katex.min.css' 56 """ 57 40 58 41 59 # Add any paths that contain templates here, relative to this directory. … … 201 219 # -- Options for LaTeX output -------------------------------------------------- 202 220 221 # TODO: seems like angstroms is defined twice. 203 222 LATEX_PREAMBLE=r""" 223 \usepackage[utf8]{inputenc} % Allow unicode symbols in text 224 \usepackage{underscore} % Allow underscore outside math mode 225 \usepackage[T1]{fontenc} % Use underscore character from font 226 \newcommand{\lt}{<} % HTML needs \lt rather than < 227 \newcommand{\gt}{>} % HTML needs \gt rather than > 204 228 \renewcommand{\AA}{\text{\r{A}}} % Allow \AA in math mode 205 \usepackage[utf8]{inputenc} % Allow unicode symbols in text 206 \usepackage[T1]{fontenc} % Taking care of underscores 207 \catcode`\_=12 % Moving underscore to category 12 208 \newcommand{\lt}{<} %lower than symbol handling 209 \newcommand{\gt}{>} %greater than symbol handling 229 \DeclareUnicodeCharacter {212B} {\AA} % Angstrom 210 230 \DeclareUnicodeCharacter {00B7} {\ensuremath{\cdot}} % cdot 211 231 \DeclareUnicodeCharacter {00B0} {\ensuremath{^\circ}} % degrees 212 \DeclareUnicodeCharacter {212B} {\AA} % Angstrom213 232 """ 214 233 latex_elements = {
Note: See TracChangeset
for help on using the changeset viewer.