221 KB
/srv/reproducible-results/rbuild-debian/r-b-build.yijYzrAH/b1/htp_1.19-8_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.yijYzrAH/b2/htp_1.19-8_arm64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·fd6b5971556ebb2f09f4454160da8d92·70392·debug·optional·htp-dbgsym_1.19-8_arm64.deb1 ·fd6b5971556ebb2f09f4454160da8d92·70392·debug·optional·htp-dbgsym_1.19-8_arm64.deb
2 ·539af1c0f2b48c9fe957eabf17e4ec00·116356·web·optional·htp_1.19-8_arm64.deb2 ·012faaa1e245c64143d735cc3bafd5a6·116764·web·optional·htp_1.19-8_arm64.deb
221 KB
htp_1.19-8_arm64.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary
2 -rw-r--r--···0········0········0·····3612·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3612·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···112552·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···112960·2020-06-14·23:21:19.000000·data.tar.xz
563 B
control.tar.xz
535 B
control.tar
465 B
./control
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 Package:·htp1 Package:·htp
2 Version:·1.19-82 Version:·1.19-8
3 Architecture:·arm643 Architecture:·arm64
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6495 Installed-Size:·642
6 Depends:·libc6·(>=·2.38)6 Depends:·libc6·(>=·2.38)
7 Section:·web7 Section:·web
8 Priority:·optional8 Priority:·optional
9 Homepage:·http://htp.sourceforge.net9 Homepage:·http://htp.sourceforge.net
10 Description:·nice·HTML·pre-processor10 Description:·nice·HTML·pre-processor
11 ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool11 ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool
12 ·that·can·easily·be·integrated·into·the·HTML·design·process.12 ·that·can·easily·be·integrated·into·the·HTML·design·process.
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
220 KB
data.tar.xz
220 KB
data.tar
15.0 KB
file list
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/
4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67816·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67816·2020-06-14·23:21:19.000000·./usr/bin/htp
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····8782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····9020·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html
9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····8386·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····8456·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html
11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp
12 -rw-r--r--···0·root·········(0)·root·········(0)·····8571·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····8972·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html
13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp
14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html
15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp
16 -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz16 -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz
17 -rw-r--r--···0·root·········(0)·root·········(0)····13177·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)·····9196·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html
18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp
19 -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright19 -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright
20 -rw-r--r--···0·root·········(0)·root·········(0)····14863·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····17701·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/
25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti
27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt
6.88 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 32 lines modifiedOffset 114, 33 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imagename"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">text</span>=<span·class="[·...·truncated·by·diffoscope;·len:·51,·SHA:·6bb4729a48da75ea0b96eff1d25a6ffba0e4eeb41f2dbf89ac218b003850fe95·...·]</span>&gt;</span><br>
122 <br>122 <br>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A125 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
126 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.126 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
127 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the127 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
128 filename·is·considered·in·all·comparisons.128 filename·is·considered·in·all·comparisons.
129 <p>129 <p>
130 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT130 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT
131 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to131 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to
132 be·overridden·on·specific·images·and·default·text·on·all·others.132 be·overridden·on·specific·images·and·default·text·on·all·others.
133 <p>133 <p>
134 For·example:134 For·example:
135 ··<p><code>135 ··<p><code>
136 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br> 
137 &nbsp;·...<br>136 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">BLOCK</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"blockname"</span>·<span·class="htp-attrib">[GLOBAL]</span>·<span·[·...·truncated·by·diffoscope;·len:·45,·SHA:·102229fde841e8e69a73895a3b5146f235aa80b646518ae57651ba853b2bdefd·...·]<br>
 137 text·block<br>
138 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br>138 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/BLOCK</a>&gt;</span><br>
 139 <br>
139 </code></p>140 </code></p>
140 <p>141 <p>
141 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT142 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
142 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not143 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
143 changed.144 changed.
144 <p>145 <p>
145 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,146 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
4.45 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 38 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.m_.g·src="filename"·...>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_.l_.t_.t_.e_.x_.t·name="imagename"·[·text="imagetext"
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
7  ·_.U_.s_.a_.g_.e·····················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag8  ·HTP·Tags··················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag
8  ·HTP·Tags··················with·a·SRC·matching·the·ALTTEXT·NAME.·Since9  ·[>]·_.A_.L_.T_.T_.E_.X_.T···············with·a·SRC·matching·the·ALTTEXT·NAME.·Since
9  ·[>]·_.A_.L_.T_.T_.E_.X_.T···············relative·paths·can·be·used·to·point·to·the·same10  · ···_.B_.L_.O_.C_.K·················relative·paths·can·be·used·to·point·to·the·same
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················image,·only·the·filename·is·considered·in·all11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············image,·only·the·filename·is·considered·in·all
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············comparisons.12  · ···_\x8D_.E_.F···················comparisons.
12  · ···_\x8D_.E_.F···················When·an·IMG·tag·with·a·matching·source·is13  · ···_\x8F_.I_.L_.E··················When·an·IMG·tag·with·a·matching·source·is
13  · ···_\x8F_.I_.L_.E··················encountered,·htp·will·add·an·ALT·attribute·only·if14  · ···_\x8I_.F····················encountered,·htp·will·add·an·ALT·attribute·only·if
14  · ···_\x8I_\x8F····················one·is·not·already·present.·This·allows·for·ALT15  · ···_\x8I_\x8N_.C···················one·is·not·already·present.·This·allows·for·ALT
15  · ···_\x8I_\x8N_.C···················text·to·be·overridden·on·specific·images·and16  · ···_\x8I_\x8M_.G···················text·to·be·overridden·on·specific·images·and
16  · ···_\x8I_\x8M_\x8G···················default·text·on·all·others.17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············default·text·on·all·others.
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············For·example: 
18  · ···_\x8O_\x8P_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> 
19  · ···_\x8O_\x8U_.T_.P_.U_.T················ ·...18  · ···_\x8O_\x8P_.T···················For·example:
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8B_\x8L_\x8O_\x8C_\x8K·NAME="blockname"·[GLOBAL]·[EXPAND]>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················text·block
20  · ···_\x8Q_.U_.O_.T_.E·················<_.[_.[_.r_.e_.f_.]_.]_./_.i_.f>21  · ···_\x8S_.E_.T···················<_.[_.[_.r_.e_.f_.]_.]_./_.B_.L_.O_.C_.K>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
21  · ···_\x8S_.E_.T···················An·ALTTEXT·tag·with·a·name·but·no·text·attribute23  · ···_\x8U_.N_.S_.E_.T·················An·ALTTEXT·tag·with·a·name·but·no·text·attribute
22  · ···_\x8U_\x8N_.D_.E_.F·················removes·any·ALT·mapping·for·this·image.·Successing24  · ···_\x8U_\x8S_.E_.,_.·_.$················removes·any·ALT·mapping·for·this·image.·Successing
23  · ···_\x8U_.N_.S_.E_.T·················IMG·tags·with·a·matching·SRC·name·are·not·changed.25  · ···_\x8W_.H_.I_.L_.E·················IMG·tags·with·a·matching·SRC·name·are·not·changed.
24  · ···_\x8U_.S_.E_.,_.·_.$················Since·this·is·useful·for·an·image·used·throughout·a26  · ···_\x8<_.!_.-_.-_.-·················Since·this·is·useful·for·an·image·used·throughout·a
25  · ···_.W_.H_.I_.L_.E·················set·of·documents,·ALTTEXT·is·most·appropriate·in·an27  ·_.H_.i_.s_.t_.o_.r_.y···················set·of·documents,·ALTTEXT·is·most·appropriate·in·an
26  · ···_.<_.!_.-_.-_.-·················_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e.
27  ·_\x8H_.i_.s_.t_.o_.r_.y···················In·addition·to·ALTTEXT,·htp·can·also·automatically29  ·_\x8B_.u_.g_.s······················In·addition·to·ALTTEXT,·htp·can·also·automatically
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.30 ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.
29  ·_\x8B_\x8u_\x8g_\x8s 
  
  
  
  
  
  
  
4.88 KB
./usr/share/doc/htp/block.html
    
Offset 114, 15 lines modifiedOffset 114, 17 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·cla[·...·truncated·by·diffoscope;·len:·158,·SHA:·77802533b65be19947453e3c8289702669d57995eaf687652462169c934d23e6·...·]</span><span·class="ebnf">]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">BLOCK</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf[·...·truncated·by·diffoscope;·len:·69,·SHA:·d057684bf3027f75634f56d267bfd30198532a1d11fb91ee2405d097a7ae8b93·...·]</span><span·class="ebnf">]</span>&gt;</span><br>
 122 text·block<br>
 123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/BLOCK</a>&gt;</span><br>
122 <br>124 <br>
123 </code></p>125 </code></p>
124 <h2>synopsis</h2>126 <h2>synopsis</h2>
125 <P>127 <P>
126 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which128 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
127 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be129 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
128 multi-line·definitions.130 multi-line·definitions.
3.38 KB
html2text {}
    
Offset 1, 26 lines modifiedOffset 1, 26 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·macroname1="increment1"4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8B_.L_.O_.C_.K·NAME="blockname"·[GLOBAL]·[EXPAND]>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> 
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l5  ·_\x8L_.i_.c_.e_.n_.s_.e···················text·block
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8B_\x8L_\x8O_\x8C_\x8K>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,9  · ···_.A_.L_.T_.T_.E_.X_.T···············B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,
9  · ···_.A_.L_.T_.T_.E_.X_.T···············which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be10  ·[>]·_.B_.L_.O_.C_.K·················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be
10  ·[>]·_.B_.L_.O_.C_.K·················multi-line·definitions.11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············multi-line·definitions.
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············Any·text·and·formatting·may·be·set·inside·the12  · ···_\x8D_.E_.F···················Any·text·and·formatting·may·be·set·inside·the
12  · ···_\x8D_.E_.F···················block.·You·can·use·any·htp·or·user·defined·metatag13  · ···_\x8F_.I_.L_.E··················block.·You·can·use·any·htp·or·user·defined·metatag
13  · ···_\x8F_.I_.L_.E··················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be14  · ···_\x8I_.F····················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be
14  · ···_\x8I_\x8F····················expanded·before·the·block·is·USEd·except·if·you15  · ···_\x8I_\x8N_.C···················expanded·before·the·block·is·USEd·except·if·you
15  · ···_\x8I_\x8N_.C···················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.16  · ···_\x8I_\x8M_.G···················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.
16  · ···_\x8I_\x8M_\x8G···················The·block·macro·is·dereferenced·(expanded)·with·the17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············The·block·macro·is·dereferenced·(expanded)·with·the
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the18  · ···_\x8O_.P_.T···················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the
18  · ···_\x8O_\x8P_.T···················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.19  · ···_\x8O_\x8U_.T_.P_.U_.T················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
6.17 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 30 lines modifiedOffset 114, 30 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br>
 122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>
 123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
 124 <br>
