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

Fred L. Drake fdrake@users.sourceforge.net
2001年12月14日 14:50:08 -0800


Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory usw-pr-cvs1:/tmp/cvs-serv16410/texinputs
Modified Files:
	python.sty 
Log Message:
Add a new environment for whole-paragraph (or longer) notes & warnings.
Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -d -r1.87 -r1.88
*** python.sty	2001年12月11日 18:47:36	1.87
--- python.sty	2001年12月14日 22:50:06	1.88
***************
*** 920,925 ****
 }
 
! \newcommand{\note}[1]{\strong{Note:} #1}
! \newcommand{\warning}[1]{\strong{Warning:} #1}
 
 % Deprecation stuff.
--- 920,930 ----
 }
 
! \newcommand{\py@noticelabel@note}{Note:}
! \newcommand{\py@noticelabel@warning}{Warning:}
! \newenvironment{notice}[1][note]{
! \par\strong{\csname py@noticelabel@#1\endcsname}
! }{}
! \newcommand{\note}[1]{\strong{\py@noticelabel@note} #1}
! \newcommand{\warning}[1]{\strong{\py@noticelabel@warning} #1}
 
 % Deprecation stuff.

AltStyle によって変換されたページ (->オリジナル) /