Commits

Brian Mearns committed 951bc0b

Fixed indentation in README for rest.

  • Participants
  • Parent commits 4182dae

Comments (0)

Files changed (2)

             
 
 The following template shows an example of how to use \ ``templ``\ 
-                    to generate C-code, in this case a sine lookup table.
+to generate C-code, in this case a sine lookup table.
 
 
             
 ~~~~~~~~~~~~~~~~~~ 
             
 
-
-                    The next example shows how \ ``templ``\  allows you to easily embed data
-                    directly in the template file that uses it, allowing you to keep just
-                    one file under version control, for instance.
-                    
+The next example shows how \ ``templ``\  allows you to easily embed data
+directly in the template file that uses it, allowing you to keep just
+one file under version control, for instance. 
 
 
             
         
     
 2.4: Programmatic Invocation
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 The real power of \ ``templ``\  comes from the programmatic interface,
-                which allows you to predefine symbols, and even executables (functions, macros
-                and operators) in python, which are then accessible from the template.
-                Because, although \ ``templ``\  \ *is*\  Turing complete, and you \ *could*\  do all
-                of your processing directly in the template (or a separate included template), doing
-                advanced data processing in python can help keep your template files simpler.
-                
+which allows you to predefine symbols, and even executables (functions, macros
+and operators) in python, which are then accessible from the template.
+Because, although \ ``templ``\  \ *is*\  Turing complete, and you \ *could*\  do all
+of your processing directly in the template (or a separate included template), doing
+advanced data processing in python can help keep your template files simpler. 
 
-
-            

File templ/README.templ

             <<< {EXAMPLE-TEMPLATE
                 c
                 {implode
-                    <<<The following template shows an example of how to use {code templ}
-                    to generate C-code, in this case a sine lookup table.>>>
+<<<The following template shows an example of how to use {code templ}
+to generate C-code, in this case a sine lookup table.>>>
                 }
                 "The output looks like this:"
 "{v
             <<< {EXAMPLE-TEMPLATE
                 c
                 {implode
-                    <<<
-                    The next example shows how {code templ} allows you to easily embed data
-                    directly in the template file that uses it, allowing you to keep just
-                    one file under version control, for instance.
-                    >>>
+<<<The next example shows how {code templ} allows you to easily embed data
+directly in the template file that uses it, allowing you to keep just
+one file under version control, for instance. >>>
                 }
                 "It produces this:"
                 "
 
 
         {section "Programmatic Invocation"
-            <<< {p 
-                <<<The real power of {code templ} comes from the programmatic interface,
-                which allows you to predefine symbols, and even executables (functions, macros
-                and operators) in python, which are then accessible from the template.
-                Because, although {code templ} {em is} Turing complete, and you {em could} do all
-                of your processing directly in the template (or a separate included template), doing
-                advanced data processing in python can help keep your template files simpler.
-                >>>}
-            >>>}
+            <<<{p 
+<<<The real power of {code templ} comes from the programmatic interface,
+which allows you to predefine symbols, and even executables (functions, macros
+and operators) in python, which are then accessible from the template.
+Because, although {code templ} {em is} Turing complete, and you {em could} do all
+of your processing directly in the template (or a separate included template), doing
+advanced data processing in python can help keep your template files simpler. >>>
+            }>>>}
 
     }} %end section Examples