propagated some more fixes from 2.3 branch to the trunk
This commit is contained in:
18
doc/conf.py
18
doc/conf.py
@@ -170,7 +170,7 @@ htmlhelp_basename = 'opencv'
|
||||
|
||||
# OpenCV docs use some custom LaTeX macros in the formulae. Make sure we include the definitions
|
||||
pngmath_latex_preamble = r"""
|
||||
\usepackage{amssymb}\usepackage{amsmath}\usepackage{bbm}
|
||||
\usepackage{euler}\usepackage{amssymb}\usepackage{amsmath}\usepackage{bbm}
|
||||
\newcommand{\matTT}[9]{
|
||||
\[
|
||||
\left|\begin{array}{ccc}
|
||||
@@ -223,13 +223,7 @@ pngmath_latex_preamble = r"""
|
||||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title, author, documentclass [howto/manual]).
|
||||
latex_documents = [
|
||||
('modules/refman', 'opencv2refman_cpp.tex', u'The OpenCV 2.x C++ Reference Manual',
|
||||
u'', 'manual'),
|
||||
('doc/opencv2/py/py_index', 'opencv2refman_py.tex', u'The OpenCV 2.x Python Reference Manual',
|
||||
u'', 'manual'),
|
||||
('doc/opencv1/c/c_index', 'opencv1refman_c.tex', u'The OpenCV 1.x C Reference Manual',
|
||||
u'', 'manual'),
|
||||
('doc/opencv1/py/py_index', 'opencv1refman_py.tex', u'The OpenCV 1.x Python Reference Manual',
|
||||
('modules/refman', 'opencv2refman.tex', u'The OpenCV Reference Manual',
|
||||
u'', 'manual'),
|
||||
('doc/user_guide/user_guide', 'opencv_user.tex', u'The OpenCV User Guide',
|
||||
u'', 'manual'),
|
||||
@@ -237,7 +231,13 @@ latex_documents = [
|
||||
u'', 'manual'),
|
||||
]
|
||||
|
||||
latex_elements = {'preamble': '\usepackage{mymath}\usepackage{amssymb}\usepackage{amsmath}\usepackage{bbm}\setcounter{secnumdepth}{1}'}
|
||||
preamble ="""
|
||||
\usepackage{euler}
|
||||
\usepackage[scaled=0.85]{beramono}
|
||||
\usepackage{mymath}\usepackage{amssymb}\usepackage{amsmath}\usepackage{bbm}\setcounter{secnumdepth}{1}
|
||||
"""
|
||||
|
||||
latex_elements = {'preamble': preamble}
|
||||
|
||||
# The name of an image file (relative to this directory) to place at the top of
|
||||
# the title page.
|
||||
|
Reference in New Issue
Block a user