252 KB
/srv/reproducible-results/rbuild-debian/r-b-build.KghiCuFB/b1/htp_1.19-8_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.KghiCuFB/b2/htp_1.19-8_amd64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·f95205d6135077fe67f7ffb7439955a0·70056·debug·optional·htp-dbgsym_1.19-8_amd64.deb1 ·f95205d6135077fe67f7ffb7439955a0·70056·debug·optional·htp-dbgsym_1.19-8_amd64.deb
2 ·c1d2e313b5df18b0372dcf230e60a4b7·120696·web·optional·htp_1.19-8_amd64.deb2 ·7a4a4061f042f0e4f96298a94fbbab9f·119764·web·optional·htp_1.19-8_amd64.deb
251 KB
htp_1.19-8_amd64.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···116892·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···115960·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:·amd643 Architecture:·amd64
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6635 Installed-Size:·654
6 Depends:·libc6·(>=·2.14)6 Depends:·libc6·(>=·2.14)
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
251 KB
data.tar.xz
250 KB
data.tar
15.4 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)····67928·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67928·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)····15001·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)····10917·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)····14129·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····8267·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)····12237·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····8739·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)·····3273·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz16 -rw-r--r--···0·root·········(0)·root·········(0)·····3273·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz
17 -rw-r--r--···0·root·········(0)·root·········(0)·····9989·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····11088·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)····15806·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····13720·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
Offset 32, 64 lines modifiedOffset 32, 64 lines modified
32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp
33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html
34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp
35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def
36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html
37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp
38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt
39 -rw-r--r--···0·root·········(0)·root·········(0)·····9093·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)·····9899·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html
40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp
41 -rw-r--r--···0·root·········(0)·root·········(0)····15755·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····16003·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html
42 -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.htp.gz42 -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.htp.gz
43 -rw-r--r--···0·root·········(0)·root·········(0)····14293·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.html43 -rw-r--r--···0·root·········(0)·root·········(0)····14293·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.html
44 -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.htp.gz44 -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.htp.gz
45 -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/hlhtp.pl45 -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/hlhtp.pl
46 -rw-r--r--···0·root·········(0)·root·········(0)······165·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.def46 -rw-r--r--···0·root·········(0)·root·········(0)······165·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.def
47 -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.htt47 -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.htt
48 -rw-r--r--···0·root·········(0)·root·········(0)····13107·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····10422·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html
49 -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp49 -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp
50 -rw-r--r--···0·root·········(0)·root·········(0)····10054·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)····10276·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html
51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp
52 -rw-r--r--···0·root·········(0)·root·········(0)·····8781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····9052·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html
53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp
54 -rw-r--r--···0·root·········(0)·root·········(0)·····9917·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)····11007·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html
55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp
56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html
57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp
58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html
59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp
60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html
61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp
62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html
63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp
64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def
65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html
66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp
67 -rw-r--r--···0·root·········(0)·root·········(0)····17411·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····13416·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html
68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz
69 -rw-r--r--···0·root·········(0)·root·········(0)·····7803·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····8441·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html
70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp
71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html
72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp
73 -rw-r--r--···0·root·········(0)·root·········(0)·····8130·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)····11546·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7953·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)····11412·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html
87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp
88 -rw-r--r--···0·root·········(0)·root·········(0)·····9609·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)····10220·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp
90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css
91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html
92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz
93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/
95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti
Offset 102, 23 lines modifiedOffset 102, 23 lines modified
102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp
103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····9119·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····8009·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html
110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp
111 -rw-r--r--···0·root·········(0)·root·········(0)····11312·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9337·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html
112 -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp112 -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp
113 -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html113 -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html
114 -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp114 -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp
115 -rw-r--r--···0·root·········(0)·root·········(0)····12088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····13207·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html
116 -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp116 -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp
117 -rw-r--r--···0·root·········(0)·root·········(0)····10243·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····10425·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html
118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp
119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html
120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp
121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/
122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp
123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/
124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/
15.8 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 59 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 <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">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br> 
122 text·block<br>121 <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="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&[·...·truncated·by·diffoscope;·len:·10,·SHA:·9e8ef223149d0770d69b29fa44c8431955f80464ef9389f8dc60852e89aca98d·...·]<br>
 122 &nbsp;·&nbsp;·block·#1<br>
 123 [<br>
 124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 125 &nbsp;·&nbsp;·block·#2<br>
 126 ...<br>
 127 ]<br>
 128 [<br>
 129 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
 130 &nbsp;·&nbsp;·block·#3<br>
 131 ]<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>132 <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>
124 <br>133 <br>
125 </code></p>134 </code></p>
126 <h2>synopsis</h2>135 <h2>synopsis</h2>
127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A136 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.137 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
129 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the138 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
130 filename·is·considered·in·all·comparisons.139 filename·is·considered·in·all·comparisons.
131 <p>140 <p>
132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT141 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT
133 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to142 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to
134 be·overridden·on·specific·images·and·default·text·on·all·others.143 be·overridden·on·specific·images·and·default·text·on·all·others.
135 <p>144 <p>
136 For·example:145 For·example:
137 ··<p><code>146 ··<p><code>
138 &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>147 &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>
139 &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> 
140 &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>148 &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">[·...·truncated·by·diffoscope;·len:·21,·SHA:·929f44f9c1c1cb2f950b815731944e1903ccb629bc7441d9da2156572ecf0f3b·...·]<br>
 149 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 150 &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>
 151 &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>
 152 &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>
 153 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 154 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
141 &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>155 &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>
 156 <br>
 157 &nbsp;paragraph<br>
 158 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 159 &nbsp;paragraph<br>
142 &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> 
143 &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> 
144 &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> 
145 &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> 
146 &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> 
147 &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> 
148 &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> 
149 &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> 
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>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
151 &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> 
152 &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> 
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>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
154 &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> 
155 &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> 
156 &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> 
157 &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> 
158 &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> 
159 &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> 
160 &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> 
161 &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> 
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>&gt;</span><br> 
163 &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> 
164 &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> 
165 &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> 
166 </code></p>160 </code></p>
167 <p>161 <p>
168 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT162 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
169 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not163 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
170 changed.164 changed.
171 <p>165 <p>
172 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,166 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
5.37 KB
html2text {}
    
Offset 1, 59 lines modifiedOffset 1, 55 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·ALTTEXT·******2 ******·htp·on-line·reference·:·ALTTEXT·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents····*****·syntax·*****
4 Contents·······<[[ref]]BLOCK·NAME="blockname"·[GLOBAL]·[EXPAND]> 
5  Introduction·text·block 
6  License······<[[ref]]/BLOCK> 
7  Tutorial4  Introduction·······<[[ref]]IF·[NOT]·conditional>
 5  License············ · ·block·#1
 6  Tutorial···········[
 7  Usage··············<ELSEIF·[NOT]·conditional>
 8  HTP·Tags··········· · ·block·#2
 9  [>]·ALTTEXT········...
 10   ··BLOCK··········]
 11   ··BLOCKDEF·······[
 12   ··DEF············<ELSE>
 13   ··FILE··········· · ·block·#3
 14   ··IF·············]
 15   ··INC············<[[ref]]/IF>
 16   ··IMG
8  Usage········*****·synopsis·*****17   ··IMAGEURL·······*****·synopsis·*****
9  HTP·Tags·····ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag·with·a·SRC·matching18   ··OPT············ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag·with·a
10  [>]·ALTTEXT··the·ALTTEXT·NAME.·Since·relative·paths·can·be·used·to·point·to·the 
11   ··BLOCK····same·image,·only·the·filename·is·considered·in·all·comparisons.19   ··OUTPUT·········SRC·matching·the·ALTTEXT·NAME.·Since·relative·paths·can
 20   ··QUOTE··········be·used·to·point·to·the·same·image,·only·the·filename·is
 21   ··SET············considered·in·all·comparisons.
12   ··BLOCKDEF·When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an22   ··UNDEF··········When·an·IMG·tag·with·a·matching·source·is·encountered,
13   ··DEF······ALT·attribute·only·if·one·is·not·already·present.·This·allows·for·ALT23   ··UNSET··········htp·will·add·an·ALT·attribute·only·if·one·is·not·already
 24   ··USE,_$·········present.·This·allows·for·ALT·text·to·be·overridden·on
14   ··FILE·····text·to·be·overridden·on·specific·images·and·default·text·on·all25   ··WHILE··········specific·images·and·default·text·on·all·others.
15   ··IF·······others. 
16   ··INC······For·example:26   ··<!---··········For·example:
 27  History············ <[[ref]]def·name="imghr">
 28  Wish_list·········· · <table·border="0"·cellspacing="0"·cellpadding="0">
 29  Bugs··············· · <tr>
 30 ····················· · ·<td·width=10><[[ref]]img·src="leftsep.png"></td>
 31 ····················· · ·<td·width="95%"·background="midsep.png">&nbsp;</td>
 32 ····················· · ·<td·width=10><[[ref]]img·src="rightsep.png"></td>
 33 ····················· · </tr>
 34 ····················· · </table>
17   ··IMG······ ·<[[ref]]set·time="0"> 
18   ··IMAGEURL· ·<[[ref]]block·name=a> 
19   ··OPT······ · ·a·is·expanded·at·time·<[[ref]]use·time>. 
20   ··OUTPUT··· ·<[[ref]]/block> 
21   ··QUOTE···· ·<[[ref]]block·name=b·expand> 
22   ··SET······ · ·b·is·expanded·at·time·<[[ref]]use·time>. 
23   ··UNDEF···· ·<[[ref]]/block> 
24   ··UNSET···· ·<[[ref]]set·time="1"> 
25   ··USE,_$··· ·<[[ref]]use·a> 
26   ··WHILE···· ·<[[ref]]use·b> 
27   ··<!---···· ·contents·of·a:·<[[ref]]use·a·noexpand> 
28  History······ ·contents·of·b:·<[[ref]]use·b·noexpand> 
29  Wish_list···· ·<[[ref]]block·name=c·expand> 
30  Bugs········· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
31 ··············· ·<[[ref]]/block> 
32 ··············· ·<[[ref]]block·name=d·expand> 
33 ··············· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
34 ··············· ·<[[ref]]/block> 
35 ··············· ·<[[ref]]block·name=e> 
36 ··············· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
37 ··············· ·<[[ref]]/block> 
38 ··············· ·<[[ref]]set·time="2"> 
39 ··············· ·<[[ref]]block·name=a> 
40 ··············· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>. 
41 ··············· ·<[[ref]]/block> 
42 ··············· ·<[[ref]]use·c>35 ····················· <[[ref]]/def>
43 ··············· ·<[[ref]]use·d> 
44 ··············· ·<[[ref]]use·e> 
 36 ····················· paragraph
 37 ····················· <imghr>
 38 ····················· paragraph
45 ···············An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT39 ·····················An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes
46 ···············mapping·for·this·image.·Successing·IMG·tags·with·a·matching·SRC·name40 ·····················any·ALT·mapping·for·this·image.·Successing·IMG·tags·with
47 ···············are·not·changed.41 ·····················a·matching·SRC·name·are·not·changed.
48 ···············Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,42 ·····················Since·this·is·useful·for·an·image·used·throughout·a·set
49 ···············ALTTEXT·is·most·appropriate·in·an·include_file·or·a·default_file.43 ·····················of·documents,·ALTTEXT·is·most·appropriate·in·an·include
 44 ·····················file·or·a·default_file.
50 ···············In·addition·to·ALTTEXT,·htp·can·also·automatically·add·WIDTH·and45 ·····················In·addition·to·ALTTEXT,·htp·can·also·automatically·add
51 ···············HEIGHT·attributes·to·IMG·tags.46 ·····················WIDTH·and·HEIGHT·attributes·to·IMG·tags.
  
  
  
  
  
  
  
Offset 72, 17 lines modifiedOffset 68, 16 lines modified
  
72  page_source68  page_source
73  htp_project69  htp_project
74  htp_homepage70  htp_homepage
75 hosted·by71 hosted·by
76 Sourceforge72 Sourceforge
77 HTML·coding73 HTML·coding
78 [Powered_by74 [Powered_by_htp]
79 htp] 
80 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/75 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
81 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.76 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
82 ·····Maintainers:·Jochen_Hoenicke.77 ·····Maintainers:·Jochen_Hoenicke.
83 Copyright·©·1995–96·Jim·Nelson.78 Copyright·©·1995–96·Jim·Nelson.
84 Copyright·©·2001–2014·Jochen_Hoenicke.79 Copyright·©·2001–2014·Jochen_Hoenicke.
85 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to80 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
86 terms·described·in·the·License_section.81 according·to·terms·described·in·the·License_section.
87 last·updated·Sat·May·16,·201582 last·updated·Sat·May·16,·2015
10.8 KB
./usr/share/doc/htp/block.html
    
Offset 114, 42 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="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="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</span>&gt;</span><br>
 122 <br>
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">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br> 
122 &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> 
123 &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> 
124 &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;·<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> 
126 &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> 
127 &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> 
128 &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> 
129 &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> 
130 &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> 
131 &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> 
132 &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> 
133 &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> 
134 &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> 
135 &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> 
136 &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> 
137 &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> 
138 &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> 
139 &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> 
140 &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> 
141 &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> 
142 &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> 
143 &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> 
144 &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> 
145 &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> 
146 &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> 
147 &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> 
148 &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> 
149 </code></p>123 </code></p>
150 <h2>synopsis</h2>124 <h2>synopsis</h2>
151 <P>125 <P>
152 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which126 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
153 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be127 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
154 multi-line·definitions.128 multi-line·definitions.
155 </P>129 </P>
3.86 KB
html2text {}
    
