{% extends "html/base_authenticated.html" %}

{% block title %}{{ gettext('Sage Documentation') }}{% endblock %}

{% block javascript %}
<script type="text/javascript" src="/javascript/sage/js/ws_list.js"></script>
{% endblock%}

{% block page_id %}docs-main-page{% endblock %}

{% block main %}

<div class="control-bar">
    <ul class="controls">
        <li><a title="{{ gettext('To quickly try out Sage start here') }}" href="/doc/live/tutorial/index.html">{{ gettext('Tutorial') }}</a></li>
        <li><a title="{{ gettext('Explore a collection of in-depth tutorials on specific topics') }}" href="/doc/live/thematic_tutorials/index.html">{{ gettext('Thematic Tutorials') }}</a></li>
        <li><a title="{{ gettext('View a 4000+ page reference manual about Sage') }}" href="/doc/live/reference/index.html">{{ gettext('Reference Manual') }}</a></li>
        <li><a title="{{ gettext('Learn to write Sage programs') }}" href="/doc/live/developer/index.html">{{ gettext('Developer Guide') }}</a></li>
        <li><a title="{{ gettext('How do I construct ... in Sage?') }}" href="/doc/live/constructions/index.html">{{ gettext('Constructions') }}</a></li>
    </ul>
    <ul class="controls">
        <li><a title="{{ gettext('Static version...') }}" href="/doc/static/">{{ gettext('Fast Static Versions of the Documentation') }}</a></li>
        <li><a title="IRC" href="http://www.sagemath.org/help-irc.html">{{ gettext('Help via Internet Chat (IRC)') }}</a></li>
    </ul>
</div>

<div class="help_window">
  <center>
    <h2>{{ gettext('How to use the Sage Notebook') }}</h2>
    
    <p>{{ gettext('A <em>worksheet</em> is an ordered list of Sage calculations with output.') }}</p>
    <p>{{ gettext('A <em>session</em> is a worksheet and a set of variables in some state.') }}</p>
    <p>{{ gettext('The <em>Sage notebook</em> is a collection of worksheets, saved objects, and user information.') }}</p>
    
    <table class="help_window">
        
        {% for x, y in notebook_help %}
        <tr><td class="help_window_sub", colspan="2">{{ x | safe }}</td></tr>
        {% for z, w in y %}
        <tr><td class="help_window_cmd">{{ z | safe }}</td><td class="help_window_how">{{ w | safe }}</td></tr>
        {% endfor %}
        {% endfor %}
    </table>
  </center>
</div>
<p class="acknowledgments">{{ gettext('The Sage Notebook was primarily written by William Stein with substantial contributions from Tom Boothby, Timothy Clemans, Alex Clemesha, Mike Hansen, Bobby Moretti, Yi Qiang, and Dorian Raymer.') }}</p>
{% endblock %}
