Hans Petter Langtangen hace 11 años
padre
commit
df0c53e2a3
Se han modificado 94 ficheros con 13 adiciones y 7 borrados
  1. 0 0
      README.md
  2. 0 0
      doc/pub/tutorial/html/.buildinfo
  3. 0 0
      doc/pub/tutorial/html/_images/Vehicle0_hier2.png
  4. 0 0
      doc/pub/tutorial/html/_images/vehicle0.png
  5. 0 0
      doc/pub/tutorial/html/_images/vehicle0_dim.png
  6. 0 0
      doc/pub/tutorial/html/_images/vehicle0_hier1.png
  7. 0 0
      doc/pub/tutorial/html/_images/vehicle1.png
  8. 0 0
      doc/pub/tutorial/html/_images/wheel_on_inclined_plane.png
  9. 0 0
      doc/pub/tutorial/html/_sources/index.txt
  10. 0 0
      doc/pub/tutorial/html/_sources/wrap_sketcher.txt
  11. 0 0
      doc/pub/tutorial/html/_static/ajax-loader.gif
  12. 0 0
      doc/pub/tutorial/html/_static/basic.css
  13. 0 0
      doc/pub/tutorial/html/_static/comment-bright.png
  14. 0 0
      doc/pub/tutorial/html/_static/comment-close.png
  15. 0 0
      doc/pub/tutorial/html/_static/comment.png
  16. 0 0
      doc/pub/tutorial/html/_static/dialog-note.png
  17. 0 0
      doc/pub/tutorial/html/_static/dialog-seealso.png
  18. 0 0
      doc/pub/tutorial/html/_static/dialog-topic.png
  19. 0 0
      doc/pub/tutorial/html/_static/dialog-warning.png
  20. 0 0
      doc/pub/tutorial/html/_static/doctools.js
  21. 0 0
      doc/pub/tutorial/html/_static/down-pressed.png
  22. 0 0
      doc/pub/tutorial/html/_static/down.png
  23. 0 0
      doc/pub/tutorial/html/_static/epub.css
  24. 0 0
      doc/pub/tutorial/html/_static/file.png
  25. 0 0
      doc/pub/tutorial/html/_static/footerbg.png
  26. 0 0
      doc/pub/tutorial/html/_static/headerbg.png
  27. 0 0
      doc/pub/tutorial/html/_static/ie6.css
  28. 0 0
      doc/pub/tutorial/html/_static/jquery.js
  29. 0 0
      doc/pub/tutorial/html/_static/middlebg.png
  30. 0 0
      doc/pub/tutorial/html/_static/minus.png
  31. 0 0
      doc/pub/tutorial/html/_static/plus.png
  32. 0 0
      doc/pub/tutorial/html/_static/pygments.css
  33. 0 0
      doc/pub/tutorial/html/_static/pyramid.css
  34. 0 0
      doc/pub/tutorial/html/_static/searchtools.js
  35. 0 0
      doc/pub/tutorial/html/_static/transparent.gif
  36. 0 0
      doc/pub/tutorial/html/_static/underscore.js
  37. 0 0
      doc/pub/tutorial/html/_static/up-pressed.png
  38. 0 0
      doc/pub/tutorial/html/_static/up.png
  39. 0 0
      doc/pub/tutorial/html/_static/websupport.js
  40. 0 0
      doc/pub/tutorial/html/genindex.html
  41. 0 0
      doc/pub/tutorial/html/html/.buildinfo
  42. 0 0
      doc/pub/tutorial/html/html/_images/Vehicle0_hier2.png
  43. 0 0
      doc/pub/tutorial/html/html/_images/vehicle0.png
  44. 0 0
      doc/pub/tutorial/html/html/_images/vehicle0_dim.png
  45. 0 0
      doc/pub/tutorial/html/html/_images/vehicle0_hier1.png
  46. 0 0
      doc/pub/tutorial/html/html/_images/vehicle1.png
  47. 0 0
      doc/pub/tutorial/html/html/_images/wheel_on_inclined_plane.png
  48. 0 0
      doc/pub/tutorial/html/html/_sources/index.txt
  49. 0 0
      doc/pub/tutorial/html/html/_sources/wrap_sketcher.txt
  50. 0 0
      doc/pub/tutorial/html/html/_static/ajax-loader.gif
  51. 0 0
      doc/pub/tutorial/html/html/_static/basic.css
  52. 0 0
      doc/pub/tutorial/html/html/_static/comment-bright.png
  53. 0 0
      doc/pub/tutorial/html/html/_static/comment-close.png
  54. 0 0
      doc/pub/tutorial/html/html/_static/comment.png
  55. 0 0
      doc/pub/tutorial/html/html/_static/dialog-note.png
  56. 0 0
      doc/pub/tutorial/html/html/_static/dialog-seealso.png
  57. 0 0
      doc/pub/tutorial/html/html/_static/dialog-topic.png
  58. 0 0
      doc/pub/tutorial/html/html/_static/dialog-warning.png
  59. 0 0
      doc/pub/tutorial/html/html/_static/doctools.js
  60. 0 0
      doc/pub/tutorial/html/html/_static/down-pressed.png
  61. 0 0
      doc/pub/tutorial/html/html/_static/down.png
  62. 0 0
      doc/pub/tutorial/html/html/_static/epub.css
  63. 0 0
      doc/pub/tutorial/html/html/_static/file.png
  64. 0 0
      doc/pub/tutorial/html/html/_static/footerbg.png
  65. 0 0
      doc/pub/tutorial/html/html/_static/headerbg.png
  66. 0 0
      doc/pub/tutorial/html/html/_static/ie6.css
  67. 0 0
      doc/pub/tutorial/html/html/_static/jquery.js
  68. 0 0
      doc/pub/tutorial/html/html/_static/middlebg.png
  69. 0 0
      doc/pub/tutorial/html/html/_static/minus.png
  70. 0 0
      doc/pub/tutorial/html/html/_static/plus.png
  71. 0 0
      doc/pub/tutorial/html/html/_static/pygments.css
  72. 0 0
      doc/pub/tutorial/html/html/_static/pyramid.css
  73. 0 0
      doc/pub/tutorial/html/html/_static/searchtools.js
  74. 0 0
      doc/pub/tutorial/html/html/_static/transparent.gif
  75. 0 0
      doc/pub/tutorial/html/html/_static/underscore.js
  76. 0 0
      doc/pub/tutorial/html/html/_static/up-pressed.png
  77. 0 0
      doc/pub/tutorial/html/html/_static/up.png
  78. 0 0
      doc/pub/tutorial/html/html/_static/websupport.js
  79. 0 0
      doc/pub/tutorial/html/html/genindex.html
  80. 0 0
      doc/pub/tutorial/html/html/index.html
  81. 0 0
      doc/pub/tutorial/html/html/objects.inv
  82. 0 0
      doc/pub/tutorial/html/html/search.html
  83. 0 0
      doc/pub/tutorial/html/html/searchindex.js
  84. 0 0
      doc/pub/tutorial/html/html/wrap_sketcher.html
  85. 0 0
      doc/pub/tutorial/html/index.html
  86. 0 0
      doc/pub/tutorial/html/objects.inv
  87. 0 0
      doc/pub/tutorial/html/search.html
  88. 0 0
      doc/pub/tutorial/html/searchindex.js
  89. 0 0
      doc/pub/tutorial/html/wrap_sketcher.html
  90. 0 0
      doc/pub/tutorial/pysketcher.pdf
  91. 2 2
      doc/src/tut/classes.do.txt
  92. 6 0
      doc/src/tut/main_sketcher.do.txt
  93. 5 5
      doc/src/tut/make.sh
  94. BIN
      doc/tutorial/pysketcher_blue.pdf

