[Python-checkins] python/dist/src/Doc/texinputs python.sty,1.100,1.101

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Mon, 30 Dec 2002 12:51:29 -0800


Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory sc8-pr-cvs1:/tmp/cvs-serv32100

Modified Files:
	python.sty 
Log Message:
Start something that might make table notes easier to deal with,
eventually.


Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -d -r1.100 -r1.101
*** python.sty	4 Nov 2002 16:29:31 -0000	1.100
--- python.sty	30 Dec 2002 20:51:27 -0000	1.101
***************
*** 1104,1107 ****
--- 1104,1128 ----
  }
  
+ % XXX Don't think we can use this yet, though it cleans up some
+ % tedious markup.  There's no equivalent for the HTML transform yet,
+ % and that needs to exist.  I don't know how to write it.
+ %
+ % This should really have something that makes it easier to bind a
+ % table's ``Notes'' column and an associated tablenotes environment,
+ % and generates the right magic for getting the numbers right in the
+ % table.
+ %
+ % So this is quite incomplete.
+ %
+ \newcounter{py@tablenotescounter}
+ \newenvironment{tablenotes}{%
+   \noindent Notes:
+   \par
+   \setcounter{py@tablenotescounter}{0}
+   \begin{list}{(\arabic{py@tablenotescounter})}%
+               {\usecounter{py@tablenotescounter}}
+ }{\end{list}}
+ 
+ 
  % Cross-referencing (AMK, new impl. FLD)
  % Sample usage: