Author: bugman Date: Thu Nov 26 10:22:06 2009 New Revision: 9980 URL: http://svn.gna.org/viewcvs/relax?rev=9980&view=rev Log: Allowed for hyphenation in the user function subsection titles. Modified: 1.3/docs/latex/fetch_docstrings.py Modified: 1.3/docs/latex/fetch_docstrings.py URL: http://svn.gna.org/viewcvs/relax/1.3/docs/latex/fetch_docstrings.py?rev=9980&r1=9979&r2=9980&view=diff ============================================================================== --- 1.3/docs/latex/fetch_docstrings.py (original) +++ 1.3/docs/latex/fetch_docstrings.py Thu Nov 26 10:22:06 2009 @@ -867,6 +867,10 @@ # Store the user function name. user_fn = self.section[i] + '()' + # Allow for hyphenation. + user_fn = replace(user_fn, '.', '\-.') + user_fn = replace(user_fn, '\_', '\-\_') + # Write out the new subsection. self.file.write(" \n\n \\subsection{" + user_fn + "}")