README → README.md


doc/tutorial/html/.buildinfo → doc/pub/tutorial/html/.buildinfo


doc/tutorial/html/_images/Vehicle0_hier2.png → doc/pub/tutorial/html/_images/Vehicle0_hier2.png


doc/tutorial/html/_images/vehicle0.png → doc/pub/tutorial/html/_images/vehicle0.png


doc/tutorial/html/_images/vehicle0_dim.png → doc/pub/tutorial/html/_images/vehicle0_dim.png


doc/tutorial/html/_images/vehicle0_hier1.png → doc/pub/tutorial/html/_images/vehicle0_hier1.png


doc/tutorial/html/_images/vehicle1.png → doc/pub/tutorial/html/_images/vehicle1.png


doc/tutorial/html/_images/wheel_on_inclined_plane.png → doc/pub/tutorial/html/_images/wheel_on_inclined_plane.png


doc/tutorial/html/_sources/index.txt → doc/pub/tutorial/html/_sources/index.txt


doc/tutorial/html/_sources/wrap_sketcher.txt → doc/pub/tutorial/html/_sources/wrap_sketcher.txt


doc/tutorial/html/_static/ajax-loader.gif → doc/pub/tutorial/html/_static/ajax-loader.gif


doc/tutorial/html/_static/basic.css → doc/pub/tutorial/html/_static/basic.css


