You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by da...@apache.org on 2002/10/11 17:29:12 UTC

cvs commit: tcl-site/presentations/apache-tcl presentation.tex

davidw      2002/10/11 08:29:12

  Modified:    presentations/apache-tcl presentation.tex
  Log:
  Updates to presentation.
  
  Revision  Changes    Path
  1.2       +12 -12    tcl-site/presentations/apache-tcl/presentation.tex
  
  Index: presentation.tex
  ===================================================================
  RCS file: /home/cvs/tcl-site/presentations/apache-tcl/presentation.tex,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- presentation.tex	11 Oct 2002 07:09:53 -0000	1.1
  +++ presentation.tex	11 Oct 2002 15:29:12 -0000	1.2
  @@ -323,16 +323,16 @@
   
   This example shows us several features of Tcl.  In reality, the Tcl
   code used here is entirely generic. The only thing that tells us that
  -it is used in Rivet, are the <? and ?> delimiters that indicate that
  -the particular section of the file should be parsed as Tcl code, and
  -not HTML.  The table (see below) which results from this code is
  -created by the two for loops, which set and then increment their
  -respective variables.  The value used to determine the shade of gray
  -for a particular cell is calculated by the \textbf{expr} command, and
  -is in turn used in the \textbf{format} command, which sets up both the
  -bgcolor to use for the cell.  Note that the numbers to be displayed in
  -the cell are interpolated directly in the string, and are not handled
  -by the format command.
  +it is used in Rivet, are the $<$? and ?$>$
  +delimiters that indicate that the particular section of the file
  +should be parsed as Tcl code, and not HTML.  The table (see below)
  +which results from this code is created by the two for loops, which
  +set and then increment their respective variables.  The value used to
  +determine the shade of gray for a particular cell is calculated by the
  +\textbf{expr} command, and is in turn used in the \textbf{format}
  +command, which sets up both the bgcolor to use for the cell.  Note
  +that the numbers to be displayed in the cell are interpolated directly
  +in the string, and are not handled by the format command.
   
   \includegraphics[scale=1.0]{./table.ps}
   
  @@ -418,7 +418,7 @@
   available in cache, the script is executed directly, without having to
   touch the disk at all to reload it.  Naturally the cache size is
   configurable via an Apache directive.  The parser works by
  -transforming chunks of HTML - everything outside of the <? ?> tags -
  +transforming chunks of HTML - everything outside of the $<$? ?$>$ tags -
   into large \textbf{puts} statements, which can then be executed along
   with the rest of the Tcl code as one large script.
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tcl-site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: tcl-site-cvs-help@tcl.apache.org