Author: bugman Date: Thu Sep 20 12:11:11 2012 New Revision: 17527 URL: http://svn.gna.org/viewcvs/relax?rev=17527&view=rev Log: Removed the \pycodestar{} references in the development chapter. This command has been deleted as \newcommand cannot have \verb inside it! The \pycodestar{x} references have been changed to \verb*!x!. Modified: trunk/docs/latex/develop.tex Modified: trunk/docs/latex/develop.tex URL: http://svn.gna.org/viewcvs/relax/trunk/docs/latex/develop.tex?rev=17527&r1=17526&r2=17527&view=diff ============================================================================== --- trunk/docs/latex/develop.tex (original) +++ trunk/docs/latex/develop.tex Thu Sep 20 12:11:11 2012 @@ -211,8 +211,8 @@ \item Trailing whitespace should be avoided, although this is not very important. \item All functions should be preceded by two empty lines. The only exception is the first function of the class definition. \item Function arguments should be separated by a comma followed by a single space. -\item The assignment operator should be surrounded by spaces, for example \pycodestar{tm = 1e-8}. The exception is function arguments where for example \pycodestar{self.classic\_colour(res\_num=None, width=0.3)}. -\item The comparison operators should also be surrounded by spaces, e.g.\ \pycodestar{ < }, \pycodestar{ > }, \pycodestar{ == }, \pycodestar{ <= }, \pycodestar{ => }, \pycodestar{ <> }, \pycodestar{ != }, \pycodestar{ is }, and \pycodestar{ in }. +\item The assignment operator should be surrounded by spaces, for example \verb*!tm = 1e-8!. The exception is function arguments where for example \verb*!self.classic\_colour(res\_num=None, width=0.3)!. +\item The comparison operators should also be surrounded by spaces, e.g.\ \verb*! < !, \verb*! > !, \verb*! == !, \verb*! <= !, \verb*! => !, \verb*! <> !, \verb*! != !, \verb*! is !, and \verb*! in !. \end{itemize} An example which shows most of these conventions is: