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

Fred L. Drake fdrake@users.sourceforge.net
2001年8月20日 14:36:40 -0700


Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory usw-pr-cvs1:/tmp/cvs-serv26523/texinputs
Modified Files:
	python.sty 
Log Message:
New \grammartoken markup, similar to \token but allowed everywhere.
Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -d -r1.80 -r1.81
*** python.sty	2001年08月03日 18:36:17	1.80
--- python.sty	2001年08月20日 21:36:38	1.81
***************
*** 868,871 ****
--- 868,872 ----
 
 
+ \newcommand{\grammartoken}[1]{\texttt{#1}}
 \newenvironment{productionlist}[1][\py@badkey]{
 \def\optional##1{{\Large[}##1{\Large]}}
***************
*** 873,876 ****
--- 874,878 ----
 \def\orgroup##1{{\def\or{\textbar\ }##1}}
 \def\token##1{##1}
+ \let\grammartoken=\token
 \begin{center}
 \begin{tabular}{lcl}

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