[Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty,1.60,1.61

Fred L. Drake python-dev@python.org
Fri, 30 Jun 2000 10:57:08 -0700


Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory slayer.i.sourceforge.net:/tmp/cvs-serv11742/texinputs

Modified Files:
	python.sty 
Log Message:

Try to make sure \code always uses roman (non-italic) text.
Change a 1.6 version number used in a an example in a comment to 2.0.


Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -r1.60 -r1.61
*** python.sty	2000/05/09 16:18:44	1.60
--- python.sty	2000/06/30 17:57:05	1.61
***************
*** 711,715 ****
  
  % code is the most difficult one...
! \newcommand{\code}[1]{{\@vobeyspaces\@noligs\def\{{\char`\{}\def\}{\char`\}}\def\~{\char`\~}\def\^{\char`\^}\def\e{\char`\\}\def\${\char`\$}\def\#{\char`\#}\def\&{\char`\&}\def\%{\char`\%}%
  \texttt{#1}}}
  
--- 711,715 ----
  
  % code is the most difficult one...
! \newcommand{\code}[1]{\textrm{\@vobeyspaces\@noligs\def\{{\char`\{}\def\}{\char`\}}\def\~{\char`\~}\def\^{\char`\^}\def\e{\char`\\}\def\${\char`\$}\def\#{\char`\#}\def\&{\char`\&}\def\%{\char`\%}%
  \texttt{#1}}}
  
***************
*** 839,843 ****
  % Example:
  %  \versionadded{1.5.2}
! %  \versionchanged[short explanation]{1.6}
  %
  \newcommand{\versionadded}[1]{%
--- 839,843 ----
  % Example:
  %  \versionadded{1.5.2}
! %  \versionchanged[short explanation]{2.0}
  %
  \newcommand{\versionadded}[1]{%