doc/tutorial/html/_static/comment-bright.png → doc/pub/tutorial/html/_static/comment-bright.png


doc/tutorial/html/_static/comment-close.png → doc/pub/tutorial/html/_static/comment-close.png


doc/tutorial/html/_static/comment.png → doc/pub/tutorial/html/_static/comment.png


doc/tutorial/html/_static/dialog-note.png → doc/pub/tutorial/html/_static/dialog-note.png


doc/tutorial/html/_static/dialog-seealso.png → doc/pub/tutorial/html/_static/dialog-seealso.png


doc/tutorial/html/_static/dialog-topic.png → doc/pub/tutorial/html/_static/dialog-topic.png


doc/tutorial/html/_static/dialog-warning.png → doc/pub/tutorial/html/_static/dialog-warning.png


doc/tutorial/html/_static/doctools.js → doc/pub/tutorial/html/_static/doctools.js


doc/tutorial/html/_static/down-pressed.png → doc/pub/tutorial/html/_static/down-pressed.png


doc/tutorial/html/_static/down.png → doc/pub/tutorial/html/_static/down.png


doc/tutorial/html/_static/epub.css → doc/pub/tutorial/html/_static/epub.css


doc/tutorial/html/_static/file.png → doc/pub/tutorial/html/_static/file.png


doc/tutorial/html/_static/footerbg.png → doc/pub/tutorial/html/_static/footerbg.png


doc/tutorial/html/_static/headerbg.png → doc/pub/tutorial/html/_static/headerbg.png


doc/tutorial/html/_static/ie6.css → doc/pub/tutorial/html/_static/ie6.css


doc/tutorial/html/_static/jquery.js → doc/pub/tutorial/html/_static/jquery.js


doc/tutorial/html/_static/middlebg.png → doc/pub/tutorial/html/_static/middlebg.png


doc/tutorial/html/_static/minus.png → doc/pub/tutorial/html/_static/minus.png


doc/tutorial/html/_static/plus.png → doc/pub/tutorial/html/_static/plus.png


doc/tutorial/html/_static/pygments.css → doc/pub/tutorial/html/_static/pygments.css


doc/tutorial/html/_static/pyramid.css → doc/pub/tutorial/html/_static/pyramid.css


doc/tutorial/html/_static/searchtools.js → doc/pub/tutorial/html/_static/searchtools.js


doc/tutorial/html/_static/transparent.gif → doc/pub/tutorial/html/_static/transparent.gif


doc/tutorial/html/_static/underscore.js → doc/pub/tutorial/html/_static/underscore.js


doc/tutorial/html/_static/up-pressed.png → doc/pub/tutorial/html/_static/up-pressed.png


doc/tutorial/html/_static/up.png → doc/pub/tutorial/html/_static/up.png


doc/tutorial/html/_static/websupport.js → doc/pub/tutorial/html/_static/websupport.js


doc/tutorial/html/genindex.html → doc/pub/tutorial/html/genindex.html