Offset 1, 59 lines modifiedOffset 1, 37 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·BLOCK,·/BLOCK·******2 ******·htp·on-line·reference·:·BLOCK,·/BLOCK·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
 4  Introduction···············<[[ref]]imageurl·url="imageurl"·[·path="path/in/
 5  License····················local/filesystem"·]>
 6  Tutorial
4 Contents······· ·<[[ref]]set·time="0"> 
5  Introduction· ·<[[ref]]block·name=a> 
6  License······ · ·a·is·expanded·at·time·<[[ref]]use·time>. 
7  Tutorial····· ·<[[ref]]/block> 
8  Usage········ ·<[[ref]]block·name=b·expand> 
9  HTP·Tags····· · ·b·is·expanded·at·time·<[[ref]]use·time>. 
10   ··ALTTEXT·· ·<[[ref]]/block> 
11  [>]·BLOCK···· ·<[[ref]]set·time="1"> 
12   ··BLOCKDEF· ·<[[ref]]use·a> 
13   ··DEF······ ·<[[ref]]use·b> 
14   ··FILE····· ·contents·of·a:·<[[ref]]use·a·noexpand> 
15   ··IF······· ·contents·of·b:·<[[ref]]use·b·noexpand> 
16   ··INC······ ·<[[ref]]block·name=c·expand> 
17   ··IMG······ · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
18   ··IMAGEURL· ·<[[ref]]/block> 
19   ··OPT······ ·<[[ref]]block·name=d·expand> 
20   ··OUTPUT··· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
21   ··QUOTE···· ·<[[ref]]/block> 
22   ··SET······ ·<[[ref]]block·name=e> 
23   ··UNDEF···· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
24   ··UNSET···· ·<[[ref]]/block> 
25   ··USE,_$··· ·<[[ref]]set·time="2"> 
26   ··WHILE···· ·<[[ref]]block·name=a> 
27   ··<!---···· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>. 
28  History······ ·<[[ref]]/block> 
29  Wish_list···· ·<[[ref]]use·c> 
30  Bugs········· ·<[[ref]]use·d> 
31 ··············· ·<[[ref]]use·e> 
32 ···············*****·synopsis·*****7  Usage······················*****·synopsis·*****
33 ···············BLOCK·and·/BLOCK·are·used·to·create·block·macros,·which·are·similar·in8  HTP·Tags···················BLOCK·and·/BLOCK·are·used·to·create·block·macros,
34 ···············use·to·SET·macros,·but·can·be·multi-line·definitions.9   ··ALTTEXT················which·are·similar·in·use·to·SET·macros,·but·can·be
 10  [>]·BLOCK··················multi-line·definitions.
35 ···············Any·text·and·formatting·may·be·set·inside·the·block.·You·can·use·any11   ··BLOCKDEF···············Any·text·and·formatting·may·be·set·inside·the
 12   ··DEF····················block.·You·can·use·any·htp·or·user·defined·metatag
36 ···············htp·or·user·defined·metatag·including·FILE_INCLUDE.·The·metatags·won't13   ··FILE···················including·FILE_INCLUDE.·The·metatags·won't·be
37 ···············be·expanded·before·the·block·is·USEd·except·if·you·give·the·EXPAND14   ··IF·····················expanded·before·the·block·is·USEd·except·if·you
38 ···············parameter.15   ··INC····················give·the·EXPAND·parameter.
39 ···············The·block·macro·is·dereferenced·(expanded)·with·the·USE_tag_or_the_'$'16   ··IMG····················The·block·macro·is·dereferenced·(expanded)·with
 17   ··IMAGEURL···············the·USE_tag_or_the_'$'_operator.·See·the·notes·on
40 ···············operator.·See·the·notes·on·the·USE·tag·on·how·to·pass·parameters·to·a18   ··OPT····················the·USE·tag·on·how·to·pass·parameters·to·a·block
41 ···············block·macro. 
  
  
  
  
  
  
  
  
  
 19   ··OUTPUT·················macro.
 20   ··QUOTE
 21   ··SET
 22   ··UNDEF
 23   ··UNSET
 24   ··USE,_$
 25   ··WHILE
 26   ··<!---
 27  History
 28  Wish_list
 29  Bugs
  
  
  
  
  
  
  
Offset 61, 18 lines modifiedOffset 39, 17 lines modified
  
  
61  page_source39  page_source
62  htp_project40  htp_project
63  htp_homepage41  htp_homepage
64 hosted·by42 hosted·by
65 Sourceforge43 Sourceforge
 44 HTML·coding·[Powered_by
66 HTML·coding 
67 [Powered_by 
68 htp]45 htp]
69 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/46 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
70 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.47 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
71 ·····Maintainers:·Jochen_Hoenicke.48 ·····Maintainers:·Jochen_Hoenicke.
72 Copyright·©·1995–96·Jim·Nelson.49 Copyright·©·1995–96·Jim·Nelson.
73 Copyright·©·2001–2014·Jochen_Hoenicke.50 Copyright·©·2001–2014·Jochen_Hoenicke.
74 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to51 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
75 terms·described·in·the·License_section.52 according·to·terms·described·in·the·License_section.
76 last·updated·Sat·May·16,·201553 last·updated·Sat·May·16,·2015
9.74 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 43 lines modifiedOffset 114, 27 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="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">"logo.gif"</span>·<span·class="htp-attrib">text</span>=[·...·truncated·by·diffoscope;·len:·39,·SHA:·138ba34b5292b3e7451f200f072f3b0027941410b118e78a3f2cd3ad3de9d343·...·]</span>&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-[·...·truncated·by·diffoscope;·len:·220,·SHA:·e5a7c322d181671814f71219bc400fbb8062367de1eb28c68790a00a59fb83ef·...·]</span>&gt;</span><br>
122 <br>122 <br>
123 &nbsp;·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> 
124 &nbsp;·becomes·this·after·processing:·<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>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br> 
125 <br> 
126 &nbsp;·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">"../image/logo.gif"</span>&gt;</span><br> 
127 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br> 
128 <br> 
129 &nbsp;·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>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br> 
130 &nbsp;·remains·unchanged.<br> 
131 </code></p>123 </code></p>
132 <h2>synopsis</h2>124 <h2>synopsis</h2>
133 <strong>BLOCKDEF</strong>·creates·block·<A125 <strong>BLOCKDEF</strong>·creates·block·<A
134 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it126 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
135 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block127 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
136 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and128 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
137 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored129 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
138 in·the·block·macro·named·BLOCK.130 in·the·block·macro·named·BLOCK.
139 <P>·For·example:</P>131 <P>·For·example:</P>
140 ··<p><code>132 ··<p><code>
 133 &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>
141 <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</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">|</span>·<span·class="htp-attrib">redirect)</span>·<span·class="htp-attrib">[noerror]</span>&gt;</span><br> 
142 <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> 
143 <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> 
144 <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> 
145 <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> 
146 <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> 
147 <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> 
148 <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> 
149 <br> 
150 </code></p>134 </code></p>
151 <p>135 <p>
152 All·block·metatags·have·the·implicit·option·<a136 All·block·metatags·have·the·implicit·option·<a
153 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents137 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
154 of·the·block·before·the·definition·is·expanded.138 of·the·block·before·the·definition·is·expanded.
155 </p>139 </p>
156 <p>140 <p>
3.89 KB
html2text {}
    
Offset 1, 53 lines modifiedOffset 1, 37 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·BLOCKDEF,·/BLOCKDEF·******2 ******·htp·on-line·reference·:·BLOCKDEF,·/BLOCKDEF·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
 4  Introduction···············<[[ref]]INC·macroname1="increment1"
 5  License····················[macroname2="increment2"·...·]·[GLOBAL]>
 6  Tutorial
 7  Usage······················*****·synopsis·*****
 8  HTP·Tags···················BLOCKDEF·creates·block·metatags,·which·is·a·fancy
 9   ··ALTTEXT················way·of·saying·it·creates·new·block·tags.·A·block
 10   ··BLOCK··················tag·is·a·tag·that·takes·a·whole·block·as
 11  [>]·BLOCKDEF···············additional·parameter.·This·block·is·surrounded·by
 12   ··DEF····················<tagname>·and·</tagname>.·The·contents·of·this
 13   ··FILE···················block·are·automatically·stored·in·the·block·macro
 14   ··IF·····················named·BLOCK.
 15   ··INC····················For·example:
 16   ··IMG···················· · ·<[[ref]]INC·i="1"·j="-1">
 17   ··IMAGEURL···············All·block·metatags·have·the·implicit·option
 18   ··OPT····················EXPAND,·which·tells·htp·to·expand·the·contents·of
4 Contents······· ·<[[ref]]alttext·name="logo.gif"·text="Company·logo"> 
5  Introduction 
6  License······ ·this·line:·<[[ref]]img·src="logo.gif"> 
7  Tutorial····· ·becomes·this·after·processing:·<[[ref]]img·src="logo.gif"·alt="Company 
8  Usage········logo"> 
9  HTP·Tags 
10   ··ALTTEXT·· ·this·line:·<[[ref]]img·src="../image/logo.gif"> 
11   ··BLOCK···· ·will·also·have·an·ALT·attribute·appended·to·it 
12  [>]·BLOCKDEF 
13   ··DEF······ ·this·line:·<[[ref]]img·src="logo.gif"·alt="Click·here·for·more 
14   ··FILE·····information!"> 
15   ··IF······· ·remains·unchanged. 
16   ··INC······*****·synopsis·***** 
17   ··IMG······BLOCKDEF·creates·block·metatags,·which·is·a·fancy·way·of·saying·it 
18   ··IMAGEURL·creates·new·block·tags.·A·block·tag·is·a·tag·that·takes·a·whole·block·as 
19   ··OPT······additional·parameter.·This·block·is·surrounded·by·<tagname>·and·</ 
20   ··OUTPUT···tagname>.·The·contents·of·this·block·are·automatically·stored·in·the 
21   ··QUOTE····block·macro·named·BLOCK. 
22   ··SET······For·example: 
23   ··UNDEF····<[[ref]]file·execute="command-line"·(output="filename"·|·redirect) 
24   ··UNSET····[noerror]> 
25   ··USE,_$···<[[ref]]file·include="includefilename"·[parameters·...]> 
26   ··WHILE····<[[ref]]file·name> 
27   ··<!---····<[[ref]]file·[·name="filename"·]·size[·=·(byte|kbyte|mbyte|gbyte)·] 
28  History······[precision=n]> 
29  Wish_list····<[[ref]]file·[·name="filename"·]·time[·="format"·]> 
30  Bugs·········<[[ref]]file·[·name="filename"·]·date[·="format"·]> 
31 ···············<[[ref]]file·search="searchpath"> 
32 ···············<[[ref]]file·template="templatefilename"> 
  
33 ···············All·block·metatags·have·the·implicit·option·EXPAND,·which·tells·htp·to 
34 ···············expand·the·contents·of·the·block·before·the·definition·is·expanded.19   ··OUTPUT·················the·block·before·the·definition·is·expanded.
35 ···············A·more·thorough·discussion·and·more·elaborate·examples·are·discussed·in20   ··QUOTE··················A·more·thorough·discussion·and·more·elaborate
36 ···············the·metatag·section. 
  
  
  
  
  
  
  
 21   ··SET····················examples·are·discussed·in·the·metatag·section.
 22   ··UNDEF
 23   ··UNSET
 24   ··USE,_$
 25   ··WHILE
 26   ··<!---
 27  History
 28  Wish_list
 29  Bugs
  
  
  
  
  
  
  
Offset 57, 18 lines modifiedOffset 41, 17 lines modified
  
  
57  page_source41  page_source
58  htp_project42  htp_project
59  htp_homepage43  htp_homepage
60 hosted·by44 hosted·by
61 Sourceforge45 Sourceforge
 46 HTML·coding·[Powered_by
62 HTML·coding 
63 [Powered_by 
64 htp]47 htp]
65 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/48 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
66 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.49 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
67 ·····Maintainers:·Jochen_Hoenicke.50 ·····Maintainers:·Jochen_Hoenicke.
68 Copyright·©·1995–96·Jim·Nelson.51 Copyright·©·1995–96·Jim·Nelson.
69 Copyright·©·2001–2014·Jochen_Hoenicke.52 Copyright·©·2001–2014·Jochen_Hoenicke.
70 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to53 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
71 terms·described·in·the·License_section.54 according·to·terms·described·in·the·License_section.
72 last·updated·Sat·May·16,·201555 last·updated·Sat·May·16,·2015
10.1 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 48 lines modifiedOffset 114, 46 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 <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">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</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> 
124 <br>122 <br>
125 </code></p>123 </code></p>
126 <h2>synopsis</h2>124 <h2>synopsis</h2>
127 <p>125 <p>
128 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful126 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
129 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.127 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
130 Example:128 Example:
131 </p>129 </p>
132 ··<p><code>130 ··<p><code>
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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br>131 &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>
134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>132 &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">[·...·truncated·by·diffoscope;·len:·3,·SHA:·98089e6d36f78e9766c9ea34d5acb3611f3a92cd81c5eb102095d924ffc7d08b·...·]</span>&gt;</span><br>
 133 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 134 &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>
 135 &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>
 136 &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>
 137 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 138 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
135 &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>139 &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>
136 <br>140 <br>
 141 &nbsp;paragraph<br>
137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>142 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
138 &nbsp;·&nbsp;·This·text·is·centered.<br>143 &nbsp;paragraph<br>
139 </code></p>144 </code></p>
140 <p>145 <p>
141 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you146 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
142 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something147 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
143 like·this:148 like·this:
144 </p>149 </p>
145 ··<p><code>150 ··<p><code>
 151 &nbsp;·&nbsp;·File·image.gif·<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>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br>
 152 &nbsp;·&nbsp;·Last·modified·<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>=<span·class="htp-string">"image.gif"</span>·<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">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
146 &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">"bigfont"</span>&gt;</span><br> 
147 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br> 
148 &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> 
149 <br> 
150 &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">"/bigfont"</span>&gt;</span><br> 
151 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
152 &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> 
153 <br> 
154 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
155 </code></p>153 </code></p>
156 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the154 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
157 reason·why·you·don't·want·to·include·this·block</p>155 reason·why·you·don't·want·to·include·this·block</p>
158 <p>156 <p>
159 </td>157 </td>
160 </tr>158 </tr>
161 <tr>159 <tr>
3.77 KB
html2text {}
    
Offset 1, 42 lines modifiedOffset 1, 39 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·<!---·******2 ******·htp·on-line·reference·:·<!---·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction···············<[[ref]]BLOCK·NAME="blockname"·[GLOBAL]·[EXPAND]> 
5  License····················text·block 
6  Tutorial···················<[[ref]]/BLOCK> 
7  Usage 
8  HTP·Tags···················*****·synopsis·***** 
9   ··ALTTEXT················This·is·a·simple·comment·that·is·not·included·in 
10   ··BLOCK··················the·output.·This·is·useful·when·commenting 
11   ··BLOCKDEF···············metatags,·since·the·metatags·do·not·appear·the 
12   ··DEF····················output·either.·Example: 
13   ··FILE··················· · ·<[[ref]]def·name="centered"> 
14   ··IF····················· · ·<p·align=center> 
15   ··INC···················· · ·<[[ref]]/def> 
16   ··IMG 
17   ··IMAGEURL··············· · ·<centered> 
18   ··OPT···················· · ·This·text·is·centered. 
19   ··OUTPUT·················Note·that·these·comments·should·not·include·<·or 
20   ··QUOTE··················>,·that·is·you·should·not·use·it·to·comment·out4 Contents·······<[[ref]]INC·macroname1="increment1"·[macroname2="increment2"·...·]
 5  Introduction·[GLOBAL]>
 6  License
 7  Tutorial·····*****·synopsis·*****
 8  Usage········This·is·a·simple·comment·that·is·not·included·in·the·output.·This·is
 9  HTP·Tags·····useful·when·commenting·metatags,·since·the·metatags·do·not·appear·the
 10   ··ALTTEXT··output·either.·Example:
 11   ··BLOCK···· <[[ref]]def·name="imghr">
 12   ··BLOCKDEF· · <table·border="0"·cellspacing="0"·cellpadding="0">
 13   ··DEF······ · <tr>
 14   ··FILE····· · ·<td·width=10><[[ref]]img·src="leftsep.png"></td>
 15   ··IF······· · ·<td·width="95%"·background="midsep.png">&nbsp;</td>
 16   ··INC······ · ·<td·width=10><[[ref]]img·src="rightsep.png"></td>
 17   ··IMG······ · </tr>
 18   ··IMAGEURL· · </table>
 19   ··OPT······ <[[ref]]/def>
 20   ··OUTPUT
 21   ··QUOTE···· paragraph
 22   ··SET······ <imghr>
 23   ··UNDEF···· paragraph
 24   ··UNSET····Note·that·these·comments·should·not·include·<·or·>,·that·is·you·should
21   ··SET····················htp·code.·For·that·purpose·use·something·like25   ··USE,_$···not·use·it·to·comment·out·htp·code.·For·that·purpose·use·something·like
 26   ··WHILE····this:
 27  [>]·<!---···· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes
 28  History······ · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE
 29  Wish_list····NAME="image.gif"·DATE>
 30  Bugs·········Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the·reason
 31 ···············why·you·don't·want·to·include·this·block
22   ··UNDEF··················this: 
23   ··UNSET·················· ·<[[ref]]def·name="bigfont"> 
24   ··USE,_$················· · ·<font·size="+4"> 
25   ··WHILE·················· ·<[[ref]]/def> 
26  [>]·<!--- 
27  History···················· ·<[[ref]]def·name="/bigfont"> 
28  Wish_list·················· · ·</font> 
29  Bugs······················· ·<[[ref]]/def> 
  
30 ····························· ·<bigfont>Some·large·text</bigfont> 
31 ·····························Make·sure·that·the·variable·is·never·defined·and 
32 ·····························xyz·should·be·the·reason·why·you·don't·want·to 
33 ·····························include·this·block 
  
  
  
  
  
  
  
Offset 54, 17 lines modifiedOffset 51, 18 lines modified
  
  
54  page_source51  page_source
55  htp_project52  htp_project
56  htp_homepage53  htp_homepage
57 hosted·by54 hosted·by
58 Sourceforge55 Sourceforge
59 HTML·coding·[Powered_by56 HTML·coding
 57 [Powered_by
60 htp]58 htp]
61 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/59 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
62 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.60 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
63 ·····Maintainers:·Jochen_Hoenicke.61 ·····Maintainers:·Jochen_Hoenicke.
64 Copyright·©·1995–96·Jim·Nelson.62 Copyright·©·1995–96·Jim·Nelson.
65 Copyright·©·2001–2014·Jochen_Hoenicke.63 Copyright·©·2001–2014·Jochen_Hoenicke.
66 Permission·to·reproduce·and·distribute·this·hypertext·document·granted64 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to
67 according·to·terms·described·in·the·License_section.65 terms·described·in·the·License_section.
68 last·updated·Sat·May·16,·201566 last·updated·Sat·May·16,·2015
20.4 KB
./usr/share/doc/htp/def.html
    
Offset 114, 74 lines modifiedOffset 114, 63 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 <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="ebnf">(</span><span·class="htp-attrib">output</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">|</span>·<span·class="htp-attrib">redirect</span><span·class="ebnf">)</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noerror</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <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="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br> 
123 <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> 
124 <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">size</span><span·class="ebnf">[</span>·=<span·class="htp-value"></span>·<span·class="ebnf">(</span><span·class="htp-attrib">byte</span><span·class="ebnf">|</span><span·class="htp-attrib">kbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">mbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">gbyte</span><span·class="ebnf">)</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">precision</span>=<span·class="htp-value">n<span·class="ebnf">]</span></span>&gt;</span><br> 
125 <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">time</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>&gt;</span><br> 
126 <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">date</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>&gt;</span><br> 
127 <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> 
128 <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> 
129 <br>122 <br>
130 </code></p>123 </code></p>
131 <h2>synopsis</h2>124 <h2>synopsis</h2>
132 <p>125 <p>
133 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a126 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
134 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to127 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
135 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>128 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
136 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.129 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
137 For·example:130 For·example:
138 </p>131 </p>
139 ··<p><code>132 ··<p><code>
140 <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>133 &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>
 134 &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>
141 &nbsp;·&nbsp;·block·#1<br> 
142 [<br> 
143 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
144 &nbsp;·&nbsp;·block·#2<br> 
145 ...<br> 
146 ]<br> 
147 [<br> 
148 <span·class="htp-tag">&lt;ELSE&gt;</span><br>135 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
149 &nbsp;·&nbsp;·block·#3<br> 
150 ]<br>136 &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·c[·...·truncated·by·diffoscope;·len:·125,·SHA:·b047e95a1c67c151f2b0deffae5c4c3de9dd3fb1fa84f0c03d22c7c0e5038be0·...·]<br>
 137 &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>
 138 &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>
 139 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 140 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
151 <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>141 &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>
152 <br>142 <br>
 143 &nbsp;paragraph<br>
 144 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 145 &nbsp;paragraph<br>
153 </code></p>146 </code></p>
154 <P>147 <P>
155 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to148 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
156 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A149 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
157 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster150 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
158 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing151 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
159 tag·with·a·preceding·slash.·For·example:152 tag·with·a·preceding·slash.·For·example:
160 </P>153 </P>
161 ··<p><code>154 ··<p><code>
162 &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</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
163 &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>155 &nbsp;·&nbsp;·File·image.gif·<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>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</spa[·...·truncated·by·diffoscope;·len:·65,·SHA:·7e1df7e89c65642909c06c454c5f5ac8e9176f84ee88cb57aeb4343d5958991c·...·]<br>
 156 &nbsp;·&nbsp;·Last·modified·<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>=<span·class="htp-string">"image.gif"</span>·<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">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
164 </code></p>157 </code></p>
165 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,158 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
166 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>159 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
167 <P>160 <P>
168 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were161 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
169 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with162 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
170 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their163 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
171 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)164 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
172 </P>165 </P>
173 ··<p><code>166 ··<p><code>
174 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>&gt;</span><br>167 <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">conditional</span>&gt;</span><br>
 168 &nbsp;·&nbsp;·block<br>
175 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>&gt;</span><br>169 <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>
176 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>&gt;</span><br> 
177 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br> 
178 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br> 
179 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br> 
180 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br> 
181 <br>170 <br>
182 </code></p>171 </code></p>
183 <P>172 <P>
184 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is173 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
185 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are174 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
186 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the175 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
187 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a176 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
9.22 KB
html2text {}
    
Offset 1, 92 lines modifiedOffset 1, 71 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·DEF,·/DEF·******2 ******·htp·on-line·reference·:·DEF,·/DEF·******
3 Table_of_Contents····*****·syntax·*****3 Table_of·······*****·syntax·*****
 4 Contents·······<[[ref]]INC·macroname1="increment1"·[macroname2="increment2"·...·]
 5  Introduction·[GLOBAL]>
 6  License
 7  Tutorial·····*****·synopsis·*****
4  Introduction·······<[[ref]]file·execute="command-line"·(output="filename"·| 
5  License············redirect)·[noerror]> 
6  Tutorial···········<[[ref]]file·include="includefilename"·[parameters·...]> 
7  Usage··············<[[ref]]file·name> 
8  HTP·Tags···········<[[ref]]file·[·name="filename"·]·size[·= 
9   ··ALTTEXT········(byte|kbyte|mbyte|gbyte)·]·[precision=n]> 
10   ··BLOCK··········<[[ref]]file·[·name="filename"·]·time[·="format"·]> 
11   ··BLOCKDEF·······<[[ref]]file·[·name="filename"·]·date[·="format"·]> 
12  [>]·DEF············<[[ref]]file·search="searchpath"> 
13   ··FILE···········<[[ref]]file·template="templatefilename"> 
14   ··IF 
15   ··INC············*****·synopsis·***** 
16   ··IMG············DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it8  Usage········DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it·creates·new·tags.
 9  HTP·Tags·····The·mechanism·is·very·similar·to·BLOCK·macros,·except·that·the·USE·tag·is
17   ··IMAGEURL·······creates·new·tags.·The·mechanism·is·very·similar·to·BLOCK 
18   ··OPT············macros,·except·that·the·USE·tag·is·not·used·to·expand 
19   ··OUTPUT·········them.·Instead,·they·are·expanded·by·their·own·name.·For10   ··ALTTEXT··not·used·to·expand·them.·Instead,·they·are·expanded·by·their·own·name.
20   ··QUOTE··········example:11   ··BLOCK····For·example:
 12   ··BLOCKDEF· <[[ref]]def·name="imghr">
 13  [>]·DEF······ · <table·border="0"·cellspacing="0"·cellpadding="0">
 14   ··FILE····· · <tr>
 15   ··IF······· · ·<td·width=10><[[ref]]img·src="leftsep.png"></td>
 16   ··INC······ · ·<td·width="95%"·background="midsep.png">&nbsp;</td>
 17   ··IMG······ · ·<td·width=10><[[ref]]img·src="rightsep.png"></td>
 18   ··IMAGEURL· · </tr>
 19   ··OPT······ · </table>
 20   ··OUTPUT··· <[[ref]]/def>
 21   ··QUOTE
 22   ··SET······ paragraph
 23   ··UNDEF···· <imghr>
 24   ··UNSET···· paragraph
 25   ··USE,_$···Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
 26   ··WHILE····and
 27   ··<!---····).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another·slightly
 28  History······faster·alternative·is·to·use·two·metatags,·the·opening·tag·and·the
 29  Wish_list····closing·tag·with·a·preceding·slash.·For·example:
 30  Bugs········· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes
 31 ··············· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE
 32 ···············NAME="image.gif"·DATE>
 33 ···············You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for·matching·end
 34 ···············tag.·It·is·not·that·slower.
 35 ···············Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were·a
 36 ···············SET·macro.·Option·names·are·parameterized·with·the·OPTION·attribute.
 37 ···············Multiple·options·can·be·listed·by·separating·their·name·with·a·space
 38 ···············(which·therefore·requires·they·be·surrounded·by·quotes.)
21   ··SET············<[[ref]]IF·[NOT]·conditional>39 ···············<[[ref]]WHILE·[NOT]·conditional>
22   ··UNDEF·········· · ·block·#1 
23   ··UNSET··········[ 
24   ··USE,_$·········<ELSEIF·[NOT]·conditional> 
25   ··WHILE·········· · ·block·#2 
26   ··<!---··········... 
27  History············] 
28  Wish_list··········[ 
29  Bugs···············<ELSE> 
30 ····················· · ·block·#340 ··············· · ·block
31 ·····················] 
32 ·····················<[[ref]]/IF>41 ···············<[[ref]]/WHILE>
  
