~ubuntu-branches/ubuntu/quantal/libtemplate-perl/quantal

« back to all changes in this revision

Viewing changes to html/old/tools/index.html

  • Committer: Package Import Robot
  • Author(s): Benjamin Mako Hill
  • Date: 2012-04-08 19:06:29 UTC
  • mfrom: (0.7.1) (0.5.2) (5.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20120408190629-wbcbs2ea39mex6lt
Tags: 2.24-1
* New upstream release (Closes: #664561)
* Bump Standards-Version to 3.9.3
* Changed to the short description to mention the term "Template
  Toolkit". (LP: #688836)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
 
4
<html>
 
5
  <head>
 
6
    <title>Template::Tools</title>
 
7
    <link rel="stylesheet" type="text/css" href="../css/blue.css" title="Clear Blue">
 
8
    <link rel="alternate stylesheet" type="text/css" href="../css/orange.css" title="Clear Orange">
 
9
    <link rel="alternate stylesheet" type="text/css" href="../css/green.css" title="Clear Green">
 
10
    <link rel="alternate stylesheet" type="text/css" href="../css/purple.css" title="Clear Purple">
 
11
    <link rel="alternate stylesheet" type="text/css" href="../css/grey.css" title="Clear Grey">
 
12
    <!--[if IE 6]>
 
13
    <link rel="stylesheet" type="text/css" href="../css/ie6.css" />
 
14
    <![endif]-->
 
15
    <link rel="stylesheet" type="text/css" href="/css/print.css" media="print">
 
16
    <script type="text/javascript" src="../js/tt2.js"></script>
 
17
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
 
18
    <meta name="author" content="Andy Wardley">
 
19
  </head>
 
20
  <body id="body"> 
 
21
    <div id="layout">
 
22
        <div id="header">
 
23
          <a href="../index.html" id="logo" alt="" title="Click for the Home Page"><span class="alt">TT2 Home Page</span></a>
 
24
          <ul id="trail">
 
25
            <li class="last"><a href="../tools/index.html">Tools</a></li>
 
26
          </ul>
 
27
          <div class="controls">
 
28
            <a href="#" class="menu show" onclick="widescreen_off(); return false" title="Show Menu">
 
29
              <span class="about">Click to view the menu.  It's very nice.</span>
 
30
            </a>
 
31
            <a href="#" class="menu hide" onclick="widescreen_on();  return false" title="Hide Menu">
 
32
              <span class="about">Click to hide the menu and go all widescreen!</span>
 
33
            </a>
 
34
          
 
35
          <div class="pager">
 
36
            <a href="../modules/index.html" title="Template::Modules" class="go back">Back<span class="about"><h4>Template::Modules</h4>Template Toolkit Modules</span></a>
 
37
            <a href="../index.html" title="Template::Toolkit" class="go up">Up<span class="about"><h4>Template::Toolkit</h4>Template Processing System</span></a>
 
38
            <a href="../tutorial/index.html" title="Template::Tutorial" class="go next">Next<span class="about"><h4>Template::Tutorial</h4>Template Toolkit Tutorials</span></a>
 
39
          </div>
 
40
          </div>
 
41
          <h1 class="headline">Template::Tools</h1>
 
42
          <h2 class="subhead">Command Line Tools for the Template Toolkit</h1>
 
43
        
 
44
        </div>
 
45
        <div id="page">
 
46
          <div id="sidebar">
 
47
            <a href="../index.html" id="logo"></a>
 
48
            <div id="menu">
 
49
              <ul class="menu">
 
50
                <li class="l0 first"><a href="../manual/index.html">Manual</a></li>
 
51
                <li class="l0"><a href="../modules/index.html">Modules</a></li>
 
52
                <li class="l0"><a href="../tools/index.html" class="warm">Tools</a></li>
 
53
                <li class="l1"><a href="../tools/tpage.html">tpage</a></li>
 
54
                <li class="l1"><a href="../tools/ttree.html">ttree</a></li>
 
55
                <li class="l0 last"><a href="../tutorial/index.html">Tutorial</a></li>
 
56
              </ul>
 
57
              <div class="foot"></div>
 
58
            </div>
 
59
          </div>
 
60
          <div id="content">
 
61
          <div class="section">
 
62
            <div class="head">
 
63
              <h1 id="contents" onclick="switch_section(this)" title="Click title to show/hide section content.">Contents</h1>
 
64
              <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
 
65
            </div>
 
66
            <div class="body">
 
67
              <ul class="toc">
 
68
                  <li class=""><a href="#Template_Tools">Template Tools</a></li>
 
69
                  <li class="sub"><a href="#section_tpage">tpage</a></li>
 
70
                  <li class="sub"><a href="#section_ttree">ttree</a></li>
 
71
              
 
72
              </ul>
 
73
            </div>
 
74
          </div>
 
75
          
 
76
                <div class="pod">
 
77
            <div class="section">
 
78
              <div class="head">
 
79
                <h1 id="Template_Tools" onclick="switch_section(this)" title="Click title to show/hide section content.">Template Tools</h1>
 
80
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
 
81
              </div>
 
82
              <div class="body">
 
83
                <p>
 
84
                      The Template Toolkit includes the following command line tools for
 
85
                      processing templates.
 
86
                    </p>
 
87
                    <div class="subsection">
 
88
                  <div class="head">
 
89
                    <h2 id="section_tpage" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">tpage</h2>
 
90
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
 
91
                  </div>
 
92
                  <div class="body">
 
93
                    <p>
 
94
                          The <a href="#section_tpage">Template::Tools::tpage</a> script can be
 
95
                          used to process a single template using the Template Toolkit.
 
96
                        </p>
 
97
                        <pre>$ tpage --define msg="Hello World" greeting.tt2</pre>
 
98
                        <p>
 
99
                          Use the <code>-h</code> option to get a summary of options:
 
100
                        </p>
 
101
                        <pre>$ tpage -h</pre>
 
102
                        <p>
 
103
                          See the <a href="../tools/tpage.html">Template::Tools::tpage</a> documentation for further information and
 
104
                          examples of use.
 
105
                        </p>
 
106
                  </div>
 
107
                </div>    <div class="subsection">
 
108
                  <div class="head">
 
109
                    <h2 id="section_ttree" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">ttree</h2>
 
110
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
 
111
                  </div>
 
112
                  <div class="body">
 
113
                    <p>
 
114
                          The <a href="#section_ttree">Template::Tools::ttree</a> script can be
 
115
                          used to process an entire directory of templates.
 
116
                        </p>
 
117
                        <pre>$ ttree --src /path/to/templates --dest /path/to/output</pre>
 
118
                        <p>
 
119
                          Use the <code>-h</code> option to get a summary of options:
 
120
                        </p>
 
121
                        <pre>$ ttree -h</pre>
 
122
                        <p>
 
123
                          See the <a href="../tools/ttree.html">Template::Tools::ttree</a> documentation for further information and
 
124
                          examples of use.
 
125
                        </p>
 
126
                  </div>
 
127
                </div>
 
128
              </div>
 
129
            </div>
 
130
            
 
131
            </div></div>
 
132
          <br class="clear" />
 
133
          <div class="pageinfo">
 
134
            /tools/index.html last modified 10:55:12 31-May-2007
 
135
          </div>
 
136
        </div>
 
137
        
 
138
        <div id="footer">
 
139
          <a href="http://opensource.org/" class="osi"></a>
 
140
          <div class="controls">
 
141
          <div class="pager">
 
142
            <a href="../modules/index.html" title="Template::Modules" class="go back">Back<span class="about"><h4>Template::Modules</h4></span></a>
 
143
            <a href="../index.html" title="Template::Toolkit" class="go up">Up<span class="about"><h4>Template::Toolkit</h4></span></a>
 
144
            <a href="../tutorial/index.html" title="Template::Tutorial" class="go next">Next<span class="about"><h4>Template::Tutorial</h4></span></a>
 
145
          </div>
 
146
          </div>
 
147
          <div class="copyright">
 
148
            Copyright &copy; 1996-2007 <a href="http://wardley.org/">Andy Wardley</a>.  All Rights Reserved.
 
149
          </div>
 
150
          <div class="licence">
 
151
            The <a href="http://template-toolkit.org/">Template Toolkit</a> is <a href="http://opensource.org/">Open Source</a> software.
 
152
            You can redistribute and/or modify it under the terms of the <a href="http://www.opensource.org/licenses/gpl-license.php">GNU Public Licence</a>
 
153
            or the <a href="http://www.opensource.org/licenses/artistic-license.php">Perl Artistic Licence</a>.
 
154
          </div>
 
155
        </div>
 
156
        <div id="palette">
 
157
          <ul>
 
158
            <li class="first"><a href="#" class="blue" onclick="set_style('Clear Blue')"></a></li>
 
159
            <li><a href="#" class="orange" onclick="set_style('Clear Orange')"></a></li>
 
160
            <li><a href="#" class="green" onclick="set_style('Clear Green')"></a></li>
 
161
            <li><a href="#" class="purple" onclick="set_style('Clear Purple')"></a></li>
 
162
            <li><a href="#" class="grey" onclick="set_style('Clear Grey')"></a></li>
 
163
          </ul>
 
164
        </div>
 
165
    </div>  </body>
 
166
</html>