121 </code></p>125 </code></p>
122 <h2>synopsis</h2>126 <h2>synopsis</h2>
123 <strong>BLOCKDEF</strong>·creates·block·<A127 <strong>BLOCKDEF</strong>·creates·block·<A
124 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it128 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
125 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block129 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
126 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and130 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
127 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored131 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
128 in·the·block·macro·named·BLOCK.132 in·the·block·macro·named·BLOCK.
129 <P>·For·example:</P>133 <P>·For·example:</P>
130 ··<p><code>134 ··<p><code>
 135 <span·class="comment">&lt;!---·comment·---&gt;</span><br>
131 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br> 
132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br> 
133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
134 <br>136 <br>
135 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br> 
136 &nbsp;·&nbsp;·This·text·is·centered.<br> 
137 </code></p>137 </code></p>
138 <p>138 <p>
139 All·block·metatags·have·the·implicit·option·<a139 All·block·metatags·have·the·implicit·option·<a
140 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents140 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
141 of·the·block·before·the·definition·is·expanded.141 of·the·block·before·the·definition·is·expanded.
142 </p>142 </p>
143 <p>143 <p>
3.68 KB
html2text {}
    
Offset 1, 43 lines modifiedOffset 1, 44 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="tagname"·[option="option1
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ...
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
 8  ·HTP·Tags
4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*9  · ···_.A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_.L_.i_.c_.e_.n_.s_.e···················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy10  · ···_.B_.L_.O_.C_.K·················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················way·of·saying·it·creates·new·block·tags.·A·block11  ·[>]·_.B_.L_.O_.C_.K_.D_.E_.F··············way·of·saying·it·creates·new·block·tags.·A·block
7  ·_.U_.s_.a_.g_.e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional12  · ···_.D_.E_.F···················tag·is·a·tag·that·takes·a·whole·block·as·additional
8  ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname>13  · ···_.F_.I_.L_.E··················parameter.·This·block·is·surrounded·by·<tagname>
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············and·</tagname>.·The·contents·of·this·block·are14  · ···_\x8I_.F····················and·</tagname>.·The·contents·of·this·block·are
10  · ···_\x8B_.L_.O_.C_.K·················automatically·stored·in·the·block·macro·named15  · ···_\x8I_.N_.C···················automatically·stored·in·the·block·macro·named
 16  · ···_\x8I_\x8M_\x8G···················BLOCK.
11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK. 
12  · ···_\x8D_\x8E_\x8F···················For·example: 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="centered"> 
14  · ···_\x8I_\x8F···················· · ·<p·align=center> 
15  · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
16  · ···_\x8I_\x8M_\x8G 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<centered>17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············For·example:
18  · ···_\x8O_\x8P_\x8T··················· · ·This·text·is·centered.18  · ···_\x8O_\x8P_\x8T···················<!---·comment·--->
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
19  · ···_\x8O_.U_.T_.P_.U_.T················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,20  · ···_\x8Q_.U_.O_.T_.E·················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,
20  · ···_\x8Q_.U_.O_.T_.E·················which·tells·htp·to·expand·the·contents·of·the·block21  · ···_\x8S_.E_.T···················which·tells·htp·to·expand·the·contents·of·the·block
21  · ···_\x8S_.E_.T···················before·the·definition·is·expanded.22  · ···_\x8U_.N_.D_.E_.F·················before·the·definition·is·expanded.
22  · ···_\x8U_\x8N_\x8D_.E_.F·················A·more·thorough·discussion·and·more·elaborate23  · ···_\x8U_\x8N_\x8S_.E_.T·················A·more·thorough·discussion·and·more·elaborate
23  · ···_\x8U_\x8N_.S_.E_.T·················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.24  · ···_\x8U_\x8S_.E_.,_.·_.$················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
13.8 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 68 lines modifiedOffset 114, 39 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&gt;</span><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
124 &nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
125 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
126 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
127 <br>123 <br>
128 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
129 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
130 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br> 
131 </code></p>124 </code></p>
132 <h2>synopsis</h2>125 <h2>synopsis</h2>
133 <p>126 <p>
134 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful127 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
135 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.128 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
136 Example:129 Example:
137 </p>130 </p>
138 ··<p><code>131 ··<p><code>
 132 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
140 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
141 <br> 
142 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
143 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
144 &nbsp;·(no·URL·replacement).<br> 
145 <br> 
146 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
147 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
148 <br> 
149 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
150 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
151 &nbsp;·will·not·be·added.<br> 
152 <br> 
153 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
154 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
155 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
156 <br> 
157 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
158 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
159 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
160 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
161 </code></p>133 </code></p>
162 <p>134 <p>
163 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you135 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
164 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something136 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
165 like·this:137 like·this:
166 </p>138 </p>
167 ··<p><code>139 ··<p><code>
168 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br>140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br>
 141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>
169 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br> 
170 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
171 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
172 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
173 <br>143 <br>
174 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br>144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>
 145 &nbsp;·&nbsp;·This·text·is·centered.<br>
175 </code></p>146 </code></p>
176 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the147 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
177 reason·why·you·don't·want·to·include·this·block</p>148 reason·why·you·don't·want·to·include·this·block</p>
178 <p>149 <p>
179 </td>150 </td>
180 </tr>151 </tr>
181 <tr>152 <tr>
6.15 KB
html2text {}
    
Offset 1, 76 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section"·option="title">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="tagname"·[option="option1
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · <p·class="section"> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> 
8  ·HTP·Tags·················· · </p> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<section·title="My·Section"> 
12  · ···_\x8D_\x8E_\x8F··················· · ·This·is·a·fancy·section. 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·</section> 
14  · ···_.I_.F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
15  · ···_\x8I_.N_.C···················This·is·a·simple·comment·that·is·not·included·in9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············This·is·a·simple·comment·that·is·not·included·in
16  · ···_\x8I_.M_.G···················the·output.·This·is·useful·when·commenting10  · ···_\x8B_.L_.O_.C_.K·················the·output.·This·is·useful·when·commenting
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············metatags,·since·the·metatags·do·not·appear·the11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············metatags,·since·the·metatags·do·not·appear·the
18  · ···_\x8O_.P_.T···················output·either.·Example:12  · ···_\x8D_.E_.F···················output·either.·Example:
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················"·path="/var/www/my.domain/"> 
21  · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
22  · ···_\x8U_.N_.D_.E_.F·················var/www/other.domain/">13  · ···_\x8F_.I_.L_.E··················<!---·This·comment·doesn't·appear·in·the·HTML·file
 14  · ···_\x8I_\x8F····················--->
 15  · ···_\x8I_\x8N_\x8C···················Note·that·these·comments·should·not·include·<·or·>,
 16  · ···_\x8I_\x8M_\x8G···················that·is·you·should·not·use·it·to·comment·out·htp
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············code.·For·that·purpose·use·something·like·this:
 18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="centered">
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<p·align=center>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
23  · ···_\x8U_.N_.S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·the·local·filename·"logo.gif"·will·be·used·to 
26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················determine·image·dimensions 
27  ·_.H_.i_.s_.t_.o_.r_.y··················· ·(no·URL·replacement).22  · ···_.U_.N_.D_.E_.F················· · ·<centered>
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·This·text·is·centered.
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················Make·sure·that·the·variable·is·never·defined·and
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················xyz·should·be·the·reason·why·you·don't·want·to
 26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················include·this·block
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
30 ····························my.domain.org/logo.gif"> 
31 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" 
32 ····························will·be·used. 
  
33 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
34 ····························other.domain.org/logo.gif"> 
35 ···························· ·the·local·file·cannot·be·found·(no·prefix·match), 
36 ····························so·the·image·dimensions 
37 ···························· ·will·not·be·added. 
  
38 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes 
39 ····························precedence: 
40 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
41 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
42 ····························test/"> 
  
43 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
44 ····························src="/test/image.gif"> are·mapped·to 
45 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
46 ····························image.gif,·resp. 
47 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
48 ····························swapped,·the·second 
49 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
50 ····························image.gif. 
51 ····························Note·that·these·comments·should·not·include·<·or·>, 
52 ····························that·is·you·should·not·use·it·to·comment·out·htp 
53 ····························code.·For·that·purpose·use·something·like·this: 
54 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="bolditalic"> 
55 ···························· · ·<b><i> 
56 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> 
57 ···························· · ·</i></b> 
58 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
  
59 ···························· ·This·is·<bolditalic>bold·and·italic</bolditalic> 
60 ····························Make·sure·that·the·variable·is·never·defined·and 
61 ····························xyz·should·be·the·reason·why·you·don't·want·to 
62 ····························include·this·block 
  
  
  
  
  
  
  
  
  
  
24.4 KB
./usr/share/doc/htp/def.html
    
Offset 114, 78 lines modifiedOffset 114, 85 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <br> 
123 </code></p>122 </code></p>
124 <h2>synopsis</h2>123 <h2>synopsis</h2>
125 <p>124 <p>
126 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a125 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
127 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to126 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
128 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>127 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
129 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.128 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
130 For·example:129 For·example:
131 </p>130 </p>
132 ··<p><code>131 ··<p><code>
133 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
134 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
135 <br> 
136 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br>
 133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>
 134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
137 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
138 &nbsp;·(no·URL·replacement).<br> 
139 <br> 
140 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
141 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
142 <br> 
143 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
144 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
145 &nbsp;·will·not·be·added.<br> 
146 <br>135 <br>
 136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>
 137 &nbsp;·&nbsp;·This·text·is·centered.<br>
147 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
148 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
149 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
150 <br> 
151 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
152 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
153 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
154 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
155 </code></p>138 </code></p>
156 <P>139 <P>
157 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to140 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
158 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A141 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
159 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster142 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
160 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing143 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
161 tag·with·a·preceding·slash.·For·example:144 tag·with·a·preceding·slash.·For·example:
162 </P>145 </P>
163 ··<p><code>146 ··<p><code>
 147 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
164 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br>148 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
165 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br> 
166 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br>149 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
167 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
168 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>150 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
169 <br> 
170 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br>151 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 152 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 153 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 154 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 155 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 156 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br>
 157 &nbsp;·contents·of·a:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 158 &nbsp;·contents·of·b:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 159 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 160 &nbsp;·&nbsp;·c·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 161 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 162 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 163 &nbsp;·&nbsp;·d·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 164 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 165 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>&gt;</span><br>
 166 &nbsp;·&nbsp;·e·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 167 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 168 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>&gt;</span><br>
 169 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
 170 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 171 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 172 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>
 173 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>
 174 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>
171 </code></p>175 </code></p>
172 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,176 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
173 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>177 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
174 <P>178 <P>
175 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were179 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
176 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with180 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
177 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their181 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
178 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)182 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
179 </P>183 </P>
180 ··<p><code>184 ··<p><code>
181 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>&gt;</span><br> 
182 <br> 
183 name2·...·><br> 
184 <br>185 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br>
 186 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>
 187 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 188 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br>
 189 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br>
 190 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>
 191 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
185 </code></p>192 </code></p>
186 <P>193 <P>
187 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is194 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
188 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are195 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
189 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the196 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
190 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a197 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
191 parameter·is·required,·simply·expand·it·without·first·checking.··When198 parameter·is·required,·simply·expand·it·without·first·checking.··When
10.2 KB
html2text {}
    