33 ·····················Some·metatags·will·require·an·opening·and·closing·tag 
34 ·····················(comparable·to 
35 ·····················and 
36 ·····················).·In·this·case,·you·should·use·the·BLOCKDEF·macro. 
37 ·····················Another·slightly·faster·alternative·is·to·use·two 
38 ·····················metatags,·the·opening·tag·and·the·closing·tag·with·a 
39 ·····················preceding·slash.·For·example: 
40 ····················· · ·<[[ref]]FILE·INCLUDE="include.hti"·name="Jim·Nelson" 
41 ·····················email="jnelson@crl.com"> 
42 ····················· · ·This·tag·will·fail:·<[[ref]]USE·name> 
43 ·····················You·should·really·use·BLOCKDEF,·though,·as·it·will·check 
44 ·····················for·matching·end·tag.·It·is·not·that·slower. 
45 ·····················Options·can·be·passed·to·a·metatag,·which·can·then·expand 
46 ·····················as·if·it·were·a·SET·macro.·Option·names·are·parameterized 
47 ·····················with·the·OPTION·attribute.·Multiple·options·can·be·listed 
48 ·····················by·separating·their·name·with·a·space·(which·therefore 
49 ·····················requires·they·be·surrounded·by·quotes.) 
50 ·····················<[[ref]]OPT·(IMGXY|NOIMGXY)> 
51 ·····················<[[ref]]OPT·(QUIET|VERBOSE)> 
52 ·····················<[[ref]]OPT·(DEPEND|NODEPEND)> 
53 ·····················<[[ref]]OPT·(PRECIOUS|NOPRECIOUS)> 
54 ·····················<[[ref]]OPT·(CONDENSE|SEMICONDENSE|NOCONDENSE)> 
55 ·····················<[[ref]]OPT·DELIM=(HTML|SQUARE|CURLY)> 
56 ·····················<[[ref]]OPT·(XML|XML=FALSE)> 
  
57 ·····················htp·will·do·very·specific·checking·of·parameters·when·a42 ···············htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
58 ·····················metatag·is·invoked.·htp·assumes·that·all·parameter·options43 ···············invoked.·htp·assumes·that·all·parameter·options·to·the·metatag·are
 44 ···············optional.·This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the·SIZE
59 ·····················to·the·metatag·are·optional.·This·is·why·the·HEADERIMG 
60 ·····················definition·uses·IF·to·verify·the·SIZE·option·is·defined 
61 ·····················before·expanding·it·in·the·block.·If·a·parameter·is45 ···············option·is·defined·before·expanding·it·in·the·block.·If·a·parameter·is
62 ·····················required,·simply·expand·it·without·first·checking.·When46 ···············required,·simply·expand·it·without·first·checking.·When·htp·expands·the
 47 ···············metatag·and·the·macro·is·not·defined,·it·will·halt·processing·and
 48 ···············complain·with·an·error·message·and·the·required·macro·name.·Normally·htp
63 ·····················htp·expands·the·metatag·and·the·macro·is·not·defined,·it 
64 ·····················will·halt·processing·and·complain·with·an·error·message 
65 ·····················and·the·required·macro·name.·Normally·htp·will·not·allow 
66 ·····················parameters·not·listed·in·the·OPTION·attribute·to·be·added49 ···············will·not·allow·parameters·not·listed·in·the·OPTION·attribute·to·be·added
67 ·····················to·the·tag.·This·is·why·the·third·invocation·of·HEADERIMG50 ···············to·the·tag.·This·is·why·the·third·invocation·of·HEADERIMG·will·fail.
 51 ···············There·is·no·ALT·parameter·specified·in·the·OPTION·attribute.·However,
 52 ···············there·is·the·special·option·*,·which·matches·every·other·parameter.·It
68 ·····················will·fail.·There·is·no·ALT·parameter·specified·in·the 
69 ·····················OPTION·attribute.·However,·there·is·the·special·option·*, 
70 ·····················which·matches·every·other·parameter.·It·should·be·used·to 
71 ·····················pass·all·other·options·to·another·tag.53 ···············should·be·used·to·pass·all·other·options·to·another·tag.
72 ·····················Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that54 ···············Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both·open·and
73 ·····················both·open·and·close·tags·must·be·removed·with·UNDEF. 
74 ·····················Removing·one·will·not·remove·both.55 ···············close·tags·must·be·removed·with·UNDEF.·Removing·one·will·not·remove·both.
75 ·····················Warning:·Although·possible,·def·should·not·be·used·to56 ···············Warning:·Although·possible,·def·should·not·be·used·to·override·standard
 57 ···············HTML·and·htp·tag·names,·as·this·can·cause·much·confusion·and·unexpected
76 ·····················override·standard·HTML·and·htp·tag·names,·as·this·can 
77 ·····················cause·much·confusion·and·unexpected·results.·The·def·tag 
78 ·····················can·even·be·used·to·override·its·own·tag·name.·Because·of58 ···············results.·The·def·tag·can·even·be·used·to·override·its·own·tag·name.
79 ·····················the·problems·this·can·cause,·its·highly·recommended·to·not59 ···············Because·of·the·problems·this·can·cause,·its·highly·recommended·to·not
80 ·····················override·known·tag·names.60 ···············override·known·tag·names.
81 ·····················You·can·find·some·other·examples·in·the·[[ref]]metatag61 ···············You·can·find·some·other·examples·in·the·[[ref]]metatag·section·of·the
82 ·····················section·of·the·tutorial.62 ···············tutorial.
  
  
  
  
Max diff block lines reached; 658/9418 bytes (6.99%) of diff not shown.
12.2 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 24 lines modifiedOffset 98, 29 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>105 <font·size="-2">&nbsp;1.·</font>&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>=<spa[·...·truncated·by·diffoscope;·len:·27,·SHA:·ff6b3fc09de12e94482d0ed1c68dc095608b5397eaef109f72de8ab61af7eb2e·...·]"</span>&gt;</span><br>
 106 <font·size="-2">&nbsp;2.·</font>&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>
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;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br>
 108 <font·size="-2">&nbsp;4.·</font>&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>
 109 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&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>110 <font·size="-2">&nbsp;6.·</font>&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>
108 <font·size="-2">&nbsp;4.·</font><br>111 <font·size="-2">&nbsp;7.·</font><br>
 112 <font·size="-2">&nbsp;8.·</font>&nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br>
 113 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·This·is·a·fancy·section.<br>
109 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>114 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br>
110 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·This·text·is·centered.<br> 
111 </code></p>115 </code></p>
112 This·produces·the·following:116 This·produces·the·following:
113 ··<p><code>117 ··<p><code>
114 &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·hre[·...·truncated·by·diffoscope;·len:·89,·SHA:·0d74d7323b637f4f6c0a6b357b2d292517463b143d7384d65d9199c97616d3df·...·]>&gt;</span><br>118 <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=[·...·truncated·by·diffoscope;·len:·23,·SHA:·dc8fb40baa7554bb66dd29b6b5c9b4fcbd856689ffcb405afdb1dda8da223aef·...·]>&gt;</span><br>
 119 <br>
115 </code></p>120 </code></p>
116 <P>121 <P>
117 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a122 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
118 are·taken·literally,·however,·the·contents·for·b·are·already·expanded123 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
119 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it124 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
120 is·used,·while·the·contents·of·b·are·already·expanded.125 is·used,·while·the·contents·of·b·are·already·expanded.
121 </P>126 </P>
8.24 KB
html2text {}
    
Offset 1, 80 lines modifiedOffset 1, 79 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·global·and·expand·******2 ******·htp·on-line·reference·:·global·and·expand·******
3 Table_of_Contents············*****·The·global·attribute·*****3 Table_of_Contents·······*****·The·global·attribute·*****
4  Introduction···············Normally·when·you·define·a·macro·it·is·only4  Introduction··········Normally·when·you·define·a·macro·it·is·only·defined·in
5  License····················defined·in·the·current·scope.·A·scope·is·for5  License···············the·current·scope.·A·scope·is·for·example·the
6  Tutorial···················example·the·definition·of·a·metatag.·Once·the6  Tutorial··············definition·of·a·metatag.·Once·the·definition·is
 7  Usage·················expanded·and·the·metatag·has·finished·the·macro·is
 8   ··Command-line······automatically·removed.·In·some·cases·you·want·to
 9   ··Options···········define·a·macro·inside·a·metatag·and·use·it·later.·You
 10   ··Predefined_macros·can·do·this·with·the·global·attribute·that·you·can·add
 11  [>]·global_and_expand·to·[[ref]]set,·[[ref]]inc,·[[ref]]block,·[[ref]]def,
7  Usage······················definition·is·expanded·and·the·metatag·has 
8   ··Command-line···········finished·the·macro·is·automatically·removed.·In 
9   ··Options················some·cases·you·want·to·define·a·macro·inside·a 
10   ··Predefined_macros······metatag·and·use·it·later.·You·can·do·this·with·the 
11  [>]·global_and_expand······global·attribute·that·you·can·add·to·[[ref]]set,·[ 
12  HTP_Tags···················[ref]]inc,·[[ref]]block,·[[ref]]def,·and·[ 
13  History····················[ref]]blockdef·tags.12  HTP_Tags··············and·[[ref]]blockdef·tags.
14  Wish_list··················*****·The·expand·attribute·*****13  History···············*****·The·expand·attribute·*****
15  Bugs·······················The·expand·attribute·is·not·a·tag·of·its·own·but14  Wish_list·············The·expand·attribute·is·not·a·tag·of·its·own·but·is·an
16 ·····························is·an·attribute·of·all·block·tags·even·metatags15  Bugs··················attribute·of·all·block·tags·even·metatags·defined·with
17 ·····························defined·with·the·blockdef·macro.·Normally·htp·uses16 ························the·blockdef·macro.·Normally·htp·uses·a·lazy
18 ·····························a·lazy·evaluation·strategy,·i.e.·it·expands·htp17 ························evaluation·strategy,·i.e.·it·expands·htp·tags,
19 ·····························tags,·metatags·and·macros·when·the·HTML·document18 ························metatags·and·macros·when·the·HTML·document·is·written
20 ·····························is·written·not·when·they're·stored·into·block19 ························not·when·they're·stored·into·block·macros.·When·you
 20 ························use·a·macro·defined·with·the·blockdef·tag·the·html
 21 ························code·between·the·tags·is·just·copied·literally·into
21 ·····························macros.·When·you·use·a·macro·defined·with·the 
22 ·····························blockdef·tag·the·html·code·between·the·tags·is 
23 ·····························just·copied·literally·into·the·macro·named·block, 
24 ·····························without·any·expansion·going·on.22 ························the·macro·named·block,·without·any·expansion·going·on.
25 ·····························However,·if·the·block·tag·is·marked·with·the23 ························However,·if·the·block·tag·is·marked·with·the·expand
26 ·····························expand·modifier·it·is·expanded·immediately.·This24 ························modifier·it·is·expanded·immediately.·This·is·useful·if
27 ·····························is·useful·if·you·want·to·store·something·in·a25 ························you·want·to·store·something·in·a·block·macro,·that
 26 ························depends·on·the·current·value·of·another·macro.·This
 27 ························other·macro·may·no·longer·have·the·correct·value·when
 28 ························the·macro·is·expanded.·Here·is·some·code·that
28 ·····························block·macro,·that·depends·on·the·current·value·of 
29 ·····························another·macro.·This·other·macro·may·no·longer·have 
30 ·····························the·correct·value·when·the·macro·is·expanded.·Here 
31 ·····························is·some·code·that·demonstrate·when·the·htp·tags 
32 ·····························are·expanded:29 ························demonstrate·when·the·htp·tags·are·expanded:
33 ····························· 1. · ·<[[ref]]def·name="centered"> 
34 ····························· 2. · ·<p·align=center>30 ························ 1. ·<[[ref]]blockdef·name="section"·option="title">
 31 ························ 2. · <h1><[[ref]]use·title></h1>
 32 ························ 3. · <p·class="section">
 33 ························ 4. · · <[[ref]]use·block>
 34 ························ 5. · </p>
35 ····························· 3. · ·<[[ref]]/def>35 ························ 6·<[[ref]]/blockdef>
36 ····························· 4.36 ························ 7.
37 ····························· 5. · ·<centered> 
38 ····························· 6· ·This·text·is·centered.37 ························ 8·<section·title="My·Section">
 38 ························ 9. · ·This·is·a·fancy·section.
 39 ························10. ·</section>
39 ·····························This·produces·the·following:40 ························This·produces·the·following:
40 ····························· · ·<[[ref]]IF·name="Jim">...<[[ref]]/IF>41 ························<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
  
41 ·····························When·block·a·and·block·b·are·defined·in·lines·2-42 ························When·block·a·and·block·b·are·defined·in·lines·2-7·the
42 ·····························7·the·contents·of·a·are·taken·literally,·however,43 ························contents·of·a·are·taken·literally,·however,·the
 44 ························contents·for·b·are·already·expanded·so·the·macro·time
 45 ························is·evaluated.·So·a·is·expanded·when·it·is·used,·while
43 ·····························the·contents·for·b·are·already·expanded·so·the46 ························the·contents·of·b·are·already·expanded.
44 ·····························macro·time·is·evaluated.·So·a·is·expanded·when·it 
45 ·····························is·used,·while·the·contents·of·b·are·already 
46 ·····························expanded. 
47 ·····························In·line·10·and·12·the·[[ref]]use·tag·is·used·with47 ························In·line·10·and·12·the·[[ref]]use·tag·is·used·with·the
48 ·····························the·noexpand·attribute·which·prevents·the48 ························noexpand·attribute·which·prevents·the·expansion·of·the
49 ·····························expansion·of·the·macro·value.·Here·it·is·used·to49 ························macro·value.·Here·it·is·used·to·show·you·what·the
50 ·····························show·you·what·the·value·of·the·block·macros·really50 ························value·of·the·block·macros·really·is.
51 ·····························is. 
52 ·····························A·more·important·reason·to·use·the·noexpand51 ························A·more·important·reason·to·use·the·noexpand·attribute
53 ·····························attribute·is·to·prevent·double·expansion·and·to52 ························is·to·prevent·double·expansion·and·to·restore·the
54 ·····························restore·the·original·lazy·expansion·policy·when53 ························original·lazy·expansion·policy·when·you·have·to·use
55 ·····························you·have·to·use·the·expand·attribute·as·for·block54 ························the·expand·attribute·as·for·block·d·in·the·example
 55 ························above.·See·the·section·example·in·the·[[ref]]metatag
 56 ························tutorial.·Rule·of·thumb:·The·use·tags·in·an·expanded
56 ·····························d·in·the·example·above.·See·the·section·example·in 
57 ·····························the·[[ref]]metatag_tutorial.·Rule·of·thumb:·The 
58 ·····························use·tags·in·an·expanded·block·should·be·tagged 
59 ·····························with·noexpand.57 ························block·should·be·tagged·with·noexpand.
  
  
  
  
  
  
60  page_source58  page_source
61  htp_project59  htp_project
62  htp_homepage60  htp_homepage
63 hosted·by61 hosted·by
64 Sourceforge62 Sourceforge
65 HTML·coding·[Powered_by63 HTML·coding·[Powered
66 htp]64 by_htp]
67 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/65 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
68 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.66 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
69 ·····Maintainers:·Jochen_Hoenicke.67 ·····Maintainers:·Jochen_Hoenicke.
70 Copyright·©·1995–96·Jim·Nelson.68 Copyright·©·1995–96·Jim·Nelson.
71 Copyright·©·2001–2014·Jochen_Hoenicke.69 Copyright·©·2001–2014·Jochen_Hoenicke.
72 Permission·to·reproduce·and·distribute·this·hypertext·document·granted70 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
73 according·to·terms·described·in·the·License_section.71 according·to·terms·described·in·the·License_section.
24.3 KB
./usr/share/doc/htp/file.html
    
Offset 114, 49 lines modifiedOffset 114, 46 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="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> 
122 &nbsp;·...<br> 
123 <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;·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>
124 </code></p>128 </code></p>
125 <h2>synopsis</h2>129 <h2>synopsis</h2>
126 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.130 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
127 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
128 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
129 added·to·the·output·file·as·well.133 added·to·the·output·file·as·well.
130 <P>134 <P>
131 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
132 following·is·perfectly·acceptable:136 following·is·perfectly·acceptable:
133 ··<p><code>137 ··<p><code>
134 &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>138 <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">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>[·...·truncated·by·diffoscope;·len:·117,·SHA:·27e4f3684e92be27f5222155df1a3c3432e8ef881a5250721d08d15f00db7845·...·]</span>&gt;</span><br>
 139 <br>
135 </code></p>140 </code></p>
136 <P>141 <P>
137 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>142 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
138 <P>143 <P>
139 To·include·information·about·another·file,·such·as·an·archive·file·or144 To·include·information·about·another·file,·such·as·an·archive·file·or
140 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the145 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
141 type·of·information·to·be·displayed:146 type·of·information·to·be·displayed:
142 ··<p><code>147 ··<p><code>
143 &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>148 &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[·...·truncated·by·diffoscope;·len:·23,·SHA:·3edfd466b9f105e847decd1952a2a1c1171e4e0209b2a3aec216925be8bb6c2d·...·]"</span>&gt;</span><br>
 149 &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>
144 &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> 
145 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br> 
146 &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> 
147 &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> 
148 &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> 
149 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br> 
150 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br> 
151 &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>150 &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>
152 <br>151 <br>
 152 &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>
153 &nbsp;paragraph<br> 
154 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br> 
155 &nbsp;paragraph<br> 
156 </code></p>153 </code></p>
157 <P>154 <P>
158 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the155 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
159 information·is·displayed.··In·anything·other·than·byte·format,·the·information156 information·is·displayed.··In·anything·other·than·byte·format,·the·information
160 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number157 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
161 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional158 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
162 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no159 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 185, 21 lines modifiedOffset 182, 21 lines modified
185 <P>182 <P>
186 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are183 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
187 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros184 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
188 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it185 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
189 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer186 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
190 available.··So:187 available.··So:
191 ··<p><code>188 ··<p><code>
192 &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> 
193 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br> 
194 &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>189 &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>
195 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br>190 <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>
 191 &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>
 192 &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·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br>
 193 &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>
 194 &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>
196 &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>195 &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>
197 <br> 
198 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br> 
199 </code></p>196 </code></p>
200 <P>197 <P>
201 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included198 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
202 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the199 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
203 second·statement·will·fail.)200 second·statement·will·fail.)
204 <P>201 <P>
205 <h3><a·name="template">TEMPLATE</a></h3>202 <h3><a·name="template">TEMPLATE</a></h3>
15.4 KB
html2text {}
    
Offset 1, 133 lines modifiedOffset 1, 112 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·FILE·******2 ******·htp·on-line·reference·:·FILE·******
3 Table_of_Contents····*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction·······<[[ref]]if·disabled_because_xyz> 
5  License············ ·... 
6  Tutorial···········<[[ref]]/if> 
7  Usage··············*****·synopsis·*****4 Contents······· · ·a·is·expanded·at·time·1.
 5  Introduction· · ·b·is·expanded·at·time·0.
 6  License······ ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>.
 7  Tutorial····· ·contents·of·b:· ·b·is·expanded·at·time·0.
 8  Usage········ · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.
 9  HTP·Tags····· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.
 10   ··ALTTEXT·· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<[[ref]]use
 11   ··BLOCK····time>.
 12   ··BLOCKDEF·*****·synopsis·*****
8  HTP·Tags···········FILE·has·several·optional·parameters·of·differing13   ··DEF······FILE·has·several·optional·parameters·of·differing·purpose.·The·output
 14  [>]·FILE·····file's·name,·the·current·date·and·time,·and·the·contents·of·another·file
9   ··ALTTEXT········purpose.·The·output·file's·name,·the·current·date·and 
10   ··BLOCK··········time,·and·the·contents·of·another·file·may·be·included. 
11   ··BLOCKDEF·······Another·file's·time,·date,·or·size·may·be·added·to·the15   ··IF·······may·be·included.·Another·file's·time,·date,·or·size·may·be·added·to·the
12   ··DEF············output·file·as·well.16   ··INC······output·file·as·well.
13  [>]·FILE···········As·with·all·HTML,·these·tags·do·not·have·to·be·on·their17   ··IMG······As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
14   ··IF·············own·line,·so·the·following·is·perfectly·acceptable: 
15   ··INC············ · ·<[[ref]]INC·i="1"·j="-1">18   ··IMAGEURL·following·is·perfectly·acceptable:
 19   ··OPT······<[[ref]]SET·macroname1="macrovalue1"·[macroname2="macrovalue2"·...]
 20   ··OUTPUT···[GLOBAL]>
 21   ··QUOTE
16   ··IMG············****·NAME,·TIME,·SIZE·****22   ··SET······****·NAME,·TIME,·SIZE·****
17   ··IMAGEURL·······To·include·information·about·another·file,·such·as·an23   ··UNDEF····To·include·information·about·another·file,·such·as·an·archive·file·or
 24   ··UNSET····graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
 25   ··USE,_$···type·of·information·to·be·displayed:
 26   ··WHILE···· ·<[[ref]]def·name="sharedimg"·option="name·alt">
 27   ··<!---···· · ·<[[ref]]img·src="/home/sharedimages/${name}"·alt="${alt}">;
 28  History······ ·<[[ref]]/def>
 29  Wish_list
 30  Bugs········· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">
