From 90508457672235a1eae3addff29f165a88f5d467 Mon Sep 17 00:00:00 2001 From: Minh Van Nguyen Date: Sat, 3 Oct 2009 01:47:36 +1000 Subject: [PATCH] typo fixes to build PDF versions of reference guide and tutorial --- conf.py | 6 ++++-- src/reference/overview.rst | 9 ++++----- src/tutorial/index.rst | 1 - src/tutorial/references.rst | 32 -------------------------------- 4 files changed, 8 insertions(+), 40 deletions(-) delete mode 100644 src/tutorial/references.rst diff --git a/conf.py b/conf.py index 21521d0c..b5047ebd 100644 --- a/conf.py +++ b/conf.py @@ -143,8 +143,10 @@ htmlhelp_basename = 'Cythondoc' #_stdauthor = r'Greg Ewig\\ Gabriel Gellner, editor' _stdauthor = r'Stefan Behnel, Robert Bradshaw, William Stein\\ Gary Furnish, Dag Seljebotn, Greg Ewing\\ Gabriel Gellner, editor' latex_documents = [ - ('index', 'cython.tex', - 'Cython Manual', _stdauthor, 'manual') + ('src/reference/index', 'reference.tex', + 'Cython Reference Guide', _stdauthor, 'manual'), + ('src/tutorial/index', 'tutorial.tex', + 'Cython Tutorial', _stdauthor, 'manual') ] # Additional stuff for the LaTeX preamble. diff --git a/src/reference/overview.rst b/src/reference/overview.rst index 54787220..78a3f99e 100644 --- a/src/reference/overview.rst +++ b/src/reference/overview.rst @@ -20,7 +20,7 @@ with extra syntax to provide static type declarations. What Does It Do? ================ -It takes advantage of the benefits of Python while allowing one to achieve the speed of C. +It takes advantage of the benefits of Python while allowing one to achieve the speed of C. ============================ How Exactly Does It Do That? @@ -47,7 +47,7 @@ itself (PyPy [#PyPy]_). Written in C, CPython has been conducive to wrapping many external libraries that interface through the C language. It has, however, remained non trivial to write the necessary glue code in -C, especially for programmers who are more fluent in a +C, especially for programmers who are more fluent in a high-level language like Python than in a do-it-yourself language like C. @@ -69,14 +69,13 @@ While Cython can compile (most) regular Python code, the generated C code usually gains major (and sometime impressive) speed improvements from optional static type declarations for both Python and C types. These allow Cython to assign C semantics to -parts of the code, and to translate them into very effi- -cient C code. +parts of the code, and to translate them into very efficient C code. Type declarations can therefore be used for two purposes: #. For moving code sections from dynamic Python semantics into static-and-fast C semantics, but also for.. -#. Directly manipulating types defined in external libraries. Cython thus merges the two worlds into a very broadly applicable programming language. +#. Directly manipulating types defined in external libraries. Cython thus merges the two worlds into a very broadly applicable programming language. ================== Where Do I Get It? diff --git a/src/tutorial/index.rst b/src/tutorial/index.rst index f9219148..7dba1dc2 100644 --- a/src/tutorial/index.rst +++ b/src/tutorial/index.rst @@ -22,7 +22,6 @@ Contents: readings related_work appendix - references Indices and tables diff --git a/src/tutorial/references.rst b/src/tutorial/references.rst deleted file mode 100644 index 10d738ec..00000000 --- a/src/tutorial/references.rst +++ /dev/null @@ -1,32 +0,0 @@ -References -========== - -.. [Cython] G. Ewing, R. W. Bradshaw, S. Behnel, D. S. Seljebotn et al., - The Cython compiler, http://cython.org. -.. [Python] G. van Rossum et al., The Python programming language, - http://python.org. -.. [Sage] W. Stein et al., Sage Mathematics Software, http://sagemath.org -.. [EPD] http://www.enthought.com/products/epd.php -.. [Pythonxy] http://www.pythonxy.com/ -.. [Jython] J. Huginin, B. Warsaw, F. Bock, et al., - Jython: Python for the Java platform, http://www.jython.org/ -.. [Seljebotn09] D. S. Seljebotn, Fast numerical computations with Cython, - Proceedings of the 8th Python in Science Conference, 2009. -.. [NumPy] T. Oliphant et al., NumPy, http://numpy.scipy.org/ -.. [CAlg] Simon Howard, C Algorithms library, http://c-algorithms.sourceforge.net/ -.. [Pyrex] G. Ewing, Pyrex: C-Extensions for Python, - http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ -.. [ShedSkin] M. Dufour, J. Coughlan, ShedSkin, - http://code.google.com/p/shedskin/ -.. [PyPy] The PyPy Group, PyPy: a Python implementation written in Python, - http://codespeak.net/pypy. -.. [IronPython] Jim Hugunin et al., http://www.codeplex.com/IronPython. -.. [SWIG] David M. Beazley et al., - SWIG: An Easy to Use Tool for Integrating Scripting Languages with C and C++, - http://www.swig.org. -.. [WinInst] http://wiki.cython.org/InstallingOnWindows -.. [ctypes] http://docs.python.org/library/ctypes.html. -.. there's also the original ctypes home page: http://python.net/crew/theller/ctypes/ -.. [UserList] Cython users mailing list: http://groups.google.com/group/cython-users -.. [DevList] Cython developer mailing list: http://codespeak.net/mailman/listinfo/cython-dev. - -- 2.26.2