Hans Petter Langtangen 10 yıl önce
ebeveyn
işleme
dbb6227386

+ 38 - 38
doc/pub/tutorial/._pysketcher000.html

@@ -32,23 +32,23 @@ Automatically generated HTML file from DocOnce source
 
 <!-- tocinfo
 {'highest level': 1,
- 'sections': [('A First Glimpse of Pysketcher', 1, None, '___sec0'),
-              ('Basic Construction of Sketches', 2, None, '___sec1'),
-              ('Basic Drawing', 3, None, '___sec2'),
-              ('Groups of Objects', 3, None, '___sec3'),
-              ('Changing Line Styles and Colors', 3, None, '___sec4'),
-              ('The Figure Composition as an Object Hierarchy',
+ 'sections': [('A first glimpse of Pysketcher', 1, None, '___sec0'),
+              ('Basic construction of sketches', 2, None, '___sec1'),
+              ('Basic drawing', 3, None, '___sec2'),
+              ('Groups of objects', 3, None, '___sec3'),
+              ('Changing line styles and colors', 3, None, '___sec4'),
+              ('The figure composition as an object hierarchy',
                3,
                None,
                '___sec5'),
-              ('Animation: Translating the Vehicle', 3, None, '___sec6'),
-              ('Animation: Rolling the Wheels',
+              ('Animation: translating the vehicle', 3, None, '___sec6'),
+              ('Animation: rolling the wheels',
                3,
                'sketcher:vehicle1:anim',
                'sketcher:vehicle1:anim'),
-              ('Basic Shapes', 1, None, '___sec8'),
+              ('Basic shapes', 1, None, '___sec8'),
               ('Axis', 2, None, '___sec9'),
-              ('Distance with Text', 2, None, '___sec10'),
+              ('Distance with text', 2, None, '___sec10'),
               ('Rectangle', 2, None, '___sec11'),
               ('Triangle', 2, None, '___sec12'),
               ('Arc', 2, None, '___sec13'),
@@ -56,18 +56,18 @@ Automatically generated HTML file from DocOnce source
               ('Dashpot', 2, None, '___sec15'),
               ('Wavy', 2, None, '___sec16'),
               ('Stochastic curves', 2, None, '___sec17'),
-              ('Inner Workings of the Pysketcher Tool', 1, None, '___sec18'),
-              ('Example of Classes for Geometric Objects',
+              ('Inner workings of the Pysketcher tool', 1, None, '___sec18'),
+              ('Example of classes for geometric objects',
                2,
                None,
                '___sec19'),
-              ('Simple Geometric Objects', 3, None, '___sec20'),
-              ('Class Curve', 3, None, '___sec21'),
-              ('Compound Geometric Objects', 3, None, '___sec22'),
-              ('Adding Functionality via Recursion', 2, None, '___sec23'),
-              ('Basic Principles of Recursion', 3, None, '___sec24'),
-              ('Explaining Recursion', 3, None, '___sec25'),
-              ('Scaling, Translating, and Rotating a Figure',
+              ('Simple geometric objects', 3, None, '___sec20'),
+              ('Class curve', 3, None, '___sec21'),
+              ('Compound geometric objects', 3, None, '___sec22'),
+              ('Adding functionality via recursion', 2, None, '___sec23'),
+              ('Basic principles of recursion', 3, None, '___sec24'),
+              ('Explaining recursion', 3, None, '___sec25'),
+              ('Scaling, translating, and rotating a figure',
                2,
                'sketcher:scaling',
                'sketcher:scaling'),
@@ -111,17 +111,17 @@ MathJax.Hub.Config({
       <li class="dropdown">
         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a>
         <ul class="dropdown-menu">
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec0" style="font-size: 80%;"><b>A First Glimpse of Pysketcher</b></a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec1" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Basic Construction of Sketches</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec2" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic Drawing</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec3" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups of Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec4" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing Line Styles and Colors</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec5" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Figure Composition as an Object Hierarchy</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec6" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: Translating the Vehicle</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#sketcher:vehicle1:anim" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: Rolling the Wheels</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec8" style="font-size: 80%;"><b>Basic Shapes</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec0" style="font-size: 80%;"><b>A first glimpse of Pysketcher</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec1" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Basic construction of sketches</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec2" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic drawing</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec3" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups of objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec4" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing line styles and colors</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec5" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The figure composition as an object hierarchy</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec6" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: translating the vehicle</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#sketcher:vehicle1:anim" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: rolling the wheels</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec8" style="font-size: 80%;"><b>Basic shapes</b></a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec9" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Axis</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec10" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Distance with Text</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec10" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Distance with text</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec11" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Rectangle</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec12" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Triangle</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec13" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Arc</a></li>
@@ -129,15 +129,15 @@ MathJax.Hub.Config({
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec15" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Dashpot</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec16" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Wavy</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec17" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Stochastic curves</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec18" style="font-size: 80%;"><b>Inner Workings of the Pysketcher Tool</b></a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec19" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Example of Classes for Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec20" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec21" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class Curve</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec22" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compound Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec23" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Adding Functionality via Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec24" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic Principles of Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec25" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explaining Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#sketcher:scaling" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Scaling, Translating, and Rotating a Figure</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec18" style="font-size: 80%;"><b>Inner workings of the Pysketcher tool</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec19" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Example of classes for geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec20" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec21" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class curve</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec22" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compound geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec23" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Adding functionality via recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec24" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic principles of recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec25" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explaining recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#sketcher:scaling" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Scaling, translating, and rotating a figure</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec27" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scaling</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec28" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translation</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec29" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rotation</a></li>

+ 46 - 46
doc/pub/tutorial/._pysketcher001.html

@@ -32,23 +32,23 @@ Automatically generated HTML file from DocOnce source
 
 <!-- tocinfo
 {'highest level': 1,
- 'sections': [('A First Glimpse of Pysketcher', 1, None, '___sec0'),
-              ('Basic Construction of Sketches', 2, None, '___sec1'),
-              ('Basic Drawing', 3, None, '___sec2'),
-              ('Groups of Objects', 3, None, '___sec3'),
-              ('Changing Line Styles and Colors', 3, None, '___sec4'),
-              ('The Figure Composition as an Object Hierarchy',
+ 'sections': [('A first glimpse of Pysketcher', 1, None, '___sec0'),
+              ('Basic construction of sketches', 2, None, '___sec1'),
+              ('Basic drawing', 3, None, '___sec2'),
+              ('Groups of objects', 3, None, '___sec3'),
+              ('Changing line styles and colors', 3, None, '___sec4'),
+              ('The figure composition as an object hierarchy',
                3,
                None,
                '___sec5'),
-              ('Animation: Translating the Vehicle', 3, None, '___sec6'),
-              ('Animation: Rolling the Wheels',
+              ('Animation: translating the vehicle', 3, None, '___sec6'),
+              ('Animation: rolling the wheels',
                3,
                'sketcher:vehicle1:anim',
                'sketcher:vehicle1:anim'),
-              ('Basic Shapes', 1, None, '___sec8'),
+              ('Basic shapes', 1, None, '___sec8'),
               ('Axis', 2, None, '___sec9'),
-              ('Distance with Text', 2, None, '___sec10'),
+              ('Distance with text', 2, None, '___sec10'),
               ('Rectangle', 2, None, '___sec11'),
               ('Triangle', 2, None, '___sec12'),
               ('Arc', 2, None, '___sec13'),
@@ -56,18 +56,18 @@ Automatically generated HTML file from DocOnce source
               ('Dashpot', 2, None, '___sec15'),
               ('Wavy', 2, None, '___sec16'),
               ('Stochastic curves', 2, None, '___sec17'),
-              ('Inner Workings of the Pysketcher Tool', 1, None, '___sec18'),
-              ('Example of Classes for Geometric Objects',
+              ('Inner workings of the Pysketcher tool', 1, None, '___sec18'),
+              ('Example of classes for geometric objects',
                2,
                None,
                '___sec19'),
-              ('Simple Geometric Objects', 3, None, '___sec20'),
-              ('Class Curve', 3, None, '___sec21'),
-              ('Compound Geometric Objects', 3, None, '___sec22'),
-              ('Adding Functionality via Recursion', 2, None, '___sec23'),
-              ('Basic Principles of Recursion', 3, None, '___sec24'),
-              ('Explaining Recursion', 3, None, '___sec25'),
-              ('Scaling, Translating, and Rotating a Figure',
+              ('Simple geometric objects', 3, None, '___sec20'),
+              ('Class curve', 3, None, '___sec21'),
+              ('Compound geometric objects', 3, None, '___sec22'),
+              ('Adding functionality via recursion', 2, None, '___sec23'),
+              ('Basic principles of recursion', 3, None, '___sec24'),
+              ('Explaining recursion', 3, None, '___sec25'),
+              ('Scaling, translating, and rotating a figure',
                2,
                'sketcher:scaling',
                'sketcher:scaling'),
@@ -111,17 +111,17 @@ MathJax.Hub.Config({
       <li class="dropdown">
         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a>
         <ul class="dropdown-menu">
-     <!-- navigation toc: --> <li><a href="#___sec0" style="font-size: 80%;"><b>A First Glimpse of Pysketcher</b></a></li>
-     <!-- navigation toc: --> <li><a href="#___sec1" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Basic Construction of Sketches</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec2" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic Drawing</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec3" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups of Objects</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec4" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing Line Styles and Colors</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec5" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Figure Composition as an Object Hierarchy</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec6" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: Translating the Vehicle</a></li>
-     <!-- navigation toc: --> <li><a href="#sketcher:vehicle1:anim" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: Rolling the Wheels</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec8" style="font-size: 80%;"><b>Basic Shapes</b></a></li>
+     <!-- navigation toc: --> <li><a href="#___sec0" style="font-size: 80%;"><b>A first glimpse of Pysketcher</b></a></li>
+     <!-- navigation toc: --> <li><a href="#___sec1" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Basic construction of sketches</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec2" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic drawing</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec3" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups of objects</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec4" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing line styles and colors</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec5" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The figure composition as an object hierarchy</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec6" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: translating the vehicle</a></li>
+     <!-- navigation toc: --> <li><a href="#sketcher:vehicle1:anim" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: rolling the wheels</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec8" style="font-size: 80%;"><b>Basic shapes</b></a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec9" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Axis</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec10" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Distance with Text</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec10" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Distance with text</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec11" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Rectangle</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec12" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Triangle</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec13" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Arc</a></li>
@@ -129,15 +129,15 @@ MathJax.Hub.Config({
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec15" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Dashpot</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec16" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Wavy</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec17" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Stochastic curves</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec18" style="font-size: 80%;"><b>Inner Workings of the Pysketcher Tool</b></a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec19" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Example of Classes for Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec20" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec21" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class Curve</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec22" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compound Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec23" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Adding Functionality via Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec24" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic Principles of Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec25" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explaining Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#sketcher:scaling" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Scaling, Translating, and Rotating a Figure</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec18" style="font-size: 80%;"><b>Inner workings of the Pysketcher tool</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec19" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Example of classes for geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec20" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec21" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class curve</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec22" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compound geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec23" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Adding functionality via recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec24" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic principles of recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec25" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explaining recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#sketcher:scaling" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Scaling, translating, and rotating a figure</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec27" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scaling</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec28" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translation</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec29" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rotation</a></li>
@@ -156,7 +156,7 @@ MathJax.Hub.Config({
 <a name="part0001"></a>
 <!-- !split -->
 
-<h1 id="___sec0">A First Glimpse of Pysketcher </h1>
+<h1 id="___sec0">A first glimpse of Pysketcher </h1>
 
 <p>
 Formulation of physical problems makes heavy use of <em>principal sketches</em>
@@ -190,7 +190,7 @@ the mantra of this section.
 <p><img src="fig-tut/wheel_on_inclined_plane.png" align="bottom" width=400></p>
 </center>
 
-<h2 id="___sec1">Basic Construction of Sketches </h2>
+<h2 id="___sec1">Basic construction of sketches </h2>
 
 <p>
 Before attacking real-life sketches as in Figure <a href="#sketcher:fig:inclinedplane">1</a>
@@ -229,7 +229,7 @@ physics and engineering, but then a program must define the geometry.
 <p><img src="fig-tut/vehicle_v2.png" align="bottom" width=500></p>
 </center>
 
-<h3 id="___sec2">Basic Drawing </h3>
+<h3 id="___sec2">Basic drawing </h3>
 
 <p>
 A typical program creating these five elements is shown next.
@@ -307,7 +307,7 @@ over  <span style="color: #666666">=</span> Rectangle(lower_left_corner<span sty
                   width<span style="color: #666666">=2.5*</span>R, height<span style="color: #666666">=1.25*</span>H)
 </pre></div>
 
-<h3 id="___sec3">Groups of Objects </h3>
+<h3 id="___sec3">Groups of objects </h3>
 
 <p>
 Instead of calling the <code>draw</code> method of every object, we can
@@ -359,7 +359,7 @@ and so forth in the hierarchical tree structure of
 figure elements,
 and call <code>draw</code> for every object.
 
-<h3 id="___sec4">Changing Line Styles and Colors </h3>
+<h3 id="___sec4">Changing line styles and colors </h3>
 
 <p>
 Controlling the line style, line color, and line width is
@@ -405,7 +405,7 @@ wheel1<span style="color: #666666">.</span>set_filled_curves(<span style="color:
 <p>
 <!-- <a href="http://packages.python.org/ete2/" target="_self"><tt>http://packages.python.org/ete2/</tt></a> for visualizing tree structures! -->
 
-<h3 id="___sec5">The Figure Composition as an Object Hierarchy </h3>
+<h3 id="___sec5">The figure composition as an object hierarchy </h3>
 
 <p>
 The composition of objects making up the figure
@@ -565,7 +565,7 @@ The result of the actions above is shown in Figure <a href="#sketcher:fig:vehicl
 We can also change position of parts of the figure and thereby make
 animations, as shown next.
 
-<h3 id="___sec6">Animation: Translating the Vehicle </h3>
+<h3 id="___sec6">Animation: translating the vehicle </h3>
 
 <p>
 Can we make our little vehicle roll? A first attempt will be to
@@ -716,7 +716,7 @@ Try to run <a href="http://tinyurl.com/ot733jn/vehicle0.py" target="_self"><tt>v
 then load <code>mov.html</code> into a browser, or play one of the <code>mov.*</code>
 video files.  Alternatively, you can view a ready-made <a href="http://tinyurl.com/oou9lp7/mov-tut/vehicle0.html" target="_self">movie</a>.
 
-<h3 id="sketcher:vehicle1:anim">Animation: Rolling the Wheels</h3>
+<h3 id="sketcher:vehicle1:anim">Animation: rolling the wheels</h3>
 
 <p>
 It is time to show rolling wheels. To this end, we add spokes to the

+ 40 - 40
doc/pub/tutorial/._pysketcher002.html

@@ -32,23 +32,23 @@ Automatically generated HTML file from DocOnce source
 
 <!-- tocinfo
 {'highest level': 1,
- 'sections': [('A First Glimpse of Pysketcher', 1, None, '___sec0'),
-              ('Basic Construction of Sketches', 2, None, '___sec1'),
-              ('Basic Drawing', 3, None, '___sec2'),
-              ('Groups of Objects', 3, None, '___sec3'),
-              ('Changing Line Styles and Colors', 3, None, '___sec4'),
-              ('The Figure Composition as an Object Hierarchy',
+ 'sections': [('A first glimpse of Pysketcher', 1, None, '___sec0'),
+              ('Basic construction of sketches', 2, None, '___sec1'),
+              ('Basic drawing', 3, None, '___sec2'),
+              ('Groups of objects', 3, None, '___sec3'),
+              ('Changing line styles and colors', 3, None, '___sec4'),
+              ('The figure composition as an object hierarchy',
                3,
                None,
                '___sec5'),
-              ('Animation: Translating the Vehicle', 3, None, '___sec6'),
-              ('Animation: Rolling the Wheels',
+              ('Animation: translating the vehicle', 3, None, '___sec6'),
+              ('Animation: rolling the wheels',
                3,
                'sketcher:vehicle1:anim',
                'sketcher:vehicle1:anim'),
-              ('Basic Shapes', 1, None, '___sec8'),
+              ('Basic shapes', 1, None, '___sec8'),
               ('Axis', 2, None, '___sec9'),
-              ('Distance with Text', 2, None, '___sec10'),
+              ('Distance with text', 2, None, '___sec10'),
               ('Rectangle', 2, None, '___sec11'),
               ('Triangle', 2, None, '___sec12'),
               ('Arc', 2, None, '___sec13'),
@@ -56,18 +56,18 @@ Automatically generated HTML file from DocOnce source
               ('Dashpot', 2, None, '___sec15'),
               ('Wavy', 2, None, '___sec16'),
               ('Stochastic curves', 2, None, '___sec17'),
-              ('Inner Workings of the Pysketcher Tool', 1, None, '___sec18'),
-              ('Example of Classes for Geometric Objects',
+              ('Inner workings of the Pysketcher tool', 1, None, '___sec18'),
+              ('Example of classes for geometric objects',
                2,
                None,
                '___sec19'),
-              ('Simple Geometric Objects', 3, None, '___sec20'),
-              ('Class Curve', 3, None, '___sec21'),
-              ('Compound Geometric Objects', 3, None, '___sec22'),
-              ('Adding Functionality via Recursion', 2, None, '___sec23'),
-              ('Basic Principles of Recursion', 3, None, '___sec24'),
-              ('Explaining Recursion', 3, None, '___sec25'),
-              ('Scaling, Translating, and Rotating a Figure',
+              ('Simple geometric objects', 3, None, '___sec20'),
+              ('Class curve', 3, None, '___sec21'),
+              ('Compound geometric objects', 3, None, '___sec22'),
+              ('Adding functionality via recursion', 2, None, '___sec23'),
+              ('Basic principles of recursion', 3, None, '___sec24'),
+              ('Explaining recursion', 3, None, '___sec25'),
+              ('Scaling, translating, and rotating a figure',
                2,
                'sketcher:scaling',
                'sketcher:scaling'),
@@ -111,17 +111,17 @@ MathJax.Hub.Config({
       <li class="dropdown">
         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a>
         <ul class="dropdown-menu">
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec0" style="font-size: 80%;"><b>A First Glimpse of Pysketcher</b></a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec1" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Basic Construction of Sketches</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec2" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic Drawing</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec3" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups of Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec4" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing Line Styles and Colors</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec5" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Figure Composition as an Object Hierarchy</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec6" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: Translating the Vehicle</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#sketcher:vehicle1:anim" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: Rolling the Wheels</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec8" style="font-size: 80%;"><b>Basic Shapes</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec0" style="font-size: 80%;"><b>A first glimpse of Pysketcher</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec1" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Basic construction of sketches</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec2" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic drawing</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec3" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups of objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec4" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing line styles and colors</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec5" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The figure composition as an object hierarchy</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec6" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: translating the vehicle</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#sketcher:vehicle1:anim" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: rolling the wheels</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec8" style="font-size: 80%;"><b>Basic shapes</b></a></li>
      <!-- navigation toc: --> <li><a href="#___sec9" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Axis</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec10" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Distance with Text</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec10" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Distance with text</a></li>
      <!-- navigation toc: --> <li><a href="#___sec11" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Rectangle</a></li>
      <!-- navigation toc: --> <li><a href="#___sec12" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Triangle</a></li>
      <!-- navigation toc: --> <li><a href="#___sec13" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Arc</a></li>
@@ -129,15 +129,15 @@ MathJax.Hub.Config({
      <!-- navigation toc: --> <li><a href="#___sec15" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Dashpot</a></li>
      <!-- navigation toc: --> <li><a href="#___sec16" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Wavy</a></li>
      <!-- navigation toc: --> <li><a href="#___sec17" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Stochastic curves</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec18" style="font-size: 80%;"><b>Inner Workings of the Pysketcher Tool</b></a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec19" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Example of Classes for Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec20" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec21" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class Curve</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec22" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compound Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec23" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Adding Functionality via Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec24" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic Principles of Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec25" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explaining Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#sketcher:scaling" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Scaling, Translating, and Rotating a Figure</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec18" style="font-size: 80%;"><b>Inner workings of the Pysketcher tool</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec19" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Example of classes for geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec20" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec21" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class curve</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec22" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compound geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec23" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Adding functionality via recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec24" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic principles of recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec25" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explaining recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#sketcher:scaling" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Scaling, translating, and rotating a figure</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec27" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scaling</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec28" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translation</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec29" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rotation</a></li>
@@ -156,7 +156,7 @@ MathJax.Hub.Config({
 <a name="part0002"></a>
 <!-- !split -->
 
-<h1 id="___sec8">Basic Shapes </h1>
+<h1 id="___sec8">Basic shapes </h1>
 
 <p>
 This section presents many of the basic shapes in Pysketcher:
@@ -222,7 +222,7 @@ The corresponding code looks like this:
     drawing_tool<span style="color: #666666">.</span>display(<span style="color: #BA2121">&#39;Axis&#39;</span>)
 </pre></div>
 
-<h2 id="___sec10">Distance with Text </h2>
+<h2 id="___sec10">Distance with text </h2>
 
 <p>
 The object <code>Distance_wText</code> is used to display an arrow, to indicate

+ 48 - 48
doc/pub/tutorial/._pysketcher003.html

@@ -32,23 +32,23 @@ Automatically generated HTML file from DocOnce source
 
 <!-- tocinfo
 {'highest level': 1,
- 'sections': [('A First Glimpse of Pysketcher', 1, None, '___sec0'),
-              ('Basic Construction of Sketches', 2, None, '___sec1'),
-              ('Basic Drawing', 3, None, '___sec2'),
-              ('Groups of Objects', 3, None, '___sec3'),
-              ('Changing Line Styles and Colors', 3, None, '___sec4'),
-              ('The Figure Composition as an Object Hierarchy',
+ 'sections': [('A first glimpse of Pysketcher', 1, None, '___sec0'),
+              ('Basic construction of sketches', 2, None, '___sec1'),
+              ('Basic drawing', 3, None, '___sec2'),
+              ('Groups of objects', 3, None, '___sec3'),
+              ('Changing line styles and colors', 3, None, '___sec4'),
+              ('The figure composition as an object hierarchy',
                3,
                None,
                '___sec5'),
-              ('Animation: Translating the Vehicle', 3, None, '___sec6'),
-              ('Animation: Rolling the Wheels',
+              ('Animation: translating the vehicle', 3, None, '___sec6'),
+              ('Animation: rolling the wheels',
                3,
                'sketcher:vehicle1:anim',
                'sketcher:vehicle1:anim'),
-              ('Basic Shapes', 1, None, '___sec8'),
+              ('Basic shapes', 1, None, '___sec8'),
               ('Axis', 2, None, '___sec9'),
-              ('Distance with Text', 2, None, '___sec10'),
+              ('Distance with text', 2, None, '___sec10'),
               ('Rectangle', 2, None, '___sec11'),
               ('Triangle', 2, None, '___sec12'),
               ('Arc', 2, None, '___sec13'),
@@ -56,18 +56,18 @@ Automatically generated HTML file from DocOnce source
               ('Dashpot', 2, None, '___sec15'),
               ('Wavy', 2, None, '___sec16'),
               ('Stochastic curves', 2, None, '___sec17'),
-              ('Inner Workings of the Pysketcher Tool', 1, None, '___sec18'),
-              ('Example of Classes for Geometric Objects',
+              ('Inner workings of the Pysketcher tool', 1, None, '___sec18'),
+              ('Example of classes for geometric objects',
                2,
                None,
                '___sec19'),
-              ('Simple Geometric Objects', 3, None, '___sec20'),
-              ('Class Curve', 3, None, '___sec21'),
-              ('Compound Geometric Objects', 3, None, '___sec22'),
-              ('Adding Functionality via Recursion', 2, None, '___sec23'),
-              ('Basic Principles of Recursion', 3, None, '___sec24'),
-              ('Explaining Recursion', 3, None, '___sec25'),
-              ('Scaling, Translating, and Rotating a Figure',
+              ('Simple geometric objects', 3, None, '___sec20'),
+              ('Class curve', 3, None, '___sec21'),
+              ('Compound geometric objects', 3, None, '___sec22'),
+              ('Adding functionality via recursion', 2, None, '___sec23'),
+              ('Basic principles of recursion', 3, None, '___sec24'),
+              ('Explaining recursion', 3, None, '___sec25'),
+              ('Scaling, translating, and rotating a figure',
                2,
                'sketcher:scaling',
                'sketcher:scaling'),
@@ -111,17 +111,17 @@ MathJax.Hub.Config({
       <li class="dropdown">
         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a>
         <ul class="dropdown-menu">
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec0" style="font-size: 80%;"><b>A First Glimpse of Pysketcher</b></a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec1" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Basic Construction of Sketches</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec2" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic Drawing</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec3" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups of Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec4" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing Line Styles and Colors</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec5" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Figure Composition as an Object Hierarchy</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec6" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: Translating the Vehicle</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#sketcher:vehicle1:anim" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: Rolling the Wheels</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec8" style="font-size: 80%;"><b>Basic Shapes</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec0" style="font-size: 80%;"><b>A first glimpse of Pysketcher</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec1" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Basic construction of sketches</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec2" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic drawing</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec3" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups of objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec4" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing line styles and colors</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec5" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The figure composition as an object hierarchy</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec6" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: translating the vehicle</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#sketcher:vehicle1:anim" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: rolling the wheels</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec8" style="font-size: 80%;"><b>Basic shapes</b></a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec9" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Axis</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec10" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Distance with Text</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec10" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Distance with text</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec11" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Rectangle</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec12" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Triangle</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec13" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Arc</a></li>
@@ -129,15 +129,15 @@ MathJax.Hub.Config({
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec15" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Dashpot</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec16" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Wavy</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec17" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Stochastic curves</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec18" style="font-size: 80%;"><b>Inner Workings of the Pysketcher Tool</b></a></li>
-     <!-- navigation toc: --> <li><a href="#___sec19" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Example of Classes for Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec20" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec21" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class Curve</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec22" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compound Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec23" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Adding Functionality via Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec24" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic Principles of Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="#___sec25" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explaining Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="#sketcher:scaling" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Scaling, Translating, and Rotating a Figure</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec18" style="font-size: 80%;"><b>Inner workings of the Pysketcher tool</b></a></li>
+     <!-- navigation toc: --> <li><a href="#___sec19" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Example of classes for geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec20" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec21" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class curve</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec22" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compound geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec23" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Adding functionality via recursion</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec24" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic principles of recursion</a></li>
+     <!-- navigation toc: --> <li><a href="#___sec25" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explaining recursion</a></li>
+     <!-- navigation toc: --> <li><a href="#sketcher:scaling" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Scaling, translating, and rotating a figure</a></li>
      <!-- navigation toc: --> <li><a href="#___sec27" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scaling</a></li>
      <!-- navigation toc: --> <li><a href="#___sec28" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translation</a></li>
      <!-- navigation toc: --> <li><a href="#___sec29" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rotation</a></li>
@@ -156,7 +156,7 @@ MathJax.Hub.Config({
 <a name="part0003"></a>
 <!-- !split -->
 
-<h1 id="___sec18">Inner Workings of the Pysketcher Tool </h1>
+<h1 id="___sec18">Inner workings of the Pysketcher tool </h1>
 
 <p>
 We shall now explain how we can, quite easily, realize software with
@@ -178,7 +178,7 @@ topic is of key relevance in a wide range of other applications as
 well. In total, the inner workings of Pysketcher constitute an
 excellent example on the power of class programming.
 
-<h2 id="___sec19">Example of Classes for Geometric Objects </h2>
+<h2 id="___sec19">Example of classes for geometric objects </h2>
 
 <p>
 We introduce class <code>Shape</code> as superclass for all specialized objects
@@ -186,7 +186,7 @@ in a figure. This class does not store any data, but provides a
 series of functions that add functionality to all the subclasses.
 This will be shown later.
 
-<h3 id="___sec20">Simple Geometric Objects </h3>
+<h3 id="___sec20">Simple geometric objects </h3>
 
 <p>
 One simple subclass is <code>Rectangle</code>, specified by the coordinates of
@@ -341,7 +341,7 @@ a subclass specializing the arc to a circle:
         Arc<span style="color: #666666">.</span>__init__(<span style="color: #008000">self</span>, center, radius, <span style="color: #666666">0</span>, <span style="color: #666666">360</span>, resolution)
 </pre></div>
 
-<h3 id="___sec21">Class Curve </h3>
+<h3 id="___sec21">Class curve </h3>
 
 <p>
 Class <code>Curve</code> sits on the coordinates to be drawn, but how is that
@@ -404,7 +404,7 @@ A rough sketch of class <code>Curve</code> reads
     <span style="color: #666666">...</span>
 </pre></div>
 
-<h3 id="___sec22">Compound Geometric Objects </h3>
+<h3 id="___sec22">Compound geometric objects </h3>
 
 <p>
 The simple classes <code>Line</code>, <code>Arc</code>, and <code>Circle</code> could can the geometric
@@ -506,7 +506,7 @@ The <code>pysketcher</code> package contains a wide range of classes for various
 geometrical objects, particularly those that are frequently used in
 drawings of mechanical systems.
 
-<h2 id="___sec23">Adding Functionality via Recursion </h2>
+<h2 id="___sec23">Adding functionality via recursion </h2>
 
 <p>
 The really powerful feature of our class hierarchy is that we can add
@@ -518,7 +518,7 @@ hierarchy must have. The inner workings of the <code>draw</code> method explain
 the secrets of how a series of other useful operations on figures
 can be implemented.
 
-<h3 id="___sec24">Basic Principles of Recursion </h3>
+<h3 id="___sec24">Basic principles of recursion </h3>
 
 <p>
 Note that we work with two types of hierarchies in the
@@ -588,7 +588,7 @@ all inherit the same <code>draw</code> method and therefore exhibit the same
 behavior with respect to drawing. Only the <code>Curve</code> object has a different
 <code>draw</code> method, which does not lead to more recursion.
 
-<h3 id="___sec25">Explaining Recursion </h3>
+<h3 id="___sec25">Explaining recursion </h3>
 
 <p>
 Understanding recursion is usually a challenge. To get a better idea of
@@ -739,7 +739,7 @@ This example should clearly demonstrate the principle that we
 can start at any object in the tree and do a recursive set
 of calls with that object as root.
 
-<h2 id="sketcher:scaling">Scaling, Translating, and Rotating a Figure</h2>
+<h2 id="sketcher:scaling">Scaling, translating, and rotating a figure</h2>
 
 <p>
 With recursion, as explained in the previous section, we can within
@@ -910,7 +910,7 @@ The <code>rotate</code> method in class <code>Shape</code> follows the principle
 
 <p>
 We have already seen the <code>rotate</code> method in action when animating the
-rolling wheel at the end of the section <a href="._pysketcher001.html#sketcher:vehicle1:anim">Animation: Rolling the Wheels</a>.
+rolling wheel at the end of the section <a href="._pysketcher001.html#sketcher:vehicle1:anim">Animation: rolling the wheels</a>.
 
 <p>
 <!-- navigation buttons at the bottom of the page -->

+ 1 - 1
doc/pub/tutorial/html/.buildinfo

@@ -1,4 +1,4 @@
 # Sphinx build info version 1
 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: f332c418da3afe723da879dfd84452f7
+config: b7768360f818b5d2d2965679d67c458a
 tags: 645f666f9bcd5a90fca523b33c5a78b7

+ 19 - 19
doc/pub/tutorial/html/_sources/main_sketcher.txt

@@ -52,7 +52,7 @@ no further background is required.
 
 .. !split
 
-A First Glimpse of Pysketcher
+A first glimpse of Pysketcher
 =============================
 
 Formulation of physical problems makes heavy use of *principal sketches*
@@ -85,7 +85,7 @@ the mantra of this section.
 
    *Sketch of a physics problem*
 
-Basic Construction of Sketches
+Basic construction of sketches
 ------------------------------
 
 Before attacking real-life sketches as in Figure :ref:`sketcher:fig:inclinedplane`
@@ -123,7 +123,7 @@ physics and engineering, but then a program must define the geometry.
 
    *Redrawing a figure with other geometric parameters*
 
-Basic Drawing
+Basic drawing
 ~~~~~~~~~~~~~
 
 A typical program creating these five elements is shown next.
@@ -193,7 +193,7 @@ The two rectangles are also made in an intuitive way:
         over  = Rectangle(lower_left_corner=(w_1, 2*R + H),
                           width=2.5*R, height=1.25*H)
 
-Groups of Objects
+Groups of objects
 ~~~~~~~~~~~~~~~~~
 
 Instead of calling the ``draw`` method of every object, we can
@@ -241,7 +241,7 @@ and so forth in the hierarchical tree structure of
 figure elements,
 and call ``draw`` for every object.
 
-Changing Line Styles and Colors
+Changing line styles and colors
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Controlling the line style, line color, and line width is
@@ -283,7 +283,7 @@ special visual pattern:
 
 .. `<http://packages.python.org/ete2/>`_ for visualizing tree structures!
 
-The Figure Composition as an Object Hierarchy
+The figure composition as an object hierarchy
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 The composition of objects making up the figure
@@ -435,7 +435,7 @@ The result of the actions above is shown in Figure :ref:`sketcher:fig:vehicle0:v
 We can also change position of parts of the figure and thereby make
 animations, as shown next.
 
-Animation: Translating the Vehicle
+Animation: translating the vehicle
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Can we make our little vehicle roll? A first attempt will be to
@@ -568,7 +568,7 @@ video files.  Alternatively, you can view a ready-made `movie <http://tinyurl.co
 
 .. _sketcher:vehicle1:anim:
 
-Animation: Rolling the Wheels
+Animation: rolling the wheels
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 It is time to show rolling wheels. To this end, we add spokes to the
@@ -664,7 +664,7 @@ coming from physics simulations of the problem, as shown in the example above.
 
 .. !split
 
-Basic Shapes
+Basic shapes
 ============
 
 This section presents many of the basic shapes in Pysketcher:
@@ -725,7 +725,7 @@ The corresponding code looks like this:
         
             drawing_tool.display('Axis')
 
-Distance with Text
+Distance with text
 ------------------
 
 The object ``Distance_wText`` is used to display an arrow, to indicate
@@ -1024,7 +1024,7 @@ are stored in the arrays ``curve.x[curve_no]`` and
 
 .. !split
 
-Inner Workings of the Pysketcher Tool
+Inner workings of the Pysketcher tool
 =====================================
 
 We shall now explain how we can, quite easily, realize software with
@@ -1047,7 +1047,7 @@ topic is of key relevance in a wide range of other applications as
 well. In total, the inner workings of Pysketcher constitute an
 excellent example on the power of class programming.
 
-Example of Classes for Geometric Objects
+Example of classes for geometric objects
 ----------------------------------------
 
 We introduce class ``Shape`` as superclass for all specialized objects
@@ -1055,7 +1055,7 @@ in a figure. This class does not store any data, but provides a
 series of functions that add functionality to all the subclasses.
 This will be shown later.
 
-Simple Geometric Objects
+Simple geometric objects
 ~~~~~~~~~~~~~~~~~~~~~~~~
 
 One simple subclass is ``Rectangle``, specified by the coordinates of
@@ -1194,7 +1194,7 @@ a subclass specializing the arc to a circle:
             def __init__(self, center, radius, resolution=180):
                 Arc.__init__(self, center, radius, 0, 360, resolution)
 
-Class Curve
+Class curve
 ~~~~~~~~~~~
 
 Class ``Curve`` sits on the coordinates to be drawn, but how is that
@@ -1256,7 +1256,7 @@ A rough sketch of class ``Curve`` reads
                 self.linestyle = style
             ...
 
-Compound Geometric Objects
+Compound geometric objects
 ~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 The simple classes ``Line``, ``Arc``, and ``Circle`` could can the geometric
@@ -1347,7 +1347,7 @@ The ``pysketcher`` package contains a wide range of classes for various
 geometrical objects, particularly those that are frequently used in
 drawings of mechanical systems.
 
-Adding Functionality via Recursion
+Adding functionality via recursion
 ----------------------------------
 
 .. index:: recursive function calls
@@ -1361,7 +1361,7 @@ hierarchy must have. The inner workings of the ``draw`` method explain
 the secrets of how a series of other useful operations on figures
 can be implemented.
 
-Basic Principles of Recursion
+Basic principles of recursion
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Note that we work with two types of hierarchies in the
@@ -1425,7 +1425,7 @@ all inherit the same ``draw`` method and therefore exhibit the same
 behavior with respect to drawing. Only the ``Curve`` object has a different
 ``draw`` method, which does not lead to more recursion.
 
-Explaining Recursion
+Explaining recursion
 ~~~~~~~~~~~~~~~~~~~~
 
 Understanding recursion is usually a challenge. To get a better idea of
@@ -1562,7 +1562,7 @@ of calls with that object as root.
 
 .. _sketcher:scaling:
 
-Scaling, Translating, and Rotating a Figure
+Scaling, translating, and rotating a figure
 -------------------------------------------
 
 With recursion, as explained in the previous section, we can within

+ 0 - 585
doc/pub/tutorial/html/_static/alabaster.css

@@ -1,585 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-@import url("basic.css");
-
-/* -- page layout ----------------------------------------------------------- */
-
-body {
-    font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif;
-    font-size: 17px;
-    background-color: white;
-    color: #000;
-    margin: 0;
-    padding: 0;
-}
-
-div.document {
-    width: 940px;
-    margin: 30px auto 0 auto;
-}
-
-div.documentwrapper {
-    float: left;
-    width: 100%;
-}
-
-div.bodywrapper {
-    margin: 0 0 0 220px;
-}
-
-div.sphinxsidebar {
-    width: 220px;
-}
-
-hr {
-    border: 1px solid #B1B4B6;
-}
-
-div.body {
-    background-color: #ffffff;
-    color: #3E4349;
-    padding: 0 30px 0 30px;
-}
-
-div.footer {
-    width: 940px;
-    margin: 20px auto 30px auto;
-    font-size: 14px;
-    color: #888;
-    text-align: right;
-}
-
-div.footer a {
-    color: #888;
-}
-
-
-div.relations {
-    display: none;
-}
-
-
-div.sphinxsidebar a {
-    color: #444;
-    text-decoration: none;
-    border-bottom: 1px dotted #999;
-}
-
-div.sphinxsidebar a:hover {
-    border-bottom: 1px solid #999;
-}
-
-div.sphinxsidebar {
-    font-size: 14px;
-    line-height: 1.5;
-}
-
-div.sphinxsidebarwrapper {
-    padding: 18px 10px;
-}
-
-div.sphinxsidebarwrapper p.logo {
-    padding: 0;
-    margin: -10px 0 0 0px;
-    text-align: center;
-}
-
-div.sphinxsidebarwrapper h1.logo {
-    margin-top: -10px;
-    text-align: center;
-    margin-bottom: 5px;
-    text-align: left;
-}
-
-div.sphinxsidebarwrapper h1.logo-name {
-    margin-top: 0px;
-}
-
-div.sphinxsidebarwrapper p.blurb {
-    margin-top: 0;
-    font-style: normal;
-}
-
-div.sphinxsidebar h3,
-div.sphinxsidebar h4 {
-    font-family: 'Garamond', 'Georgia', serif;
-    color: #444;
-    font-size: 24px;
-    font-weight: normal;
-    margin: 0 0 5px 0;
-    padding: 0;
-}
-
-div.sphinxsidebar h4 {
-    font-size: 20px;
-}
-
-div.sphinxsidebar h3 a {
-    color: #444;
-}
-
-div.sphinxsidebar p.logo a,
-div.sphinxsidebar h3 a,
-div.sphinxsidebar p.logo a:hover,
-div.sphinxsidebar h3 a:hover {
-    border: none;
-}
-
-div.sphinxsidebar p {
-    color: #555;
-    margin: 10px 0;
-}
-
-div.sphinxsidebar ul {
-    margin: 10px 0;
-    padding: 0;
-    color: #000;
-}
-
-div.sphinxsidebar ul li.toctree-l1 > a {
-    font-size: 120%;
-}
-
-div.sphinxsidebar ul li.toctree-l2 > a {
-    font-size: 110%;
-}
-
-div.sphinxsidebar input {
-    border: 1px solid #CCC;
-    font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif;
-    font-size: 1em;
-}
-
-div.sphinxsidebar hr {
-    border: none;
-    height: 1px;
-    color: #999;
-    background: #999;
-
-    text-align: left;
-    margin-left: 0;
-    width: 50%;
-}
-
-/* -- body styles ----------------------------------------------------------- */
-
-a {
-    color: #004B6B;
-    text-decoration: underline;
-}
-
-a:hover {
-    color: #6D4100;
-    text-decoration: underline;
-}
-
-div.body h1,
-div.body h2,
-div.body h3,
-div.body h4,
-div.body h5,
-div.body h6 {
-    font-family: 'Garamond', 'Georgia', serif;
-    font-weight: normal;
-    margin: 30px 0px 10px 0px;
-    padding: 0;
-}
-
-div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
-div.body h2 { font-size: 180%; }
-div.body h3 { font-size: 150%; }
-div.body h4 { font-size: 130%; }
-div.body h5 { font-size: 100%; }
-div.body h6 { font-size: 100%; }
-
-a.headerlink {
-    color: #DDD;
-    padding: 0 4px;
-    text-decoration: none;
-}
-
-a.headerlink:hover {
-    color: #444;
-    background: #EAEAEA;
-}
-
-div.body p, div.body dd, div.body li {
-    line-height: 1.4em;
-}
-
-div.admonition {
-    margin: 20px 0px;
-    padding: 10px 30px;
-    background-color: #FCC;
-    border: 1px solid #FAA;
-}
-
-div.admonition tt.xref, div.admonition a tt {
-    border-bottom: 1px solid #fafafa;
-}
-
-dd div.admonition {
-    margin-left: -60px;
-    padding-left: 60px;
-}
-
-div.admonition p.admonition-title {
-    font-family: 'Garamond', 'Georgia', serif;
-    font-weight: normal;
-    font-size: 24px;
-    margin: 0 0 10px 0;
-    padding: 0;
-    line-height: 1;
-}
-
-div.admonition p.last {
-    margin-bottom: 0;
-}
-
-div.highlight {
-    background-color: white;
-}
-
-dt:target, .highlight {
-    background: #FAF3E8;
-}
-
-div.note {
-    background-color: #EEE;
-    border: 1px solid #CCC;
-}
-
-div.seealso {
-    background-color: #EEE;
-    border: 1px solid #CCC;
-}
-
-div.topic {
-    background-color: #eee;
-}
-
-p.admonition-title {
-    display: inline;
-}
-
-p.admonition-title:after {
-    content: ":";
-}
-
-pre, tt, code {
-    font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
-    font-size: 0.9em;
-}
-
-.hll {
-    background-color: #FFC;
-    margin: 0 -12px;
-    padding: 0 12px;
-    display: block;
-}
-
-img.screenshot {
-}
-
-tt.descname, tt.descclassname, code.descname, code.descclassname {
-    font-size: 0.95em;
-}
-
-tt.descname, code.descname {
-    padding-right: 0.08em;
-}
-
-img.screenshot {
-    -moz-box-shadow: 2px 2px 4px #eee;
-    -webkit-box-shadow: 2px 2px 4px #eee;
-    box-shadow: 2px 2px 4px #eee;
-}
-
-table.docutils {
-    border: 1px solid #888;
-    -moz-box-shadow: 2px 2px 4px #eee;
-    -webkit-box-shadow: 2px 2px 4px #eee;
-    box-shadow: 2px 2px 4px #eee;
-}
-
-table.docutils td, table.docutils th {
-    border: 1px solid #888;
-    padding: 0.25em 0.7em;
-}
-
-table.field-list, table.footnote {
-    border: none;
-    -moz-box-shadow: none;
-    -webkit-box-shadow: none;
-    box-shadow: none;
-}
-
-table.footnote {
-    margin: 15px 0;
-    width: 100%;
-    border: 1px solid #EEE;
-    background: #FDFDFD;
-    font-size: 0.9em;
-}
-
-table.footnote + table.footnote {
-    margin-top: -15px;
-    border-top: none;
-}
-
-table.field-list th {
-    padding: 0 0.8em 0 0;
-}
-
-table.field-list td {
-    padding: 0;
-}
-
-table.footnote td.label {
-    width: 0px;
-    padding: 0.3em 0 0.3em 0.5em;
-}
-
-table.footnote td {
-    padding: 0.3em 0.5em;
-}
-
-dl {
-    margin: 0;
-    padding: 0;
-}
-
-dl dd {
-    margin-left: 30px;
-}
-
-blockquote {
-    margin: 0 0 0 30px;
-    padding: 0;
-}
-
-ul, ol {
-    margin: 10px 0 10px 30px;
-    padding: 0;
-}
-
-pre {
-    background: #EEE;
-    padding: 7px 30px;
-    margin: 15px 0px;
-    line-height: 1.3em;
-}
-
-dl pre, blockquote pre, li pre {
-    margin-left: 0;
-    padding-left: 30px;
-}
-
-dl dl pre {
-    margin-left: -90px;
-    padding-left: 90px;
-}
-
-tt, code {
-    background-color: #ecf0f3;
-    color: #222;
-    /* padding: 1px 2px; */
-}
-
-tt.xref, code.xref, a tt {
-    background-color: #FBFBFB;
-    border-bottom: 1px solid white;
-}
-
-a.reference {
-    text-decoration: none;
-    border-bottom: 1px dotted #004B6B;
-}
-
-a.reference:hover {
-    border-bottom: 1px solid #6D4100;
-}
-
-a.footnote-reference {
-    text-decoration: none;
-    font-size: 0.7em;
-    vertical-align: top;
-    border-bottom: 1px dotted #004B6B;
-}
-
-a.footnote-reference:hover {
-    border-bottom: 1px solid #6D4100;
-}
-
-a:hover tt, a:hover code {
-    background: #EEE;
-}
-
-
-@media screen and (max-width: 870px) {
-
-    div.sphinxsidebar {
-    	display: none;
-    }
-
-    div.document {
-       width: 100%;
-
-    }
-
-    div.documentwrapper {
-    	margin-left: 0;
-    	margin-top: 0;
-    	margin-right: 0;
-    	margin-bottom: 0;
-    }
-
-    div.bodywrapper {
-    	margin-top: 0;
-    	margin-right: 0;
-    	margin-bottom: 0;
-    	margin-left: 0;
-    }
-
-    ul {
-    	margin-left: 0;
-    }
-
-    .document {
-    	width: auto;
-    }
-
-    .footer {
-    	width: auto;
-    }
-
-    .bodywrapper {
-    	margin: 0;
-    }
-
-    .footer {
-    	width: auto;
-    }
-
-    .github {
-        display: none;
-    }
-
-
-
-}
-
-
-
-@media screen and (max-width: 875px) {
-
-    body {
-        margin: 0;
-        padding: 20px 30px;
-    }
-
-    div.documentwrapper {
-        float: none;
-        background: white;
-    }
-
-    div.sphinxsidebar {
-        display: block;
-        float: none;
-        width: 102.5%;
-        margin: 50px -30px -20px -30px;
-        padding: 10px 20px;
-        background: #333;
-        color: #FFF;
-    }
-
-    div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p,
-    div.sphinxsidebar h3 a {
-        color: white;
-    }
-
-    div.sphinxsidebar a {
-        color: #AAA;
-    }
-
-    div.sphinxsidebar p.logo {
-        display: none;
-    }
-
-    div.document {
-        width: 100%;
-        margin: 0;
-    }
-
-    div.footer {
-        display: none;
-    }
-
-    div.bodywrapper {
-        margin: 0;
-    }
-
-    div.body {
-        min-height: 0;
-        padding: 0;
-    }
-
-    .rtd_doc_footer {
-        display: none;
-    }
-
-    .document {
-        width: auto;
-    }
-
-    .footer {
-        width: auto;
-    }
-
-    .footer {
-        width: auto;
-    }
-
-    .github {
-        display: none;
-    }
-}
-
-
-/* misc. */
-
-.revsys-inline {
-    display: none!important;
-}
-
-/* Make nested-list/multi-paragraph items look better in Releases changelog
- * pages. Without this, docutils' magical list fuckery causes inconsistent
- * formatting between different release sub-lists.
- */
-div#changelog > div.section > ul > li > p:only-child {
-    margin-bottom: 0;
-}
-
-/* Hide fugly table cell borders in ..bibliography:: directive output */
-table.docutils.citation, table.docutils.citation td, table.docutils.citation th {
-  border: none;
-  /* Below needed in some edge cases; if not applied, bottom shadows appear */
-  -moz-box-shadow: none;
-  -webkit-box-shadow: none;
-  box-shadow: none;
-}

BIN
doc/pub/tutorial/html/_static/cbc_banner.png


BIN
doc/pub/tutorial/html/_static/cbc_logo.png


+ 265 - 0
doc/pub/tutorial/html/_static/default.css

@@ -0,0 +1,265 @@
+/*
+ * default.css_t
+ * ~~~~~~~~~~~~~
+ *
+ * Sphinx stylesheet -- default theme.
+ *
+ * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
+ * :license: BSD, see LICENSE for details.
+ *
+ */
+
+@import url("basic.css");
+
+/* -- page layout ----------------------------------------------------------- */
+
+body {
+    font-family: sans-serif;
+    font-size: 100%;
+    background-color: #ffffff;
+    color: #000;
+    margin: 0;
+    padding: 0;
+}
+
+div.document {
+    background-color: #ffffff;
+}
+
+div.documentwrapper {
+    float: left;
+    width: 100%;
+}
+
+div.bodywrapper {
+    margin: 0 0 0 230px;
+}
+
+div.body {
+    background-color: #ffffff;
+    color: #000000;
+    padding: 0 20px 30px 20px;
+}
+div.bodywrapper {
+    margin: 0 230px 0 0;
+}
+
+div.footer {
+    color: #8A0808;
+    width: 100%;
+    padding: 9px 0 9px 0;
+    text-align: center;
+    font-size: 75%;
+}
+
+div.footer a {
+    color: #8A0808;
+    text-decoration: underline;
+}
+
+div.related {
+    background-color: #666666;
+    line-height: 30px;
+    color: #ffffff;
+}
+
+div.related a {
+    color: #ffffff;
+}
+
+div.sphinxsidebar {
+    float: right;
+}
+
+div.sphinxsidebar h3 {
+    font-family: 'Trebuchet MS', sans-serif;
+    color: #8A0808;
+    font-size: 1.4em;
+    font-weight: normal;
+    margin: 0;
+    padding: 0;
+}
+
+div.sphinxsidebar h3 a {
+    color: #8A0808;
+}
+
+div.sphinxsidebar h4 {
+    font-family: 'Trebuchet MS', sans-serif;
+    color: #8A0808;
+    font-size: 1.3em;
+    font-weight: normal;
+    margin: 5px 0 0 0;
+    padding: 0;
+}
+
+div.sphinxsidebar p {
+    color: #8A0808;
+}
+
+div.sphinxsidebar p.topless {
+    margin: 5px 10px 10px 10px;
+}
+
+div.sphinxsidebar ul {
+    margin: 10px;
+    padding: 0;
+    color: #8A0808;
+}
+
+div.sphinxsidebar a {
+    color: #8A0808;
+}
+
+div.sphinxsidebar input {
+    border: 1px solid #8A0808;
+    font-family: sans-serif;
+    font-size: 1em;
+}
+
+
+/* for collapsible sidebar */
+div#sidebarbutton {
+    background-color: #f2f2f2;
+}
+
+
+/* -- hyperlink styles ------------------------------------------------------ */
+
+a {
+    color: #8A0808;
+    text-decoration: none;
+}
+
+a:visited {
+    color: #8A0808;
+    text-decoration: none;
+}
+
+a:hover {
+    text-decoration: underline;
+}
+
+
+
+/* -- body styles ----------------------------------------------------------- */
+
+div.body h1,
+div.body h2,
+div.body h3,
+div.body h4,
+div.body h5,
+div.body h6 {
+    font-family: 'Trebuchet MS', sans-serif;
+    background-color: #f2f2f2;
+    font-weight: normal;
+    color: #8A0808;
+    border-bottom: 1px solid #ccc;
+    margin: 20px -20px 10px -20px;
+    padding: 3px 0 3px 10px;
+}
+
+div.body h1 { margin-top: 0; font-size: 200%; }
+div.body h2 { font-size: 160%; }
+div.body h3 { font-size: 140%; }
+div.body h4 { font-size: 120%; }
+div.body h5 { font-size: 110%; }
+div.body h6 { font-size: 100%; }
+
+a.headerlink {
+    color: #8A0808;
+    font-size: 0.8em;
+    padding: 0 4px 0 4px;
+    text-decoration: none;
+}
+
+a.headerlink:hover {
+    background-color: #8A0808;
+    color: white;
+}
+
+div.body p, div.body dd, div.body li {
+    text-align: justify;
+    line-height: 130%;
+}
+
+div.admonition p.admonition-title + p {
+    display: inline;
+}
+
+div.admonition p {
+    margin-bottom: 5px;
+}
+
+div.admonition pre {
+    margin-bottom: 5px;
+}
+
+div.admonition ul, div.admonition ol {
+    margin-bottom: 5px;
+}
+
+div.note {
+    background-color: #eee;
+    border: 1px solid #ccc;
+}
+
+div.seealso {
+    background-color: #ffc;
+    border: 1px solid #ff6;
+}
+
+div.topic {
+    background-color: #eee;
+}
+
+div.warning {
+    background-color: #ffe4e4;
+    border: 1px solid #f66;
+}
+
+p.admonition-title {
+    display: inline;
+}
+
+p.admonition-title:after {
+    content: ":";
+}
+
+pre {
+    padding: 5px;
+    background-color: #f2f2f2;
+    color: #333333;
+    line-height: 120%;
+    border: 1px solid #ac9;
+    border-left: none;
+    border-right: none;
+}
+
+tt {
+    background-color: #ecf0f3;
+    padding: 0 1px 0 1px;
+    font-size: 0.95em;
+}
+
+th {
+    background-color: #ede;
+}
+
+.warning tt {
+    background: #efc2c2;
+}
+
+.note tt {
+    background: #d6d6d6;
+}
+
+.viewcode-back {
+    font-family: sans-serif;
+}
+
+div.viewcode-block:target {
+    background-color: #f4debf;
+    border-top: 1px solid #ac9;
+    border-bottom: 1px solid #ac9;
+}

+ 13 - 13
doc/pub/tutorial/html/_static/pygments.css

@@ -1,19 +1,19 @@
 .highlight .hll { background-color: #ffffcc }
-.highlight  { background: #eeffcc; }
-.highlight .c { color: #408090; font-style: italic } /* Comment */
+.highlight  { background: #f0f0f0; }
+.highlight .c { color: #60a0b0; font-style: italic } /* Comment */
 .highlight .err { border: 1px solid #FF0000 } /* Error */
 .highlight .k { color: #007020; font-weight: bold } /* Keyword */
 .highlight .o { color: #666666 } /* Operator */
-.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
+.highlight .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
 .highlight .cp { color: #007020 } /* Comment.Preproc */
-.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
-.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
+.highlight .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
+.highlight .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
 .highlight .gd { color: #A00000 } /* Generic.Deleted */
 .highlight .ge { font-style: italic } /* Generic.Emph */
 .highlight .gr { color: #FF0000 } /* Generic.Error */
 .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
 .highlight .gi { color: #00A000 } /* Generic.Inserted */
-.highlight .go { color: #333333 } /* Generic.Output */
+.highlight .go { color: #888888 } /* Generic.Output */
 .highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
 .highlight .gs { font-weight: bold } /* Generic.Strong */
 .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
@@ -24,7 +24,7 @@
 .highlight .kp { color: #007020 } /* Keyword.Pseudo */
 .highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
 .highlight .kt { color: #902000 } /* Keyword.Type */
-.highlight .m { color: #208050 } /* Literal.Number */
+.highlight .m { color: #40a070 } /* Literal.Number */
 .highlight .s { color: #4070a0 } /* Literal.String */
 .highlight .na { color: #4070a0 } /* Name.Attribute */
 .highlight .nb { color: #007020 } /* Name.Builtin */
@@ -40,11 +40,11 @@
 .highlight .nv { color: #bb60d5 } /* Name.Variable */
 .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
 .highlight .w { color: #bbbbbb } /* Text.Whitespace */
-.highlight .mb { color: #208050 } /* Literal.Number.Bin */
-.highlight .mf { color: #208050 } /* Literal.Number.Float */
-.highlight .mh { color: #208050 } /* Literal.Number.Hex */
-.highlight .mi { color: #208050 } /* Literal.Number.Integer */
-.highlight .mo { color: #208050 } /* Literal.Number.Oct */
+.highlight .mb { color: #40a070 } /* Literal.Number.Bin */
+.highlight .mf { color: #40a070 } /* Literal.Number.Float */
+.highlight .mh { color: #40a070 } /* Literal.Number.Hex */
+.highlight .mi { color: #40a070 } /* Literal.Number.Integer */
+.highlight .mo { color: #40a070 } /* Literal.Number.Oct */
 .highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
 .highlight .sc { color: #4070a0 } /* Literal.String.Char */
 .highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
@@ -60,4 +60,4 @@
 .highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
 .highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
 .highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
-.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */
+.highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */

+ 151 - 0
doc/pub/tutorial/html/_static/sidebar.js

@@ -0,0 +1,151 @@
+/*
+ * sidebar.js
+ * ~~~~~~~~~~
+ *
+ * This script makes the Sphinx sidebar collapsible.
+ *
+ * .sphinxsidebar contains .sphinxsidebarwrapper.  This script adds
+ * in .sphixsidebar, after .sphinxsidebarwrapper, the #sidebarbutton
+ * used to collapse and expand the sidebar.
+ *
+ * When the sidebar is collapsed the .sphinxsidebarwrapper is hidden
+ * and the width of the sidebar and the margin-left of the document
+ * are decreased. When the sidebar is expanded the opposite happens.
+ * This script saves a per-browser/per-session cookie used to
+ * remember the position of the sidebar among the pages.
+ * Once the browser is closed the cookie is deleted and the position
+ * reset to the default (expanded).
+ *
+ * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
+ * :license: BSD, see LICENSE for details.
+ *
+ */
+
+$(function() {
+  // global elements used by the functions.
+  // the 'sidebarbutton' element is defined as global after its
+  // creation, in the add_sidebar_button function
+  var bodywrapper = $('.bodywrapper');
+  var sidebar = $('.sphinxsidebar');
+  var sidebarwrapper = $('.sphinxsidebarwrapper');
+
+  // for some reason, the document has no sidebar; do not run into errors
+  if (!sidebar.length) return;
+
+  // original margin-left of the bodywrapper and width of the sidebar
+  // with the sidebar expanded
+  var bw_margin_expanded = bodywrapper.css('margin-left');
+  var ssb_width_expanded = sidebar.width();
+
+  // margin-left of the bodywrapper and width of the sidebar
+  // with the sidebar collapsed
+  var bw_margin_collapsed = '.8em';
+  var ssb_width_collapsed = '.8em';
+
+  // colors used by the current theme
+  var dark_color = $('.related').css('background-color');
+  var light_color = $('.document').css('background-color');
+
+  function sidebar_is_collapsed() {
+    return sidebarwrapper.is(':not(:visible)');
+  }
+
+  function toggle_sidebar() {
+    if (sidebar_is_collapsed())
+      expand_sidebar();
+    else
+      collapse_sidebar();
+  }
+
+  function collapse_sidebar() {
+    sidebarwrapper.hide();
+    sidebar.css('width', ssb_width_collapsed);
+    bodywrapper.css('margin-left', bw_margin_collapsed);
+    sidebarbutton.css({
+        'margin-left': '0',
+        'height': bodywrapper.height()
+    });
+    sidebarbutton.find('span').text('»');
+    sidebarbutton.attr('title', _('Expand sidebar'));
+    document.cookie = 'sidebar=collapsed';
+  }
+
+  function expand_sidebar() {
+    bodywrapper.css('margin-left', bw_margin_expanded);
+    sidebar.css('width', ssb_width_expanded);
+    sidebarwrapper.show();
+    sidebarbutton.css({
+        'margin-left': ssb_width_expanded-12,
+        'height': bodywrapper.height()
+    });
+    sidebarbutton.find('span').text('«');
+    sidebarbutton.attr('title', _('Collapse sidebar'));
+    document.cookie = 'sidebar=expanded';
+  }
+
+  function add_sidebar_button() {
+    sidebarwrapper.css({
+        'float': 'left',
+        'margin-right': '0',
+        'width': ssb_width_expanded - 28
+    });
+    // create the button
+    sidebar.append(
+        '<div id="sidebarbutton"><span>&laquo;</span></div>'
+    );
+    var sidebarbutton = $('#sidebarbutton');
+    light_color = sidebarbutton.css('background-color');
+    // find the height of the viewport to center the '<<' in the page
+    var viewport_height;
+    if (window.innerHeight)
+ 	  viewport_height = window.innerHeight;
+    else
+	  viewport_height = $(window).height();
+    sidebarbutton.find('span').css({
+        'display': 'block',
+        'margin-top': (viewport_height - sidebar.position().top - 20) / 2
+    });
+
+    sidebarbutton.click(toggle_sidebar);
+    sidebarbutton.attr('title', _('Collapse sidebar'));
+    sidebarbutton.css({
+        'color': '#FFFFFF',
+        'border-left': '1px solid ' + dark_color,
+        'font-size': '1.2em',
+        'cursor': 'pointer',
+        'height': bodywrapper.height(),
+        'padding-top': '1px',
+        'margin-left': ssb_width_expanded - 12
+    });
+
+    sidebarbutton.hover(
+      function () {
+          $(this).css('background-color', dark_color);
+      },
+      function () {
+          $(this).css('background-color', light_color);
+      }
+    );
+  }
+
+  function set_position_from_cookie() {
+    if (!document.cookie)
+      return;
+    var items = document.cookie.split(';');
+    for(var k=0; k<items.length; k++) {
+      var key_val = items[k].split('=');
+      var key = key_val[0];
+      if (key == 'sidebar') {
+        var value = key_val[1];
+        if ((value == 'collapsed') && (!sidebar_is_collapsed()))
+          collapse_sidebar();
+        else if ((value == 'expanded') && (sidebar_is_collapsed()))
+          expand_sidebar();
+      }
+    }
+  }
+
+  add_sidebar_button();
+  var sidebarbutton = $('#sidebarbutton');
+  set_position_from_cookie();
+});

+ 36 - 24
doc/pub/tutorial/html/genindex.html

@@ -1,4 +1,5 @@
 
+
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
@@ -9,7 +10,7 @@
     
     <title>Index</title>
     
-    <link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
+    <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     
     <script type="text/javascript">
@@ -25,6 +26,7 @@
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
     <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
+    <script type="text/javascript" src="_static/sidebar.js"></script>
 
         <script src="http://sagecell.sagemath.org/static/jquery.min.js"></script>
         <script src="http://sagecell.sagemath.org/static/embedded_sagecell.js"></script>
@@ -43,11 +45,7 @@
 
     
     <link rel="top" title="Pysketcher: Create Principal Sketches of Physics Problems" href="index.html" />
-
-   
-  
-  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
-
+ 
   
        <style type="text/css">
          div.admonition {
@@ -57,7 +55,16 @@
        </style>
       </head>
     
-  <body role="document">  
+  <body role="document">
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="#" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="nav-item nav-item-0"><a href="index.html">Pysketcher: Create Principal Sketches of Physics Problems</a> &raquo;</li> 
+      </ul>
+    </div>  
 
     <div class="document">
       <div class="documentwrapper">
@@ -99,14 +106,13 @@
       </div>
       <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
         <div class="sphinxsidebarwrapper">
+            <center>
+            <p class="logo"><a href="http://cbc.simula.no/" title="Go to Center for Biomedical Computing">
+              <img class="logo" src="_static/cbc_logo.png" alt="Logo"/>
+            </a></p>
+            </center>
 
-   <div class="relations">
-<h3>Related Topics</h3>
-<ul>
-  <li><a href="index.html">Documentation overview</a><ul>
-  </ul></li>
-</ul>
-</div>
+   
 
 <div id="searchbox" style="display: none" role="search">
   <h3>Quick search</h3>
@@ -125,17 +131,23 @@
       </div>
       <div class="clearer"></div>
     </div>
-    <div class="footer">
-      &copy;2015, Hans Petter Langtangen.
-      
-      |
-      Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4a0+</a>
-      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.6</a>
-      
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="#" title="General Index"
+             >index</a></li>
+        <li class="nav-item nav-item-0"><a href="index.html">Pysketcher: Create Principal Sketches of Physics Problems</a> &raquo;</li> 
+      </ul>
     </div>
+<div class="wrapper">
+  <div class="footer">
+    <a href="http://cbc.simula.no"><img src="_static/cbc_banner.png" width="100%"><a>
+    <br />
+    <br />
+      &copy;2015, Hans Petter Langtangen.
+  </div>
+</div>
 
-    
-
-    
   </body>
 </html>

+ 48 - 31
doc/pub/tutorial/html/index.html

@@ -1,3 +1,4 @@
+
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
@@ -8,7 +9,7 @@
     
     <title>Pysketcher: Create Principal Sketches of Physics Problems</title>
     
-    <link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
+    <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     
     <script type="text/javascript">
@@ -24,6 +25,7 @@
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
     <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
+    <script type="text/javascript" src="_static/sidebar.js"></script>
 
         <script src="http://sagecell.sagemath.org/static/jquery.min.js"></script>
         <script src="http://sagecell.sagemath.org/static/embedded_sagecell.js"></script>
@@ -43,11 +45,7 @@
     
     <link rel="top" title="Pysketcher: Create Principal Sketches of Physics Problems" href="#" />
     <link rel="next" title="Pysketcher: Create Principal Sketches of Physics Problems" href="main_sketcher.html" />
-
-   
-  
-  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
-
+ 
   
        <style type="text/css">
          div.admonition {
@@ -57,7 +55,19 @@
        </style>
       </head>
     
-  <body role="document">  
+  <body role="document">
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="main_sketcher.html" title="Pysketcher: Create Principal Sketches of Physics Problems"
+             accesskey="N">next</a> |</li>
+        <li class="nav-item nav-item-0"><a href="#">Pysketcher: Create Principal Sketches of Physics Problems</a> &raquo;</li> 
+      </ul>
+    </div>  
 
     <div class="document">
       <div class="documentwrapper">
@@ -70,9 +80,9 @@
 <div class="toctree-wrapper compound">
 <ul>
 <li class="toctree-l1"><a class="reference internal" href="main_sketcher.html">Pysketcher: Create Principal Sketches of Physics Problems</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="main_sketcher.html#a-first-glimpse-of-pysketcher">A First Glimpse of Pysketcher</a></li>
-<li class="toctree-l2"><a class="reference internal" href="main_sketcher.html#basic-shapes">Basic Shapes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="main_sketcher.html#inner-workings-of-the-pysketcher-tool">Inner Workings of the Pysketcher Tool</a></li>
+<li class="toctree-l2"><a class="reference internal" href="main_sketcher.html#a-first-glimpse-of-pysketcher">A first glimpse of Pysketcher</a></li>
+<li class="toctree-l2"><a class="reference internal" href="main_sketcher.html#basic-shapes">Basic shapes</a></li>
+<li class="toctree-l2"><a class="reference internal" href="main_sketcher.html#inner-workings-of-the-pysketcher-tool">Inner workings of the Pysketcher tool</a></li>
 </ul>
 </li>
 </ul>
@@ -91,19 +101,20 @@
       </div>
       <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
         <div class="sphinxsidebarwrapper">
+            <center>
+            <p class="logo"><a href="http://cbc.simula.no/" title="Go to Center for Biomedical Computing">
+              <img class="logo" src="_static/cbc_logo.png" alt="Logo"/>
+            </a></p>
+            </center>
   <h3><a href="#">Table Of Contents</a></h3>
   <ul>
 <li><a class="reference internal" href="#">Pysketcher: Create Principal Sketches of Physics Problems</a></li>
 <li><a class="reference internal" href="#index">Index</a></li>
 </ul>
-<div class="relations">
-<h3>Related Topics</h3>
-<ul>
-  <li><a href="#">Documentation overview</a><ul>
-      <li>Next: <a href="main_sketcher.html" title="next chapter">Pysketcher: Create Principal Sketches of Physics Problems</a></li>
-  </ul></li>
-</ul>
-</div>
+
+  <h4>Next topic</h4>
+  <p class="topless"><a href="main_sketcher.html"
+                        title="next chapter">Pysketcher: Create Principal Sketches of Physics Problems</a></p>
   <div role="note" aria-label="source link">
     <h3>This Page</h3>
     <ul class="this-page-menu">
@@ -128,20 +139,26 @@
       </div>
       <div class="clearer"></div>
     </div>
-    <div class="footer">
-      &copy;2015, Hans Petter Langtangen.
-      
-      |
-      Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4a0+</a>
-      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.6</a>
-      
-      |
-      <a href="_sources/index.txt"
-          rel="nofollow">Page source</a>
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="main_sketcher.html" title="Pysketcher: Create Principal Sketches of Physics Problems"
+             >next</a> |</li>
+        <li class="nav-item nav-item-0"><a href="#">Pysketcher: Create Principal Sketches of Physics Problems</a> &raquo;</li> 
+      </ul>
     </div>
+<div class="wrapper">
+  <div class="footer">
+    <a href="http://cbc.simula.no"><img src="_static/cbc_banner.png" width="100%"><a>
+    <br />
+    <br />
+      &copy;2015, Hans Petter Langtangen.
+  </div>
+</div>
 
-    
-
-    
   </body>
 </html>

+ 84 - 67
doc/pub/tutorial/html/main_sketcher.html

@@ -1,3 +1,4 @@
+
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
@@ -8,7 +9,7 @@
     
     <title>Pysketcher: Create Principal Sketches of Physics Problems</title>
     
-    <link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
+    <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     
     <script type="text/javascript">
@@ -24,6 +25,7 @@
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
     <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
+    <script type="text/javascript" src="_static/sidebar.js"></script>
 
         <script src="http://sagecell.sagemath.org/static/jquery.min.js"></script>
         <script src="http://sagecell.sagemath.org/static/embedded_sagecell.js"></script>
@@ -43,11 +45,7 @@
     
     <link rel="top" title="Pysketcher: Create Principal Sketches of Physics Problems" href="index.html" />
     <link rel="prev" title="Pysketcher: Create Principal Sketches of Physics Problems" href="index.html" />
-
-   
-  
-  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
-
+ 
   
        <style type="text/css">
          div.admonition {
@@ -57,7 +55,19 @@
        </style>
       </head>
     
-  <body role="document">  
+  <body role="document">
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="index.html" title="Pysketcher: Create Principal Sketches of Physics Problems"
+             accesskey="P">previous</a> |</li>
+        <li class="nav-item nav-item-0"><a href="index.html">Pysketcher: Create Principal Sketches of Physics Problems</a> &raquo;</li> 
+      </ul>
+    </div>  
 
     <div class="document">
       <div class="documentwrapper">
@@ -95,7 +105,7 @@ since distances are specified in computer code.</p>
 essential Python programming and a knowledge about mechanics problems,
 no further background is required.</p>
 <div class="section" id="a-first-glimpse-of-pysketcher">
-<h2>A First Glimpse of Pysketcher<a class="headerlink" href="#a-first-glimpse-of-pysketcher" title="Permalink to this headline">¶</a></h2>
+<h2>A first glimpse of Pysketcher<a class="headerlink" href="#a-first-glimpse-of-pysketcher" title="Permalink to this headline">¶</a></h2>
 <p>Formulation of physical problems makes heavy use of <em>principal sketches</em>
 such as the one in Figure <a class="reference internal" href="#sketcher-fig-inclinedplane"><span class="std std-ref">Sketch of a physics problem</span></a>.
 This particular sketch illustrates the classical mechanics problem
@@ -122,7 +132,7 @@ the mantra of this section.</p>
 <p class="caption"><span class="caption-text"><em>Sketch of a physics problem</em></span></p>
 </div>
 <div class="section" id="basic-construction-of-sketches">
-<h3>Basic Construction of Sketches<a class="headerlink" href="#basic-construction-of-sketches" title="Permalink to this headline">¶</a></h3>
+<h3>Basic construction of sketches<a class="headerlink" href="#basic-construction-of-sketches" title="Permalink to this headline">¶</a></h3>
 <p>Before attacking real-life sketches as in Figure <a class="reference internal" href="#sketcher-fig-inclinedplane"><span class="std std-ref">Sketch of a physics problem</span></a>
 we focus on the significantly simpler drawing shown
 in Figure <a class="reference internal" href="#sketcher-fig-vehicle0"><span class="std std-ref">Sketch of a simple figure</span></a>.  This toy sketch consists of
@@ -151,7 +161,7 @@ physics and engineering, but then a program must define the geometry.</p>
 <p class="caption"><span class="caption-text"><em>Redrawing a figure with other geometric parameters</em></span></p>
 </div>
 <div class="section" id="basic-drawing">
-<h4>Basic Drawing<a class="headerlink" href="#basic-drawing" title="Permalink to this headline">¶</a></h4>
+<h4>Basic drawing<a class="headerlink" href="#basic-drawing" title="Permalink to this headline">¶</a></h4>
 <p>A typical program creating these five elements is shown next.
 After importing the <code class="docutils literal"><span class="pre">pysketcher</span></code> package, the first task is always to
 define a coordinate system:</p>
@@ -208,7 +218,7 @@ displacement vector <span class="math">\((L,0)\)</span>:</p>
 </div>
 </div>
 <div class="section" id="groups-of-objects">
-<h4>Groups of Objects<a class="headerlink" href="#groups-of-objects" title="Permalink to this headline">¶</a></h4>
+<h4>Groups of objects<a class="headerlink" href="#groups-of-objects" title="Permalink to this headline">¶</a></h4>
 <p>Instead of calling the <code class="docutils literal"><span class="pre">draw</span></code> method of every object, we can
 group objects and call <code class="docutils literal"><span class="pre">draw</span></code>, or perform other operations, for
 the whole group. For example, we may collect the two wheels
@@ -248,7 +258,7 @@ figure elements,
 and call <code class="docutils literal"><span class="pre">draw</span></code> for every object.</p>
 </div>
 <div class="section" id="changing-line-styles-and-colors">
-<h4>Changing Line Styles and Colors<a class="headerlink" href="#changing-line-styles-and-colors" title="Permalink to this headline">¶</a></h4>
+<h4>Changing line styles and colors<a class="headerlink" href="#changing-line-styles-and-colors" title="Permalink to this headline">¶</a></h4>
 <p>Controlling the line style, line color, and line width is
 fundamental when designing figures. The <code class="docutils literal"><span class="pre">pysketcher</span></code>
 package allows the user to control such properties in
@@ -281,7 +291,7 @@ special visual pattern:</p>
 </div>
 </div>
 <div class="section" id="the-figure-composition-as-an-object-hierarchy">
-<h4>The Figure Composition as an Object Hierarchy<a class="headerlink" href="#the-figure-composition-as-an-object-hierarchy" title="Permalink to this headline">¶</a></h4>
+<h4>The figure composition as an object hierarchy<a class="headerlink" href="#the-figure-composition-as-an-object-hierarchy" title="Permalink to this headline">¶</a></h4>
 <p>The composition of objects making up the figure
 is hierarchical, similar to a family, where
 each object has a parent and a number of children. Do a
@@ -405,7 +415,7 @@ The result of the actions above is shown in Figure <a class="reference internal"
 animations, as shown next.</p>
 </div>
 <div class="section" id="animation-translating-the-vehicle">
-<h4>Animation: Translating the Vehicle<a class="headerlink" href="#animation-translating-the-vehicle" title="Permalink to this headline">¶</a></h4>
+<h4>Animation: translating the vehicle<a class="headerlink" href="#animation-translating-the-vehicle" title="Permalink to this headline">¶</a></h4>
 <p>Can we make our little vehicle roll? A first attempt will be to
 fake rolling by just displacing all parts of the vehicle.
 The relevant parts constitute the <code class="docutils literal"><span class="pre">fig['vehicle']</span></code> object.
@@ -506,7 +516,7 @@ then load <code class="docutils literal"><span class="pre">mov.html</span></code
 video files.  Alternatively, you can view a ready-made <a class="reference external" href="http://tinyurl.com/oou9lp7/mov-tut/vehicle0.html">movie</a>.</p>
 </div>
 <div class="section" id="animation-rolling-the-wheels">
-<span id="sketcher-vehicle1-anim"></span><h4>Animation: Rolling the Wheels<a class="headerlink" href="#animation-rolling-the-wheels" title="Permalink to this headline">¶</a></h4>
+<span id="sketcher-vehicle1-anim"></span><h4>Animation: rolling the wheels<a class="headerlink" href="#animation-rolling-the-wheels" title="Permalink to this headline">¶</a></h4>
 <p>It is time to show rolling wheels. To this end, we add spokes to the
 wheels, formed by two crossing lines, see Figure <a class="reference internal" href="#sketcher-fig-vehicle1"><span class="std std-ref">Wheels with spokes to illustrate rolling</span></a>.
 The construction of the wheels will now involve a circle and two lines:</p>
@@ -586,7 +596,7 @@ coming from physics simulations of the problem, as shown in the example above.</
 </div>
 </div>
 <div class="section" id="basic-shapes">
-<h2>Basic Shapes<a class="headerlink" href="#basic-shapes" title="Permalink to this headline">¶</a></h2>
+<h2>Basic shapes<a class="headerlink" href="#basic-shapes" title="Permalink to this headline">¶</a></h2>
 <p>This section presents many of the basic shapes in Pysketcher:
 <code class="docutils literal"><span class="pre">Axis</span></code>, <code class="docutils literal"><span class="pre">Distance_wText</span></code>, <code class="docutils literal"><span class="pre">Rectangle</span></code>,    <code class="docutils literal"><span class="pre">Triangle</span></code>, <code class="docutils literal"><span class="pre">Arc</span></code>,
 <code class="docutils literal"><span class="pre">Spring</span></code>, <code class="docutils literal"><span class="pre">Dashpot</span></code>, and <code class="docutils literal"><span class="pre">Wavy</span></code>.
@@ -644,7 +654,7 @@ rotation:</p>
 </div>
 </div>
 <div class="section" id="distance-with-text">
-<h3>Distance with Text<a class="headerlink" href="#distance-with-text" title="Permalink to this headline">¶</a></h3>
+<h3>Distance with text<a class="headerlink" href="#distance-with-text" title="Permalink to this headline">¶</a></h3>
 <p>The object <code class="docutils literal"><span class="pre">Distance_wText</span></code> is used to display an arrow, to indicate
 a distance in a sketch, with an additional text in the middle of the arrow.</p>
 <p>The figure</p>
@@ -929,7 +939,7 @@ are stored in the arrays <code class="docutils literal"><span class="pre">curve.
 </div>
 </div>
 <div class="section" id="inner-workings-of-the-pysketcher-tool">
-<h2>Inner Workings of the Pysketcher Tool<a class="headerlink" href="#inner-workings-of-the-pysketcher-tool" title="Permalink to this headline">¶</a></h2>
+<h2>Inner workings of the Pysketcher tool<a class="headerlink" href="#inner-workings-of-the-pysketcher-tool" title="Permalink to this headline">¶</a></h2>
 <p>We shall now explain how we can, quite easily, realize software with
 the capabilities demonstrated in the previous examples. Each object in
 the figure is represented as a class in a class hierarchy. Using
@@ -947,13 +957,13 @@ topic is of key relevance in a wide range of other applications as
 well. In total, the inner workings of Pysketcher constitute an
 excellent example on the power of class programming.</p>
 <div class="section" id="example-of-classes-for-geometric-objects">
-<h3>Example of Classes for Geometric Objects<a class="headerlink" href="#example-of-classes-for-geometric-objects" title="Permalink to this headline">¶</a></h3>
+<h3>Example of classes for geometric objects<a class="headerlink" href="#example-of-classes-for-geometric-objects" title="Permalink to this headline">¶</a></h3>
 <p>We introduce class <code class="docutils literal"><span class="pre">Shape</span></code> as superclass for all specialized objects
 in a figure. This class does not store any data, but provides a
 series of functions that add functionality to all the subclasses.
 This will be shown later.</p>
 <div class="section" id="simple-geometric-objects">
-<h4>Simple Geometric Objects<a class="headerlink" href="#simple-geometric-objects" title="Permalink to this headline">¶</a></h4>
+<h4>Simple geometric objects<a class="headerlink" href="#simple-geometric-objects" title="Permalink to this headline">¶</a></h4>
 <p>One simple subclass is <code class="docutils literal"><span class="pre">Rectangle</span></code>, specified by the coordinates of
 the lower left corner and its width and height:</p>
 <div class="highlight-python"><div class="highlight"><pre><span class="k">class</span> <span class="nc">Rectangle</span><span class="p">(</span><span class="n">Shape</span><span class="p">):</span>
@@ -1070,7 +1080,7 @@ a subclass specializing the arc to a circle:</p>
 </div>
 </div>
 <div class="section" id="class-curve">
-<h4>Class Curve<a class="headerlink" href="#class-curve" title="Permalink to this headline">¶</a></h4>
+<h4>Class curve<a class="headerlink" href="#class-curve" title="Permalink to this headline">¶</a></h4>
 <p>Class <code class="docutils literal"><span class="pre">Curve</span></code> sits on the coordinates to be drawn, but how is that
 done? The constructor of class <code class="docutils literal"><span class="pre">Curve</span></code> just stores the coordinates,
 while a method <code class="docutils literal"><span class="pre">draw</span></code> sends the coordinates to the plotting program to
@@ -1125,7 +1135,7 @@ store the information and send it to the plotting program.</p>
 </div>
 </div>
 <div class="section" id="compound-geometric-objects">
-<h4>Compound Geometric Objects<a class="headerlink" href="#compound-geometric-objects" title="Permalink to this headline">¶</a></h4>
+<h4>Compound geometric objects<a class="headerlink" href="#compound-geometric-objects" title="Permalink to this headline">¶</a></h4>
 <p>The simple classes <code class="docutils literal"><span class="pre">Line</span></code>, <code class="docutils literal"><span class="pre">Arc</span></code>, and <code class="docutils literal"><span class="pre">Circle</span></code> could can the geometric
 shape through just one <code class="docutils literal"><span class="pre">Curve</span></code> object. More complicated shapes are
 built from instances of various subclasses of <code class="docutils literal"><span class="pre">Shape</span></code>. Classes used
@@ -1205,7 +1215,7 @@ drawings of mechanical systems.</p>
 </div>
 </div>
 <div class="section" id="adding-functionality-via-recursion">
-<h3>Adding Functionality via Recursion<a class="headerlink" href="#adding-functionality-via-recursion" title="Permalink to this headline">¶</a></h3>
+<h3>Adding functionality via recursion<a class="headerlink" href="#adding-functionality-via-recursion" title="Permalink to this headline">¶</a></h3>
 <p id="index-1">The really powerful feature of our class hierarchy is that we can add
 much functionality to the superclass <code class="docutils literal"><span class="pre">Shape</span></code> and to the &#8220;bottom&#8221; class
 <code class="docutils literal"><span class="pre">Curve</span></code>, and then all other classes for various types of geometrical shapes
@@ -1215,7 +1225,7 @@ hierarchy must have. The inner workings of the <code class="docutils literal"><s
 the secrets of how a series of other useful operations on figures
 can be implemented.</p>
 <div class="section" id="basic-principles-of-recursion">
-<h4>Basic Principles of Recursion<a class="headerlink" href="#basic-principles-of-recursion" title="Permalink to this headline">¶</a></h4>
+<h4>Basic principles of recursion<a class="headerlink" href="#basic-principles-of-recursion" title="Permalink to this headline">¶</a></h4>
 <p>Note that we work with two types of hierarchies in the
 present documentation: one Python <em>class hierarchy</em>,
 with <code class="docutils literal"><span class="pre">Shape</span></code> as superclass, and one <em>object hierarchy</em> of figure elements
@@ -1270,7 +1280,7 @@ behavior with respect to drawing. Only the <code class="docutils literal"><span
 <code class="docutils literal"><span class="pre">draw</span></code> method, which does not lead to more recursion.</p>
 </div>
 <div class="section" id="explaining-recursion">
-<h4>Explaining Recursion<a class="headerlink" href="#explaining-recursion" title="Permalink to this headline">¶</a></h4>
+<h4>Explaining recursion<a class="headerlink" href="#explaining-recursion" title="Permalink to this headline">¶</a></h4>
 <p>Understanding recursion is usually a challenge. To get a better idea of
 how recursion works, we have equipped class <code class="docutils literal"><span class="pre">Shape</span></code> with a method <code class="docutils literal"><span class="pre">recurse</span></code>
 that just visits all the objects in the <code class="docutils literal"><span class="pre">shapes</span></code> dictionary and prints
@@ -1386,7 +1396,7 @@ of calls with that object as root.</p>
 </div>
 </div>
 <div class="section" id="scaling-translating-and-rotating-a-figure">
-<span id="sketcher-scaling"></span><h3>Scaling, Translating, and Rotating a Figure<a class="headerlink" href="#scaling-translating-and-rotating-a-figure" title="Permalink to this headline">¶</a></h3>
+<span id="sketcher-scaling"></span><h3>Scaling, translating, and rotating a figure<a class="headerlink" href="#scaling-translating-and-rotating-a-figure" title="Permalink to this headline">¶</a></h3>
 <p>With recursion, as explained in the previous section, we can within
 minutes equip <em>all</em> classes in the <code class="docutils literal"><span class="pre">Shape</span></code> hierarchy, both present and
 future ones, with the ability to scale the figure, translate it,
@@ -1504,7 +1514,7 @@ is given in degrees and not in radians, becomes</p>
 <p>The <code class="docutils literal"><span class="pre">rotate</span></code> method in class <code class="docutils literal"><span class="pre">Shape</span></code> follows the principle of the
 <code class="docutils literal"><span class="pre">draw</span></code>, <code class="docutils literal"><span class="pre">scale</span></code>, and <code class="docutils literal"><span class="pre">translate</span></code> methods.</p>
 <p>We have already seen the <code class="docutils literal"><span class="pre">rotate</span></code> method in action when animating the
-rolling wheel at the end of the section <a class="reference internal" href="#sketcher-vehicle1-anim"><span class="std std-ref">Animation: Rolling the Wheels</span></a>.</p>
+rolling wheel at the end of the section <a class="reference internal" href="#sketcher-vehicle1-anim"><span class="std std-ref">Animation: rolling the wheels</span></a>.</p>
 </div>
 </div>
 </div>
@@ -1516,24 +1526,29 @@ rolling wheel at the end of the section <a class="reference internal" href="#ske
       </div>
       <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
         <div class="sphinxsidebarwrapper">
+            <center>
+            <p class="logo"><a href="http://cbc.simula.no/" title="Go to Center for Biomedical Computing">
+              <img class="logo" src="_static/cbc_logo.png" alt="Logo"/>
+            </a></p>
+            </center>
   <h3><a href="index.html">Table Of Contents</a></h3>
   <ul>
 <li><a class="reference internal" href="#">Pysketcher: Create Principal Sketches of Physics Problems</a><ul>
-<li><a class="reference internal" href="#a-first-glimpse-of-pysketcher">A First Glimpse of Pysketcher</a><ul>
-<li><a class="reference internal" href="#basic-construction-of-sketches">Basic Construction of Sketches</a><ul>
-<li><a class="reference internal" href="#basic-drawing">Basic Drawing</a></li>
-<li><a class="reference internal" href="#groups-of-objects">Groups of Objects</a></li>
-<li><a class="reference internal" href="#changing-line-styles-and-colors">Changing Line Styles and Colors</a></li>
-<li><a class="reference internal" href="#the-figure-composition-as-an-object-hierarchy">The Figure Composition as an Object Hierarchy</a></li>
-<li><a class="reference internal" href="#animation-translating-the-vehicle">Animation: Translating the Vehicle</a></li>
-<li><a class="reference internal" href="#animation-rolling-the-wheels">Animation: Rolling the Wheels</a></li>
+<li><a class="reference internal" href="#a-first-glimpse-of-pysketcher">A first glimpse of Pysketcher</a><ul>
+<li><a class="reference internal" href="#basic-construction-of-sketches">Basic construction of sketches</a><ul>
+<li><a class="reference internal" href="#basic-drawing">Basic drawing</a></li>
+<li><a class="reference internal" href="#groups-of-objects">Groups of objects</a></li>
+<li><a class="reference internal" href="#changing-line-styles-and-colors">Changing line styles and colors</a></li>
+<li><a class="reference internal" href="#the-figure-composition-as-an-object-hierarchy">The figure composition as an object hierarchy</a></li>
+<li><a class="reference internal" href="#animation-translating-the-vehicle">Animation: translating the vehicle</a></li>
+<li><a class="reference internal" href="#animation-rolling-the-wheels">Animation: rolling the wheels</a></li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference internal" href="#basic-shapes">Basic Shapes</a><ul>
+<li><a class="reference internal" href="#basic-shapes">Basic shapes</a><ul>
 <li><a class="reference internal" href="#axis">Axis</a></li>
-<li><a class="reference internal" href="#distance-with-text">Distance with Text</a></li>
+<li><a class="reference internal" href="#distance-with-text">Distance with text</a></li>
 <li><a class="reference internal" href="#rectangle">Rectangle</a></li>
 <li><a class="reference internal" href="#triangle">Triangle</a></li>
 <li><a class="reference internal" href="#arc">Arc</a></li>
@@ -1543,19 +1558,19 @@ rolling wheel at the end of the section <a class="reference internal" href="#ske
 <li><a class="reference internal" href="#stochastic-curves">Stochastic curves</a></li>
 </ul>
 </li>
-<li><a class="reference internal" href="#inner-workings-of-the-pysketcher-tool">Inner Workings of the Pysketcher Tool</a><ul>
-<li><a class="reference internal" href="#example-of-classes-for-geometric-objects">Example of Classes for Geometric Objects</a><ul>
-<li><a class="reference internal" href="#simple-geometric-objects">Simple Geometric Objects</a></li>
-<li><a class="reference internal" href="#class-curve">Class Curve</a></li>
-<li><a class="reference internal" href="#compound-geometric-objects">Compound Geometric Objects</a></li>
+<li><a class="reference internal" href="#inner-workings-of-the-pysketcher-tool">Inner workings of the Pysketcher tool</a><ul>
+<li><a class="reference internal" href="#example-of-classes-for-geometric-objects">Example of classes for geometric objects</a><ul>
+<li><a class="reference internal" href="#simple-geometric-objects">Simple geometric objects</a></li>
+<li><a class="reference internal" href="#class-curve">Class curve</a></li>
+<li><a class="reference internal" href="#compound-geometric-objects">Compound geometric objects</a></li>
 </ul>
 </li>
-<li><a class="reference internal" href="#adding-functionality-via-recursion">Adding Functionality via Recursion</a><ul>
-<li><a class="reference internal" href="#basic-principles-of-recursion">Basic Principles of Recursion</a></li>
-<li><a class="reference internal" href="#explaining-recursion">Explaining Recursion</a></li>
+<li><a class="reference internal" href="#adding-functionality-via-recursion">Adding functionality via recursion</a><ul>
+<li><a class="reference internal" href="#basic-principles-of-recursion">Basic principles of recursion</a></li>
+<li><a class="reference internal" href="#explaining-recursion">Explaining recursion</a></li>
 </ul>
 </li>
-<li><a class="reference internal" href="#scaling-translating-and-rotating-a-figure">Scaling, Translating, and Rotating a Figure</a><ul>
+<li><a class="reference internal" href="#scaling-translating-and-rotating-a-figure">Scaling, translating, and rotating a figure</a><ul>
 <li><a class="reference internal" href="#scaling">Scaling</a></li>
 <li><a class="reference internal" href="#translation">Translation</a></li>
 <li><a class="reference internal" href="#rotation">Rotation</a></li>
@@ -1566,14 +1581,10 @@ rolling wheel at the end of the section <a class="reference internal" href="#ske
 </ul>
 </li>
 </ul>
-<div class="relations">
-<h3>Related Topics</h3>
-<ul>
-  <li><a href="index.html">Documentation overview</a><ul>
-      <li>Previous: <a href="index.html" title="previous chapter">Pysketcher: Create Principal Sketches of Physics Problems</a></li>
-  </ul></li>
-</ul>
-</div>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="index.html"
+                        title="previous chapter">Pysketcher: Create Principal Sketches of Physics Problems</a></p>
   <div role="note" aria-label="source link">
     <h3>This Page</h3>
     <ul class="this-page-menu">
@@ -1598,20 +1609,26 @@ rolling wheel at the end of the section <a class="reference internal" href="#ske
       </div>
       <div class="clearer"></div>
     </div>
-    <div class="footer">
-      &copy;2015, Hans Petter Langtangen.
-      
-      |
-      Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4a0+</a>
-      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.6</a>
-      
-      |
-      <a href="_sources/main_sketcher.txt"
-          rel="nofollow">Page source</a>
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="index.html" title="Pysketcher: Create Principal Sketches of Physics Problems"
+             >previous</a> |</li>
+        <li class="nav-item nav-item-0"><a href="index.html">Pysketcher: Create Principal Sketches of Physics Problems</a> &raquo;</li> 
+      </ul>
     </div>
+<div class="wrapper">
+  <div class="footer">
+    <a href="http://cbc.simula.no"><img src="_static/cbc_banner.png" width="100%"><a>
+    <br />
+    <br />
+      &copy;2015, Hans Petter Langtangen.
+  </div>
+</div>
 
-    
-
-    
   </body>
 </html>

BIN
doc/pub/tutorial/html/objects.inv


+ 35 - 23
doc/pub/tutorial/html/search.html

@@ -1,3 +1,4 @@
+
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
@@ -8,7 +9,7 @@
     
     <title>Search</title>
     
-    <link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
+    <link rel="stylesheet" href="_static/default.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     
     <script type="text/javascript">
@@ -25,6 +26,7 @@
     <script type="text/javascript" src="_static/doctools.js"></script>
     <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
     <script type="text/javascript" src="_static/searchtools.js"></script>
+    <script type="text/javascript" src="_static/sidebar.js"></script>
 
         <script src="http://sagecell.sagemath.org/static/jquery.min.js"></script>
         <script src="http://sagecell.sagemath.org/static/embedded_sagecell.js"></script>
@@ -49,11 +51,7 @@
   </script>
   
   <script type="text/javascript" id="searchindexloader"></script>
-  
    
-  
-  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
-
 
   
        <style type="text/css">
@@ -64,7 +62,16 @@
        </style>
       </head>
     
-  <body role="document">  
+  <body role="document">
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="nav-item nav-item-0"><a href="index.html">Pysketcher: Create Principal Sketches of Physics Problems</a> &raquo;</li> 
+      </ul>
+    </div>  
 
     <div class="document">
       <div class="documentwrapper">
@@ -99,28 +106,33 @@
         </div>
       </div>
       <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
-        <div class="sphinxsidebarwrapper"><div class="relations">
-<h3>Related Topics</h3>
-<ul>
-  <li><a href="index.html">Documentation overview</a><ul>
-  </ul></li>
-</ul>
-</div>
+        <div class="sphinxsidebarwrapper">
+            <center>
+            <p class="logo"><a href="http://cbc.simula.no/" title="Go to Center for Biomedical Computing">
+              <img class="logo" src="_static/cbc_logo.png" alt="Logo"/>
+            </a></p>
+            </center>
         </div>
       </div>
       <div class="clearer"></div>
     </div>
-    <div class="footer">
-      &copy;2015, Hans Petter Langtangen.
-      
-      |
-      Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4a0+</a>
-      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.6</a>
-      
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             >index</a></li>
+        <li class="nav-item nav-item-0"><a href="index.html">Pysketcher: Create Principal Sketches of Physics Problems</a> &raquo;</li> 
+      </ul>
     </div>
+<div class="wrapper">
+  <div class="footer">
+    <a href="http://cbc.simula.no"><img src="_static/cbc_banner.png" width="100%"><a>
+    <br />
+    <br />
+      &copy;2015, Hans Petter Langtangen.
+  </div>
+</div>
 
-    
-
-    
   </body>
 </html>

+ 38 - 38
doc/pub/tutorial/pysketcher.html

@@ -32,23 +32,23 @@ Automatically generated HTML file from DocOnce source
 
 <!-- tocinfo
 {'highest level': 1,
- 'sections': [('A First Glimpse of Pysketcher', 1, None, '___sec0'),
-              ('Basic Construction of Sketches', 2, None, '___sec1'),
-              ('Basic Drawing', 3, None, '___sec2'),
-              ('Groups of Objects', 3, None, '___sec3'),
-              ('Changing Line Styles and Colors', 3, None, '___sec4'),
-              ('The Figure Composition as an Object Hierarchy',
+ 'sections': [('A first glimpse of Pysketcher', 1, None, '___sec0'),
+              ('Basic construction of sketches', 2, None, '___sec1'),
+              ('Basic drawing', 3, None, '___sec2'),
+              ('Groups of objects', 3, None, '___sec3'),
+              ('Changing line styles and colors', 3, None, '___sec4'),
+              ('The figure composition as an object hierarchy',
                3,
                None,
                '___sec5'),
-              ('Animation: Translating the Vehicle', 3, None, '___sec6'),
-              ('Animation: Rolling the Wheels',
+              ('Animation: translating the vehicle', 3, None, '___sec6'),
+              ('Animation: rolling the wheels',
                3,
                'sketcher:vehicle1:anim',
                'sketcher:vehicle1:anim'),
-              ('Basic Shapes', 1, None, '___sec8'),
+              ('Basic shapes', 1, None, '___sec8'),
               ('Axis', 2, None, '___sec9'),
-              ('Distance with Text', 2, None, '___sec10'),
+              ('Distance with text', 2, None, '___sec10'),
               ('Rectangle', 2, None, '___sec11'),
               ('Triangle', 2, None, '___sec12'),
               ('Arc', 2, None, '___sec13'),
@@ -56,18 +56,18 @@ Automatically generated HTML file from DocOnce source
               ('Dashpot', 2, None, '___sec15'),
               ('Wavy', 2, None, '___sec16'),
               ('Stochastic curves', 2, None, '___sec17'),
-              ('Inner Workings of the Pysketcher Tool', 1, None, '___sec18'),
-              ('Example of Classes for Geometric Objects',
+              ('Inner workings of the Pysketcher tool', 1, None, '___sec18'),
+              ('Example of classes for geometric objects',
                2,
                None,
                '___sec19'),
-              ('Simple Geometric Objects', 3, None, '___sec20'),
-              ('Class Curve', 3, None, '___sec21'),
-              ('Compound Geometric Objects', 3, None, '___sec22'),
-              ('Adding Functionality via Recursion', 2, None, '___sec23'),
-              ('Basic Principles of Recursion', 3, None, '___sec24'),
-              ('Explaining Recursion', 3, None, '___sec25'),
-              ('Scaling, Translating, and Rotating a Figure',
+              ('Simple geometric objects', 3, None, '___sec20'),
+              ('Class curve', 3, None, '___sec21'),
+              ('Compound geometric objects', 3, None, '___sec22'),
+              ('Adding functionality via recursion', 2, None, '___sec23'),
+              ('Basic principles of recursion', 3, None, '___sec24'),
+              ('Explaining recursion', 3, None, '___sec25'),
+              ('Scaling, translating, and rotating a figure',
                2,
                'sketcher:scaling',
                'sketcher:scaling'),
@@ -111,17 +111,17 @@ MathJax.Hub.Config({
       <li class="dropdown">
         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a>
         <ul class="dropdown-menu">
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec0" style="font-size: 80%;"><b>A First Glimpse of Pysketcher</b></a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec1" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Basic Construction of Sketches</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec2" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic Drawing</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec3" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups of Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec4" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing Line Styles and Colors</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec5" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Figure Composition as an Object Hierarchy</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec6" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: Translating the Vehicle</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher001.html#sketcher:vehicle1:anim" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: Rolling the Wheels</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec8" style="font-size: 80%;"><b>Basic Shapes</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec0" style="font-size: 80%;"><b>A first glimpse of Pysketcher</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec1" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Basic construction of sketches</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec2" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic drawing</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec3" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Groups of objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec4" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changing line styles and colors</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec5" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The figure composition as an object hierarchy</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#___sec6" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: translating the vehicle</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher001.html#sketcher:vehicle1:anim" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Animation: rolling the wheels</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec8" style="font-size: 80%;"><b>Basic shapes</b></a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec9" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Axis</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec10" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Distance with Text</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec10" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Distance with text</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec11" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Rectangle</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec12" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Triangle</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec13" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Arc</a></li>
@@ -129,15 +129,15 @@ MathJax.Hub.Config({
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec15" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Dashpot</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec16" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Wavy</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher002.html#___sec17" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Stochastic curves</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec18" style="font-size: 80%;"><b>Inner Workings of the Pysketcher Tool</b></a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec19" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Example of Classes for Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec20" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec21" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class Curve</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec22" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compound Geometric Objects</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec23" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Adding Functionality via Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec24" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic Principles of Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec25" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explaining Recursion</a></li>
-     <!-- navigation toc: --> <li><a href="._pysketcher003.html#sketcher:scaling" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Scaling, Translating, and Rotating a Figure</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec18" style="font-size: 80%;"><b>Inner workings of the Pysketcher tool</b></a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec19" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Example of classes for geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec20" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Simple geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec21" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Class curve</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec22" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compound geometric objects</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec23" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Adding functionality via recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec24" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Basic principles of recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec25" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explaining recursion</a></li>
+     <!-- navigation toc: --> <li><a href="._pysketcher003.html#sketcher:scaling" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;Scaling, translating, and rotating a figure</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec27" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scaling</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec28" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translation</a></li>
      <!-- navigation toc: --> <li><a href="._pysketcher003.html#___sec29" style="font-size: 80%;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rotation</a></li>

BIN
doc/pub/tutorial/pysketcher.pdf


+ 9 - 9
doc/src/tut/basics.do.txt

@@ -18,7 +18,7 @@ plane. The sketch
  * "Pygame backend": "http://inventwithpython.com/chapter17.html"
 # #endif
 
-======= A First Glimpse of Pysketcher =======
+======= A first glimpse of Pysketcher =======
 
 Formulation of physical problems makes heavy use of *principal sketches*
 such as the one in Figure ref{sketcher:fig:inclinedplane}.
@@ -60,7 +60,7 @@ targets how to traverse tree structures with recursive function calls.
 This topic is of key relevance in a wide range of other applications
 as well.
 
-===== Using the Object Collection =====
+===== Using the object collection =====
 
 We start by demonstrating a convenient user interface for making
 sketches of the type in Figure ref{sketcher:fig:inclinedplane}.
@@ -71,7 +71,7 @@ a ``ground'' element.
 
 # #else
 
-===== Basic Construction of Sketches =====
+===== Basic construction of sketches =====
 
 Before attacking real-life sketches as in Figure ref{sketcher:fig:inclinedplane}
 we focus on the significantly simpler drawing shown
@@ -102,7 +102,7 @@ physics and engineering, but then a program must define the geometry.
 FIGURE: [fig-tut/vehicle_v2, width=500 frac=0.6] Redrawing a figure with other geometric parameters. label{sketcher:fig:vehicle0b}
 
 
-=== Basic Drawing ===
+=== Basic drawing ===
 
 A typical program creating these five elements is shown next.
 After importing the `pysketcher` package, the first task is always to
@@ -163,7 +163,7 @@ over  = Rectangle(lower_left_corner=(w_1, 2*R + H),
                   width=2.5*R, height=1.25*H)
 !ec
 
-=== Groups of Objects ===
+=== Groups of objects ===
 
 Instead of calling the `draw` method of every object, we can
 group objects and call `draw`, or perform other operations, for
@@ -205,7 +205,7 @@ and so forth in the hierarchical tree structure of
 figure elements,
 and call `draw` for every object.
 
-=== Changing Line Styles and Colors ===
+=== Changing line styles and colors ===
 
 Controlling the line style, line color, and line width is
 fundamental when designing figures. The `pysketcher`
@@ -241,7 +241,7 @@ wheel1.set_filled_curves('red')
 
 # http://packages.python.org/ete2/ for visualizing tree structures!
 
-=== The Figure Composition as an Object Hierarchy ===
+=== The figure composition as an object hierarchy ===
 
 The composition of objects making up the figure
 is hierarchical, similar to a family, where
@@ -362,7 +362,7 @@ FIGURE: [fig-tut/vehicle0, width=700] Left: Basic line-based drawing. Right: Thi
 We can also change position of parts of the figure and thereby make
 animations, as shown next.
 
-=== Animation: Translating the Vehicle ===
+=== Animation: translating the vehicle ===
 
 Can we make our little vehicle roll? A first attempt will be to
 fake rolling by just displacing all parts of the vehicle.
@@ -475,7 +475,7 @@ then load `mov.html` into a browser, or play one of the `mov.*`
 video files.  Alternatively, you can view a ready-made "movie":
 "${src_path_tut}/mov-tut/vehicle0.html".
 
-=== Animation: Rolling the Wheels ===
+=== Animation: rolling the wheels ===
 label{sketcher:vehicle1:anim}
 
 It is time to show rolling wheels. To this end, we add spokes to the

+ 2 - 2
doc/src/tut/classes.do.txt

@@ -1,4 +1,4 @@
-======= Basic Shapes =======
+======= Basic shapes =======
 
 This section presents many of the basic shapes in Pysketcher:
 `Axis`, `Distance_wText`, `Rectangle`, 	`Triangle`, `Arc`,
@@ -29,7 +29,7 @@ The corresponding code looks like this:
 
 @@@CODE ../../../pysketcher/tests/test_pysketcher.py fromto: def test_Axis@drawing_tool.savefig\('tmp_Axis'\)
 
-===== Distance with Text =====
+===== Distance with text =====
 
 The object `Distance_wText` is used to display an arrow, to indicate
 a distance in a sketch, with an additional text in the middle of the arrow.

+ 10 - 10
doc/src/tut/implementation.do.txt

@@ -1,8 +1,8 @@
 
 # #ifdef PRIMER_BOOK
-===== Example of Classes for Geometric Objects =====
+===== Example of classes for geometric objects =====
 # #else
-======= Inner Workings of the Pysketcher Tool =======
+======= Inner workings of the Pysketcher tool =======
 # #endif
 
 We shall now explain how we can, quite easily, realize software with
@@ -27,7 +27,7 @@ topic is of key relevance in a wide range of other applications as
 well. In total, the inner workings of Pysketcher constitute an
 excellent example on the power of class programming.
 
-===== Example of Classes for Geometric Objects =====
+===== Example of classes for geometric objects =====
 # #endif
 
 We introduce class `Shape` as superclass for all specialized objects
@@ -35,7 +35,7 @@ in a figure. This class does not store any data, but provides a
 series of functions that add functionality to all the subclasses.
 This will be shown later.
 
-=== Simple Geometric Objects ===
+=== Simple geometric objects ===
 
 One simple subclass is `Rectangle`, specified by the coordinates of
 the lower left corner and its width and height:
@@ -167,7 +167,7 @@ class Circle(Arc):
 !ec
 
 
-=== Class Curve ===
+=== Class curve ===
 
 Class `Curve` sits on the coordinates to be drawn, but how is that
 done? The constructor of class `Curve` just stores the coordinates,
@@ -223,7 +223,7 @@ class Curve(Shape):
     ...
 !ec
 
-=== Compound Geometric Objects ===
+=== Compound geometric objects ===
 
 The simple classes `Line`, `Arc`, and `Circle` could can the geometric
 shape through just one `Curve` object. More complicated shapes are
@@ -312,7 +312,7 @@ The `pysketcher` package contains a wide range of classes for various
 geometrical objects, particularly those that are frequently used in
 drawings of mechanical systems.
 
-===== Adding Functionality via Recursion =====
+===== Adding functionality via recursion =====
 
 idx{recursive function calls}
 
@@ -325,7 +325,7 @@ hierarchy must have. The inner workings of the `draw` method explain
 the secrets of how a series of other useful operations on figures
 can be implemented.
 
-=== Basic Principles of Recursion ===
+=== Basic principles of recursion ===
 
 Note that we work with two types of hierarchies in the
 present documentation: one Python *class hierarchy*,
@@ -384,7 +384,7 @@ all inherit the same `draw` method and therefore exhibit the same
 behavior with respect to drawing. Only the `Curve` object has a different
 `draw` method, which does not lead to more recursion.
 
-=== Explaining Recursion ===
+=== Explaining recursion ===
 
 Understanding recursion is usually a challenge. To get a better idea of
 how recursion works, we have equipped class `Shape` with a method `recurse`
@@ -510,7 +510,7 @@ can start at any object in the tree and do a recursive set
 of calls with that object as root.
 
 
-===== Scaling, Translating, and Rotating a Figure =====
+===== Scaling, translating, and rotating a figure =====
 label{sketcher:scaling}
 
 With recursion, as explained in the previous section, we can within

+ 1 - 1
doc/src/tut/make.sh

@@ -31,7 +31,7 @@ system doconce format html $name --skip_inline_comments --html_style=bootswatch_
 system doconce split_html ${html}.html --pagination
 
 system doconce format sphinx $name --skip_inline_comments
-system doconce sphinx_dir theme=alabaster $name
+system doconce sphinx_dir theme=cbc $name
 python automake_sphinx.py
 
 # Publish