18   ··OPT············archive·file·or·graphic·image,·specify·its·name·with·the 
19   ··OUTPUT·········NAME·attribute·followed·by·the·type·of·information·to·be 
20   ··QUOTE··········displayed: 
21   ··SET············ <[[ref]]def·name="imghr"> 
22   ··UNDEF·········· · <table·border="0"·cellspacing="0"·cellpadding="0"> 
23   ··UNSET·········· · <tr> 
24   ··USE,_$········· · ·<td·width=10><[[ref]]img·src="leftsep.png"></td> 
25   ··WHILE·········· · ·<td·width="95%"·background="midsep.png">&nbsp;</td> 
26   ··<!---·········· · ·<td·width=10><[[ref]]img·src="rightsep.png"></td> 
27  History············ · </tr> 
28  Wish_list·········· · </table> 
29  Bugs··············· <[[ref]]/def> 
  
30 ····················· paragraph 
31 ····················· <imghr> 
32 ····················· paragraph 
33 ·····················For·file·size·information,·the·value·BYTE,·KBYTE,·etc.31 ···············For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
 32 ···············information·is·displayed.·In·anything·other·than·byte·format,·the
 33 ···············information·is·displayed·in·floating-point·notation.·The·amount·of
34 ·····················dictates·how·the·information·is·displayed.·In·anything 
35 ·····················other·than·byte·format,·the·information·is·displayed·in 
36 ·····················floating-point·notation.·The·amount·of·precision·(the 
37 ·····················number·of·digits·to·the·right·of·the·decimal·point)·can34 ···············precision·(the·number·of·digits·to·the·right·of·the·decimal·point)·can·be
38 ·····················be·set·with·the·optional·PRECISION·attribute.·The·default35 ···············set·with·the·optional·PRECISION·attribute.·The·default·precision·is·zero
 36 ···············(0),·which·means·no·fractional·portion·is·displayed.
39 ·····················precision·is·zero·(0),·which·means·no·fractional·portion 
40 ·····················is·displayed. 
41 ·····················At·the·request·of·many·people,·the·TIME·and·DATE37 ···············At·the·request·of·many·people,·the·TIME·and·DATE·attributes·will·now·accept
 38 ···············formatting·characters·that·are·passed·directly·into·the·ANSI·C·library
42 ·····················attributes·will·now·accept·formatting·characters·that·are 
43 ·····················passed·directly·into·the·ANSI·C·library·function.·This 
44 ·····················allows·for·the·time·and·date·to·be·displayed·in·virtually39 ···············function.·This·allows·for·the·time·and·date·to·be·displayed·in·virtually
45 ·····················any·format.·Users·not·wishing·to·mess·around·with·this40 ···············any·format.·Users·not·wishing·to·mess·around·with·this·should·stick·to·the
 41 ···············default·format,·which·is·used·if·no·formatting·value·is·specified·(i.e.,
 42 ···············just·using·05:04:11·PM).
46 ·····················should·stick·to·the·default·format,·which·is·used·if·no 
47 ·····················formatting·value·is·specified·(i.e.,·just·using·05:04:11 
48 ·····················PM). 
49 ·····················Consult·any·C·programmer's·guide·discussing·the·standard43 ···············Consult·any·C·programmer's·guide·discussing·the·standard·C·library·function
 44 ···············strftime()·for·information·on·how·to·build·a·format·string.·If·unsure,·ask
50 ·····················C·library·function·strftime()·for·information·on·how·to 
51 ·····················build·a·format·string.·If·unsure,·ask·an·experienced·C 
52 ·····················programmer·for·help,·or·consider·just·sticking·to·the45 ···············an·experienced·C·programmer·for·help,·or·consider·just·sticking·to·the
53 ·····················default·formatting.46 ···············default·formatting.
54 ·····················****·INCLUDE·****47 ···············****·INCLUDE·****
55 ·····················INCLUDE·files·are·pre-processed·as·any·other·file.·The48 ···············INCLUDE·files·are·pre-processed·as·any·other·file.·The·resulting·text·is
 49 ···············incorporated·into·the·HTML·output·as·if·the·file·had·been·copied·into·the
56 ·····················resulting·text·is·incorporated·into·the·HTML·output·as·if 
57 ·····················the·file·had·been·copied·into·the·source·at·the·same 
58 ·····················location·as·the·FILE·markup·tag.50 ···············source·at·the·same·location·as·the·FILE·markup·tag.
59 ·····················htp·will·automatically·convert·slashes·and·backslashes·to51 ···············htp·will·automatically·convert·slashes·and·backslashes·to·match·the
60 ·····················match·the·operating·system's·directory·separator.52 ···············operating·system's·directory·separator.
61 ·····················Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,53 ···············Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
 54 ···············interpreted·as·macros·that·are·"passed"·to·the·included·file.·The·macros
62 ·····················which·are·interpreted·as·macros·that·are·"passed"·to·the 
63 ·····················included·file.·The·macros·are·available·only·to·the 
64 ·····················include·file·(and·any·macros·or·included·files·it·holds).55 ···············are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
65 ·····················After·the·file·is·completely·included,·the·macros·are·no56 ···············holds).·After·the·file·is·completely·included,·the·macros·are·no·longer
66 ·····················longer·available.·So:57 ···············available.·So:
 58 ··············· · ·<[[ref]]unset·email_addr>
67 ····················· ·<[[ref]]blockdef·name="bolditalic">59 ···············<[[ref]]blockdef·name="section">
68 ····················· · ·<b><i>60 ··············· · ·<[[ref]]inc·sect-ctr>
 61 ··············· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global>
 62 ··············· · · ·<[[ref]]use·block·noexpand>
69 ····················· · ·<[[ref]]use·block>63 ··············· · ·<[[ref]]/block>
70 ····················· · ·</i></b> 
71 ····················· ·<[[ref]]/blockdef>64 ··············· ·<[[ref]]/blockdef>
  
72 ····················· ·This·is·<bolditalic>bold·and·italic</bolditalic> 
73 ·····················Macros·named·"name"·and·"email"·are·set,·and·available65 ···············Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
 66 ···············file.·They·are·not·available,·however,·past·the·tag·(which·is·why·the
 67 ···············second·statement·will·fail.)
74 ·····················inside·the·included·file.·They·are·not·available, 
75 ·····················however,·past·the·tag·(which·is·why·the·second·statement 
76 ·····················will·fail.) 
77 ·····················****·TEMPLATE·****68 ···············****·TEMPLATE·****
78 ·····················A·template·file·is·nothing·more·than·a·default·include69 ···············A·template·file·is·nothing·more·than·a·default·include·file,·one·that·is
 70 ···············included·once·the·input·text·has·been·completely·processed.·So,·an·input
79 ·····················file,·one·that·is·included·once·the·input·text·has·been 
80 ·····················completely·processed.·So,·an·input·file·can·define·many 
81 ·····················"standard"·macros,·which·are·then·expanded·by·a·template71 ···············file·can·define·many·"standard"·macros,·which·are·then·expanded·by·a
82 ·····················file·to·form·a·consistent·page·layout.72 ···············template·file·to·form·a·consistent·page·layout.
83 ·····················The·template·file·can·be·set·many·times,·but·only·the73 ···············The·template·file·can·be·set·many·times,·but·only·the·last·filename
 74 ···············specified·will·be·processed·by·htp.·If·multiple·template·files·need·to·be
84 ·····················last·filename·specified·will·be·processed·by·htp.·If 
85 ·····················multiple·template·files·need·to·be·included,·specify·one 
86 ·····················template·file,·and·from·that·file·use·FILE·INCLUDE·to75 ···············included,·specify·one·template·file,·and·from·that·file·use·FILE·INCLUDE·to
87 ·····················branch·off.76 ···············branch·off.
88 ·····················Template·files·are·most·useful·when·placed·inside·an·htp77 ···············Template·files·are·most·useful·when·placed·inside·an·htp·default_file.
89 ·····················default_file. 
Max diff block lines reached; 667/15738 bytes (4.24%) of diff not shown.
12.7 KB
./usr/share/doc/htp/if.html
    
Offset 114, 55 lines modifiedOffset 114, 45 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-[·...·truncated·by·diffoscope;·len:·220,·SHA:·e5a7c322d181671814f71219bc400fbb8062367de1eb28c68790a00a59fb83ef·...·]</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</spa[·...·truncated·by·diffoscope;·len:·35,·SHA:·522b4fc484266d5aa22f655093d608107c1674273b0445ff5995f98cfb04a20a·...·]</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 <br>127 <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 time·1.<br>
 132 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>
 133 &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>
123 </code></p>134 </code></p>
124 <h2>synopsis</h2>135 <h2>synopsis</h2>
125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building136 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.137 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A138 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
128 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal139 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
129 string:140 string:
130 ··<p><code>141 ··<p><code>
131 &nbsp;·&nbsp;·File·image.gif·<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>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br> 
132 &nbsp;·&nbsp;·Last·modified·<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>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attr[·...·truncated·by·diffoscope;·len:·264,·SHA:·0f48064ad5e66c601138b685832d2369e4f68b45834527e8f112f476e8e30e4a·...·]</span>&gt;</span><br>142 <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=[·...·truncated·by·diffoscope;·len:·17,·SHA:·caad84c8bc3777dc8199258e880f877b9b82b192a94413c7375c9beda919cf50·...·]</span>&gt;</span><br>
 143 <br>
133 </code></p>144 </code></p>
134 <P>145 <P>
135 and·a·defined·operator·is·a·test·of·a·macro's·existance:146 and·a·defined·operator·is·a·test·of·a·macro's·existance:
136 <P>147 <P>
137 ··<p><code>148 ··<p><code>
138 &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> 
139 &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> 
140 &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> 
141 &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> 
142 &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> 
143 &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>149 <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>
 150 <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>
144 &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> 
145 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
146 &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> 
147 &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> 
148 <br> 
149 &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> 
150 <br> 
151 &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> 
152 <br> 
153 &nbsp;·This·will·fail:<br> 
154 &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> 
155 <br>151 <br>
156 &nbsp;·Instead,·use·*·like·this:<br> 
157 &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> 
158 &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> 
159 &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> 
160 &nbsp;·&nbsp;·<br> 
161 &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> 
162 </code></p>152 </code></p>
163 <P>153 <P>
164 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the154 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
165 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that155 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
166 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the156 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
167 ELSE·block·is·taken·if·it·is·present.··A·conditional·block157 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
168 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.158 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
4.23 KB
html2text {}
    
Offset 1, 52 lines modifiedOffset 1, 41 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·IF,·ELSEIF,·ELSE,·/IF·******2 ******·htp·on-line·reference·:·IF,·ELSEIF,·ELSE,·/IF·******
3 Table_of·······*****·syntax·*****3 Table_of·······*****·syntax·*****
4 Contents·······<[[ref]]INC·macroname1="increment1"·[macroname2="increment2"·...·] 
5  Introduction·[GLOBAL]> 
6  License 
7  Tutorial·····*****·synopsis·*****4 Contents······· ·<[[ref]]blockdef·name="section"·option="title">
 5  Introduction· · <h1><[[ref]]use·title></h1>
 6  License······ · <p·class="section">
 7  Tutorial····· · · <[[ref]]use·block>
 8  Usage········ · </p>
 9  HTP·Tags····· ·<[[ref]]/blockdef>
 10   ··ALTTEXT
 11   ··BLOCK···· ·<section·title="My·Section">
 12   ··BLOCKDEF· · ·This·is·a·fancy·section.
 13   ··DEF······ ·</section>
 14   ··FILE·····time·1.
 15  [>]·IF······· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.
 16   ··INC······ · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<[[ref]]use
 17   ··IMG······time>.
 18   ··IMAGEURL·*****·synopsis·*****
8  Usage········IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for·conditional19   ··OPT······IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for·conditional
9  HTP·Tags·····processing.·The·basic·form·is·shown·above.20   ··OUTPUT···processing.·The·basic·form·is·shown·above.
10   ··ALTTEXT··"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.·A·compare21   ··QUOTE····"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.·A·compare
11   ··BLOCK····operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string:22   ··SET······operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string:
 23   ··UNDEF····<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
 24   ··UNSET
12   ··BLOCKDEF· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes 
13   ··DEF······ · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE 
14   ··FILE·····NAME="image.gif"·DATE> 
15  [>]·IF·······and·a·defined·operator·is·a·test·of·a·macro's·existance:25   ··USE,_$···and·a·defined·operator·is·a·test·of·a·macro's·existance:
 26   ··WHILE····<[[ref]]unset·macroname>
 27   ··<!---····<[[ref]]unset·macroname1·macroname2·...·>
16   ··INC······ ·<[[ref]]DEF·NAME="HEADERIMG"·OPTION="SRC·TITLE·SIZE"> 
17   ··IMG······ · ·<[[ref]]IF·size> 
18   ··IMAGEURL· · · · ·<FONT·SIZE=${size}> 
19   ··OPT······ · ·<[[ref]]/IF> 
20   ··OUTPUT··· · ·<[[ref]]IMG·SRC=pics/${src}> 
21   ··QUOTE···· · ·<[[ref]]USE·title> 
22   ··SET······ · ·<[[ref]]IF·size> 
23   ··UNDEF···· · · · ·</FONT> 
24   ··UNSET···· · ·<[[ref]]/IF> 
25   ··USE,_$··· ·<[[ref]]/DEF> 
26   ··WHILE 
27   ··<!---···· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title"> 
28  History28  History
29  Wish_list···· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title"> 
30  Bugs 
31 ··············· ·This·will·fail: 
32 ··············· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another·title"> 
  
33 ··············· ·Instead,·use·*·like·this: 
34 ··············· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*"> 
35 ··············· · ·<[[ref]]IMG·SRC="pics/${src}"·$*> 
36 ··············· ·<[[ref]]/DEF> 
37 ··············· ·  
38 ··············· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
39 ···············If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the29  Wish_list····If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
40 ···············conditional·is·reversed.·The·first·IF·or·ELSEIF·condition·that·evaluates30  Bugs·········conditional·is·reversed.·The·first·IF·or·ELSEIF·condition·that·evaluates·to
41 ···············to·true·is·chosen.·If·none·of·the·conditions·is·true·the·ELSE·block·is31 ···············true·is·chosen.·If·none·of·the·conditions·is·true·the·ELSE·block·is·taken
42 ···············taken·if·it·is·present.·A·conditional·block·must·be·closed·with·the·/IF32 ···············if·it·is·present.·A·conditional·block·must·be·closed·with·the·/IF·tag.·IF
43 ···············tag.·IF·tags·can·be·nested.33 ···············tags·can·be·nested.
  
  
  
  
  
  
  
Offset 72, 10 lines modifiedOffset 61, 10 lines modified
72 [Powered_by61 [Powered_by
73 htp]62 htp]
74 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/63 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
75 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.64 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
76 ·····Maintainers:·Jochen_Hoenicke.65 ·····Maintainers:·Jochen_Hoenicke.
77 Copyright·©·1995–96·Jim·Nelson.66 Copyright·©·1995–96·Jim·Nelson.
78 Copyright·©·2001–2014·Jochen_Hoenicke.67 Copyright·©·2001–2014·Jochen_Hoenicke.
79 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to68 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to·terms
80 terms·described·in·the·License_section.69 described·in·the·License_section.
81 last·updated·Sat·May·16,·201570 last·updated·Sat·May·16,·2015
9.2 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 23 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 &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>
 122 ast·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>
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">"bigfont"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</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> 
125 &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">"/bigfont"</span>&gt;</span><br> 
126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
127 &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> 
128 <br> 
129 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
130 </code></p>123 </code></p>
131 <h2>synopsis</h2>124 <h2>synopsis</h2>
132 <P>125 <P>
133 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
134 file·system.··declares·an·URL·replacement·that·is·used·for127 file·system.··declares·an·URL·replacement·that·is·used·for
135 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
136 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
Offset 144, 15 lines modifiedOffset 137, 16 lines modified
144 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC137 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC
145 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.138 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
146 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
147 looked·up·in·the·current·directory.</P>140 looked·up·in·the·current·directory.</P>
148 <P>141 <P>
149 For·example:</P>142 For·example:</P>
150 ··<p><code>143 ··<p><code>
151 &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"·><[·...·truncated·by·diffoscope;·len:·87,·SHA:·b9f7bf07686a9081f90db56c53199a540ce619afcbe95b827c6f30f15c5b5caa·...·]<br>144 &nbsp;·&nbsp;·File·image.gif·<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>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</spa[·...·truncated·by·diffoscope;·len:·65,·SHA:·7e1df7e89c65642909c06c454c5f5ac8e9176f84ee88cb57aeb4343d5958991c·...·]<br>
 145 &nbsp;·&nbsp;·Last·modified·<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>=<span·class="htp-string">"image.gif"</span>·<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">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
152 </code></p>146 </code></p>
153 <P>147 <P>
154 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as148 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
155 an·undefine,·and·is·removed.</P>149 an·undefine,·and·is·removed.</P>
156 <P>150 <P>
157 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout151 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
158 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an152 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
5.07 KB
html2text {}
    
Offset 1, 51 lines modifiedOffset 1, 38 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·IMAGEURL·******2 ******·htp·on-line·reference·:·IMAGEURL·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
 4 Contents······· · ·<[[ref]]IF·name="Jim">...<[[ref]]/IF>
 5  Introduction·ast·updated·<[[ref]]FILE·TIME>,·<[[ref]]FILE·DATE></EM>
 6  License······*****·synopsis·*****
 7  Tutorial·····IMAGEURL·tells·htp,·where·to·find·images·on·the·local·file·system.
 8  Usage········declares·an·URL·replacement·that·is·used·for·size·lookups·in·any·IMG·tag.
 9  HTP·Tags·····This·definitions·takes·effect·only·if·the·IMGXY·option·is·enabled.
 10   ··ALTTEXT··Beacause·htp·can't·lookup·files·in·the·world·wide·web·you·have·to·map
 11   ··BLOCK····absolute·image·URLs·to·a·directory·in·the·local·file·system.
 12   ··BLOCKDEF·When·an·IMG·tag·is·encountered·where·htp·has·to·insert·width·and·height
