Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use r-strings for latex commands #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ Elemental documentation and webpage
The repository contains the source for the pages at
http://libelemental.org.

* How to: set up python environment
::

pip install sphinx sphinx_rtd_theme spinx-serve

This will install python dependencies.

* How to: generate web pages
::

Expand Down Expand Up @@ -42,3 +49,10 @@ http://libelemental.org.

* NOTE: This documentation was forked from fenics-web, which may be found at
https://bitbucket.org/fenics-project/fenics-web.

* How to preview on your local machine
::

sphinx-serve -b build

This will host a webserver containing the rendered webpages
4 changes: 2 additions & 2 deletions source/doc-0.81/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ def skip_member(app, what, name, obj, skip, options):
# If false, no module index is generated.
#latex_use_modindex = True

latex_elements = {'fontpkg': '\usepackage{mathpazo}',
latex_elements = {'fontpkg': r'\usepackage{mathpazo}',
'pointsize': '11pt',
'papersize': 'a4paper',
'fontenc': '',
'preamble': '\usepackage{amssymb} \usepackage{stmaryrd}'}
'preamble': r'\usepackage{amssymb} \usepackage{stmaryrd}'}

# Parameters affecting the LaTeX PNGs in the HTML files
pngmath_latex_preamble = r" \usepackage{stmaryrd} "
Expand Down
4 changes: 2 additions & 2 deletions source/doc-0.82-p1/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ def skip_member(app, what, name, obj, skip, options):
# If false, no module index is generated.
#latex_use_modindex = True

latex_elements = {'fontpkg': '\usepackage{mathpazo}',
latex_elements = {'fontpkg': r'\usepackage{mathpazo}',
'pointsize': '11pt',
'papersize': 'a4paper',
'fontenc': '',
'preamble': '\usepackage{amssymb} \usepackage{stmaryrd}'}
'preamble': r'\usepackage{amssymb} \usepackage{stmaryrd}'}

# Parameters affecting the LaTeX PNGs in the HTML files
pngmath_latex_preamble = r" \usepackage{stmaryrd} "
Expand Down
4 changes: 2 additions & 2 deletions source/doc-0.82/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ def skip_member(app, what, name, obj, skip, options):
# If false, no module index is generated.
#latex_use_modindex = True

latex_elements = {'fontpkg': '\usepackage{mathpazo}',
latex_elements = {'fontpkg': r'\usepackage{mathpazo}',
'pointsize': '11pt',
'papersize': 'a4paper',
'fontenc': '',
'preamble': '\usepackage{amssymb} \usepackage{stmaryrd}'}
'preamble': r'\usepackage{amssymb} \usepackage{stmaryrd}'}

# Parameters affecting the LaTeX PNGs in the HTML files
pngmath_latex_preamble = r" \usepackage{stmaryrd} "
Expand Down
4 changes: 2 additions & 2 deletions source/doc-0.83/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ def skip_member(app, what, name, obj, skip, options):
# If false, no module index is generated.
#latex_use_modindex = True

latex_elements = {'fontpkg': '\usepackage{mathpazo}',
latex_elements = {'fontpkg': r'\usepackage{mathpazo}',
'pointsize': '11pt',
'papersize': 'a4paper',
'fontenc': '',
'preamble': '\usepackage{amssymb} \usepackage{stmaryrd}'}
'preamble': r'\usepackage{amssymb} \usepackage{stmaryrd}'}

# Parameters affecting the LaTeX PNGs in the HTML files
pngmath_latex_preamble = r" \usepackage{stmaryrd} "
Expand Down
4 changes: 2 additions & 2 deletions source/doc-0.84/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ def skip_member(app, what, name, obj, skip, options):
# If false, no module index is generated.
#latex_use_modindex = True

latex_elements = {'fontpkg': '\usepackage{mathpazo}',
latex_elements = {'fontpkg': r'\usepackage{mathpazo}',
'pointsize': '11pt',
'papersize': 'a4paper',
'fontenc': '',
'preamble': '\usepackage{amssymb} \usepackage{stmaryrd}'}
'preamble': r'\usepackage{amssymb} \usepackage{stmaryrd}'}

# Parameters affecting the LaTeX PNGs in the HTML files
pngmath_latex_preamble = r" \usepackage{stmaryrd} "
Expand Down
4 changes: 2 additions & 2 deletions source/doc-0.85/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ def skip_member(app, what, name, obj, skip, options):
# If false, no module index is generated.
#latex_use_modindex = True

latex_elements = {'fontpkg': '\usepackage{mathpazo}',
latex_elements = {'fontpkg': r'\usepackage{mathpazo}',
'pointsize': '11pt',
'papersize': 'a4paper',
'fontenc': '',
'preamble': '\usepackage{amssymb} \usepackage{stmaryrd}'}
'preamble': r'\usepackage{amssymb} \usepackage{stmaryrd}'}

# Parameters affecting the LaTeX PNGs in the HTML files
pngmath_latex_preamble = r" \usepackage{stmaryrd} "
Expand Down
4 changes: 2 additions & 2 deletions source/doc-dev/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,11 @@ def skip_member(app, what, name, obj, skip, options):
# If false, no module index is generated.
#latex_use_modindex = True

latex_elements = {'fontpkg': '\usepackage{mathpazo}',
latex_elements = {'fontpkg': r'\usepackage{mathpazo}',
'pointsize': '11pt',
'papersize': 'a4paper',
'fontenc': '',
'preamble': '\usepackage{amssymb} \usepackage{stmaryrd}'}
'preamble': r'\usepackage{amssymb} \usepackage{stmaryrd}'}

# Parameters affecting the LaTeX PNGs in the HTML files
pngmath_latex_preamble = r" \usepackage{stmaryrd} "
Expand Down
4 changes: 2 additions & 2 deletions source/main/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,11 @@ def skip_member(app, what, name, obj, skip, options):
# If false, no module index is generated.
#latex_use_modindex = True

latex_elements = {'fontpkg': '\usepackage{mathpazo}',
latex_elements = {'fontpkg': r'\usepackage{mathpazo}',
'pointsize': '11pt',
'papersize': 'a4paper',
'fontenc': '',
'preamble': '\usepackage{amssymb} \usepackage{stmaryrd}'}
'preamble': r'\usepackage{amssymb} \usepackage{stmaryrd}'}

# Parameters affecting the LaTeX PNGs in the HTML files
pngmath_latex_preamble = r" \usepackage{stmaryrd} "
Expand Down