doc/tutorial/html/html/.buildinfo → doc/pub/tutorial/html/html/.buildinfo


doc/tutorial/html/html/_images/Vehicle0_hier2.png → doc/pub/tutorial/html/html/_images/Vehicle0_hier2.png


doc/tutorial/html/html/_images/vehicle0.png → doc/pub/tutorial/html/html/_images/vehicle0.png


doc/tutorial/html/html/_images/vehicle0_dim.png → doc/pub/tutorial/html/html/_images/vehicle0_dim.png


doc/tutorial/html/html/_images/vehicle0_hier1.png → doc/pub/tutorial/html/html/_images/vehicle0_hier1.png


doc/tutorial/html/html/_images/vehicle1.png → doc/pub/tutorial/html/html/_images/vehicle1.png


doc/tutorial/html/html/_images/wheel_on_inclined_plane.png → doc/pub/tutorial/html/html/_images/wheel_on_inclined_plane.png


doc/tutorial/html/html/_sources/index.txt → doc/pub/tutorial/html/html/_sources/index.txt


doc/tutorial/html/html/_sources/wrap_sketcher.txt → doc/pub/tutorial/html/html/_sources/wrap_sketcher.txt


doc/tutorial/html/html/_static/ajax-loader.gif → doc/pub/tutorial/html/html/_static/ajax-loader.gif


doc/tutorial/html/html/_static/basic.css → doc/pub/tutorial/html/html/_static/basic.css


doc/tutorial/html/html/_static/comment-bright.png → doc/pub/tutorial/html/html/_static/comment-bright.png


doc/tutorial/html/html/_static/comment-close.png → doc/pub/tutorial/html/html/_static/comment-close.png


doc/tutorial/html/html/_static/comment.png → doc/pub/tutorial/html/html/_static/comment.png


doc/tutorial/html/html/_static/dialog-note.png → doc/pub/tutorial/html/html/_static/dialog-note.png


doc/tutorial/html/html/_static/dialog-seealso.png → doc/pub/tutorial/html/html/_static/dialog-seealso.png


doc/tutorial/html/html/_static/dialog-topic.png → doc/pub/tutorial/html/html/_static/dialog-topic.png


doc/tutorial/html/html/_static/dialog-warning.png → doc/pub/tutorial/html/html/_static/dialog-warning.png


doc/tutorial/html/html/_static/doctools.js → doc/pub/tutorial/html/html/_static/doctools.js


doc/tutorial/html/html/_static/down-pressed.png → doc/pub/tutorial/html/html/_static/down-pressed.png


doc/tutorial/html/html/_static/down.png → doc/pub/tutorial/html/html/_static/down.png


doc/tutorial/html/html/_static/epub.css → doc/pub/tutorial/html/html/_static/epub.css


doc/tutorial/html/html/_static/file.png → doc/pub/tutorial/html/html/_static/file.png


doc/tutorial/html/html/_static/footerbg.png → doc/pub/tutorial/html/html/_static/footerbg.png


doc/tutorial/html/html/_static/headerbg.png → doc/pub/tutorial/html/html/_static/headerbg.png


doc/tutorial/html/html/_static/ie6.css → doc/pub/tutorial/html/html/_static/ie6.css


doc/tutorial/html/html/_static/jquery.js → doc/pub/tutorial/html/html/_static/jquery.js


doc/tutorial/html/html/_static/middlebg.png → doc/pub/tutorial/html/html/_static/middlebg.png


doc/tutorial/html/html/_static/minus.png → doc/pub/tutorial/html/html/_static/minus.png


doc/tutorial/html/html/_static/plus.png → doc/pub/tutorial/html/html/_static/plus.png


doc/tutorial/html/html/_static/pygments.css → doc/pub/tutorial/html/html/_static/pygments.css


doc/tutorial/html/html/_static/pyramid.css → doc/pub/tutorial/html/html/_static/pyramid.css


doc/tutorial/html/html/_static/searchtools.js → doc/pub/tutorial/html/html/_static/searchtools.js