4  Introduction··············· ·<[[ref]]def·name="bigfont"> 
5  License···················· · ·<font·size="+4"> 
6  Tutorial··················· ·<[[ref]]/def> 
7  Usage 
8  HTP·Tags··················· ·<[[ref]]def·name="/bigfont"> 
9   ··ALTTEXT················ · ·</font> 
10   ··BLOCK·················· ·<[[ref]]/def> 
11   ··BLOCKDEF 
12   ··DEF···················· ·<bigfont>Some·large·text</bigfont> 
13   ··FILE···················*****·synopsis·***** 
14   ··IF·····················IMAGEURL·tells·htp,·where·to·find·images·on·the 
15   ··INC····················local·file·system.·declares·an·URL·replacement 
16   ··IMG····················that·is·used·for·size·lookups·in·any·IMG·tag.·This 
17  [>]·IMAGEURL···············definitions·takes·effect·only·if·the·IMGXY·option 
18   ··OPT····················is·enabled.·Beacause·htp·can't·lookup·files·in·the 
19   ··OUTPUT·················world·wide·web·you·have·to·map·absolute·image·URLs 
20   ··QUOTE··················to·a·directory·in·the·local·file·system. 
21   ··SET····················When·an·IMG·tag·is·encountered·where·htp·has·to 
22   ··UNDEF··················insert·width·and·height·the·defined·URL 
23   ··UNSET··················replacements·will·be·taken·into·account·(later13   ··DEF······the·defined·URL·replacements·will·be·taken·into·account·(later
 14   ··FILE·····definitions·take·precedence·to·earlier):·For·each·defined·imageurl·it
 15   ··IF·······checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC·attribute.
 16   ··INC······If·it·matches·this·prefix·is·replaced·by·the·given·PATH.·If·no·IMAGEURL
 17   ··IMG······matches·the·SRC·is·considered·as·relative·link·and·looked·up·in·the
 18  [>]·IMAGEURL·current·directory.
 19   ··OPT······For·example:
 20   ··OUTPUT··· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes
 21   ··QUOTE···· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE
 22   ··SET······NAME="image.gif"·DATE>
 23   ··UNDEF····If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated
 24   ··UNSET····as·an·undefine,·and·is·removed.
 25   ··USE,_$···Since·you·usually·need·the·url·mapping·for·a·number·of·images·used
 26   ··WHILE····throughout·a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
 27   ··<!---····include_file·or·the·htp.def·file.
 28  History······In·addition·to·WIDTH·and·HEIGHT,·htp·can·also·(semi-)automatically·add·an
 29  Wish_list····ALT_text·attribute·to·IMG·tags.
 30  Bugs
24   ··USE,_$·················definitions·take·precedence·to·earlier):·For·each 
25   ··WHILE··················defined·imageurl·it·checks·(case-insensitive)·if 
26   ··<!---··················it·is·a·prefix·of·the·image's·SRC·attribute.·If·it 
27  History····················matches·this·prefix·is·replaced·by·the·given·PATH. 
28  Wish_list··················If·no·IMAGEURL·matches·the·SRC·is·considered·as 
29  Bugs·······················relative·link·and·looked·up·in·the·current 
30 ·····························directory. 
31 ·····························For·example: 
32 ····························· · ·<[[ref]]IF·name="Jim">...<[[ref]]/IF> 
33 ·····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH 
34 ·····························attribute,·it·is·treated·as·an·undefine,·and·is 
35 ·····························removed. 
36 ·····························Since·you·usually·need·the·url·mapping·for·a 
37 ·····························number·of·images·used·throughout·a·set·of 
38 ·····························documents,·IMAGEURL·is·most·appropriately·put·into 
39 ·····························an·include_file·or·the·htp.def·file. 
40 ·····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also 
41 ·····························(semi-)automatically·add·an·ALT_text·attribute·to 
42 ·····························IMG·tags. 
  
  
  
  
  
  
  
  
Offset 62, 17 lines modifiedOffset 49, 18 lines modified
  
  
62  page_source49  page_source
63  htp_project50  htp_project
64  htp_homepage51  htp_homepage
65 hosted·by52 hosted·by
66 Sourceforge53 Sourceforge
67 HTML·coding·[Powered_by54 HTML·coding
 55 [Powered_by
68 htp]56 htp]
69 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/57 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
70 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.58 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
71 ·····Maintainers:·Jochen_Hoenicke.59 ·····Maintainers:·Jochen_Hoenicke.
72 Copyright·©·1995–96·Jim·Nelson.60 Copyright·©·1995–96·Jim·Nelson.
73 Copyright·©·2001–2014·Jochen_Hoenicke.61 Copyright·©·2001–2014·Jochen_Hoenicke.
74 Permission·to·reproduce·and·distribute·this·hypertext·document·granted62 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to
75 according·to·terms·described·in·the·License_section.63 terms·described·in·the·License_section.
76 last·updated·Sat·May·16,·201564 last·updated·Sat·May·16,·2015
6.05 KB
./usr/share/doc/htp/img.html
    
Offset 114, 16 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 <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>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>
123 </code></p>128 </code></p>
124 <h2>synopsis</h2>129 <h2>synopsis</h2>
125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified130 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
126 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage131 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially132 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
128 useful·if·the·image·may·change·frequently.·</P>133 useful·if·the·image·may·change·frequently.·</P>
129 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup134 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.19 KB
html2text {}
    
Offset 1, 41 lines modifiedOffset 1, 38 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·IMG·******2 ******·htp·on-line·reference·:·IMG·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction···············<[[ref]]INC·macroname1="increment1" 
5  License····················[macroname2="increment2"·...·]·[GLOBAL]> 
6  Tutorial 
7  Usage······················*****·synopsis·***** 
8  HTP·Tags···················img·is·a·standard·HTML·tag.·htp·can·add·the 
9   ··ALTTEXT················specified·image's·width·and·height·to·the·tag 
10   ··BLOCK··················automatically.·This·has·the·advantage·of·not 
11   ··BLOCKDEF···············having·to·determine·each·image's·size·manually, 
12   ··DEF····················which·is·especially·useful·if·the·image·may·change 
13   ··FILE···················frequently. 
14   ··IF·····················htp·adds·this·information·with·the·WIDTH·and 
15   ··INC····················HEIGHT·markup·attributes.·If·htp·detects·these 
16  [>]·IMG····················attributes·are·already·present·in·the·tag,·it·will 
17   ··IMAGEURL···············not·modify·the·values.·If·htp·cannot·find·the 
18   ··OPT····················image·file,·it·will·issue·a·warning·but·not·halt 
19   ··OUTPUT·················processing.4 Contents······· · ·a·is·expanded·at·time·1.
 5  Introduction· · ·b·is·expanded·at·time·0.
 6  License······ ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>.
 7  Tutorial····· ·contents·of·b:· ·b·is·expanded·at·time·0.
 8  Usage········ · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.
 9  HTP·Tags····· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.
 10   ··ALTTEXT·· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<[[ref]]use
 11   ··BLOCK····time>.
 12   ··BLOCKDEF·*****·synopsis·*****
 13   ··DEF······img·is·a·standard·HTML·tag.·htp·can·add·the·specified·image's·width·and
 14   ··FILE·····height·to·the·tag·automatically.·This·has·the·advantage·of·not·having·to
 15   ··IF·······determine·each·image's·size·manually,·which·is·especially·useful·if·the
 16   ··INC······image·may·change·frequently.
 17  [>]·IMG······htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup·attributes.·If
 18   ··IMAGEURL·htp·detects·these·attributes·are·already·present·in·the·tag,·it·will·not
 19   ··OPT······modify·the·values.·If·htp·cannot·find·the·image·file,·it·will·issue·a
 20   ··OUTPUT···warning·but·not·halt·processing.
20   ··QUOTE··················At·this·time,·GIF·(Graphic·Interchange·Format),21   ··QUOTE····At·this·time,·GIF·(Graphic·Interchange·Format),·PNG·(Portable·Network
21   ··SET····················PNG·(Portable·Network·Graphics),·and·JFIF·(JPEG 
22   ··UNDEF··················File·Interchange·Format)·are·supported.22   ··SET······Graphics),·and·JFIF·(JPEG·File·Interchange·Format)·are·supported.
 23   ··UNDEF····The·IMGXY_and_NOIMGXY·options·control·whether·or·not·htp·actually·adds·this
 24   ··UNSET····information·as·it·executes.
 25   ··USE,_$···Since·htp·is·able·to·lookup·files·only·in·the·local·filesystem,·the
 26   ··WHILE····IMAGEURL·tag·may·be·used·to·map·URLs·to·local·files.
 27   ··<!---····htp·can·also·add·default·ALT·text·to·IMG·tags·using·ALTTEXT.
 28  History
 29  Wish_list
 30  Bugs
23   ··UNSET··················The·IMGXY_and_NOIMGXY·options·control·whether·or 
24   ··USE,_$·················not·htp·actually·adds·this·information·as·it 
25   ··WHILE··················executes. 
26   ··<!---··················Since·htp·is·able·to·lookup·files·only·in·the 
27  History····················local·filesystem,·the·IMAGEURL·tag·may·be·used·to 
28  Wish_list··················map·URLs·to·local·files. 
29  Bugs·······················htp·can·also·add·default·ALT·text·to·IMG·tags 
30 ·····························using·ALTTEXT. 
  
  
  
  
  
  
  
  
  
  
Offset 50, 17 lines modifiedOffset 47, 18 lines modified
  
  
50  page_source47  page_source
51  htp_project48  htp_project
52  htp_homepage49  htp_homepage
53 hosted·by50 hosted·by
54 Sourceforge51 Sourceforge
55 HTML·coding·[Powered_by52 HTML·coding
 53 [Powered_by
56 htp]54 htp]
57 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/55 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
58 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.56 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
59 ·····Maintainers:·Jochen_Hoenicke.57 ·····Maintainers:·Jochen_Hoenicke.
60 Copyright·©·1995–96·Jim·Nelson.58 Copyright·©·1995–96·Jim·Nelson.
61 Copyright·©·2001–2014·Jochen_Hoenicke.59 Copyright·©·2001–2014·Jochen_Hoenicke.
62 Permission·to·reproduce·and·distribute·this·hypertext·document·granted60 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to·terms
63 according·to·terms·described·in·the·License_section.61 described·in·the·License_section.
64 last·updated·Sat·May·16,·201562 last·updated·Sat·May·16,·2015
10.3 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 37 lines modifiedOffset 114, 43 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.[·...·truncated·by·diffoscope;·len:·83,·SHA:·95f52afded947bb53013ac92f65811fe3c3f60b82485c6842c70480ce7132d0f·...·]>&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">"imghr"</span>&gt;</span><br>
 122 &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>
 123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 124 &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>
 125 &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>
 126 &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>
 127 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 128 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
 129 &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>
 130 <br>
 131 &nbsp;paragraph<br>
 132 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 133 &nbsp;paragraph<br>
122 </code></p>134 </code></p>
123 <h2>synopsis</h2>135 <h2>synopsis</h2>
124 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a136 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
125 variable·or·for·variable·addition.··The·basic·form·is·shown·above.137 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
126 <P>138 <P>
127 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a139 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
128 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The140 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
129 macroname·must·be·the·name·of·a·defined·macro·that·contains·an141 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
130 integer.··If·the·increment·is·ommitted·it·defaults·to·1.142 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
131 The·effect·of·this·operation·is·that·the·macro·is·redefined143 The·effect·of·this·operation·is·that·the·macro·is·redefined
132 to·contain·the·sum·of·its·previous·value·and·its·increment.144 to·contain·the·sum·of·its·previous·value·and·its·increment.
133 <P>145 <P>
134 To·increment·or·decrement·a·variable·you·can·use·this·form:146 To·increment·or·decrement·a·variable·you·can·use·this·form:
135 ··<p><code>147 ··<p><code>
 148 &nbsp;·&nbsp;·File·image.gif·<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>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br>
 149 &nbsp;·&nbsp;·Last·modified·<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>=<span·class="htp-string">"image.gif"</span>·<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">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
136 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>&gt;</span><br> 
137 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>&gt;</span><br> 
138 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>&gt;</span><br> 
139 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br> 
140 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br> 
141 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br> 
142 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br> 
143 <br> 
144 </code></p>150 </code></p>
145 <p>151 <p>
146 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It152 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
147 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer153 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
148 values·are·limited·to·the·range·-2^31..2^31.154 values·are·limited·to·the·range·-2^31..2^31.
149 <P>155 <P>
150 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.156 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
4.65 KB
html2text {}
    
Offset 1, 42 lines modifiedOffset 1, 43 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·INC·******2 ******·htp·on-line·reference·:·INC·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction··············· · ·<[[ref]]IF·name="Jim">...<[[ref]]/IF> 
5  License····················*****·synopsis·***** 
6  Tutorial···················The·INC·can·be·used·for·incrementing/decrementing 
7  Usage······················a·variable·or·for·variable·addition.·The·basic 
8  HTP·Tags···················form·is·shown·above. 
9   ··ALTTEXT················The·"increment"·is·anything·that·evaluates·to·a 
10   ··BLOCK··················integer.·It·can·be·a·literal·string·or·a·macro 
11   ··BLOCKDEF···············preceeded·by·the·'$'-operator.·The·macroname·must4 Contents······· <[[ref]]def·name="imghr">
 5  Introduction· · <table·border="0"·cellspacing="0"·cellpadding="0">
 6  License······ · <tr>
 7  Tutorial····· · ·<td·width=10><[[ref]]img·src="leftsep.png"></td>
 8  Usage········ · ·<td·width="95%"·background="midsep.png">&nbsp;</td>
 9  HTP·Tags····· · ·<td·width=10><[[ref]]img·src="rightsep.png"></td>
 10   ··ALTTEXT·· · </tr>
 11   ··BLOCK···· · </table>
 12   ··BLOCKDEF· <[[ref]]/def>
 13   ··DEF
 14   ··FILE····· paragraph
 15   ··IF······· <imghr>
 16  [>]·INC······ paragraph
 17   ··IMG······*****·synopsis·*****
 18   ··IMAGEURL·The·INC·can·be·used·for·incrementing/decrementing·a·variable·or·for
 19   ··OPT······variable·addition.·The·basic·form·is·shown·above.
 20   ··OUTPUT···The·"increment"·is·anything·that·evaluates·to·a·integer.·It·can·be·a
 21   ··QUOTE····literal·string·or·a·macro·preceeded·by·the·'$'-operator.·The·macroname
12   ··DEF····················be·the·name·of·a·defined·macro·that·contains·an22   ··SET······must·be·the·name·of·a·defined·macro·that·contains·an·integer.·If·the
 23   ··UNDEF····increment·is·ommitted·it·defaults·to·1.·The·effect·of·this·operation·is
 24   ··UNSET····that·the·macro·is·redefined·to·contain·the·sum·of·its·previous·value·and
 25   ··USE,_$···its·increment.
13   ··FILE···················integer.·If·the·increment·is·ommitted·it·defaults 
14   ··IF·····················to·1.·The·effect·of·this·operation·is·that·the 
15  [>]·INC····················macro·is·redefined·to·contain·the·sum·of·its 
16   ··IMG····················previous·value·and·its·increment. 
17   ··IMAGEURL···············To·increment·or·decrement·a·variable·you·can·use26   ··WHILE····To·increment·or·decrement·a·variable·you·can·use·this·form:
 27   ··<!---···· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes
 28  History······ · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE
 29  Wish_list····NAME="image.gif"·DATE>
 30  Bugs·········Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.·It·may
18   ··OPT····················this·form: 
19   ··OUTPUT·················<[[ref]]OPT·(IMGXY|NOIMGXY)> 
20   ··QUOTE··················<[[ref]]OPT·(QUIET|VERBOSE)> 
21   ··SET····················<[[ref]]OPT·(DEPEND|NODEPEND)> 
22   ··UNDEF··················<[[ref]]OPT·(PRECIOUS|NOPRECIOUS)> 
23   ··UNSET··················<[[ref]]OPT·(CONDENSE|SEMICONDENSE|NOCONDENSE)> 
24   ··USE,_$·················<[[ref]]OPT·DELIM=(HTML|SQUARE|CURLY)> 
25   ··WHILE··················<[[ref]]OPT·(XML|XML=FALSE)> 
26   ··<!--- 
27  History····················Note·that·INC·doesn't·check·if·the·strings·really 
28  Wish_list··················denote·integers.·It·may·give·weired·results·when 
29  Bugs·······················used·on·arbitrary·strings.·The·integer·values·are31 ···············give·weired·results·when·used·on·arbitrary·strings.·The·integer·values
30 ·····························limited·to·the·range·-2^31..2^31.32 ···············are·limited·to·the·range·-2^31..2^31.
 33 ···············Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.·The
31 ·····························Note·further·that·htp·wasn't·designed·to·do 
32 ·····························extensive·calculations.·The·INC·tag·is·useful·in 
33 ·····························conjunction·with·WHILE·to·iterate·over·the·defined34 ···············INC·tag·is·useful·in·conjunction·with·WHILE·to·iterate·over·the·defined
34 ·····························blocks.35 ···············blocks.
  
  
  
  
  
  
  
Offset 54, 17 lines modifiedOffset 55, 18 lines modified
  
  
54  page_source55  page_source
55  htp_project56  htp_project
56  htp_homepage57  htp_homepage
57 hosted·by58 hosted·by
58 Sourceforge59 Sourceforge
59 HTML·coding·[Powered_by60 HTML·coding
 61 [Powered_by
60 htp]62 htp]
61 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/63 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
62 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.64 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
63 ·····Maintainers:·Jochen_Hoenicke.65 ·····Maintainers:·Jochen_Hoenicke.
64 Copyright·©·1995–96·Jim·Nelson.66 Copyright·©·1995–96·Jim·Nelson.
65 Copyright·©·2001–2014·Jochen_Hoenicke.67 Copyright·©·2001–2014·Jochen_Hoenicke.
66 Permission·to·reproduce·and·distribute·this·hypertext·document·granted68 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to
67 according·to·terms·described·in·the·License_section.69 terms·described·in·the·License_section.
68 last·updated·Sat·May·16,·201570 last·updated·Sat·May·16,·2015
27.7 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 38 lines modifiedOffset 88, 16 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><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>
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">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br> 
96 <font·size="-2">&nbsp;2.·</font>&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> 
97 <font·size="-2">&nbsp;3.·</font>&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> 
98 <font·size="-2">&nbsp;4.·</font>&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> 
99 <font·size="-2">&nbsp;5.·</font>&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> 
100 <font·size="-2">&nbsp;6.·</font>&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> 
101 <font·size="-2">&nbsp;7.·</font>&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> 
102 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
103 <font·size="-2">&nbsp;9.·</font>&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> 
104 <font·size="-2">10.·</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> 
105 <font·size="-2">11.·</font><br>96 <font·size="-2">&nbsp;2.·</font><br>
106 <font·size="-2">12.·</font>&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> 
107 <font·size="-2">13.·</font><br> 
108 <font·size="-2">14.·</font>&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> 
109 <font·size="-2">15.·</font><br> 
110 <font·size="-2">16.·</font>&nbsp;·This·will·fail:<br> 
111 <font·size="-2">17.·</font>&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> 
112 <font·size="-2">18.·</font><br> 
113 <font·size="-2">19.·</font>&nbsp;·Instead,·use·*·like·this:<br> 
114 <font·size="-2">20.·</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">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br> 
115 <font·size="-2">21.·</font>&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> 
116 <font·size="-2">22.·</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> 
117 <font·size="-2">23.·</font>&nbsp;·&nbsp;·<br> 
118 <font·size="-2">24.·</font>&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> 
119 </code></p>97 </code></p>
120 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.98 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
121 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.99 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
122 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and100 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
123 <code>/def</code></a>·tags.··You·don't·have·to·understand·this101 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
124 html·code,·but·you·should·understand·that·this·is·just·pure·html·to102 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
125 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>103 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 129, 41 lines modifiedOffset 107, 41 lines modified
129 file</a>.··</p>107 file</a>.··</p>
130 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing108 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
131 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp109 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp
132 encounters·a·blockdef·tag·it·will·automatically·search·for·the110 encounters·a·blockdef·tag·it·will·automatically·search·for·the
133 matching·closing·tag·and·put·everything·between·these·tags·in·a·block111 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
134 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>112 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
135 ··<p><code>113 ··<p><code>
136 <font·size="-2">&nbsp;1.·</font><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> 
137 <font·size="-2">&nbsp;2.·</font>text·block<br> 
138 <font·size="-2">&nbsp;3.·</font><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>114 <font·size="-2">&nbsp;1.·</font><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>
 115 <font·size="-2">&nbsp;2.·</font><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>
139 <font·size="-2">&nbsp;4.·</font><br>116 <font·size="-2">&nbsp;3.·</font><br>
140 </code></p>117 </code></p>
141 <h2>Using·parameters</h2>118 <h2>Using·parameters</h2>
142 <p>·More·sophisticated·tags·accept·parameters.··The119 <p>·More·sophisticated·tags·accept·parameters.··The
143 <code>option</code>·parameter·lets·multiple·metatag·parameters·be120 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
144 named·and·expanded·inside·the·<code>def</code>·or121 named·and·expanded·inside·the·<code>def</code>·or
145 <code>blockdef</code>·block:·</p>122 <code>blockdef</code>·block:·</p>
146 ··<p><code>123 ··<p><code>
 124 <font·size="-2">&nbsp;1.·</font><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">conditional</span>&gt;</span><br>
 125 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·block<br>
147 <font·size="-2">&nbsp;1.·</font><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>126 <font·size="-2">&nbsp;3.·</font><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>
148 <font·size="-2">&nbsp;2.·</font><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> 
149 <font·size="-2">&nbsp;3.·</font><br>127 <font·size="-2">&nbsp;4.·</font><br>
150 </code></p>128 </code></p>
151 <h2>Saving·blocks·for·later</h2>129 <h2>Saving·blocks·for·later</h2>
152 <p>When·you·are·using·templates,·the·html·should·only·be·written·by130 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
153 the·template·file.··The·normal·htp·files·should·just·define·macros131 the·template·file.··The·normal·htp·files·should·just·define·macros
154 that·are·used·later·in·the·template.··So·you·may·want·to·write·block132 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
155 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this133 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
156 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to134 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
157 do·this:</p>135 do·this:</p>
158 ··<p><code>136 ··<p><code>
159 <font·size="-2">&nbsp;1.·</font><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">conditional</span>&gt;</span><br>137 <font·size="-2">&nbsp;1.·</font>&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>
160 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·block<br>138 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
 139 <font·size="-2">&nbsp;3.·</font>&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>
