added separate index to latex, doesnt have contents line

This commit is contained in:
Bryan Herman 2015-03-13 22:28:12 -04:00
parent 318015373b
commit f7c4f2735c
2 changed files with 37 additions and 3 deletions

View file

@ -35,7 +35,10 @@ source_suffix = '.rst'
#source_encoding = 'utf-8'
# The master toctree document.
master_doc = 'index'
if tags.has('latex'):
master_doc = 'index_tex'
else:
master_doc = 'index'
# General information about the project.
project = u'OpenMC'
@ -184,7 +187,7 @@ htmlhelp_basename = 'openmcdoc'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'openmc.tex', u'OpenMC Documentation',
('index_tex', 'openmc.tex', u'OpenMC Documentation',
u'Massachusetts Institute of Technology', 'manual'),
]
@ -196,8 +199,8 @@ latex_elements = {
\setlistdepth{9}
\usepackage{tikz}
\usetikzlibrary{shapes,snakes,shadows,arrows,calc,decorations.markings,patterns,fit,matrix,spy}
\usepackage{fixltx2e}
\hypersetup{bookmarksdepth=3}
%\renewcommand{\thechapter}{\Roman{chapter}}
\setcounter{tocdepth}{2}
\numberwithin{equation}{section}
"""

31
docs/source/index_tex.rst Normal file
View file

@ -0,0 +1,31 @@
===========================
The OpenMC Monte Carlo Code
===========================
OpenMC is a Monte Carlo particle transport simulation code focused on neutron
criticality calculations. It is capable of simulating 3D models based on
constructive solid geometry with second-order surfaces. The particle interaction
data is based on ACE format cross sections, also used in the MCNP and Serpent
Monte Carlo codes.
OpenMC was originally developed by members of the `Computational Reactor Physics
Group`_ at the `Massachusetts Institute of Technology`_ starting
in 2011. Various universities, laboratories, and other organizations now
contribute to the development of OpenMC. For more information on OpenMC, feel
free to send a message to the User's Group `mailing list`_.
.. _Computational Reactor Physics Group: http://crpg.mit.edu
.. _Massachusetts Institute of Technology: http://web.mit.edu
.. _mailing list: https://groups.google.com/forum/?fromgroups=#!forum/openmc-users
.. toctree::
:maxdepth: 1
quickinstall
releasenotes/index
methods/index
usersguide/index
devguide/index
publications
license
developers