Offset 1, 80 lines modifiedOffset 1, 82 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·This·comment·doesn't·appear·in·the·HTML·file
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················--->
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of7  ·_.U_.s_.a_.g_.e·····················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of
9  · ···_.A_.L_.T_.T_.E_.X_.T···············saying·it·creates·new·tags.·The·mechanism·is·very8  ·HTP·Tags··················saying·it·creates·new·tags.·The·mechanism·is·very
10  · ···_\x8B_.L_.O_.C_.K·················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············not·used·to·expand·them.·Instead,·they·are·expanded10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················not·used·to·expand·them.·Instead,·they·are·expanded
12  ·[>]·_.D_.E_.F···················by·their·own·name.·For·example:11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············by·their·own·name.·For·example:
 12  ·[>]·_\x8D_\x8E_\x8F··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="centered">
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<p·align=center>
 14  · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 15  · ···_\x8I_\x8N_\x8C
 16  · ···_\x8I_\x8M_\x8G··················· · ·<centered>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·This·text·is·centered.
13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
14  · ···_\x8I_\x8F····················"·path="/var/www/my.domain/"> 
15  · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
16  · ···_\x8I_\x8M_\x8G···················var/www/other.domain/"> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L 
18  · ···_\x8O_\x8P_\x8T··················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·the·local·filename·"logo.gif"·will·be·used·to 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················determine·image·dimensions 
21  · ···_\x8S_\x8E_\x8T··················· ·(no·URL·replacement). 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················my.domain.org/logo.gif"> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·the·local·filename·"/var/www/my.domain/logo.gif" 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················will·be·used. 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
29  ·_\x8B_\x8u_\x8g_\x8s······················other.domain.org/logo.gif"> 
30 ···························· ·the·local·file·cannot·be·found·(no·prefix·match), 
31 ····························so·the·image·dimensions 
32 ···························· ·will·not·be·added. 
  
33 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes 
34 ····························precedence: 
35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
37 ····························test/"> 
  
