avoid overflow (or auto conversion to long) in Python version of the t1 decoder/encoder
[PyX.git] / www / exampleindex.pt
blobec29d362e582f1b6c352aa0193d016e4759bbcf6
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2             "http://www.w3.org/TR/html4/strict.dtd">
3 <html metal:use-macro="options/maintemplate/macros/page">
5   <div metal:fill-slot="body">
7     <div class="examplenavigations">
8       <a class="examplenavigation" tal:attributes="href python: options['mkrellink'](options['next'], options)">next</a>
9     </div>
10     <h1>PyX - Examples</h1>
12     <p tal:condition="options/abstract" tal:content="structure options/abstract">
13       A short introduction about the example pages.
14     </p>
16     <span class="example" tal:repeat="example options/examples">
17       <div class="exampleseparator" tal:condition="python: options['abstract'] or not repeat['example'].start()"></div>
18       <div class="exampledownloads">
19         <div tal:repeat="download example/downloads" class="exampledownload">
20           <div><a tal:attributes="href download/filename" tal:content="download/suffixname">.xxx</a></div>
21           <div class="exampledownloadsize" tal:content="download/filesize"/>
22         </div>
23       </div>
24       <h2 tal:content="example/title">title</h2>
25       <div class="exampleimage">
26         <img tal:attributes="alt example/png; src example/png; width example/width; height example/height">
27       </div>
28       <div class="examplecode" tal:content="structure example/code">Code</div>
29       <tal:block tal:condition="example/text">
30           <h3>Description</h3>
31           <div class="exampletext" tal:content="structure example/text">Code</div>
32       </tal:block>
33     </span>
35     <div class="exampleseparator"></div>
36     <h2>Further examples</h2>
37     <p>
38       Further examples are available on separate pages:
39     </p>
40     <ul>
41       <li tal:repeat="item options/examplepages">
42         <a tal:attributes="href python:item+'/index.html'" tal:content="python: item.title()">Examples</a>
43       </li>
44     </ul>
46   </div>
48 </html>
49 <!-- vim:set syntax=html: -->