diff options
| author | hierro <hierro> | 2002-04-30 03:58:20 +0000 |
|---|---|---|
| committer | hierro <hierro> | 2002-04-30 03:58:20 +0000 |
| commit | 0c0c2927a36ed7f24b1d624d30c3795313a1a84f (patch) | |
| tree | 3fd3bdc687d09f6e9f3c646a3db0a4b942709282 /docs/users_guide_src | |
| parent | c296d5221e37453a5cd2996b24aa95d5352130cb (diff) | |
| download | python-cheetah-0c0c2927a36ed7f24b1d624d30c3795313a1a84f.tar.gz | |
Changes to date.
Diffstat (limited to 'docs/users_guide_src')
| -rw-r--r-- | docs/users_guide_src/output.tex | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/users_guide_src/output.tex b/docs/users_guide_src/output.tex index 63ac54c..f1da8cb 100644 --- a/docs/users_guide_src/output.tex +++ b/docs/users_guide_src/output.tex @@ -33,10 +33,6 @@ The \code{\#echo} directive is used to echo the output from expressions that can't be written as simple \$placeholders. It serves the same purpose as ASP's $<$\%=EXPR\%$>$ tag. -% @@MSO: The '<' and '>' on the previous line are showing up as Spanish -% inverted '?' and '!' in my gv. Backslashing them caused an error. Only -% placing them inside '$$' worked. - \begin{verbatim} Here is my #echo ', '.join(['silly']*5) # example \end{verbatim} @@ -111,7 +107,8 @@ whether the template is being filled that frequently or not. Keep this in mind when setting refresh times for CPU-intensive or I/O intensive operations. -% @@MO: Is it $*5*{var} or ${*5*var}? We should mention. +If you're using the long placeholder syntax, \verb+${}+, the braces go only +around the placeholder name: \verb+$*.5h*{var.func('arg')}+. Sometimes it's preferable to explicitly invalidate a cached item whenever you say so rather than at certain time intervals. You can't do this with |