38 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
39 ····························src="/test/image.gif"> are·mapped·to 
40 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
41 ····························image.gif,·resp. 
42 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
43 ····························swapped,·the·second 
44 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
45 ····························image.gif. 
46 ····························Some·metatags·will·require·an·opening·and·closing18  · ···_.O_.P_.T···················Some·metatags·will·require·an·opening·and·closing
47 ····························tag·(comparable·to 
48 ····························and19  · ···_.O_.U_.T_.P_.U_.T················tag·(comparable·to
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················and
49 ····························).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.21  · ···_.S_.E_.T···················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.
50 ····························Another·slightly·faster·alternative·is·to·use·two22  · ···_.U_.N_.D_.E_.F·················Another·slightly·faster·alternative·is·to·use·two
51 ····························metatags,·the·opening·tag·and·the·closing·tag·with23  · ···_.U_.N_.S_.E_.T·················metatags,·the·opening·tag·and·the·closing·tag·with
52 ····························a·preceding·slash.·For·example:24  · ···_.U_.S_.E_.,_.·_.$················a·preceding·slash.·For·example:
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="0">
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a>
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand>
 30 ···························· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
53 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_.l_.o_.c_.k_.d_.e_.f·name="bolditalic">31 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_.b_.l_.o_.c_.k>
54 ···························· · ·<b><i>32 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·time="1">
 33 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a>
55 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block>34 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·b>
56 ···························· · ·</i></b>35 ···························· ·contents·of·a:·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·a·noexpand>
 36 ···························· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand>
 37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand>
 38 ···························· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 39 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a>
57 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_.d_.e_.f>40 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
  
58 ···························· ·This·is·<bolditalic>bold·and·italic</bolditalic>41 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name=d·expand>
 42 ···························· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 43 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 44 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 45 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e>
 46 ···························· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 47 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 48 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 49 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2">
 50 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a>
 51 ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e
 52 ····························time>.
 53 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 54 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c>
 55 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d>
 56 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e>
59 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will57 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
60 ····························check·for·matching·end·tag.·It·is·not·that·slower.58 ····························check·for·matching·end·tag.·It·is·not·that·slower.
61 ····························Options·can·be·passed·to·a·metatag,·which·can·then59 ····························Options·can·be·passed·to·a·metatag,·which·can·then
62 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are60 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
63 ····························parameterized·with·the·OPTION·attribute.·Multiple61 ····························parameterized·with·the·OPTION·attribute.·Multiple
64 ····························options·can·be·listed·by·separating·their·name·with62 ····························options·can·be·listed·by·separating·their·name·with
65 ····························a·space·(which·therefore·requires·they·be63 ····························a·space·(which·therefore·requires·they·be
66 ····························surrounded·by·quotes.)64 ····························surrounded·by·quotes.)
67 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> 
 65 ···························· · ·a·is·expanded·at·time·1.
 66 ···························· · ·b·is·expanded·at·time·0.
 67 ···························· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[
 68 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 69 ···························· ·contents·of·b:· ·b·is·expanded·at·time·0.
 70 ···························· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at
68 ····························name2·...·>71 ····························time·1.
 72 ···························· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at
 73 ····························time·2.
 74 ···························· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the
 75 ····························2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
69 ····························htp·will·do·very·specific·checking·of·parameters76 ····························htp·will·do·very·specific·checking·of·parameters
70 ····························when·a·metatag·is·invoked.·htp·assumes·that·all77 ····························when·a·metatag·is·invoked.·htp·assumes·that·all
71 ····························parameter·options·to·the·metatag·are·optional.·This78 ····························parameter·options·to·the·metatag·are·optional.·This
72 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify79 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify
73 ····························the·SIZE·option·is·defined·before·expanding·it·in80 ····························the·SIZE·option·is·defined·before·expanding·it·in
74 ····························the·block.·If·a·parameter·is·required,·simply81 ····························the·block.·If·a·parameter·is·required,·simply
75 ····························expand·it·without·first·checking.·When·htp·expands82 ····························expand·it·without·first·checking.·When·htp·expands
9.21 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 30 lines modifiedOffset 98, 27 lines modified
98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>
99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to
100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of
101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value
102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when
103 the·htp·tags·are·expanded:·</P>103 the·htp·tags·are·expanded:·</P>
104 ··<p><code>104 ··<p><code>
105 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br> 
106 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br> 
107 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>105 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="htp-attrib">(output<[·...·truncated·by·diffoscope;·len:·166,·SHA:·bd239142644a960f288135bd25ec12eb062e0be465398fde9c8932865d74eecf·...·]>&gt;</span><br>
 106 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>&gt;</span><br>
 107 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>&gt;</span><br>
 108 <font·size="-2">&nbsp;4.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>&gt;</span><br>
 109 <font·size="-2">&nbsp;5.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 110 <font·size="-2">&nbsp;6.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 111 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br>
 112 <font·size="-2">&nbsp;8.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br>
108 <font·size="-2">&nbsp;4.·</font><br>113 <font·size="-2">&nbsp;9.·</font><br>
109 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br> 
110 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·This·text·is·centered.<br> 
111 </code></p>114 </code></p>
112 This·produces·the·following:115 This·produces·the·following:
113 ··<p><code>116 ··<p><code>
 117 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">DATE</span>&gt;</span><span·class="htp-tag">&lt;/EM&gt;</span><br>
114 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br> 
115 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br> 
116 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
117 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
118 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
119 <br> 
120 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br> 
121 </code></p>118 </code></p>
122 <P>119 <P>
123 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a120 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
124 are·taken·literally,·however,·the·contents·for·b·are·already·expanded121 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
125 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it122 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
126 is·used,·while·the·contents·of·b·are·already·expanded.123 is·used,·while·the·contents·of·b·are·already·expanded.
127 </P>124 </P>
3.13 KB
html2text {}
    
Offset 24, 28 lines modifiedOffset 24, 31 lines modified
24 ····························However,·if·the·block·tag·is·marked·with·the·expand24 ····························However,·if·the·block·tag·is·marked·with·the·expand
25 ····························modifier·it·is·expanded·immediately.·This·is·useful25 ····························modifier·it·is·expanded·immediately.·This·is·useful
26 ····························if·you·want·to·store·something·in·a·block·macro,26 ····························if·you·want·to·store·something·in·a·block·macro,
27 ····························that·depends·on·the·current·value·of·another·macro.27 ····························that·depends·on·the·current·value·of·another·macro.
28 ····························This·other·macro·may·no·longer·have·the·correct28 ····························This·other·macro·may·no·longer·have·the·correct
29 ····························value·when·the·macro·is·expanded.·Here·is·some·code29 ····························value·when·the·macro·is·expanded.·Here·is·some·code
30 ····························that·demonstrate·when·the·htp·tags·are·expanded:30 ····························that·demonstrate·when·the·htp·tags·are·expanded:
31 ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="centered">31 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·execute="command-line"
32 ···························· 2.· · ·<p·align=center>32 ····························(output="filename"·|·redirect)·[noerror]>
 33 ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"
 34 ····························[parameters·...]>
33 ···························· 3.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>35 ···························· 3.·<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·name>
 36 ···························· 4.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·=
 37 ····························(byte|kbyte|mbyte|gbyte)·]·[precision=n]>
 38 ···························· 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time
 39 ····························[·="format"·]>
 40 ···························· 6.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date
 41 ····························[·="format"·]>
 42 ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath">
 43 ···························· 8.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename">
34 ···························· 4.44 ···························· 9.
35 ···························· 5.· · ·<centered> 
36 ···························· 6.· · ·This·text·is·centered. 
37 ····························This·produces·the·following:45 ····························This·produces·the·following:
 46 ···························· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[
 47 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM>
38 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="bolditalic"> 
39 ···························· · ·<b><i> 
40 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> 
41 ···························· · ·</i></b> 
42 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
  
43 ···························· ·This·is·<bolditalic>bold·and·italic</bolditalic> 
44 ····························When·block·a·and·block·b·are·defined·in·lines·2-48 ····························When·block·a·and·block·b·are·defined·in·lines·2-
45 ····························7·the·contents·of·a·are·taken·literally,·however,49 ····························7·the·contents·of·a·are·taken·literally,·however,
46 ····························the·contents·for·b·are·already·expanded·so·the50 ····························the·contents·for·b·are·already·expanded·so·the
47 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it51 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it
48 ····························is·used,·while·the·contents·of·b·are·already52 ····························is·used,·while·the·contents·of·b·are·already
49 ····························expanded.53 ····························expanded.
50 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with54 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with
14.3 KB
./usr/share/doc/htp/file.html
    
Offset 114, 51 lines modifiedOffset 114, 53 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br> 
123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
124 <br> 
125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br> 
126 &nbsp;·&nbsp;·This·text·is·centered.<br>121 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br>
 122 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>
 123 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 124 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br>
 125 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br>
 126 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>
 127 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
127 </code></p>128 </code></p>
128 <h2>synopsis</h2>129 <h2>synopsis</h2>
129 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.130 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
130 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of131 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
131 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be132 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
132 added·to·the·output·file·as·well.133 added·to·the·output·file·as·well.
133 <P>134 <P>
134 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the135 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
135 following·is·perfectly·acceptable:136 following·is·perfectly·acceptable:
136 ··<p><code>137 ··<p><code>
137 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>138 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
138 &nbsp;·...<br>139 &nbsp;·&nbsp;·block·#1<br>
 140 [<br>
 141 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 142 &nbsp;·&nbsp;·block·#2<br>
 143 ...<br>
 144 ]<br>
 145 [<br>
 146 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
 147 &nbsp;·&nbsp;·block·#3<br>
 148 ]<br>
139 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br>149 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 150 <br>
140 expanded·at·time·0.<br> 
141 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
142 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br> 
143 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br> 
144 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br> 
145 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
146 </code></p>151 </code></p>
147 <P>152 <P>
148 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>153 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
149 <P>154 <P>
150 To·include·information·about·another·file,·such·as·an·archive·file·or155 To·include·information·about·another·file,·such·as·an·archive·file·or
151 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the156 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
152 type·of·information·to·be·displayed:157 type·of·information·to·be·displayed:
153 ··<p><code>158 ··<p><code>
 159 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
154 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>&gt;</span><br> 
155 text·block<br> 
156 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br> 
157 <br> 
158 </code></p>160 </code></p>
159 <P>161 <P>
160 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the162 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
161 information·is·displayed.··In·anything·other·than·byte·format,·the·information163 information·is·displayed.··In·anything·other·than·byte·format,·the·information
162 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number164 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
163 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional165 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
164 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no166 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
7.2 KB
html2text {}
    
Offset 1, 48 lines modifiedOffset 1, 49 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="centered">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·a·is·expanded·at·time·1.
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<p·align=center>5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·b·is·expanded·at·time·0.
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e 
8  ·HTP·Tags·················· · ·<centered> 
9  · ···_.A_.L_.T_.T_.E_.X_.T··············· · ·This·text·is·centered.6  ·_.T_.u_.t_.o_.r_.i_.a_.l·················· ·contents·of·a:· ·a·is·expanded·at·time·<_.[
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 8  ·HTP·Tags·················· ·contents·of·b:· ·b·is·expanded·at·time·0.
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················time·1.
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at
 12  · ···_\x8D_\x8E_\x8F···················time·2.
 13  ·[>]·_\x8F_\x8I_\x8L_\x8E·················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the
 14  · ···_\x8I_\x8F····················2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
10  · ···_\x8B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*15  · ···_\x8I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing16  · ···_\x8I_.M_.G···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing
12  · ···_\x8D_.E_.F···················purpose.·The·output·file's·name,·the·current·date17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············purpose.·The·output·file's·name,·the·current·date
13  ·[>]·_.F_.I_.L_.E··················and·time,·and·the·contents·of·another·file·may·be18  · ···_.O_.P_.T···················and·time,·and·the·contents·of·another·file·may·be
14  · ···_\x8I_.F····················included.·Another·file's·time,·date,·or·size·may·be19  · ···_\x8O_.U_.T_.P_.U_.T················included.·Another·file's·time,·date,·or·size·may·be
15  · ···_\x8I_.N_.C···················added·to·the·output·file·as·well.20  · ···_\x8Q_.U_.O_.T_.E·················added·to·the·output·file·as·well.
16  · ···_\x8I_.M_.G···················As·with·all·HTML,·these·tags·do·not·have·to·be·on21  · ···_\x8S_.E_.T···················As·with·all·HTML,·these·tags·do·not·have·to·be·on
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············their·own·line,·so·the·following·is·perfectly22  · ···_\x8U_.N_.D_.E_.F·················their·own·line,·so·the·following·is·perfectly
18  · ···_\x8O_.P_.T···················acceptable:23  · ···_\x8U_.N_.S_.E_.T·················acceptable:
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·... 
21  · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················expanded·at·time·0. 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional>
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·contents·of·b:· ·b·is·expanded·at·time·0. 
26  · ···_\x8<_.!_.-_.-_.-················· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at25  · ···_\x8W_.H_.I_.L_.E················· · ·block·#1
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················[
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················time·1.27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················<ELSEIF·[NOT]·conditional>
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·block·#2
29  ·_\x8B_\x8u_\x8g_\x8s······················time·2.29  ·_\x8B_\x8u_\x8g_\x8s······················...
30 ···························· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the30 ····························]
 31 ····························[
 32 ····························<ELSE>
 33 ···························· · ·block·#3
 34 ····························]
31 ····························2nd·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.35 ····························<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
  
32 ····························*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8*36 ····························*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8*
33 ····························To·include·information·about·another·file,·such·as37 ····························To·include·information·about·another·file,·such·as
34 ····························an·archive·file·or·graphic·image,·specify·its·name38 ····························an·archive·file·or·graphic·image,·specify·its·name
35 ····························with·the·NAME·attribute·followed·by·the·type·of39 ····························with·the·NAME·attribute·followed·by·the·type·of
36 ····························information·to·be·displayed:40 ····························information·to·be·displayed:
 41 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
37 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] 
38 ····························[EXPAND]> 
39 ····························text·block 
40 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> 
  
41 ····························For·file·size·information,·the·value·BYTE,·KBYTE,42 ····························For·file·size·information,·the·value·BYTE,·KBYTE,
42 ····························etc.·dictates·how·the·information·is·displayed.·In43 ····························etc.·dictates·how·the·information·is·displayed.·In
43 ····························anything·other·than·byte·format,·the·information·is44 ····························anything·other·than·byte·format,·the·information·is
44 ····························displayed·in·floating-point·notation.·The·amount·of45 ····························displayed·in·floating-point·notation.·The·amount·of
45 ····························precision·(the·number·of·digits·to·the·right·of·the46 ····························precision·(the·number·of·digits·to·the·right·of·the
46 ····························decimal·point)·can·be·set·with·the·optional47 ····························decimal·point)·can·be·set·with·the·optional
47 ····························PRECISION·attribute.·The·default·precision·is·zero48 ····························PRECISION·attribute.·The·default·precision·is·zero
7.66 KB
./usr/share/doc/htp/if.html
    
Offset 114, 37 lines modifiedOffset 114, 32 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br> 
123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
124 <br>122 <br>
125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br> 
126 &nbsp;·&nbsp;·This·text·is·centered.<br> 
127 </code></p>123 </code></p>
128 <h2>synopsis</h2>124 <h2>synopsis</h2>
129 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
130 blocks·for·conditional·processing.··The·basic·form·is·shown·above.126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
131 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
132 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal128 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
133 string:129 string:
134 ··<p><code>130 ··<p><code>
135 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="h[·...·truncated·by·diffoscope;·len:·15,·SHA:·9b11e2054279385dab0eb9eaa3f7e0c24e5f45d651372a188a49301d354669e6·...·]</span>&gt;</span><br>131 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·cla[·...·truncated·by·diffoscope;·len:·113,·SHA:·2b0cbcace7e121b70e0d0fd885d64360a056137b5ec7cac94cd7521c0544fbda·...·]</span>&gt;</span><br>
 132 <br>
136 </code></p>133 </code></p>
137 <P>134 <P>
138 and·a·defined·operator·is·a·test·of·a·macro's·existance:135 and·a·defined·operator·is·a·test·of·a·macro's·existance:
139 <P>136 <P>
140 ··<p><code>137 ··<p><code>
 138 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br>
141 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>&gt;</span><br> 
142 text·block<br> 
143 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br> 
144 <br>139 <br>
145 </code></p>140 </code></p>
146 <P>141 <P>
147 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the142 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
148 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that143 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
149 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the144 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
150 ELSE·block·is·taken·if·it·is·present.··A·conditional·block145 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
4.3 KB
html2text {}
    
Offset 1, 40 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="centered">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="filename"·...>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<p·align=center> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e 
8  ·HTP·Tags·················· · ·<centered> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·This·text·is·centered. 
10  · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building7  ·_.U_.s_.a_.g_.e·····················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building
12  · ···_.D_.E_.F···················blocks·for·conditional·processing.·The·basic·form8  ·HTP·Tags··················blocks·for·conditional·processing.·The·basic·form
13  · ···_\x8F_.I_.L_.E··················is·shown·above.9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············is·shown·above.
14  ·[>]·_.I_.F····················"Conditional"·is·either·a·"compare"·or·"is·defined"10  · ···_.B_.L_.O_.C_.K·················"Conditional"·is·either·a·"compare"·or·"is·defined"
15  · ···_\x8I_.N_.C···················operation.·A·compare·operator·is·a·test·of·the11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············operation.·A·compare·operator·is·a·test·of·the
16  · ···_\x8I_.M_.G···················value·of·a·macro·against·a·literal·string:12  · ···_\x8D_.E_.F···················value·of·a·macro·against·a·literal·string:
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i="1"·j="-1">13  · ···_\x8F_.I_.L_.E··················<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="imageurl"·[·path="path/in/
 14  ·[>]·_\x8I_\x8F····················local/filesystem"·]>
 15  · ···_\x8I_\x8N_\x8C
18  · ···_\x8O_.P_.T···················and·a·defined·operator·is·a·test·of·a·macro's16  · ···_\x8I_.M_.G···················and·a·defined·operator·is·a·test·of·a·macro's
19  · ···_\x8O_.U_.T_.P_.U_.T················existance:17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············existance:
 18  · ···_\x8O_\x8P_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1"
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················[macroname2="increment2"·...·]·[GLOBAL]>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] 
21  · ···_\x8S_\x8E_\x8T···················[EXPAND]> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················text·block 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_.H_.I_.L_.E·················If·the·NOT·tag·is·present·in·the·IF·markup,·the21  · ···_\x8S_.E_.T···················If·the·NOT·tag·is·present·in·the·IF·markup,·the
26  · ···_\x8<_.!_.-_.-_.-·················evaluation·of·the·conditional·is·reversed.·The22  · ···_\x8U_.N_.D_.E_.F·················evaluation·of·the·conditional·is·reversed.·The
27  ·_.H_.i_.s_.t_.o_.r_.y···················first·IF·or·ELSEIF·condition·that·evaluates·to·true23  · ···_.U_.N_.S_.E_.T·················first·IF·or·ELSEIF·condition·that·evaluates·to·true
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················is·chosen.·If·none·of·the·conditions·is·true·the24  · ···_.U_.S_.E_.,_.·_.$················is·chosen.·If·none·of·the·conditions·is·true·the
29  ·_.B_.u_.g_.s······················ELSE·block·is·taken·if·it·is·present.·A·conditional25  · ···_.W_.H_.I_.L_.E·················ELSE·block·is·taken·if·it·is·present.·A·conditional
30 ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can26  · ···_.<_.!_.-_.-_.-·················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can
31 ····························be·nested. 
  
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················be·nested.
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
9.02 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 15 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name<[·...·truncated·by·diffoscope;·len:·139,·SHA:·77f80000a999dd0e576e2eab601cd13f6e0057a7da877d8f9d9c5a44f47ce57d·...·]&gt;</span><br>
 122 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>&gt;</span><br>
122 </code></p>123 </code></p>
123 <h2>synopsis</h2>124 <h2>synopsis</h2>
124 <P>125 <P>
125 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
126 file·system.··declares·an·URL·replacement·that·is·used·for127 file·system.··declares·an·URL·replacement·that·is·used·for
127 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions128 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions
128 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is129 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is
5.53 KB
html2text {}
    
Offset 1, 42 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·This·comment·doesn't·appear·in·the·HTML·file 
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················--->4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·INCLUDE="include.hti"·name="Jim
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Nelson"·email="jnelson@crl.com">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name>
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
7  ·_.U_.s_.a_.g_.e·····················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the8  ·HTP·Tags··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the
8  ·HTP·Tags··················local·file·system.·declares·an·URL·replacement·that9  · ···_.A_.L_.T_.T_.E_.X_.T···············local·file·system.·declares·an·URL·replacement·that
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This10  · ···_\x8B_.L_.O_.C_.K·················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············is·enabled.·Beacause·htp·can't·lookup·files·in·the12  · ···_\x8D_.E_.F···················is·enabled.·Beacause·htp·can't·lookup·files·in·the
12  · ···_\x8D_.E_.F···················world·wide·web·you·have·to·map·absolute·image·URLs13  · ···_\x8F_.I_.L_.E··················world·wide·web·you·have·to·map·absolute·image·URLs
13  · ···_\x8F_.I_.L_.E··················to·a·directory·in·the·local·file·system.14  · ···_\x8I_.F····················to·a·directory·in·the·local·file·system.
14  · ···_\x8I_\x8F····················When·an·IMG·tag·is·encountered·where·htp·has·to15  · ···_\x8I_\x8N_.C···················When·an·IMG·tag·is·encountered·where·htp·has·to
15  · ···_\x8I_\x8N_.C···················insert·width·and·height·the·defined·URL16  · ···_\x8I_\x8M_.G···················insert·width·and·height·the·defined·URL
16  · ···_.I_.M_.G···················replacements·will·be·taken·into·account·(later17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············replacements·will·be·taken·into·account·(later
17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············definitions·take·precedence·to·earlier):·For·each18  · ···_.O_.P_.T···················definitions·take·precedence·to·earlier):·For·each
18  · ···_\x8O_\x8P_.T···················defined·imageurl·it·checks·(case-insensitive)·if·it19  · ···_\x8O_\x8U_.T_.P_.U_.T················defined·imageurl·it·checks·(case-insensitive)·if·it
19  · ···_\x8O_.U_.T_.P_.U_.T················is·a·prefix·of·the·image's·SRC·attribute.·If·it20  · ···_\x8Q_.U_.O_.T_.E·················is·a·prefix·of·the·image's·SRC·attribute.·If·it
20  · ···_\x8Q_.U_.O_.T_.E·················matches·this·prefix·is·replaced·by·the·given·PATH.21  · ···_\x8S_.E_.T···················matches·this·prefix·is·replaced·by·the·given·PATH.
21  · ···_\x8S_.E_.T···················If·no·IMAGEURL·matches·the·SRC·is·considered·as22  · ···_\x8U_.N_.D_.E_.F·················If·no·IMAGEURL·matches·the·SRC·is·considered·as
22  · ···_\x8U_\x8N_\x8D_.E_.F·················relative·link·and·looked·up·in·the·current23  · ···_\x8U_\x8N_\x8S_.E_.T·················relative·link·and·looked·up·in·the·current
23  · ···_\x8U_\x8N_.S_.E_.T·················directory.24  · ···_\x8U_\x8S_.E_.,_.·_.$················directory.
24  · ···_\x8U_.S_.E_.,_.·_.$················For·example:25  · ···_\x8W_.H_.I_.L_.E·················For·example:
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(IMGXY|NOIMGXY)> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(QUIET|VERBOSE)>26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i="1"·j="-1">
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)> 
29  ·_\x8B_\x8u_\x8g_\x8s······················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> 
30 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> 
31 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> 
  
32 ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH27  ·_.H_.i_.s_.t_.o_.r_.y···················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
33 ····························attribute,·it·is·treated·as·an·undefine,·and·is28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················attribute,·it·is·treated·as·an·undefine,·and·is
34 ····························removed.29  ·_.B_.u_.g_.s······················removed.
35 ····························Since·you·usually·need·the·url·mapping·for·a·number30 ····························Since·you·usually·need·the·url·mapping·for·a·number
36 ····························of·images·used·throughout·a·set·of·documents,31 ····························of·images·used·throughout·a·set·of·documents,
37 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e32 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
38 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.33 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.
39 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also34 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
40 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to35 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to
41 ····························_\x8I_\x8M_\x8G·tags.36 ····························_\x8I_\x8M_\x8G·tags.
6.19 KB
./usr/share/doc/htp/img.html
    
Offset 114, 20 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br> 
123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
124 <br> 
125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br> 
126 &nbsp;·&nbsp;·This·text·is·centered.<br> 
127 </code></p>122 </code></p>
128 <h2>synopsis</h2>123 <h2>synopsis</h2>
129 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified124 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
130 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage125 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
131 of·not·having·to·determine·each·image's·size·manually,·which·is·especially126 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
132 useful·if·the·image·may·change·frequently.·</P>127 useful·if·the·image·may·change·frequently.·</P>
133 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup128 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.61 KB
html2text {}
    
Offset 1, 41 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_.e_.f·name="centered">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·name="Jim">...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<p·align=center> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e 
8  ·HTP·Tags·················· · ·<centered> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·This·text·is·centered. 
10  · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*5  ·_.L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the
12  · ···_.D_.E_.F···················specified·image's·width·and·height·to·the·tag7  ·_.U_.s_.a_.g_.e·····················specified·image's·width·and·height·to·the·tag
13  · ···_.F_.I_.L_.E··················automatically.·This·has·the·advantage·of·not·having8  ·HTP·Tags··················automatically.·This·has·the·advantage·of·not·having
14  · ···_\x8I_.F····················to·determine·each·image's·size·manually,·which·is9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············to·determine·each·image's·size·manually,·which·is
15  · ···_\x8I_.N_.C···················especially·useful·if·the·image·may·change10  · ···_\x8B_.L_.O_.C_.K·················especially·useful·if·the·image·may·change
16  ·[>]·_.I_.M_.G···················frequently.11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············frequently.
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············htp·adds·this·information·with·the·WIDTH·and·HEIGHT12  · ···_\x8D_.E_.F···················htp·adds·this·information·with·the·WIDTH·and·HEIGHT
18  · ···_\x8O_.P_.T···················markup·attributes.·If·htp·detects·these·attributes13  · ···_\x8F_.I_.L_.E··················markup·attributes.·If·htp·detects·these·attributes
19  · ···_\x8O_.U_.T_.P_.U_.T················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify14  · ···_\x8I_.F····················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify
20  · ···_\x8Q_.U_.O_.T_.E·················the·values.·If·htp·cannot·find·the·image·file,·it15  · ···_\x8I_.N_.C···················the·values.·If·htp·cannot·find·the·image·file,·it
21  · ···_.S_.E_.T···················will·issue·a·warning·but·not·halt·processing.16  ·[>]·_.I_.M_.G···················will·issue·a·warning·but·not·halt·processing.
22  · ···_\x8U_.N_.D_.E_.F·················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············At·this·time,·GIF·(Graphic·Interchange·Format),·PNG
23  · ···_\x8U_.N_.S_.E_.T·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File18  · ···_\x8O_.P_.T···················(Portable·Network·Graphics),·and·JFIF·(JPEG·File
24  · ···_\x8U_.S_.E_.,_.·_.$················Interchange·Format)·are·supported.19  · ···_\x8O_.U_.T_.P_.U_.T················Interchange·Format)·are·supported.
25  · ···_\x8W_.H_.I_.L_\x8E·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or20  · ···_\x8Q_.U_.O_.T_\x8E·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or
26  · ···_\x8<_.!_.-_.-_.-·················not·htp·actually·adds·this·information·as·it21  · ···_\x8S_.E_.T···················not·htp·actually·adds·this·information·as·it
27  ·_.H_.i_.s_.t_.o_.r_.y···················executes.22  · ···_.U_.N_.D_.E_.F·················executes.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Since·htp·is·able·to·lookup·files·only·in·the·local23  · ···_.U_.N_.S_.E_.T·················Since·htp·is·able·to·lookup·files·only·in·the·local
29  ·_.B_.u_.g_.s······················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map24  · ···_.U_.S_.E_.,_.·_.$················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map
30 ····························URLs·to·local·files.25  · ···_.W_.H_.I_.L_.E·················URLs·to·local·files.
31 ····························htp·can·also·add·default·ALT·text·to·IMG·tags·using26  · ···_.<_.!_.-_.-_.-·················htp·can·also·add·default·ALT·text·to·IMG·tags·using
32 ····························_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. 
  
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T.
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
12.6 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 57 lines modifiedOffset 114, 31 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
122 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
123 <br>122 <br>
124 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
125 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
126 &nbsp;·(no·URL·replacement).<br> 
127 <br> 
128 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
129 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
130 <br> 
131 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
132 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
133 &nbsp;·will·not·be·added.<br> 
134 <br> 
135 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
137 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
138 <br> 
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
140 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
141 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
142 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
143 </code></p>123 </code></p>
144 <h2>synopsis</h2>124 <h2>synopsis</h2>
145 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a125 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
146 variable·or·for·variable·addition.··The·basic·form·is·shown·above.126 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
147 <P>127 <P>
148 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a128 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
149 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The129 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
150 macroname·must·be·the·name·of·a·defined·macro·that·contains·an130 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
151 integer.··If·the·increment·is·ommitted·it·defaults·to·1.131 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
152 The·effect·of·this·operation·is·that·the·macro·is·redefined132 The·effect·of·this·operation·is·that·the·macro·is·redefined
153 to·contain·the·sum·of·its·previous·value·and·its·increment.133 to·contain·the·sum·of·its·previous·value·and·its·increment.
154 <P>134 <P>
155 To·increment·or·decrement·a·variable·you·can·use·this·form:135 To·increment·or·decrement·a·variable·you·can·use·this·form:
156 ··<p><code>136 ··<p><code>
 137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>
157 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br> 
158 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br> 
159 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
160 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
161 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
162 <br> 
163 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br> 
164 </code></p>138 </code></p>
165 <p>139 <p>
166 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It140 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
167 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer141 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
168 values·are·limited·to·the·range·-2^31..2^31.142 values·are·limited·to·the·range·-2^31..2^31.
169 <P>143 <P>
170 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.144 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
6.69 KB
html2text {}
    
Offset 1, 74 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················"·path="/var/www/my.domain/"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················var/www/other.domain/"> 
8  ·HTP·Tags 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·the·local·filename·"logo.gif"·will·be·used·to 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············determine·image·dimensions 
12  · ···_\x8D_\x8E_\x8F··················· ·(no·URL·replacement). 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F···················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
15  ·[>]·_\x8I_\x8N_\x8C···················my.domain.org/logo.gif"> 
16  · ···_\x8I_\x8M_\x8G··················· ·the·local·filename·"/var/www/my.domain/logo.gif" 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············will·be·used. 
18  · ···_\x8O_\x8P_\x8T 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················other.domain.org/logo.gif"> 
21  · ···_\x8S_\x8E_\x8T··················· ·the·local·file·cannot·be·found·(no·prefix·match), 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················so·the·image·dimensions 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·will·not·be·added. 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·Order·is·important;·last·IMAGEURL·tag·takes 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················precedence: 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
29  ·_\x8B_\x8u_\x8g_\x8s······················test/"> 
  
30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
31 ····························src="/test/image.gif"> are·mapped·to 
32 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
33 ····························image.gif,·resp. 
34 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
35 ····························swapped,·the·second 
36 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
37 ····························image.gif. 
38 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
39 ····························The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a8  ·HTP·Tags··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a
40 ····························variable·or·for·variable·addition.·The·basic·form9  · ···_.A_.L_.T_.T_.E_.X_.T···············variable·or·for·variable·addition.·The·basic·form
41 ····························is·shown·above.10  · ···_.B_.L_.O_.C_.K·················is·shown·above.
42 ····························The·"increment"·is·anything·that·evaluates·to·a11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············The·"increment"·is·anything·that·evaluates·to·a
43 ····························integer.·It·can·be·a·literal·string·or·a·macro12  · ···_.D_.E_.F···················integer.·It·can·be·a·literal·string·or·a·macro
44 ····························preceeded·by·the·'$'-operator.·The·macroname·must13  · ···_.F_.I_.L_.E··················preceeded·by·the·'$'-operator.·The·macroname·must
45 ····························be·the·name·of·a·defined·macro·that·contains·an14  · ···_.I_.F····················be·the·name·of·a·defined·macro·that·contains·an
46 ····························integer.·If·the·increment·is·ommitted·it·defaults15  ·[>]·_.I_.N_.C···················integer.·If·the·increment·is·ommitted·it·defaults
47 ····························to·1.·The·effect·of·this·operation·is·that·the16  · ···_.I_.M_.G···················to·1.·The·effect·of·this·operation·is·that·the
48 ····························macro·is·redefined·to·contain·the·sum·of·its17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············macro·is·redefined·to·contain·the·sum·of·its
49 ····························previous·value·and·its·increment.18  · ···_.O_.P_.T···················previous·value·and·its·increment.
50 ····························To·increment·or·decrement·a·variable·you·can·use19  · ···_.O_.U_.T_.P_.U_.T················To·increment·or·decrement·a·variable·you·can·use
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················this·form:
 21  · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1">
51 ····························this·form: 
52 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="bolditalic"> 
53 ···························· · ·<b><i> 
54 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> 
55 ···························· · ·</i></b> 
56 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
  
57 ···························· ·This·is·<bolditalic>bold·and·italic</bolditalic> 
58 ····························Note·that·INC·doesn't·check·if·the·strings·really22  · ···_.U_.N_.D_.E_.F·················Note·that·INC·doesn't·check·if·the·strings·really
59 ····························denote·integers.·It·may·give·weired·results·when23  · ···_.U_.N_.S_.E_.T·················denote·integers.·It·may·give·weired·results·when
60 ····························used·on·arbitrary·strings.·The·integer·values·are24  · ···_.U_.S_.E_.,_.·_.$················used·on·arbitrary·strings.·The·integer·values·are
61 ····························limited·to·the·range·-2^31..2^31.25  · ···_.W_.H_.I_.L_.E·················limited·to·the·range·-2^31..2^31.
62 ····························Note·further·that·htp·wasn't·designed·to·do26  · ···_.<_.!_.-_.-_.-·················Note·further·that·htp·wasn't·designed·to·do
63 ····························extensive·calculations.·The·INC·tag·is·useful·in27  ·_.H_.i_.s_.t_.o_.r_.y···················extensive·calculations.·The·INC·tag·is·useful·in
64 ····························conjunction·with·WHILE·to·iterate·over·the·defined28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················conjunction·with·WHILE·to·iterate·over·the·defined
65 ····························blocks.29  ·_.B_.u_.g_.s······················blocks.
  
  
  
  
  
  
  
24.4 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 14 lines modifiedOffset 88, 27 lines modified
88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and
89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>
90 <P>90 <P>
91 As·an·example·we·show·how·to·define·a·tag·that·builds·a91 As·an·example·we·show·how·to·define·a·tag·that·builds·a
92 fancy·horizontal·rule·out·of·several·images.92 fancy·horizontal·rule·out·of·several·images.
93 </P>93 </P>
94 ··<p><code>94 ··<p><code>
 95 <font·size="-2">&nbsp;1.·</font>&nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br>
 96 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 97 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 98 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 99 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br>
 100 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 101 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 102 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
 103 <font·size="-2">&nbsp;9.·</font>&nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 104 <font·size="-2">10.·</font><br>
 105 <font·size="-2">11.·</font>&nbsp;paragraph<br>
 106 <font·size="-2">12.·</font>&nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 107 <font·size="-2">13.·</font>&nbsp;paragraph<br>
95 </code></p>108 </code></p>
96 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.109 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
97 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.110 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
98 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and111 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
99 <code>/def</code></a>·tags.··You·don't·have·to·understand·this112 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
100 html·code,·but·you·should·understand·that·this·is·just·pure·html·to113 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
101 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>114 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
9.09 KB
html2text {}
    
Offset 9, 15 lines modifiedOffset 9, 32 lines modified
9  · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality.9  · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality.
10  · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[10  · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[
11  ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[11  ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[
12  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag.12  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag.
13  ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that13  ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that
14  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several14  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several
15  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images.15  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images.
 16  ·_\x8B_\x8u_\x8g_\x8s······················ 1.· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr">
 17 ···························· 2.· · <table·border="0"·cellspacing="0"
 18 ····························cellpadding="0">
 19 ···························· 3.· · <tr>
 20 ···························· 4.· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 21 ····························src="leftsep.png"></td>
 22 ···························· 5.· · ·<td·width="95%"
 23 ····························background="midsep.png">&nbsp;</td>
 24 ···························· 6.· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 25 ····························src="rightsep.png"></td>
 26 ···························· 7.· · </tr>
 27 ···························· 8.· · </table>
 28 ···························· 9.· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 29 ····························10.
 30 ····························11.· paragraph
 31 ····························12.· <imghr>
 32 ····························13.· paragraph
16  ·_.B_.u_.g_.s······················In·line·1·of·the·above·example·a·new·tag·named33 ····························In·line·1·of·the·above·example·a·new·tag·named
17 ····························imghr·is·defined.·The·html·code·which·implements34 ····························imghr·is·defined.·The·html·code·which·implements
18 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[35 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[
19 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to36 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to
20 ····························understand·this·html·code,·but·you·should37 ····························understand·this·html·code,·but·you·should
21 ····························understand·that·this·is·just·pure·html·to·draw·the38 ····························understand·that·this·is·just·pure·html·to·draw·the
22 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line39 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line
23 ····························12·htp·will·replace·this·tag·with·the·corresponding40 ····························12·htp·will·replace·this·tag·with·the·corresponding
10.2 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 38 lines modifiedOffset 114, 21 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>122 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br>
123 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br>124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·cla[·...·truncated·by·diffoscope;·len:·61,·SHA:·99e43be94fdbeaac7222f24ac2911d92d478e97db6100e56fcfbba4163b38cb8·...·]</span>&gt;</span><br>
 125 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br> 
126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br> 
127 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
128 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
129 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
130 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>127 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
131 <br> 
132 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br> 
133 <br> 
134 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
135 <br> 
136 &nbsp;·This·will·fail:<br> 
137 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br> 
138 <br> 
139 &nbsp;·Instead,·use·*·like·this:<br> 
140 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br> 
142 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
143 &nbsp;·&nbsp;·<br> 
144 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br> 
145 </code></p>128 </code></p>
146 <h2>synopsis</h2>129 <h2>synopsis</h2>
147 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing130 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
148 options·inside·the·actual·document·being·processed.··The·options·are131 options·inside·the·actual·document·being·processed.··The·options·are
149 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not132 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
150 preceded·by·a·&lsquo;-&rsquo;·character.133 preceded·by·a·&lsquo;-&rsquo;·character.
151 <P>134 <P>
4.45 KB
html2text {}
    
Offset 1, 56 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_.E_.F·NAME="HEADERIMG"·OPTION="SRC·TITLE4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_.e_.t·sect-ctr="0">
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE">5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section">
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·size>6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.n_.c·sect-ctr>
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · · ·<FONT·SIZE=${size}> 
8  ·HTP·Tags·················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>7  ·_.U_.s_.a_.g_.e····················· · ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name="sect-${sect-ctr}"·expand
 8  ·HTP·Tags··················global>
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.M_.G·SRC=pics/${src}>9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block·noexpand>
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_.S_.E·title>10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_.b_.l_.o_.c_.k>
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size>11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f>
12  · ···_\x8D_\x8E_\x8F··················· · · · ·</FONT> 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
14  · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
15  · ···_\x8I_\x8N_\x8C 
16  · ···_\x8I_\x8M_\x8G··················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············title"> 
18  ·[>]·_\x8O_\x8P_\x8T 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
20  · ···_\x8Q_.U_.O_.T_.E·················title">12  · ···_\x8D_.E_.F···················*.**.**.**.**.*·s.sy.yn.no.op.ps.si.is.s·*.**.**.**.**.*
 13  · ···_\x8F_\x8I_\x8L_\x8E··················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify
 14  · ···_\x8I_\x8F····················processing·options·inside·the·actual·document·being
 15  · ···_\x8I_\x8N_\x8C···················processed.·The·options·are·used·exactly·as·they
 16  · ···_\x8I_\x8M_\x8G···················would·be·on·the·command-line,·although·they·are·not
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············preceded·by·a·‘-’·character.
 18  ·[>]·_\x8O_\x8P_\x8T···················Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p.
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·This·will·fail: 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
24  · ···_\x8U_\x8S_.E_.,_.·_.$················TITLE="Another·title">22  · ···_\x8U_\x8N_.D_.E_.F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·Instead,·use·*·like·this: 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
30 ···························· ·  
31 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
32 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* 
33 ····························O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify 
34 ····························processing·options·inside·the·actual·document·being 
35 ····························processed.·The·options·are·used·exactly·as·they 
36 ····························would·be·on·the·command-line,·although·they·are·not 
37 ····························preceded·by·a·‘-’·character. 
38 ····························Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g 
39 ····························_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p. 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
3.61 KB
./usr/share/doc/htp/quote.html
    
Offset 114, 17 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
123 <br> 
124 </code></p>122 </code></p>
125 <h2>synopsis</h2>123 <h2>synopsis</h2>
126 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise124 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
127 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a125 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
128 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early126 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
129 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still127 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
130 done·inside·a·quote·block.128 done·inside·a·quote·block.
2.35 KB
html2text {}
    
Offset 1, 20 lines modifiedOffset 1, 20 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·emailaddr="jnelson@crl.com">
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*5  ·_\x8L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise
9  · ···_.A_.L_.T_.T_.E_.X_.T···············be·interpreted·by·HTP.·It·may·be·useful·in7  ·_.U_.s_.a_.g_.e·····················be·interpreted·by·HTP.·It·may·be·useful·in
10  · ···_.B_.L_.O_.C_.K·················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to8  ·HTP·Tags··················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············prevent·early·expansion·of·some·contained·blocks.9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············prevent·early·expansion·of·some·contained·blocks.
12  · ···_\x8D_.E_.F···················Note·that·'$'·evaluation·is·still·done·inside·a10  · ···_\x8B_.L_.O_.C_.K·················Note·that·'$'·evaluation·is·still·done·inside·a
13  · ···_\x8F_.I_.L_.E··················quote·block.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············quote·block.
 12  · ···_\x8D_\x8E_\x8F
 13  · ···_\x8F_\x8I_\x8L_\x8E
14  · ···_\x8I_\x8F14  · ···_\x8I_\x8F
15  · ···_\x8I_\x8N_\x8C15  · ···_\x8I_\x8N_\x8C
16  · ···_\x8I_\x8M_\x8G16  · ···_\x8I_\x8M_\x8G
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E20  ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E
9.26 KB
./usr/share/doc/htp/set.html
    
Offset 114, 33 lines modifiedOffset 114, 24 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
124 <br>122 <br>
125 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br> 
126 </code></p>123 </code></p>
127 <h2>synopsis</h2>124 <h2>synopsis</h2>
128 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded125 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
129 anywhere·in·the·HTML·document.··To·create·a·macro:126 anywhere·in·the·HTML·document.··To·create·a·macro:
130 ··<p><code>127 ··<p><code>
131 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>128 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>
 129 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
132 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br> 
133 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
134 <br>130 <br>
135 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br> 
136 <br> 
137 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
138 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br> 
139 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
140 </code></p>131 </code></p>
141 <P>132 <P>
142 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">133 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
143 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular134 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
144 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the135 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
145 <A·HREF="use.html">'$'</A>·operator.136 <A·HREF="use.html">'$'</A>·operator.
146 <P>137 <P>
5.21 KB
html2text {}
    
Offset 1, 48 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
8  ·HTP·Tags 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
10  · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be7  ·_.U_.s_.a_.g_.e·····················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
12  · ···_.D_.E_.F···················expanded·anywhere·in·the·HTML·document.·To·create·a8  ·HTP·Tags··················expanded·anywhere·in·the·HTML·document.·To·create·a
13  · ···_\x8F_.I_.L_.E··················macro:9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············macro:
14  · ···_\x8I_\x8F····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> 
15  · ···_\x8I_\x8N_\x8C··················· ·<a·href=$email>send·email</a> 
16  · ···_\x8I_.M_.G···················<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>10  · ···_\x8B_.L_.O_.C_.K·················<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·>
 12  · ···_\x8D_\x8E_\x8F
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L 
18  · ···_\x8O_\x8P_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff 
21  ·[>]·_\x8S_\x8E_\x8T···················email="jnelson@crl.com"> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················email="jnelson@crl.com"> 
25  · ···_\x8W_.H_.I_.L_.E·················The·macro·"emailaddr"·can·then·be·expanded·later.13  · ···_\x8F_.I_.L_.E··················The·macro·"emailaddr"·can·then·be·expanded·later.
26  · ···_\x8<_.!_.-_.-_.-·················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a14  · ···_\x8I_.F····················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a
27  ·_.H_.i_.s_.t_.o_.r_.y···················tag·(i.e.,·into·the·regular·text).·If·the·macro15  · ···_.I_.N_.C···················tag·(i.e.,·into·the·regular·text).·If·the·macro
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················needs·to·be·expanded·inside·a·markup·tag,·use·the16  · ···_.I_.M_.G···················needs·to·be·expanded·inside·a·markup·tag,·use·the
29  ·_.B_.u_.g_.s······················_\x8'_\x8$_\x8'·operator.17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············_\x8'_\x8$_\x8'·operator.
30 ····························Multiple·macros·can·be·declared·in·a·single·markup18  · ···_.O_.P_.T···················Multiple·macros·can·be·declared·in·a·single·markup
31 ····························tag,·as·the·second·syntax·line·shows.19  · ···_.O_.U_.T_.P_.U_.T················tag,·as·the·second·syntax·line·shows.
32 ····························SET·should·only·be·used·for·a·single·line's·worth20  · ···_.Q_.U_.O_.T_.E·················SET·should·only·be·used·for·a·single·line's·worth
33 ····························of·text.·Multi-line·macros·can·be·defined·with·the21  ·[>]·_.S_.E_.T···················of·text.·Multi-line·macros·can·be·defined·with·the
34 ····························_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the22  · ···_.U_.N_.D_.E_.F·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
35 ····························macro·contains·a·quotation·character·and·you·don't23  · ···_.U_.N_.S_.E_.T·················macro·contains·a·quotation·character·and·you·don't
36 ····························want·to·fool·around·with·special·escape·characters.24  · ···_.U_.S_.E_.,_.·_.$················want·to·fool·around·with·special·escape·characters.
37 ····························Macros·can·be·redefined·by·using·another·SET25  · ···_.W_.H_.I_.L_.E·················Macros·can·be·redefined·by·using·another·SET
38 ····························command·with·the·same·macro·name.·The·prior26  · ···_.<_.!_.-_.-_.-·················command·with·the·same·macro·name.·The·prior
39 ····························definition·will·be·destroyed,·however.·Also,·the27  ·_.H_.i_.s_.t_.o_.r_.y···················definition·will·be·destroyed,·however.·Also,·the
40 ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T
41 ····························tag.29  ·_.B_.u_.g_.s······················tag.
  
  
  
  
  
  
  
908 B
./usr/share/doc/htp/tut/jh.html
    
Offset 16, 10 lines modifiedOffset 16, 10 lines modified
16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>
17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>
18 </table>18 </table>
19 ···</td></tr>19 ···</td></tr>
20 ··</table>20 ··</table>
21 ··<hr>21 ··<hr>
22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
23 ··last·updated·Wed·Jun·11,·202523 ··last·updated·Wed·May·08,·2024
24 ·</body>24 ·</body>
25 </html>25 </html>
511 B
html2text {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*1 ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
2 Navigation·bar·[Photo]2 Navigation·bar·[Photo]
3 _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-0203 _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020
4 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-82434 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243
5 ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-82425 ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242
6 ===============================================================================6 ===============================================================================
7 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.7 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
8 last·updated·Wed·Jun·11,·20258 last·updated·Wed·May·08,·2024
723 B
./usr/share/doc/htp/tut/tut1.html
    
Offset 5, 9 lines modifiedOffset 5, 9 lines modified
5 <meta·name="Generator"·content="htp·1.19">5 <meta·name="Generator"·content="htp·1.19">
6 </head>6 </head>
7 <body>7 <body>
8 This·page·was·produced·by·htp.8 This·page·was·produced·by·htp.
9 <hr>9 <hr>
10 Copyright·by·Joe·Doe,10 Copyright·by·Joe·Doe,
11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,
12 last·updated·Wed·Jun·11,·202512 last·updated·Wed·May·08,·2024
13 </body>13 </body>
383 B
html2text {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 This·page·was·produced·by·htp.1 This·page·was·produced·by·htp.
2 ===============================================================================2 ===============================================================================
3 Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Wed·Jun·11,·20253 Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Wed·May·08,·2024
774 B
./usr/share/doc/htp/tut/tut2.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 <p>13 <p>
14 As·you·can·see·the·file·contains·almost·only·the·contents.14 As·you·can·see·the·file·contains·almost·only·the·contents.
15 </p>15 </p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Wed·Jun·11,·202520 ··last·updated·Wed·May·08,·2024
21 ·</body>21 ·</body>
22 </html>22 </html>
426 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*
2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e
4 ===============================================================================4 ===============================================================================
5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
6 last·updated·Wed·Jun·11,·20256 last·updated·Wed·May·08,·2024
776 B
./usr/share/doc/htp/tut/tut3.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 ·<p>13 ·<p>
14 ·As·you·can·see·the·file·contains·almost·only·the·contents.14 ·As·you·can·see·the·file·contains·almost·only·the·contents.
15 ·</p>15 ·</p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Wed·Jun·11,·202520 ··last·updated·Wed·May·08,·2024
21 ·</body>21 ·</body>
22 </html>22 </html>
432 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8*1 Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8*
2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.2 _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e3 _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e
4 ===============================================================================4 ===============================================================================
5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.5 Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e.
6 last·updated·Wed·Jun·11,·20256 last·updated·Wed·May·08,·2024
4.48 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 19 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
124 <br> 
125 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br> 
126 </code></p>122 </code></p>
127 <h2>synopsis</h2>123 <h2>synopsis</h2>
128 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags124 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
129 created·by·<A·HREF="def.html">DEF</A>·and·<A125 created·by·<A·HREF="def.html">DEF</A>·and·<A
130 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF126 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
131 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by127 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
132 htp·until·it·is·reassigned.··</P>128 htp·until·it·is·reassigned.··</P>
2.68 KB
html2text {}
    
Offset 1, 23 lines modifiedOffset 1, 23 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="sharedimg"·option="name·alt">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
8  ·HTP·Tags 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
10  · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*5  ·_.L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags
12  · ···_.D_.E_.F···················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the7  ·_.U_.s_.a_.g_.e·····················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the
13  · ···_.F_.I_.L_.E··················UNDEF·command.·Once·removed,·the·metatag·will·no8  ·HTP·Tags··················UNDEF·command.·Once·removed,·the·metatag·will·no
14  · ···_\x8I_.F····················longer·be·recognized·by·htp·until·it·is·reassigned.9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············longer·be·recognized·by·htp·until·it·is·reassigned.
15  · ···_\x8I_.N_.C···················Multiple·metatags·can·be·removed·by·placing·each10  · ···_\x8B_.L_.O_.C_.K·················Multiple·metatags·can·be·removed·by·placing·each
16  · ···_\x8I_.M_.G···················name·as·an·attribute.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············name·as·an·attribute.
 12  · ···_\x8D_\x8E_\x8F
 13  · ···_\x8F_\x8I_\x8L_\x8E
 14  · ···_\x8I_\x8F
 15  · ···_\x8I_\x8N_\x8C
 16  · ···_\x8I_\x8M_\x8G
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  ·[>]·_\x8U_\x8N_\x8D_\x8E_\x8F22  ·[>]·_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
8.84 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 44 lines modifiedOffset 114, 33 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br> 
123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>
 122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
124 <br>123 <br>
125 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br> 
126 </code></p>124 </code></p>
127 <h2>synopsis</h2>125 <h2>synopsis</h2>
128 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.126 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
129 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.127 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
130 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or128 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
131 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The129 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
132 old·macro·definition·will·be·removed·automatically.)130 old·macro·definition·will·be·removed·automatically.)
133 <P>131 <P>
134 For·example:132 For·example:
135 ··<p><code>133 ··<p><code>
136 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br> 
137 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br> 
138 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
139 <br> 
140 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br> 
141 <br> 
142 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
143 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br>134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
144 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
145 </code></p>135 </code></p>
146 <P>136 <P>
147 More·than·one·macro·may·be·removed·in·the·same·tag:137 More·than·one·macro·may·be·removed·in·the·same·tag:
148 ··<p><code>138 ··<p><code>
 139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>
149 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
150 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
151 </code></p>140 </code></p>
152 <p>141 <p>
153 </td>142 </td>
154 </tr>143 </tr>
155 <tr>144 <tr>
156 <td·width="20%"·bgcolor="white"·valign="bottom">145 <td·width="20%"·bgcolor="white"·valign="bottom">
157 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">146 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
3.97 KB
html2text {}
    
Offset 1, 51 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="sharedimg"·option="name·alt">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
8  ·HTP·Tags 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
10  · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's8  ·HTP·Tags··················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's
12  · ···_\x8D_.E_.F···················definition.·The·macro·is·subsequently·not·available9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············definition.·The·macro·is·subsequently·not·available
13  · ···_\x8F_.I_.L_.E··················for·use·in·the·pre-processed·files.·(Note·that10  · ···_\x8B_.L_.O_.C_.K·················for·use·in·the·pre-processed·files.·(Note·that
14  · ···_\x8I_.F····················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or
15  · ···_\x8I_.N_.C···················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.12  · ···_\x8D_.E_.F···················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.
16  · ···_\x8I_.M_.G···················The·old·macro·definition·will·be·removed13  · ···_\x8F_.I_.L_.E··················The·old·macro·definition·will·be·removed
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············automatically.)14  · ···_\x8I_\x8F····················automatically.)
18  · ···_\x8O_.P_.T···················For·example:15  · ···_\x8I_.N_.C···················For·example:
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<a·href=$email>send·email</a> 
21  · ···_\x8S_.E_.T···················<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>16  · ···_\x8I_.M_.G··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············More·than·one·macro·may·be·removed·in·the·same·tag:
 18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name>
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
 21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T·················<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·morestuff=$email>23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················email="jnelson@crl.com"> 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff 
29  ·_\x8B_\x8u_\x8g_\x8s······················email="jnelson@crl.com"> 
30 ····························More·than·one·macro·may·be·removed·in·the·same·tag: 
31 ····························<a·href="mailto:$email">mailto·hyperlink</a> 
32 ····························<a·href="http://$domain/~${username}/">another 
33 ····························hyperlink</a> 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
13.9 KB
./usr/share/doc/htp/use.html
    
Offset 114, 18 lines modifiedOffset 114, 18 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·...<br> 
123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
124 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-att[·...·truncated·by·diffoscope;·len:·136,·SHA:·d06aadea4cd68d2c371d46cf0c4d8bd04e3e386f913d91648de1fd79438a7fce·...·]>&gt;</span><br>
 122 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 123 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 124 <br>
125 </code></p>125 </code></p>
126 <h2>synopsis</h2>126 <h2>synopsis</h2>
127 <strong>USE</strong>·will·expand·macros·that·have·been·previously127 <strong>USE</strong>·will·expand·macros·that·have·been·previously
128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
130 markup·tags.130 markup·tags.
131 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will131 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
5.7 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 39 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·macroname·[parameters·...]·[noexpand]>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·...5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<...·$macroname·...>
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
7  ·_\x8U_.s_.a_.g_.e····················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················<...·${macroname}·...>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············used·outside·of·other·markup·tags.11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············used·outside·of·other·markup·tags.
12  · ···_\x8D_\x8E_\x8F···················If·you·USE·a·block·macro·the·value·of·expanded12  · ···_\x8D_\x8E_\x8F···················If·you·USE·a·block·macro·the·value·of·expanded
13  · ···_\x8F_\x8I_\x8L_\x8E··················block·macros·will·be·further·parsed·by·htp.·This·is13  · ···_\x8F_\x8I_\x8L_\x8E··················block·macros·will·be·further·parsed·by·htp.·This·is
14  · ···_\x8I_\x8F····················maybe·not·what·you·want,·for·example,·if·the·use·is14  · ···_\x8I_\x8F····················maybe·not·what·you·want,·for·example,·if·the·use·is
15  · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use15  · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use
16  · ···_\x8I_\x8M_\x8G···················the·noexpand·attribute·to·prevent·further16  · ···_\x8I_\x8M_\x8G···················the·noexpand·attribute·to·prevent·further
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············expansion.17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············expansion.
18  · ···_\x8O_\x8P_\x8T···················USE·will·accept·additional·parameters,·which·are18  · ···_\x8O_\x8P_\x8T···················USE·will·accept·additional·parameters,·which·are
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"local"·macros·for·the·expanded·macro.·This·is·only19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"local"·macros·for·the·expanded·macro.·This·is·only
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T
21  · ···_\x8S_\x8E_\x8T···················cannot·have·parameters·passed.·For·example:21  · ···_\x8S_\x8E_\x8T···················cannot·have·parameters·passed.·For·example:
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 1.·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff>
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· · ·...23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· ·<a·href=$email>send·email</a>
24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4.
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· 5.· ·<_.[_.[_.r_.e_.f_.]_.]_.w_.h_.i_.l_.e·sect-${sect-ctr}>26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· 5.·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·morestuff=$email>
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 6.· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·sect-${sect-ctr}>27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 6.
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· 7.· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr>28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· 7.·This·works:· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·stuff
29  ·_\x8B_\x8u_\x8g_\x8s······················ 8.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> 
30 ···························· 9.·<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="footer.hti">29  ·_.B_.u_.g_.s······················email="jnelson@crl.com">
 30 ···························· 8.·But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email>
 31 ···························· 9.·And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff
 32 ····························email="jnelson@crl.com">
31 ····························(See·below·for·a·description·of·the·'$'·operator.)33 ····························(See·below·for·a·description·of·the·'$'·operator.)
32 ····························The·example·on·line·7·works·because·"stuff"·has34 ····························The·example·on·line·7·works·because·"stuff"·has
33 ····························been·declared·as·a·block·macro,·and·the·tag·is35 ····························been·declared·as·a·block·macro,·and·the·tag·is
34 ····························passing·the·"email"·macro·to·the·"stuff"·macro.36 ····························passing·the·"email"·macro·to·the·"stuff"·macro.
35 ····························Line·8·fails·because·the·"email"·macro·is37 ····························Line·8·fails·because·the·"email"·macro·is
36 ····························unavailable·once·the·block·macro·is·completely38 ····························unavailable·once·the·block·macro·is·completely
37 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.39 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.
11.7 KB
./usr/share/doc/htp/while.html
    
Offset 114, 45 lines modifiedOffset 114, 44 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span[·...·truncated·by·diffoscope;·len:·129,·SHA:·509518698059ac1a59ac68f08b3412aac9b298ca2ef2e450662bfc2a996e561a·...·]<br>121 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>
 122 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br>
123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
124 <br>124 <br>
125 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br>125 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br>
 126 <br>
 127 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
 128 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br>
 129 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
126 </code></p>130 </code></p>
127 <h2>synopsis</h2>131 <h2>synopsis</h2>
128 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.132 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
129 The·basic·form·is·shown·above.133 The·basic·form·is·shown·above.
130 <P>134 <P>
131 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.135 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
132 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.136 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
133 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the137 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
134 conditional·is·reversed:138 conditional·is·reversed:
135 ··<p><code>139 ··<p><code>
136 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br> 
137 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br>140 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
 141 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
138 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
139 <br> 
140 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br> 
141 <br> 
142 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
143 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br> 
144 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
145 </code></p>142 </code></p>
146 <P>143 <P>
147 Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a144 Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a
148 macro's·existance:145 macro's·existance:
149 ··<p><code>146 ··<p><code>
150 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
151 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>147 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>
 148 &nbsp;·&nbsp;·...<br>
 149 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
 150 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
152 </code></p>151 </code></p>
153 <P>152 <P>
154 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the153 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
155 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the154 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
156 WHILE·tag·it·is·also·reevaluated·on·each·iteration.155 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
157 <P>156 <P>
158 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.157 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
5.01 KB
html2text {}
    
Offset 1, 40 lines modifiedOffset 1, 38 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="sharedimg"·option="name·alt">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················alt="${alt}">;5  ·_\x8L_.i_.c_.e_.n_.s_.e··················· ·<a·href=$email>send·email</a>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
 8  ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T
7  ·_.U_.s_.a_.g_.e····················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>10  · ···_.B_.L_.O_.C_.K·················This·works:· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·stuff
8  ·HTP·Tags 
9  · ···_\x8A_.L_.T_.T_.E_.X_.T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············email="jnelson@crl.com">
 12  · ···_\x8D_\x8E_\x8F···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email>
 13  · ···_\x8F_\x8I_\x8L_\x8E··················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff
 14  · ···_\x8I_\x8F····················email="jnelson@crl.com">
10  · ···_\x8B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*15  · ···_\x8I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated16  · ···_\x8I_.M_.G···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated
12  · ···_\x8D_.E_.F···················processing.·The·basic·form·is·shown·above.17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············processing.·The·basic·form·is·shown·above.
13  · ···_\x8F_.I_.L_.E··················"Conditional"·is·either·a·"compare"·or·"is·defined"18  · ···_\x8O_.P_.T···················"Conditional"·is·either·a·"compare"·or·"is·defined"
14  · ···_\x8I_.F····················operation.·A·compare·operator·is·a·test·of·the19  · ···_\x8O_.U_.T_.P_.U_.T················operation.·A·compare·operator·is·a·test·of·the
15  · ···_\x8I_.N_.C···················value·of·a·macro·against·a·literal·string.·If·the20  · ···_\x8Q_.U_.O_.T_.E·················value·of·a·macro·against·a·literal·string.·If·the
16  · ···_\x8I_.M_.G···················NOT·tag·is·present·in·the·WHILE·markup,·the21  · ···_\x8S_.E_.T···················NOT·tag·is·present·in·the·WHILE·markup,·the
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············evaluation·of·the·conditional·is·reversed:22  · ···_\x8U_.N_.D_.E_.F·················evaluation·of·the·conditional·is·reversed:
18  · ···_\x8O_\x8P_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> 
19  · ···_\x8O_.U_.T_.P_.U_.T················ ·<a·href=$email>send·email</a>23  · ···_\x8U_.N_.S_.E_.T·················<a·href="mailto:$email">mailto·hyperlink</a>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<a·href="http://$domain/~${username}/">another
 25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E·················hyperlink</a>
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> 
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff 
25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E·················email="jnelson@crl.com"> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················email="jnelson@crl.com"> 
29  ·_.B_.u_.g_.s······················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a26  · ···_.<_.!_.-_.-_.-·················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a
30 ····························macro's·existance: 
31 ····························<a·href="mailto:$email">mailto·hyperlink</a> 
32 ····························<a·href="http://$domain/~${username}/">another 
33 ····························hyperlink</a>27  ·_.H_.i_.s_.t_.o_.r_.y···················macro's·existance:
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·...
 30 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
 31 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
34 ····························If·the·condition·is·true,·the·block·is·evaluated32 ····························If·the·condition·is·true,·the·block·is·evaluated
35 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If33 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If
36 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is34 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is
37 ····························also·reevaluated·on·each·iteration.35 ····························also·reevaluated·on·each·iteration.
38 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.36 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.