[Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty,1.64,1.65
Fred L. Drake
python-dev@python.org
Tue, 12 Sep 2000 10:52:35 -0700
Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory slayer.i.sourceforge.net:/tmp/cvs-serv1806/texinputs
Modified Files:
python.sty
Log Message:
\seetitle: New macro for building reference list content.
Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -r1.64 -r1.65
*** python.sty 2000/09/09 06:01:25 1.64
--- python.sty 2000/09/12 17:52:32 1.65
***************
*** 923,926 ****
--- 923,937 ----
}
}
+ % \seetitle[url]{title}{why it's interesting}
+ \newcommand{\py@seetitle}[3][\py@modulebadkey]{%
+ \par
+ \begin{fulllineitems}
+ \item[\citetitle{#2}]
+ \ifx\py@modulebadkey#1\else
+ \item[{\small{(\url{#1})}}]
+ \fi
+ #3
+ \end{fulllineitems}
+ }
% \seepep{number}{title}{why it's interesting}
\newcommand{\py@seepep}[3]{%
***************
*** 952,956 ****
--- 963,969 ----
\def\seetext##1{\par{##1}}
\let\seemodule=\py@seemodule
+ \let\seepep=\py@seepep
\let\seerfc=\py@seerfc
+ \let\seetitle=\py@seetitle
\let\seeurl=\py@seeurl
}{\par}