161 <font·size="-2">&nbsp;3.·</font><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>140 <font·size="-2">&nbsp;4.·</font>&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>
162 <font·size="-2">&nbsp;4.·</font><br> 
163 </code></p>141 </code></p>
164 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a142 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
165 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is143 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
166 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is144 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
167 build·from·this·counter.··So·the·first·section·is·stored·in·block145 build·from·this·counter.··So·the·first·section·is·stored·in·block
168 sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag146 sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag
169 in·line·4·tells·htp·that·these·macros·should·be·defined·globally147 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 182, 15 lines modifiedOffset 160, 15 lines modified
182 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be160 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
183 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the161 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
184 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you162 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
185 use·expand·in·a·block·around·it.</p>163 use·expand·in·a·block·around·it.</p>
186 <p>To·close·this·example·we·show·how·to·expand·the164 <p>To·close·this·example·we·show·how·to·expand·the
187 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>165 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
188 ··<p><code>166 ··<p><code>
189 <font·size="-2">&nbsp;1.·</font>&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>167 <font·size="-2">&nbsp;1.·</font>&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>
190 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>168 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
191 <font·size="-2">&nbsp;3.·</font>&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>169 <font·size="-2">&nbsp;3.·</font>&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>
192 <font·size="-2">&nbsp;4.·</font>&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>170 <font·size="-2">&nbsp;4.·</font>&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>
193 </code></p>171 </code></p>
194 <p>172 <p>
195 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether173 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether
196 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is174 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
15.2 KB
html2text {}
    
Offset 1, 134 lines modifiedOffset 1, 136 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·Metatags·******2 ******·htp·on-line·reference·:·Metatags·******
3 Table_of········*****·Programming·your·own·tags·*****3 Table_of_Contents············*****·Programming·your·own·tags·*****
4 Contents········Metatags·allow·for·defining·your·own·HTML-like·tags.·When·you·define 
5  Introduction··a·metatag·you·have·to·provide·the·HTML·code·which·it·abbreviates.·In4  Introduction···············Metatags·allow·for·defining·your·own·HTML-like
 5  License····················tags.·When·you·define·a·metatag·you·have·to
 6  Tutorial···················provide·the·HTML·code·which·it·abbreviates.·In
6  License·······fact·metatags·are·just·like·block·macros,·but·they·have·a·nicer7   ··Macros·················fact·metatags·are·just·like·block·macros,·but·they
 8   ··Including··············have·a·nicer·syntax.·With·metatags·you·can·expand
 9   ··Templates··············htp's·functionality.
 10   ··Files··················Metatags·are·defined·with·the·[[ref]]def·and·[
 11  [>]·Metatags···············[ref]]blockdef·tags·and·undefined·with·the·[
 12  Usage······················[ref]]undef·tag.
 13  HTP_Tags···················As·an·example·we·show·how·to·define·a·tag·that
 14  History····················builds·a·fancy·horizontal·rule·out·of·several
 15  Wish_list··················images.
 16  Bugs······················· 1.<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
 17 ····························· 2.
7  Tutorial······syntax.·With·metatags·you·can·expand·htp's·functionality. 
8   ··Macros····Metatags·are·defined·with·the·[[ref]]def·and·[[ref]]blockdef·tags·and 
9   ··Including·undefined·with·the·[[ref]]undef·tag. 
10   ··Templates·As·an·example·we·show·how·to·define·a·tag·that·builds·a·fancy 
11   ··Files·····horizontal·rule·out·of·several·images. 
12  [>]·Metatags·· 1. ·<[[ref]]DEF·NAME="HEADERIMG"·OPTION="SRC·TITLE·SIZE"> 
13  Usage········· 2. · ·<[[ref]]IF·size> 
14  HTP_Tags······ 3. · · · ·<FONT·SIZE=${size}> 
15  History······· 4. · ·<[[ref]]/IF> 
16  Wish_list····· 5. · ·<[[ref]]IMG·SRC=pics/${src}> 
17  Bugs·········· 6. · ·<[[ref]]USE·title> 
18 ················ 7. · ·<[[ref]]IF·size> 
19 ················ 8. · · · ·</FONT> 
20 ················ 9. · ·<[[ref]]/IF> 
21 ················10. ·<[[ref]]/DEF> 
22 ················11. 
23 ················12. ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title"> 
24 ················13. 
25 ················14. ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title"> 
26 ················15. 
27 ················16. ·This·will·fail: 
28 ················17. ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another·title"> 
29 ················18. 
30 ················19. ·Instead,·use·*·like·this: 
31 ················20. ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*"> 
32 ················21. · ·<[[ref]]IMG·SRC="pics/${src}"·$*> 
33 ················22. ·<[[ref]]/DEF> 
34 ················23. ·  
35 ················24. ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
36 ················In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.·The18 ·····························In·line·1·of·the·above·example·a·new·tag·named
37 ················html·code·which·implements·this·rule·is·following·in·lines·2-8.19 ·····························imghr·is·defined.·The·html·code·which·implements
 20 ·····························this·rule·is·following·in·lines·2-8.·between·the·[
38 ················between·the·[[ref]]def_and_/def·tags.·You·don't·have·to·understand21 ·····························[ref]]def_and_/def·tags.·You·don't·have·to
39 ················this·html·code,·but·you·should·understand·that·this·is·just·pure·html22 ·····························understand·this·html·code,·but·you·should
 23 ·····························understand·that·this·is·just·pure·html·to·draw·the
40 ················to·draw·the·fancy·rule.·Every·time·you·write·<imghr>·as·in·line·1224 ·····························fancy·rule.·Every·time·you·write·<imghr>·as·in
41 ················htp·will·replace·this·tag·with·the·corresponding·html·code.·To·make25 ·····························line·12·htp·will·replace·this·tag·with·the
 26 ·····························corresponding·html·code.·To·make·metatags
42 ················metatags·available·to·all·htp·documents·in·your·project,·place·them27 ·····························available·to·all·htp·documents·in·your·project,
43 ················in·a·common·[[ref]]include_file.28 ·····························place·them·in·a·common·[[ref]]include_file.
44 ················Often·you·want·to·define·tags·that·have·an·opening·and·a·closing29 ·····························Often·you·want·to·define·tags·that·have·an·opening
45 ················variant.·For·this·purpose·you·should·use·the·[[ref]]blockdef·tag.30 ·····························and·a·closing·variant.·For·this·purpose·you·should
 31 ·····························use·the·[[ref]]blockdef·tag.·When·htp·encounters·a
46 ················When·htp·encounters·a·blockdef·tag·it·will·automatically·search·for32 ·····························blockdef·tag·it·will·automatically·search·for·the
47 ················the·matching·closing·tag·and·put·everything·between·these·tags·in·a33 ·····························matching·closing·tag·and·put·everything·between
 34 ·····························these·tags·in·a·block·macro·named·block.·Here·is
 35 ·····························an·example·for·this.
48 ················block·macro·named·block.·Here·is·an·example·for·this. 
49 ················ 1.<[[ref]]OUTPUT·FILE="outputfilename"·[APPEND]·[EXPAND]> 
50 ················ 2.text·block 
51 ················ 3.<[[ref]]/OUTPUT> 
52 ················ 4. 
53 ················*****·Using·parameters·***** 
54 ················More·sophisticated·tags·accept·parameters.·The·option·parameter·lets 
55 ················multiple·metatag·parameters·be·named·and·expanded·inside·the·def·or 
56 ················blockdef·block: 
57 ················ 1.<[[ref]]unset·macroname>36 ····························· 1.<[[ref]]unset·macroname>
58 ················ 2.<[[ref]]unset·macroname1·macroname2·...·>37 ····························· 2.<[[ref]]unset·macroname1·macroname2·...·>
 38 ····························· 3.
 39 ·····························*****·Using·parameters·*****
 40 ·····························More·sophisticated·tags·accept·parameters.·The
 41 ·····························option·parameter·lets·multiple·metatag·parameters
 42 ·····························be·named·and·expanded·inside·the·def·or·blockdef
 43 ·····························block:
59 ················ 3. 
60 ················*****·Saving·blocks·for·later·***** 
61 ················When·you·are·using·templates,·the·html·should·only·be·written·by·the 
62 ················template·file.·The·normal·htp·files·should·just·define·macros·that 
63 ················are·used·later·in·the·template.·So·you·may·want·to·write·block·tags 
64 ················that·just·save·the·block·in·a·macro·for·later·use.·Although·this·is 
65 ················possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to 
66 ················do·this: 
67 ················ 1.<[[ref]]WHILE·[NOT]·conditional>44 ····························· 1.<[[ref]]WHILE·[NOT]·conditional>
68 ················ 2. · ·block45 ····························· 2. · ·block
69 ················ 3.<[[ref]]/WHILE>46 ····························· 3.<[[ref]]/WHILE>
 47 ····························· 4.
 48 ·····························*****·Saving·blocks·for·later·*****
 49 ·····························When·you·are·using·templates,·the·html·should·only
 50 ·····························be·written·by·the·template·file.·The·normal·htp
 51 ·····························files·should·just·define·macros·that·are·used
 52 ·····························later·in·the·template.·So·you·may·want·to·write
 53 ·····························block·tags·that·just·save·the·block·in·a·macro·for
 54 ·····························later·use.·Although·this·is·possible·with·htp·it
 55 ·····························is·quite·tricky,·so·here·we·present·the·way·to·do
 56 ·····························this:
70 ················ 4. 
71 ················This·defines·a·block·macro·named·section.·This·macro·uses·a·counter 
72 ················sect-ctr·that·enumerates·the·sections.·It·is·increased·for·every 
73 ················section·(line·3)·and·then·the·block·macro·name·is·build·from·this 
74 ················counter.·So·the·first·section·is·stored·in·block·sect-1,·the·second 
75 ················in·sect-2·and·so·on.·The·[[ref]]global·flag·in·line·4·tells·htp·that 
76 ················these·macros·should·be·defined·globally·for·the·remaining·run. 
77 ················Otherwise·they·would·be·forgotten·at·the·end·of·the·section·macro. 
78 ················The·tricky·part·is·the·[[ref]]expand·and·noexpand·flags·in·line·4·and 
79 ················5.·Normally·when·you·define·a·block·macro·the·code·between·the·start 
80 ················and·end·tag·is·literally·copied·into·the·macro·value.·The·expansion 
81 ················takes·place·when·the·macro·is·used.·In·this·case·that·doesn't·make 
82 ················sense;·all·macros·sect-1,·sect-2·and·so·on·would·just·contain·the 
83 ················same·value,·namely·<use·block>·and·block·wouldn't·be·defined·anymore 
84 ················when·the·macros·are·finally·expanded.·Therefore·we·use·expand·to 
85 ················expand·the·use·tag·already·when·sect-1·is·defined. 
86 ················The·noexpand·attribute·of·the·[[ref]]use·tag·is·just·the·opposite·and 
87 ················prevents·the·contents·of·block·to·be·expanded·twice.·If·you·omit·it, 
88 ················it·would·be·expanded·when·defining·the·sect-1·macro·and·when·using·it 
89 ················later·in·the·template.·Generally·it·is·a·good·idea·to·use·noexpand 
90 ················whenever·you·use·expand·in·a·block·around·it. 
91 ················To·close·this·example·we·show·how·to·expand·the·sect-${sect-ctr} 
92 ················blocks·in·the·template: 
Max diff block lines reached; 650/15501 bytes (4.19%) of diff not shown.
3.08 KB
./usr/share/doc/htp/opt.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 &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 &nbsp;·&nbsp;·File·image.gif·<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>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</spa[·...·truncated·by·diffoscope;·len:·65,·SHA:·7e1df7e89c65642909c06c454c5f5ac8e9176f84ee88cb57aeb4343d5958991c·...·]<br>
 122 &nbsp;·&nbsp;·Last·modified·<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>=<span·class="htp-string">"image.gif"</span>·<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">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
122 </code></p>123 </code></p>
123 <h2>synopsis</h2>124 <h2>synopsis</h2>
124 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing125 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
125 options·inside·the·actual·document·being·processed.··The·options·are126 options·inside·the·actual·document·being·processed.··The·options·are
126 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not127 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
127 preceded·by·a·&lsquo;-&rsquo;·character.128 preceded·by·a·&lsquo;-&rsquo;·character.
128 <P>129 <P>
1.44 KB
html2text {}
    
Offset 1, 19 lines modifiedOffset 1, 19 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·OPT·******2 ******·htp·on-line·reference·:·OPT·******
3 Table_of·······*****·syntax·*****3 Table_of·······*****·syntax·*****
4 Contents······· · ·<[[ref]]SET·emailaddr="jnelson@crl.com"> 
5  Introduction·*****·synopsis·*****4 Contents······· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes
 5  Introduction· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE
 6  License······NAME="image.gif"·DATE>
 7  Tutorial·····*****·synopsis·*****
6  License······OPT·is·an·htp·tag·that·can·be·used·to·specify·processing·options·inside·the8  Usage········OPT·is·an·htp·tag·that·can·be·used·to·specify·processing·options·inside·the
7  Tutorial·····actual·document·being·processed.·The·options·are·used·exactly·as·they·would·be9  HTP·Tags·····actual·document·being·processed.·The·options·are·used·exactly·as·they·would·be
8  Usage········on·the·command-line,·although·they·are·not·preceded·by·a·‘-’·character.10   ··ALTTEXT··on·the·command-line,·although·they·are·not·preceded·by·a·‘-’·character.
9  HTP·Tags·····Click·here·for·more_information_on_using_customization_options_with_htp.11   ··BLOCK····Click·here·for·more_information_on_using_customization_options_with_htp.
10   ··ALTTEXT 
11   ··BLOCK 
12   ··BLOCKDEF12   ··BLOCKDEF
13   ··DEF13   ··DEF
14   ··FILE14   ··FILE
15   ··IF15   ··IF
16   ··INC16   ··INC
17   ··IMG17   ··IMG
18   ··IMAGEURL18   ··IMAGEURL
Offset 25, 14 lines modifiedOffset 25, 15 lines modified
25   ··UNSET25   ··UNSET
26   ··USE,_$26   ··USE,_$
27   ··WHILE27   ··WHILE
28   ··<!---28   ··<!---
29  History29  History
30  Wish_list30  Wish_list
31  Bugs31  Bugs
  
32  page_source32  page_source
33  htp_project33  htp_project
34  htp_homepage34  htp_homepage
35 hosted·by35 hosted·by
36 Sourceforge36 Sourceforge
37 HTML·coding37 HTML·coding
38 [Powered_by38 [Powered_by
8.12 KB
./usr/share/doc/htp/output.html
    
Offset 114, 16 lines modifiedOffset 114, 38 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"[·...·truncated·by·diffoscope;·len:·69,·SHA:·ea634dbab5ac4ccf4b06c709a9fcaf6deb645033f0530f94544de5e99f89a6df·...·]</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[·...·truncated·by·diffoscope;·len:·36,·SHA:·a48e3b5043fdef3852f24d4ca2018699e1810cae7d53ba3772ebebc1f092846f·...·]</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;·&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="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</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>
122 <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>
123 </code></p>145 </code></p>
124 <h2>synopsis</h2>146 <h2>synopsis</h2>
125 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary147 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
126 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the148 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
127 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>149 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
128 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you150 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
129 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text151 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text
3.46 KB
html2text {}
    
Offset 1, 53 lines modifiedOffset 1, 74 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·OUTPUT·******2 ******·htp·on-line·reference·:·OUTPUT·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction···············<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]> 
5  License 
6  Tutorial···················*****·synopsis·***** 
7  Usage······················The·OUTPUT·tag·can·be·used·to·create·auxillary 
8  HTP·Tags···················files·besides·the·main·HTML·file.·The·text·between 
9   ··ALTTEXT················this·tag·and·the·corresponding·</OUTPUT>·tag·is 
10   ··BLOCK··················written·to·output·file. 
11   ··BLOCKDEF···············Normally·the·outputfile·is·cleared·before·writing 
12   ··DEF····················to·it,·but·you·can·use·the·APPEND·attribute·to 
13   ··FILE···················extend·an·existing·file.·The·text·written·to·the 
14   ··IF·····················file·is·normally·not·expanded,·i.e.·all·tags 
15   ··INC····················inside·this·block·are·not·executed·but·written 
16   ··IMG····················unmodified·to·the·file.·However,·you·can·use·the 
17   ··IMAGEURL···············EXPAND·attribute·to·override·this·behaviour. 
18   ··OPT 
19  [>]·OUTPUT4 Contents······· ·<[[ref]]DEF·NAME="HEADERIMG"·OPTION="SRC·TITLE·SIZE">
 5  Introduction· · ·<[[ref]]IF·size>
 6  License······ · · · ·<FONT·SIZE=${size}>
 7  Tutorial····· · ·<[[ref]]/IF>
 8  Usage········ · ·<[[ref]]IMG·SRC=pics/${src}>
 9  HTP·Tags····· · ·<[[ref]]USE·title>
 10   ··ALTTEXT·· · ·<[[ref]]IF·size>
 11   ··BLOCK···· · · · ·</FONT>
 12   ··BLOCKDEF· · ·<[[ref]]/IF>
 13   ··DEF······ ·<[[ref]]/DEF>
 14   ··FILE
 15   ··IF······· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title">
 16   ··INC
 17   ··IMG······ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title">
 18   ··IMAGEURL
 19   ··OPT······ ·This·will·fail:
 20  [>]·OUTPUT··· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another·title">
20   ··QUOTE21   ··QUOTE
21   ··SET 
22   ··UNDEF 
23   ··UNSET 
24   ··USE,_$ 
25   ··WHILE 
26   ··<!--- 
27  History 
28  Wish_list 
29  Bugs22   ··SET······ ·Instead,·use·*·like·this:
 23   ··UNDEF···· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*">
 24   ··UNSET···· · ·<[[ref]]IMG·SRC="pics/${src}"·$*>
 25   ··USE,_$··· ·<[[ref]]/DEF>
 26   ··WHILE···· · 
 27   ··<!---···· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
 28  History······*****·synopsis·*****
 29  Wish_list····The·OUTPUT·tag·can·be·used·to·create·auxillary·files·besides·the
 30  Bugs·········main·HTML·file.·The·text·between·this·tag·and·the·corresponding·</
 31 ···············OUTPUT>·tag·is·written·to·output·file.
 32 ···············Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
 33 ···············can·use·the·APPEND·attribute·to·extend·an·existing·file.·The·text
 34 ···············written·to·the·file·is·normally·not·expanded,·i.e.·all·tags·inside
 35 ···············this·block·are·not·executed·but·written·unmodified·to·the·file.
 36 ···············However,·you·can·use·the·EXPAND·attribute·to·override·this
 37 ···············behaviour.
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
30  page_source38  page_source
31  htp_project39  htp_project
32  htp_homepage40  htp_homepage
33 hosted·by41 hosted·by
34 Sourceforge42 Sourceforge
35 HTML·coding·[Powered_by43 HTML·coding
 44 [Powered_by
36 htp]45 htp]
37 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/46 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
38 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.47 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
39 ·····Maintainers:·Jochen_Hoenicke.48 ·····Maintainers:·Jochen_Hoenicke.
40 Copyright·©·1995–96·Jim·Nelson.49 Copyright·©·1995–96·Jim·Nelson.
41 Copyright·©·2001–2014·Jochen_Hoenicke.50 Copyright·©·2001–2014·Jochen_Hoenicke.
42 Permission·to·reproduce·and·distribute·this·hypertext·document·granted51 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according
43 according·to·terms·described·in·the·License_section.52 to·terms·described·in·the·License_section.
44 last·updated·Sat·May·16,·201553 last·updated·Sat·May·16,·2015
7.2 KB
./usr/share/doc/htp/quote.html
    
Offset 117, 14 lines modifiedOffset 117, 38 lines modified
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="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>121 <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>
122 <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>122 <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>
123 <br>123 <br>
 124 <br>
 125 &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>
 126 &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>
 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>&gt;</span><br>
 128 &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>
 129 &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>
 130 &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>
 131 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 132 &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>
 133 &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>
 135 &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>
 136 <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">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 138 <br>
 139 &nbsp;·This·will·fail:<br>
 140 &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>
 141 <br>
 142 &nbsp;·Instead,·use·*·like·this:<br>
 143 &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>
 144 &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>
 145 &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>
 146 &nbsp;·&nbsp;·<br>
 147 &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>
124 </code></p>148 </code></p>
125 <h2>synopsis</h2>149 <h2>synopsis</h2>
126 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise150 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
127 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a151 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
128 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early152 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
129 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still153 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
130 done·inside·a·quote·block.154 done·inside·a·quote·block.
2.86 KB
html2text {}
    
Offset 1, 49 lines modifiedOffset 1, 73 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·QUOTE·******2 ******·htp·on-line·reference·:·QUOTE·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction···············<[[ref]]UNDEF·tagname> 
5  License····················<[[ref]]UNDEF·tagname1·tagname2·...·>4 Contents·······<[[ref]]UNDEF·tagname>
 5  Introduction·<[[ref]]UNDEF·tagname1·tagname2·...·>
 6  License
6  Tutorial7  Tutorial
7  Usage······················*****·synopsis·***** 
8  HTP·Tags···················QUOTE·is·used·to·quote·a·macro·that·would 
9   ··ALTTEXT················otherwise·be·interpreted·by·HTP.·It·may·be·useful 
10   ··BLOCK··················in·conjunction·with·a·surrounding·EXPANDed·block 
11   ··BLOCKDEF···············to·prevent·early·expansion·of·some·contained 
12   ··DEF····················blocks.·Note·that·'$'·evaluation·is·still·done 
13   ··FILE···················inside·a·quote·block. 
14   ··IF 
15   ··INC8  Usage········ · ·<[[ref]]IF·size>
 9  HTP·Tags····· · · · ·<FONT·SIZE=${size}>
 10   ··ALTTEXT·· · ·<[[ref]]/IF>
 11   ··BLOCK···· · ·<[[ref]]IMG·SRC=pics/${src}>
 12   ··BLOCKDEF· · ·<[[ref]]USE·title>
 13   ··DEF······ · ·<[[ref]]IF·size>
 14   ··FILE····· · · · ·</FONT>
 15   ··IF······· · ·<[[ref]]/IF>
 16   ··INC······ ·<[[ref]]/DEF>
16   ··IMG17   ··IMG
17   ··IMAGEURL18   ··IMAGEURL· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title">
18   ··OPT19   ··OPT
19   ··OUTPUT20   ··OUTPUT··· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title">
20  [>]·QUOTE21  [>]·QUOTE
21   ··SET 
22   ··UNDEF22   ··SET······ ·This·will·fail:
 23   ··UNDEF···· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another·title">
23   ··UNSET24   ··UNSET
24   ··USE,_$ 
25   ··WHILE 
26   ··<!--- 
27  History 
28  Wish_list 
29  Bugs25   ··USE,_$··· ·Instead,·use·*·like·this:
 26   ··WHILE···· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*">
 27   ··<!---···· · ·<[[ref]]IMG·SRC="pics/${src}"·$*>
 28  History······ ·<[[ref]]/DEF>
 29  Wish_list···· · 
 30  Bugs········· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
 31 ···············*****·synopsis·*****
 32 ···············QUOTE·is·used·to·quote·a·macro·that·would·otherwise·be·interpreted
 33 ···············by·HTP.·It·may·be·useful·in·conjunction·with·a·surrounding
 34 ···············EXPANDed·block·to·prevent·early·expansion·of·some·contained
 35 ···············blocks.·Note·that·'$'·evaluation·is·still·done·inside·a·quote
 36 ···············block.
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
30  page_source37  page_source
31  htp_project38  htp_project
32  htp_homepage39  htp_homepage
33 hosted·by40 hosted·by
34 Sourceforge41 Sourceforge
35 HTML·coding·[Powered_by42 HTML·coding
 43 [Powered_by
36 htp]44 htp]
37 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/45 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
38 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.46 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
39 ·····Maintainers:·Jochen_Hoenicke.47 ·····Maintainers:·Jochen_Hoenicke.
40 Copyright·©·1995–96·Jim·Nelson.48 Copyright·©·1995–96·Jim·Nelson.
41 Copyright·©·2001–2014·Jochen_Hoenicke.49 Copyright·©·2001–2014·Jochen_Hoenicke.
42 Permission·to·reproduce·and·distribute·this·hypertext·document·granted50 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according
43 according·to·terms·described·in·the·License_section.51 to·terms·described·in·the·License_section.
44 last·updated·Sat·May·16,·201552 last·updated·Sat·May·16,·2015
7.9 KB
./usr/share/doc/htp/set.html
    
Offset 114, 26 lines modifiedOffset 114, 29 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>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded126 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
129 anywhere·in·the·HTML·document.··To·create·a·macro:127 anywhere·in·the·HTML·document.··To·create·a·macro:
130 ··<p><code>128 ··<p><code>
131 <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> 
132 <br>129 &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>
 130 <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>
 131 &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>
 132 &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·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br>
 133 &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>
 134 &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>
 135 &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>
133 </code></p>136 </code></p>
134 <P>137 <P>
135 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">138 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
136 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular139 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
137 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the140 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
138 <A·HREF="use.html">'$'</A>·operator.141 <A·HREF="use.html">'$'</A>·operator.
139 <P>142 <P>
3.92 KB
html2text {}
    
Offset 1, 38 lines modifiedOffset 1, 43 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·SET·******2 ******·htp·on-line·reference·:·SET·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents····*****·syntax·*****
 4  Introduction·······<[[ref]]unset·macroname>
 5  License············<[[ref]]unset·macroname1·macroname2·...·>
4 Contents······· ·<[[ref]]def·name="sharedimg"·option="name·alt"> 
5  Introduction· · ·<[[ref]]img·src="/home/sharedimages/${name}"·alt="${alt}">; 
6  License······ ·<[[ref]]/def> 
7  Tutorial6  Tutorial
8  Usage········ ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
9  HTP·Tags·····*****·synopsis·*****7  Usage··············*****·synopsis·*****
10   ··ALTTEXT··SET·creates·a·macro·definition·that·can·later·be·expanded8  HTP·Tags···········SET·creates·a·macro·definition·that·can·later·be·expanded
11   ··BLOCK····anywhere·in·the·HTML·document.·To·create·a·macro:9   ··ALTTEXT········anywhere·in·the·HTML·document.·To·create·a·macro:
12   ··BLOCKDEF·<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]> 
13   ··DEF10   ··BLOCK·········· · ·<[[ref]]unset·email_addr>
 11   ··BLOCKDEF·······<[[ref]]blockdef·name="section">
 12   ··DEF············ · ·<[[ref]]inc·sect-ctr>
 13   ··FILE··········· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global>
 14   ··IF············· · · ·<[[ref]]use·block·noexpand>
 15   ··INC············ · ·<[[ref]]/block>
 16   ··IMG············ ·<[[ref]]/blockdef>
14   ··FILE·····The·macro·"emailaddr"·can·then·be·expanded·later.·The·USE·tag·is17   ··IMAGEURL·······The·macro·"emailaddr"·can·then·be·expanded·later.·The·USE
15   ··IF·······used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular18   ··OPT············tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into
16   ··INC······text).·If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use 
17   ··IMG······the·'$'·operator.19   ··OUTPUT·········the·regular·text).·If·the·macro·needs·to·be·expanded
 20   ··QUOTE··········inside·a·markup·tag,·use·the·'$'·operator.