doc/tutorial/html/html/_static/transparent.gif → doc/pub/tutorial/html/html/_static/transparent.gif


doc/tutorial/html/html/_static/underscore.js → doc/pub/tutorial/html/html/_static/underscore.js


doc/tutorial/html/html/_static/up-pressed.png → doc/pub/tutorial/html/html/_static/up-pressed.png


doc/tutorial/html/html/_static/up.png → doc/pub/tutorial/html/html/_static/up.png


doc/tutorial/html/html/_static/websupport.js → doc/pub/tutorial/html/html/_static/websupport.js


doc/tutorial/html/html/genindex.html → doc/pub/tutorial/html/html/genindex.html


doc/tutorial/html/html/index.html → doc/pub/tutorial/html/html/index.html


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


doc/tutorial/html/html/search.html → doc/pub/tutorial/html/html/search.html


doc/tutorial/html/html/searchindex.js → doc/pub/tutorial/html/html/searchindex.js


doc/tutorial/html/html/wrap_sketcher.html → doc/pub/tutorial/html/html/wrap_sketcher.html


doc/tutorial/html/index.html → doc/pub/tutorial/html/index.html


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


doc/tutorial/html/search.html → doc/pub/tutorial/html/search.html


doc/tutorial/html/searchindex.js → doc/pub/tutorial/html/searchindex.js


doc/tutorial/html/wrap_sketcher.html → doc/pub/tutorial/html/wrap_sketcher.html


doc/tutorial/pysketcher.pdf → doc/pub/tutorial/pysketcher.pdf


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

@@ -78,8 +78,8 @@ Looks strange. Fix x axis.
 
 ===== Stochastic curves =====
 
-The `StochasticWavyCurve` object offers three pre-computed
-graphcs that have a random variation:
+The `StochasticWavyCurve` object offers three precomputed
+graphics that have a random variation:
 
 FIGURE: [fig-tut/StochasticWavyCurve.png, width=600 frac=1]
 

+ 6 - 0
doc/src/tut/main_sketcher.do.txt

@@ -9,6 +9,12 @@ src_path_tut = 'http://tinyurl.com/oou9lp7'
 src_path_pysketcher = 'http://tinyurl.com/ot733jn'
 %>
 
+!bbox
+This document is derived from Chapter 9 in the book
+"A Primer on Scientific Programming with Python": "http://www.amazon.com/Scientific-Programming-Computational-Science-Engineering/dp/3642549586/ref=sr_1_2?s=books&ie=UTF8&qid=1407225588&sr=1-2&keywords=langtangen", by H. P. Langtangen,
+4th edition, Springer, 2014.
+!ebox
+
 __Abstract.__
 Pysketcher is a Python package which allows principal sketches of
 physics and mechanics problems to be realized through short programs

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

@@ -11,7 +11,7 @@ main=main_sketcher
 doconce format html $main
 
 cp .ptex2tex.cfg-minted .ptex2tex.cfg
-doconce format pdflatex $main
+doconce format pdflatex $main --skip_inline_comments
 ptex2tex -DMINTED $main
 pdflatex -shell-escape $main
 makeindex $main
@@ -19,11 +19,11 @@ pdflatex -shell-escape $main
 pdflatex -shell-escape $main
 
 doconce format sphinx $main --skip_inline_comments
-rm -rf sphinx-rootdir
 doconce sphinx_dir author="H. P. Langtangen" version=0.1 theme=pyramid $main
 python automake_sphinx.py
 
-cp ${main}_primer.pdf ../../tutorial/pysketcher_blue.pdf
-cp ${main}.pdf ../../tutorial/pysketcher.pdf
+dest=../../pub/tutorial
+cp ${main}.pdf $dest/pysketcher.pdf
 #cp $main.html ../../tutorial/pysketcher.html
-cp -r sphinx-rootdir/_build/html ../../tutorial/html
+rm -rf $dest/html
+cp -r sphinx-rootdir/_build/html $dest/html

BIN
doc/tutorial/pysketcher_blue.pdf