18   ··IMAGEURL·Multiple·macros·can·be·declared·in·a·single·markup·tag,·as·the21  [>]·SET············Multiple·macros·can·be·declared·in·a·single·markup·tag,·as
19   ··OPT······second·syntax·line·shows.22   ··UNDEF··········the·second·syntax·line·shows.
20   ··OUTPUT···SET·should·only·be·used·for·a·single·line's·worth·of·text.·Multi-23   ··UNSET··········SET·should·only·be·used·for·a·single·line's·worth·of·text.
21   ··QUOTE····line·macros·can·be·defined·with·the·BLOCK·tag.·The·BLOCK·tag·is24   ··USE,_$·········Multi-line·macros·can·be·defined·with·the·BLOCK·tag.·The
22  [>]·SET······also·useful·if·the·macro·contains·a·quotation·character·and·you 
23   ··UNDEF····don't·want·to·fool·around·with·special·escape·characters.25   ··WHILE··········BLOCK·tag·is·also·useful·if·the·macro·contains·a·quotation
 26   ··<!---··········character·and·you·don't·want·to·fool·around·with·special
 27  History············escape·characters.
24   ··UNSET····Macros·can·be·redefined·by·using·another·SET·command·with·the28  Wish_list··········Macros·can·be·redefined·by·using·another·SET·command·with
25   ··USE,_$···same·macro·name.·The·prior·definition·will·be·destroyed,·however. 
26   ··WHILE····Also,·the·macro·can·be·removed·(destroyed)·with·the·UNSET·tag. 
27   ··<!--- 
28  History 
29  Wish_list 
30  Bugs29  Bugs···············the·same·macro·name.·The·prior·definition·will·be
 30 ·····················destroyed,·however.·Also,·the·macro·can·be·removed
 31 ·····················(destroyed)·with·the·UNSET·tag.
  
  
  
  
  
  
  
  
  
  
  
Offset 47, 17 lines modifiedOffset 52, 16 lines modified
  
47  page_source52  page_source
48  htp_project53  htp_project
49  htp_homepage54  htp_homepage
50 hosted·by55 hosted·by
51 Sourceforge56 Sourceforge
52 HTML·coding57 HTML·coding
53 [Powered_by58 [Powered_by_htp]
54 htp] 
55 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/59 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
56 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.60 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
57 ·····Maintainers:·Jochen_Hoenicke.61 ·····Maintainers:·Jochen_Hoenicke.
58 Copyright·©·1995–96·Jim·Nelson.62 Copyright·©·1995–96·Jim·Nelson.
59 Copyright·©·2001–2014·Jochen_Hoenicke.63 Copyright·©·2001–2014·Jochen_Hoenicke.
60 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according64 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
61 to·terms·described·in·the·License_section.65 according·to·terms·described·in·the·License_section.
62 last·updated·Sat·May·16,·201566 last·updated·Sat·May·16,·2015
790 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·Sat·Jan·06,·202423 ··last·updated·Sat·Feb·08,·2025
24 ·</body>24 ·</body>
25 </html>25 </html>
393 B
html2text {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 ···············******·Jochen·Hoenicke·******1 ···············******·Jochen·Hoenicke·******
2 Navigation·bar·[Photo]2 Navigation·bar·[Photo]
3 Main···········Room:··Bld.52·00-0203 Main···········Room:··Bld.52·00-020
4 Example········Phone:·+49·761·203-82434 Example········Phone:·+49·761·203-8243
5 ···············Fax:···+49·761·203-82425 ···············Fax:···+49·761·203-8242
6 ===============================================================================6 ===============================================================================
7 Copyright·by·Joe_Doe.7 Copyright·by·Joe_Doe.
8 last·updated·Sat·Jan·06,·20248 last·updated·Sat·Feb·08,·2025
643 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·Sat·Jan·06,·202412 last·updated·Sat·Feb·08,·2025
13 </body>13 </body>
303 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,·webmaster@domain.com,·last·updated·Sat·Jan·06,·20243 Copyright·by·Joe·Doe,·webmaster@domain.com,·last·updated·Sat·Feb·08,·2025
686 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·Sat·Jan·06,·202420 ··last·updated·Sat·Feb·08,·2025
21 ·</body>21 ·</body>
22 </html>22 </html>
338 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*****·Here·is·the·content·*****1 Navigation·bar·*****·Here·is·the·content·*****
2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 Example3 Example
4 ===============================================================================4 ===============================================================================
5 Copyright·by·Joe_Doe.5 Copyright·by·Joe_Doe.
6 last·updated·Sat·Jan·06,·20246 last·updated·Sat·Feb·08,·2025
684 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·Sat·Jan·06,·202420 ··last·updated·Sat·Feb·08,·2025
21 ·</body>21 ·</body>
22 </html>22 </html>
340 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*****·Here·are·the·contents·*****1 Navigation·bar·*****·Here·are·the·contents·*****
2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 Example3 Example
4 ===============================================================================4 ===============================================================================
5 Copyright·by·Joe_Doe.5 Copyright·by·Joe_Doe.
6 last·updated·Sat·Jan·06,·20246 last·updated·Sat·Feb·08,·2025
4.75 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 21 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 <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="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·block<br>
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> 
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> 
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> 
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·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</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> 
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> 
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>123 <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>
 124 <br>
128 </code></p>125 </code></p>
129 <h2>synopsis</h2>126 <h2>synopsis</h2>
130 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags127 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
131 created·by·<A·HREF="def.html">DEF</A>·and·<A128 created·by·<A·HREF="def.html">DEF</A>·and·<A
132 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF129 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
133 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by130 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
134 htp·until·it·is·reassigned.··</P>131 htp·until·it·is·reassigned.··</P>
2.23 KB
html2text {}
    
Offset 1, 25 lines modifiedOffset 1, 25 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·UNDEF·******2 ******·htp·on-line·reference·:·UNDEF·******
3 Table_of_Contents····*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
 4  Introduction···············<[[ref]]WHILE·[NOT]·conditional>
 5  License···················· · ·block
 6  Tutorial···················<[[ref]]/WHILE>
 7  Usage
 8  HTP·Tags···················*****·synopsis·*****
4  Introduction······· ·<[[ref]]set·sect-ctr="0"> 
5  License············ ·<[[ref]]blockdef·name="section"> 
6  Tutorial··········· · ·<[[ref]]inc·sect-ctr> 
7  Usage·············· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> 
8  HTP·Tags··········· · · ·<[[ref]]use·block·noexpand> 
9   ··ALTTEXT········ · ·<[[ref]]/block> 
10   ··BLOCK·········· ·<[[ref]]/blockdef> 
11   ··BLOCKDEF·······*****·synopsis·***** 
12   ··DEF············UNDEF·removes·a·metatag·definition.·Metatags·created·by9   ··ALTTEXT················UNDEF·removes·a·metatag·definition.·Metatags
13   ··FILE···········DEF·and·BLOCKDEF·can·be·removed·with·the·UNDEF·command. 
14   ··IF·············Once·removed,·the·metatag·will·no·longer·be·recognized·by10   ··BLOCK··················created·by·DEF·and·BLOCKDEF·can·be·removed·with
 11   ··BLOCKDEF···············the·UNDEF·command.·Once·removed,·the·metatag·will
 12   ··DEF····················no·longer·be·recognized·by·htp·until·it·is
15   ··INC············htp·until·it·is·reassigned.13   ··FILE···················reassigned.
16   ··IMG············Multiple·metatags·can·be·removed·by·placing·each·name·as14   ··IF·····················Multiple·metatags·can·be·removed·by·placing·each
17   ··IMAGEURL·······an·attribute.15   ··INC····················name·as·an·attribute.
 16   ··IMG
 17   ··IMAGEURL
18   ··OPT18   ··OPT
19   ··OUTPUT19   ··OUTPUT
20   ··QUOTE20   ··QUOTE
21   ··SET21   ··SET
22  [>]·UNDEF22  [>]·UNDEF
23   ··UNSET23   ··UNSET
24   ··USE,_$24   ··USE,_$
Offset 30, 23 lines modifiedOffset 30, 21 lines modified
30  Bugs30  Bugs
  
  
  
  
  
  
  
  
31  page_source31  page_source
32  htp_project32  htp_project
33  htp_homepage33  htp_homepage
34 hosted·by34 hosted·by
35 Sourceforge35 Sourceforge
36 HTML·coding 
37 [Powered_by_htp]36 HTML·coding·[Powered_by
 37 htp]
38 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/38 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
39 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.39 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
40 ·····Maintainers:·Jochen_Hoenicke.40 ·····Maintainers:·Jochen_Hoenicke.
41 Copyright·©·1995–96·Jim·Nelson.41 Copyright·©·1995–96·Jim·Nelson.
42 Copyright·©·2001–2014·Jochen_Hoenicke.42 Copyright·©·2001–2014·Jochen_Hoenicke.
43 Permission·to·reproduce·and·distribute·this·hypertext·document·granted43 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
44 according·to·terms·described·in·the·License_section.44 according·to·terms·described·in·the·License_section.
8.53 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 40 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="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·block<br>
121 <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">"header.hti"</span>&gt;</span><br> 
122 &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">"1"</span>&gt;</span><br> 
123 &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">${sect-ctr}</span></span>&gt;</span><br> 
124 &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">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
125 &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> 
126 &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>123 <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>
127 <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">"footer.hti"</span>&gt;</span><br>124 <br>
128 </code></p>125 </code></p>
129 <h2>synopsis</h2>126 <h2>synopsis</h2>
130 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.127 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
131 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.128 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
132 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or129 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
133 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The130 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
134 old·macro·definition·will·be·removed·automatically.)131 old·macro·definition·will·be·removed·automatically.)
135 <P>132 <P>
136 For·example:133 For·example:
137 ··<p><code>134 ··<p><code>
 135 &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>
 136 &nbsp;·&nbsp;·...<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>·<span·class="htp-attrib">stuff</span>&gt;</span><br>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>&gt;</span><br>
139 &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·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>138 &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>
141 <br> 
142 <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> 
143 <br> 
144 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> 
145 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> 
146 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> 
147 </code></p>139 </code></p>
148 <P>140 <P>
149 More·than·one·macro·may·be·removed·in·the·same·tag:141 More·than·one·macro·may·be·removed·in·the·same·tag:
150 ··<p><code>142 ··<p><code>
151 &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>143 &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>
152 &nbsp;·&nbsp;·...<br>144 &nbsp;·&nbsp;·...<br>
153 &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>145 &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>
3.32 KB
html2text {}
    
Offset 1, 45 lines modifiedOffset 1, 37 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·UNSET·******2 ******·htp·on-line·reference·:·UNSET·******
3 Table_of··········*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
 4  Introduction···············<[[ref]]WHILE·[NOT]·conditional>
 5  License···················· · ·block
 6  Tutorial···················<[[ref]]/WHILE>
 7  Usage
 8  HTP·Tags···················*****·synopsis·*****
 9   ··ALTTEXT················UNSET·removes·(or·deletes)·a·macro·and·it's
 10   ··BLOCK··················definition.·The·macro·is·subsequently·not
 11   ··BLOCKDEF···············available·for·use·in·the·pre-processed·files.
4 Contents··········<[[ref]]file·include="header.hti"> 
5  Introduction···· ·<[[ref]]set·sect-ctr="1"> 
6  License········· ·<[[ref]]while·sect-${sect-ctr}> 
7  Tutorial········ · ·<[[ref]]use·sect-${sect-ctr}> 
8  Usage··········· · ·<[[ref]]inc·sect-ctr> 
9  HTP·Tags········ ·<[[ref]]/while> 
10   ··ALTTEXT·····<[[ref]]file·include="footer.hti"> 
11   ··BLOCK·······*****·synopsis·***** 
12   ··BLOCKDEF····UNSET·removes·(or·deletes)·a·macro·and·it's·definition.·The 
13   ··DEF·········macro·is·subsequently·not·available·for·use·in·the·pre- 
14   ··FILE········processed·files.·(Note·that·simply·redefining·the·macro·with12   ··DEF····················(Note·that·simply·redefining·the·macro·with
15   ··IF··········another·SET·or·BLOCK·definition·with·the·same·name·is13   ··FILE···················another·SET·or·BLOCK·definition·with·the·same·name
16   ··INC·········acceptable.·The·old·macro·definition·will·be·removed14   ··IF·····················is·acceptable.·The·old·macro·definition·will·be
 15   ··INC····················removed·automatically.)
 16   ··IMG····················For·example:
 17   ··IMAGEURL··············· ·<[[ref]]WHILE·NOT·i="10">
17   ··IMG·········automatically.) 
18   ··IMAGEURL····For·example: 
19   ··OPT·········<[[ref]]block·stuff> 
20   ··OUTPUT······ ·<a·href=$email>send·email</a> 
21   ··QUOTE·······<[[ref]]/block> 
22   ··SET 
23   ··UNDEF·······<[[ref]]set·morestuff=$email> 
24  [>]·UNSET 
25   ··USE,_$······This·works:· · ·<[[ref]]use·stuff·email="jnelson@crl.com"> 
26   ··WHILE·······But·this·fails:·<[[ref]]use·email> 
27   ··<!---·······And·this·fails:·<[[ref]]use·morestuff 
28  History·········email="jnelson@crl.com"> 
29  Wish_list·······More·than·one·macro·may·be·removed·in·the·same·tag: 
30  Bugs············ ·<[[ref]]WHILE·sect-$i> 
31 ·················· · ·...18   ··OPT···················· · ·...
32 ·················· · ·<[[ref]]INC·i>19   ··OUTPUT················· · ·<[[ref]]INC·i>
33 ·················· ·<[[ref]]/WHILE>20   ··QUOTE·················· ·<[[ref]]/WHILE>
  
  
  
 21   ··SET····················More·than·one·macro·may·be·removed·in·the·same
 22   ··UNDEF··················tag:
 23  [>]·UNSET·················· ·<[[ref]]WHILE·sect-$i>
 24   ··USE,_$················· · ·...
 25   ··WHILE·················· · ·<[[ref]]INC·i>
 26   ··<!---·················· ·<[[ref]]/WHILE>
 27  History
 28  Wish_list
 29  Bugs
  
  
  
  
  
  
  
Offset 54, 16 lines modifiedOffset 46, 16 lines modified
  
  
54  page_source46  page_source
55  htp_project47  htp_project
56  htp_homepage48  htp_homepage
57 hosted·by49 hosted·by
58 Sourceforge50 Sourceforge
59 HTML·coding 
60 [Powered_by_htp]51 HTML·coding·[Powered_by
 52 htp]
61 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/53 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
62 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.54 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
63 ·····Maintainers:·Jochen_Hoenicke.55 ·····Maintainers:·Jochen_Hoenicke.
64 Copyright·©·1995–96·Jim·Nelson.56 Copyright·©·1995–96·Jim·Nelson.
65 Copyright·©·2001–2014·Jochen_Hoenicke.57 Copyright·©·2001–2014·Jochen_Hoenicke.
66 Permission·to·reproduce·and·distribute·this·hypertext·document·granted58 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
67 according·to·terms·described·in·the·License_section.59 according·to·terms·described·in·the·License_section.
14.5 KB
./usr/share/doc/htp/use.html
    
Offset 114, 18 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="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>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>
122 &nbsp;·&nbsp;·...<br>122 <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>
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>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>
 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·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</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>
 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>
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>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>
125 </code></p>128 </code></p>
126 <h2>synopsis</h2>129 <h2>synopsis</h2>
127 <strong>USE</strong>·will·expand·macros·that·have·been·previously130 <strong>USE</strong>·will·expand·macros·that·have·been·previously
128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A131 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other132 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
130 markup·tags.133 markup·tags.
131 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will134 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
Offset 135, 15 lines modifiedOffset 138, 15 lines modified
135 attribute·to·prevent·further·expansion.··</p>138 attribute·to·prevent·further·expansion.··</p>
136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros139 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
137 for·the·expanded·macro.··This·is·only·valid·for·<A140 for·the·expanded·macro.··This·is·only·valid·for·<A
138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A141 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For142 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
140 example:</p>143 example:</p>
141 ··<p><code>144 ··<p><code>
142 <font·size="-2">&nbsp;1.·</font>&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>145 <font·size="-2">&nbsp;1.·</font>&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>
143 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>146 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
144 <font·size="-2">&nbsp;3.·</font>&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>147 <font·size="-2">&nbsp;3.·</font>&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>
145 <font·size="-2">&nbsp;4.·</font>&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>148 <font·size="-2">&nbsp;4.·</font>&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>
146 </code></p>149 </code></p>
147 <P>150 <P>
148 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on151 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
149 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and152 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
Offset 157, 16 lines modifiedOffset 160, 18 lines modified
157 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or160 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or
158 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.161 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
159 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or162 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
160 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it163 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
161 replaces·the·macro·name·by·the·contents·of·the·macro·without·further164 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
162 processing·the·contents.165 processing·the·contents.
163 ··<p><code>166 ··<p><code>
164 <font·size="-2">&nbsp;1.·</font><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> 
165 <font·size="-2">&nbsp;2.·</font><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>167 <font·size="-2">&nbsp;1.·</font>&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>
 168 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
 169 <font·size="-2">&nbsp;3.·</font>&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>
 170 <font·size="-2">&nbsp;4.·</font>&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>
166 </code></p>171 </code></p>
167 <P>172 <P>
168 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and173 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
169 should·never·cause·confusion·with·surrounding·text.··If·no·curly174 should·never·cause·confusion·with·surrounding·text.··If·no·curly
170 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation175 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
171 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;176 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
172 and·&quot;_&quot;·that·follows·it.177 and·&quot;_&quot;·that·follows·it.
8.41 KB
html2text {}
    
Offset 1, 68 lines modifiedOffset 1, 76 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·USE,·$·******2 ******·htp·on-line·reference·:·USE,·$·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents····*****·syntax·*****
4 Contents······· ·<[[ref]]WHILE·NOT·i="10"> 
5  Introduction· · ·... 
6  License······ · ·<[[ref]]INC·i> 
7  Tutorial····· ·<[[ref]]/WHILE>4  Introduction······· · ·<[[ref]]unset·email_addr>
 5  License············<[[ref]]blockdef·name="section">
 6  Tutorial··········· · ·<[[ref]]inc·sect-ctr>
 7  Usage·············· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global>
 8  HTP·Tags··········· · · ·<[[ref]]use·block·noexpand>
 9   ··ALTTEXT········ · ·<[[ref]]/block>
 10   ··BLOCK·········· ·<[[ref]]/blockdef>
8  Usage········*****·synopsis·*****11   ··BLOCKDEF·······*****·synopsis·*****
9  HTP·Tags·····USE·will·expand·macros·that·have·been·previously·declared·with12   ··DEF············USE·will·expand·macros·that·have·been·previously·declared
10   ··ALTTEXT··either·SET·or·BLOCK.·USE·can·only·be·used·outside·of·other13   ··FILE···········with·either·SET·or·BLOCK.·USE·can·only·be·used·outside·of
11   ··BLOCK····markup·tags.14   ··IF·············other·markup·tags.
12   ··BLOCKDEF·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will15   ··INC············If·you·USE·a·block·macro·the·value·of·expanded·block
13   ··DEF······be·further·parsed·by·htp.·This·is·maybe·not·what·you·want,·for 
14   ··FILE·····example,·if·the·use·is·inside·a·block·which·expands·itself.·You 
15   ··IF·······can·use·the·noexpand·attribute·to·prevent·further·expansion.16   ··IMG············macros·will·be·further·parsed·by·htp.·This·is·maybe·not
 17   ··IMAGEURL·······what·you·want,·for·example,·if·the·use·is·inside·a·block
 18   ··OPT············which·expands·itself.·You·can·use·the·noexpand·attribute
 19   ··OUTPUT·········to·prevent·further·expansion.
16   ··INC······USE·will·accept·additional·parameters,·which·are·"local"·macros20   ··QUOTE··········USE·will·accept·additional·parameters,·which·are·"local"
17   ··IMG······for·the·expanded·macro.·This·is·only·valid·for·BLOCK·macros.21   ··SET············macros·for·the·expanded·macro.·This·is·only·valid·for
18   ··IMAGEURL·Macros·created·using·SET·cannot·have·parameters·passed.·For 
19   ··OPT······example: 
20   ··OUTPUT··· 1. ·<[[ref]]WHILE·sect-$i> 
21   ··QUOTE···· 2. · ·...22   ··UNDEF··········BLOCK·macros.·Macros·created·using·SET·cannot·have
 23   ··UNSET··········parameters·passed.·For·example:
 24  [>]·USE,_$········· 1. ·<[[ref]]WHILE·NOT·i="10">
 25   ··WHILE·········· 2. · ·...
22   ··SET······ 3. · ·<[[ref]]INC·i>26   ··<!---·········· 3. · ·<[[ref]]INC·i>
23   ··UNDEF···· 4. ·<[[ref]]/WHILE>27  History············ 4. ·<[[ref]]/WHILE>
24   ··UNSET····(See·below·for·a·description·of·the·'$'·operator.)·The·example28  Wish_list··········(See·below·for·a·description·of·the·'$'·operator.)·The
25  [>]·USE,_$···on·line·7·works·because·"stuff"·has·been·declared·as·a·block 
26   ··WHILE····macro,·and·the·tag·is·passing·the·"email"·macro·to·the·"stuff" 
27   ··<!---····macro.·Line·8·fails·because·the·"email"·macro·is·unavailable 
28  History······once·the·block·macro·is·completely·expanded,·and·cannot·be 
29  Wish_list····passed·to·a·SET·macro.29  Bugs···············example·on·line·7·works·because·"stuff"·has·been·declared
 30 ·····················as·a·block·macro,·and·the·tag·is·passing·the·"email"·macro
 31 ·····················to·the·"stuff"·macro.·Line·8·fails·because·the·"email"
 32 ·····················macro·is·unavailable·once·the·block·macro·is·completely
 33 ·····················expanded,·and·cannot·be·passed·to·a·SET·macro.
30  Bugs·········Note·that·the·"email"·macro·is·available·to·other·macros·or34 ·····················Note·that·the·"email"·macro·is·available·to·other·macros
31 ···············included·files·called·within·the·"stuff"·block.35 ·····················or·included·files·called·within·the·"stuff"·block.
32 ···············Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other·standard36 ·····················Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other
33 ···············HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The·'$'·should37 ·····················standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
34 ···············be·immediately·followed·by·the·macro·name,·which·may·or·may·not 
35 ···············be·surrounded·by·curly·braces.·When·htp·encounters·this·it 
36 ···············replaces·the·macro·name·by·the·contents·of·the·macro·without 
37 ···············further·processing·the·contents. 
38 ··············· 1.<a·href="mailto:$email">mailto·hyperlink</a> 
39 ··············· 2.<a·href="http://$domain/~${username}/">another·hyperlink</a>38 ·····················The·'$'·should·be·immediately·followed·by·the·macro·name,
 39 ·····················which·may·or·may·not·be·surrounded·by·curly·braces.·When
 40 ·····················htp·encounters·this·it·replaces·the·macro·name·by·the
 41 ·····················contents·of·the·macro·without·further·processing·the
 42 ·····················contents.
 43 ····················· 1. ·<[[ref]]WHILE·sect-$i>
 44 ····················· 2. · ·...
 45 ····················· 3. · ·<[[ref]]INC·i>
 46 ····················· 4. ·<[[ref]]/WHILE>
40 ···············The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust47 ·····················The·use·of·curly·braces·is·encouraged,·since·it·is·more
41 ···············and·should·never·cause·confusion·with·surrounding·text.·If·no48 ·····················robust·and·should·never·cause·confusion·with·surrounding
42 ···············curly·braces·are·used·the·macro·name·consists·either·of·a·single49 ·····················text.·If·no·curly·braces·are·used·the·macro·name·consists
43 ···············punctuation·character·or·the·maximum·sequence·of·letters,50 ·····················either·of·a·single·punctuation·character·or·the·maximum
44 ···············digits,·"-"·and·"_"·that·follows·it.51 ·····················sequence·of·letters,·digits,·"-"·and·"_"·that·follows·it.
45 ···············If·a·'$'·character·needs·to·be·kept·in·the·final·output,·and·not52 ·····················If·a·'$'·character·needs·to·be·kept·in·the·final·output,
46 ···············interpreted·as·a·macro·name,·it·must·be·escaped·by·another·'$'53 ·····················and·not·interpreted·as·a·macro·name,·it·must·be·escaped·by
47 ···············character.·This·is·especially·true·for·PHP·code.54 ·····················another·'$'·character.·This·is·especially·true·for·PHP
 55 ·····················code.
48 ···············If·the·'$'·macro·is·the·only·text·in·the·attribute's·value,·htp56 ·····················If·the·'$'·macro·is·the·only·text·in·the·attribute's
49 ···············will·automatically·surround·it·with·quotation·marks·to·prevent57 ·····················value,·htp·will·automatically·surround·it·with·quotation
50 ···············spaces·from·delimiting·the·text·as·if·it·were·additional·markup 
51 ···············attributes.·If·the·'$'·macro·is·surrounded·by·other·text·(as·in58 ·····················marks·to·prevent·spaces·from·delimiting·the·text·as·if·it
 59 ·····················were·additional·markup·attributes.·If·the·'$'·macro·is
 60 ·····················surrounded·by·other·text·(as·in·the·two·examples·above),
52 ···············the·two·examples·above),·quotation·marks·are·not·automatically61 ·····················quotation·marks·are·not·automatically·supplied.
53 ···············supplied. 
54 ···············Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and62 ·····················Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup
55 ···············can·be·nested.·This·is·valid:63 ·····················tag·and·can·be·nested.·This·is·valid:
56 ··············· · ·<${tagName}·${attrName}=${value$ctr}>64 ····················· · ·<${tagName}·${attrName}=${value$ctr}>
57 ···············The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined65 ·····················The·tagName·macro·can·contain·any·tag·name,·even·a·self-
58 ···············metatag.·Note·that·$ctr·is·expanded·before·the·valueX·macro·is66 ·····················defined·metatag.·Note·that·$ctr·is·expanded·before·the
59 ···············expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand 
60 ···············value1.67 ·····················valueX·macro·is·expanded,·so·assuming·that·ctr·was·set·to
 68 ·····················1·it·will·expand·value1.
  
  
  
  
  
  
  
Offset 81, 16 lines modifiedOffset 89, 15 lines modified
  
81  page_source89  page_source
82  htp_project90  htp_project
83  htp_homepage91  htp_homepage
84 hosted·by92 hosted·by
85 Sourceforge93 Sourceforge
86 HTML·coding94 HTML·coding
87 [Powered_by95 [Powered_by_htp]
88 htp] 
89 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/96 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
90 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.97 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
91 ·····Maintainers:·Jochen_Hoenicke.98 ·····Maintainers:·Jochen_Hoenicke.
92 Copyright·©·1995–96·Jim·Nelson.99 Copyright·©·1995–96·Jim·Nelson.
93 Copyright·©·2001–2014·Jochen_Hoenicke.100 Copyright·©·2001–2014·Jochen_Hoenicke.
94 Permission·to·reproduce·and·distribute·this·hypertext·document·granted101 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
95 according·to·terms·described·in·the·License_section.102 according·to·terms·described·in·the·License_section.
9.07 KB
./usr/share/doc/htp/while.html
    
Offset 114, 21 lines modifiedOffset 114, 23 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="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">"header.hti"</span>&gt;</span><br> 
122 &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">"1"</span>&gt;</span><br> 
123 &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">${sect-ctr}</span></span>&gt;</span><br> 
124 &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">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
125 &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>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>
126 &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>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>
 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>
127 <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">"footer.hti"</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>
128 </code></p>130 </code></p>
129 <h2>synopsis</h2>131 <h2>synopsis</h2>
130 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.132 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
131 The·basic·form·is·shown·above.133 The·basic·form·is·shown·above.
132 <P>134 <P>
133 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.135 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
134 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.
Offset 137, 16 lines modifiedOffset 139, 18 lines modified
137 ··<p><code>139 ··<p><code>
138 &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>140 &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>
139 </code></p>141 </code></p>
140 <P>142 <P>
141 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·a143 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
142 macro's·existance:144 macro's·existance:
143 ··<p><code>145 ··<p><code>
144 <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> 
145 <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>146 &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>
 147 &nbsp;·&nbsp;·...<br>
 148 &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>
 149 &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>
146 </code></p>150 </code></p>
147 <P>151 <P>
148 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the152 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
149 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the153 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
150 WHILE·tag·it·is·also·reevaluated·on·each·iteration.154 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
151 <P>155 <P>
152 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.156 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
3.76 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 42 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·WHILE·******2 ******·htp·on-line·reference·:·WHILE·******
3 Table_of_Contents·······*****·syntax·*****3 Table_of··········*****·syntax·*****
4  Introduction··········<[[ref]]file·include="header.hti"> 
5  License··············· ·<[[ref]]set·sect-ctr="1"> 
6  Tutorial·············· ·<[[ref]]while·sect-${sect-ctr}> 
7  Usage················· · ·<[[ref]]use·sect-${sect-ctr}> 
8  HTP·Tags·············· · ·<[[ref]]inc·sect-ctr> 
9   ··ALTTEXT··········· ·<[[ref]]/while> 
10   ··BLOCK·············<[[ref]]file·include="footer.hti">4 Contents··········<[[ref]]block·stuff>
 5  Introduction···· ·<a·href=$email>send·email</a>
 6  License·········<[[ref]]/block>
 7  Tutorial
 8  Usage···········<[[ref]]set·morestuff=$email>
 9  HTP·Tags
 10   ··ALTTEXT·····This·works:· · ·<[[ref]]use·stuff·email="jnelson@crl.com">
 11   ··BLOCK·······But·this·fails:·<[[ref]]use·email>
 12   ··BLOCKDEF····And·this·fails:·<[[ref]]use·morestuff
 13   ··DEF·········email="jnelson@crl.com">
11   ··BLOCKDEF··········*****·synopsis·*****14   ··FILE········*****·synopsis·*****
12   ··DEF···············WHILE·is·the·building·block·for·repeated15   ··IF··········WHILE·is·the·building·block·for·repeated·processing.·The
13   ··FILE··············processing.·The·basic·form·is·shown·above.16   ··INC·········basic·form·is·shown·above.
14   ··IF················"Conditional"·is·either·a·"compare"·or·"is·defined"17   ··IMG·········"Conditional"·is·either·a·"compare"·or·"is·defined"
15   ··INC···············operation.·A·compare·operator·is·a·test·of·the18   ··IMAGEURL····operation.·A·compare·operator·is·a·test·of·the·value·of·a
16   ··IMG···············value·of·a·macro·against·a·literal·string.·If·the 
17   ··IMAGEURL··········NOT·tag·is·present·in·the·WHILE·markup,·the 
18   ··OPT···············evaluation·of·the·conditional·is·reversed:19   ··OPT·········macro·against·a·literal·string.·If·the·NOT·tag·is·present·in
 20   ··OUTPUT······the·WHILE·markup,·the·evaluation·of·the·conditional·is
 21   ··QUOTE·······reversed:
19   ··OUTPUT············ · ·<[[ref]]unset·email_addr·home_url·login_name>22   ··SET········· · ·<[[ref]]unset·email_addr·home_url·login_name>
20   ··QUOTE·············Just·as·with·[[ref]]IF·you·can·also·check·for·a23   ··UNDEF·······Just·as·with·[[ref]]IF·you·can·also·check·for·a·macro's
21   ··SET···············macro's·existance: 
22   ··UNDEF·············<a·href="mailto:$email">mailto·hyperlink</a> 
23   ··UNSET·············<a·href="http://$domain/~${username}/">another 
24   ··USE,_$············hyperlink</a>24   ··UNSET·······existance:
 25   ··USE,_$······ ·<[[ref]]WHILE·sect-$i>
 26  [>]·WHILE······· · ·...
 27   ··<!---······· · ·<[[ref]]INC·i>
 28  History········· ·<[[ref]]/WHILE>
25  [>]·WHILE·············If·the·condition·is·true,·the·block·is·evaluated29  Wish_list·······If·the·condition·is·true,·the·block·is·evaluated·and
26   ··<!---·············and·afterwards·the·WHILE·tag·is·evaluated·again.·If30  Bugs············afterwards·the·WHILE·tag·is·evaluated·again.·If·the·'$'-
27  History···············the·'$'-operator·is·used·in·the·WHILE·tag·it·is 
28  Wish_list·············also·reevaluated·on·each·iteration.31 ··················operator·is·used·in·the·WHILE·tag·it·is·also·reevaluated·on
 32 ··················each·iteration.
29  Bugs··················A·loop·block·must·be·closed·with·the·/WHILE·tag.33 ··················A·loop·block·must·be·closed·with·the·/WHILE·tag.
  
  
  
  
  
  
  
  
Offset 49, 16 lines modifiedOffset 54, 16 lines modified
  
  
49  page_source54  page_source
50  htp_project55  htp_project
51  htp_homepage56  htp_homepage
52 hosted·by57 hosted·by
53 Sourceforge58 Sourceforge
54 HTML·coding·[Powered 
55 by_htp]59 HTML·coding
 60 [Powered_by_htp]
56 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/61 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
57 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.62 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
58 ·····Maintainers:·Jochen_Hoenicke.63 ·····Maintainers:·Jochen_Hoenicke.
59 Copyright·©·1995–96·Jim·Nelson.64 Copyright·©·1995–96·Jim·Nelson.
60 Copyright·©·2001–2014·Jochen_Hoenicke.65 Copyright·©·2001–2014·Jochen_Hoenicke.
61 Permission·to·reproduce·and·distribute·this·hypertext·document·granted66 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
62 according·to·terms·described·in·the·License_section.67 according·to·terms·described·in·the·License_section.