163 KB
/srv/reproducible-results/rbuild-debian/r-b-build.PxNJ6bDA/b1/htp_1.19-8_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.PxNJ6bDA/b2/htp_1.19-8_armhf.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·b74e597d68bdac944b68e80be574ca4c·68700·debug·optional·htp-dbgsym_1.19-8_armhf.deb1 ·b74e597d68bdac944b68e80be574ca4c·68700·debug·optional·htp-dbgsym_1.19-8_armhf.deb
2 ·b9bc0e2a31aff6e5a374d297b0855a45·115508·web·optional·htp_1.19-8_armhf.deb2 ·051d914f882b182336f941b4eff1fec6·115140·web·optional·htp_1.19-8_armhf.deb
163 KB
htp_1.19-8_armhf.deb
452 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·····3616·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···111704·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···111332·2020-06-14·23:21:19.000000·data.tar.xz
562 B
control.tar.xz
534 B
control.tar
464 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:·armhf3 Architecture:·armhf
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6375 Installed-Size:·626
6 Depends:·libc6·(>=·2.4)6 Depends:·libc6·(>=·2.4)
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
162 KB
data.tar.xz
162 KB
data.tar
14.3 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)····42560·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····42560·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)····10522·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)····10498·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)·····8850·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····9462·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)····10895·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····8100·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)····15492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····15070·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)····21495·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····17954·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 34, 43 lines modifiedOffset 34, 43 lines modified
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)····13032·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)····13032·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)····16409·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····15888·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)·····9852·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)·····9062·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)·····9443·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····9305·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)·····9160·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8662·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)·····8940·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····8760·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)····17181·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····13692·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)·····8471·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····7911·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)·····8130·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
Offset 79, 17 lines modifiedOffset 79, 17 lines modified
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)·····9063·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····7856·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)·····9962·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····8935·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 104, 21 lines modifiedOffset 104, 21 lines modified
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)·····8009·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)·····8967·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9701·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)····12255·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····13599·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)····10854·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····10388·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/
5.58 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 15 lines modifiedOffset 114, 19 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-[·...·truncated·by·diffoscope;·len:·270,·SHA:·3a16bbe889d0931b883d9c2972a456124c24eecdc2e25843fb491ce8b31c85e7·...·]</span><span·class="ebnf">]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">BLOCK</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</[·...·truncated·by·diffoscope;·len:·64,·SHA:·89d7be42af8f3d2839f01c7d80b063a80ab3db0d04f87dafd552937855835260·...·]</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>
 125 al]·[expand]><br>
122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>126 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>
123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>127 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
124 <br>128 <br>
125 </code></p>129 </code></p>
126 <h2>synopsis</h2>130 <h2>synopsis</h2>
127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A131 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.132 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
3.64 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 40 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·ALTTEXT·******2 ******·htp·on-line·reference·:·ALTTEXT·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4  Introduction···············<[[ref]]blockdef·name="tagname"·[option="option1 
5  License····················[option2·...]"·]·[global]·[expand]>4  Introduction···············<[[ref]]BLOCK·NAME="blockname"·[GLOBAL]·[EXPAND]>
 5  License····················text·block
 6  Tutorial···················<[[ref]]/BLOCK>
 7  Usage
 8  HTP·Tags···················al]·[expand]>
6  Tutorial··················· ·...·<[[ref]]use·block> ...9  [>]·ALTTEXT················ ·...·<[[ref]]use·block> ...
7  Usage······················<[[ref]]/blockdef>10   ··BLOCK··················<[[ref]]/blockdef>
8  HTP·Tags11   ··BLOCKDEF
9  [>]·ALTTEXT················*****·synopsis·*****12   ··DEF····················*****·synopsis·*****
10   ··BLOCK··················ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag13   ··FILE···················ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag
11   ··BLOCKDEF···············with·a·SRC·matching·the·ALTTEXT·NAME.·Since14   ··IF·····················with·a·SRC·matching·the·ALTTEXT·NAME.·Since
12   ··DEF····················relative·paths·can·be·used·to·point·to·the·same15   ··INC····················relative·paths·can·be·used·to·point·to·the·same
13   ··FILE···················image,·only·the·filename·is·considered·in·all16   ··IMG····················image,·only·the·filename·is·considered·in·all
14   ··IF·····················comparisons.17   ··IMAGEURL···············comparisons.
15   ··INC····················When·an·IMG·tag·with·a·matching·source·is18   ··OPT····················When·an·IMG·tag·with·a·matching·source·is
16   ··IMG····················encountered,·htp·will·add·an·ALT·attribute·only·if19   ··OUTPUT·················encountered,·htp·will·add·an·ALT·attribute·only·if
17   ··IMAGEURL···············one·is·not·already·present.·This·allows·for·ALT20   ··QUOTE··················one·is·not·already·present.·This·allows·for·ALT
18   ··OPT····················text·to·be·overridden·on·specific·images·and21   ··SET····················text·to·be·overridden·on·specific·images·and
19   ··OUTPUT·················default·text·on·all·others.22   ··UNDEF··················default·text·on·all·others.
20   ··QUOTE··················For·example:23   ··UNSET··················For·example:
21   ··SET···················· ·<[[ref]]blockdef·name="section"·option="title">24   ··USE,_$················· ·<[[ref]]blockdef·name="section"·option="title">
22   ··UNDEF·················· · <h1><[[ref]]use·title></h1>25   ··WHILE·················· · <h1><[[ref]]use·title></h1>
23   ··UNSET·················· · <p·class="section">26   ··<!---·················· · <p·class="section">
24   ··USE,_$················· · · <[[ref]]use·block>27  History···················· · · <[[ref]]use·block>
25   ··WHILE·················· · </p>28  Wish_list·················· · </p>
26   ··<!---·················· ·<[[ref]]/blockdef>29  Bugs······················· ·<[[ref]]/blockdef>
27  History 
28  Wish_list·················· ·<section·title="My·Section">30 ····························· ·<section·title="My·Section">
29  Bugs······················· · ·This·is·a·fancy·section.31 ····························· · ·This·is·a·fancy·section.
30 ····························· ·</section>32 ····························· ·</section>
31 ·····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute33 ·····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute
32 ·····························removes·any·ALT·mapping·for·this·image.·Successing34 ·····························removes·any·ALT·mapping·for·this·image.·Successing
33 ·····························IMG·tags·with·a·matching·SRC·name·are·not·changed.35 ·····························IMG·tags·with·a·matching·SRC·name·are·not·changed.
34 ·····························Since·this·is·useful·for·an·image·used·throughout36 ·····························Since·this·is·useful·for·an·image·used·throughout
35 ·····························a·set·of·documents,·ALTTEXT·is·most·appropriate·in37 ·····························a·set·of·documents,·ALTTEXT·is·most·appropriate·in
36 ·····························an·include_file·or·a·default_file.38 ·····························an·include_file·or·a·default_file.
6.16 KB
./usr/share/doc/htp/block.html
    
Offset 114, 18 lines modifiedOffset 114, 24 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &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>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br> 
123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
124 <br>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>
125 </code></p>131 </code></p>
126 <h2>synopsis</h2>132 <h2>synopsis</h2>
127 <P>133 <P>
128 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which134 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
129 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be135 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
130 multi-line·definitions.136 multi-line·definitions.
131 </P>137 </P>
3.22 KB
html2text {}
    
Offset 1, 32 lines modifiedOffset 1, 33 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·BLOCK,·/BLOCK·******2 ******·htp·on-line·reference·:·BLOCK,·/BLOCK·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction···············<[[ref]]blockdef·name="tagname"·[option="option1 
5  License····················[option2·...]"·]·[global]·[expand]> 
6  Tutorial··················· ·...·<[[ref]]use·block> ... 
7  Usage······················<[[ref]]/blockdef>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">
8  HTP·Tags9  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.
9   ··ALTTEXT················*****·synopsis·*****16   ··INC······*****·synopsis·*****
 17   ··IMG······BLOCK·and·/BLOCK·are·used·to·create·block·macros,·which·are·similar·in
 18   ··IMAGEURL·use·to·SET·macros,·but·can·be·multi-line·definitions.
 19   ··OPT······Any·text·and·formatting·may·be·set·inside·the·block.·You·can·use·any·htp
 20   ··OUTPUT···or·user·defined·metatag·including·FILE_INCLUDE.·The·metatags·won't·be
 21   ··QUOTE····expanded·before·the·block·is·USEd·except·if·you·give·the·EXPAND
 22   ··SET······parameter.
 23   ··UNDEF····The·block·macro·is·dereferenced·(expanded)·with·the·USE_tag_or_the_'$'
 24   ··UNSET····operator.·See·the·notes·on·the·USE·tag·on·how·to·pass·parameters·to·a
 25   ··USE,_$···block·macro.
10  [>]·BLOCK··················BLOCK·and·/BLOCK·are·used·to·create·block·macros, 
11   ··BLOCKDEF···············which·are·similar·in·use·to·SET·macros,·but·can·be 
12   ··DEF····················multi-line·definitions. 
13   ··FILE···················Any·text·and·formatting·may·be·set·inside·the 
14   ··IF·····················block.·You·can·use·any·htp·or·user·defined·metatag 
15   ··INC····················including·FILE_INCLUDE.·The·metatags·won't·be 
16   ··IMG····················expanded·before·the·block·is·USEd·except·if·you 
17   ··IMAGEURL···············give·the·EXPAND·parameter. 
18   ··OPT····················The·block·macro·is·dereferenced·(expanded)·with 
19   ··OUTPUT·················the·USE_tag_or_the_'$'_operator.·See·the·notes·on 
20   ··QUOTE··················the·USE·tag·on·how·to·pass·parameters·to·a·block 
21   ··SET····················macro. 
22   ··UNDEF 
23   ··UNSET 
24   ··USE,_$ 
25   ··WHILE26   ··WHILE
26   ··<!---27   ··<!---
27  History28  History
28  Wish_list29  Wish_list
29  Bugs30  Bugs
  
  
Offset 36, 22 lines modifiedOffset 37, 26 lines modified
  
  
  
  
  
  
  
  
  
  
36  page_source37  page_source
37  htp_project38  htp_project
38  htp_homepage39  htp_homepage
39 hosted·by40 hosted·by
40 Sourceforge41 Sourceforge
41 HTML·coding·[Powered_by42 HTML·coding
 43 [Powered_by
42 htp]44 htp]
43 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/45 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
44 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.46 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
45 ·····Maintainers:·Jochen_Hoenicke.47 ·····Maintainers:·Jochen_Hoenicke.
46 Copyright·©·1995–96·Jim·Nelson.48 Copyright·©·1995–96·Jim·Nelson.
47 Copyright·©·2001–2014·Jochen_Hoenicke.49 Copyright·©·2001–2014·Jochen_Hoenicke.
48 Permission·to·reproduce·and·distribute·this·hypertext·document·granted50 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to
49 according·to·terms·described·in·the·License_section.51 terms·described·in·the·License_section.
50 last·updated·Sat·May·16,·201552 last·updated·Sat·May·16,·2015
7.58 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 44 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:·46,·SHA:·0ff5d8d8937dfac2ca9aeec80933f1b3b39e9404952ecfbc793e1ae0e2883768·...·]&gt;</span><br>121 <span·class="comment">&lt;!---·comment·---&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 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
141 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
142 &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> 
143 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
144 &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> 
145 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
146 &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> 
147 <br> 
148 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
149 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
150 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br> 
151 </code></p>134 </code></p>
152 <p>135 <p>
153 All·block·metatags·have·the·implicit·option·<a136 All·block·metatags·have·the·implicit·option·<a
154 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents137 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
155 of·the·block·before·the·definition·is·expanded.138 of·the·block·before·the·definition·is·expanded.
156 </p>139 </p>
157 <p>140 <p>
3.65 KB
html2text {}
    
Offset 1, 52 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···············<!---·comment·--->
 5  License
 6  Tutorial···················*****·synopsis·*****
 7  Usage······················BLOCKDEF·creates·block·metatags,·which·is·a·fancy
 8  HTP·Tags···················way·of·saying·it·creates·new·block·tags.·A·block
 9   ··ALTTEXT················tag·is·a·tag·that·takes·a·whole·block·as
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·</10   ··BLOCK··················additional·parameter.·This·block·is·surrounded·by
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]]blockdef·name="section"·option="title"> 
24   ··UNSET···· · <h1><[[ref]]use·title></h1> 
25   ··USE,_$··· · <p·class="section"> 
26   ··WHILE···· · · <[[ref]]use·block> 
27   ··<!---···· · </p> 
28  History······ ·<[[ref]]/blockdef>11  [>]·BLOCKDEF···············<tagname>·and·</tagname>.·The·contents·of·this
 12   ··DEF····················block·are·automatically·stored·in·the·block·macro
 13   ··FILE···················named·BLOCK.
 14   ··IF·····················For·example:
 15   ··INC····················<!---·This·comment·doesn't·appear·in·the·HTML·file
 16   ··IMG····················--->
 17   ··IMAGEURL···············All·block·metatags·have·the·implicit·option
 18   ··OPT····················EXPAND,·which·tells·htp·to·expand·the·contents·of
 19   ··OUTPUT·················the·block·before·the·definition·is·expanded.
 20   ··QUOTE··················A·more·thorough·discussion·and·more·elaborate
 21   ··SET····················examples·are·discussed·in·the·metatag·section.
 22   ··UNDEF
 23   ··UNSET
 24   ··USE,_$
 25   ··WHILE
 26   ··<!---
 27  History
29  Wish_list28  Wish_list
 29  Bugs
30  Bugs········· ·<section·title="My·Section"> 
31 ··············· · ·This·is·a·fancy·section. 
32 ··············· ·</section> 
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. 
35 ···············A·more·thorough·discussion·and·more·elaborate·examples·are·discussed·in 
36 ···············the·metatag·section. 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
Offset 56, 18 lines modifiedOffset 41, 17 lines modified
  
  
56  page_source41  page_source
57  htp_project42  htp_project
58  htp_homepage43  htp_homepage
59 hosted·by44 hosted·by
60 Sourceforge45 Sourceforge
 46 HTML·coding·[Powered_by
61 HTML·coding 
62 [Powered_by 
63 htp]47 htp]
64 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/48 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
65 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.49 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
66 ·····Maintainers:·Jochen_Hoenicke.50 ·····Maintainers:·Jochen_Hoenicke.
67 Copyright·©·1995–96·Jim·Nelson.51 Copyright·©·1995–96·Jim·Nelson.
68 Copyright·©·2001–2014·Jochen_Hoenicke.52 Copyright·©·2001–2014·Jochen_Hoenicke.
69 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to53 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
70 terms·described·in·the·License_section.54 according·to·terms·described·in·the·License_section.
71 last·updated·Sat·May·16,·201555 last·updated·Sat·May·16,·2015
5.71 KB
./usr/share/doc/htp/comment.html
    
Offset 125, 19 lines modifiedOffset 125, 21 lines modified
125 <h2>synopsis</h2>125 <h2>synopsis</h2>
126 <p>126 <p>
127 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful127 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
128 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.128 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
129 Example:129 Example:
130 </p>130 </p>
131 ··<p><code>131 ··<p><code>
132 &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>132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br>
 133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>
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">a</span>&gt;</span><br> 
134 &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> 
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>134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
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">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>135 <br>
 136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>
 137 &nbsp;·&nbsp;·This·text·is·centered.<br>
 138 pand><br>
137 &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>139 &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>
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>140 &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="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>141 &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>
140 &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>142 &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>
141 &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>143 &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>
142 &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>144 &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>
143 &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>145 &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>
2.36 KB
html2text {}
    
Offset 6, 33 lines modifiedOffset 6, 35 lines modified
6  Introduction·[expand]>6  Introduction·[expand]>
7  License······<[[ref]]/def>7  License······<[[ref]]/def>
8  Tutorial8  Tutorial
9  Usage········*****·synopsis·*****9  Usage········*****·synopsis·*****
10  HTP·Tags·····This·is·a·simple·comment·that·is·not·included·in·the·output.·This·is·useful10  HTP·Tags·····This·is·a·simple·comment·that·is·not·included·in·the·output.·This·is·useful
11   ··ALTTEXT··when·commenting·metatags,·since·the·metatags·do·not·appear·the·output11   ··ALTTEXT··when·commenting·metatags,·since·the·metatags·do·not·appear·the·output
12   ··BLOCK····either.·Example:12   ··BLOCK····either.·Example:
13   ··BLOCKDEF· ·<[[ref]]set·time="0">13   ··BLOCKDEF· · ·<[[ref]]def·name="centered">
 14   ··DEF······ · ·<p·align=center>
14   ··DEF······ ·<[[ref]]block·name=a> 
15   ··FILE····· · ·a·is·expanded·at·time·<[[ref]]use·time>. 
16   ··IF······· ·<[[ref]]/block>15   ··FILE····· · ·<[[ref]]/def>
17   ··INC······ ·<[[ref]]block·name=b·expand>16   ··IF
 17   ··INC······ · ·<centered>
 18   ··IMG······ · ·This·text·is·centered.
 19   ··IMAGEURL·pand>
18   ··IMG······ · ·b·is·expanded·at·time·<[[ref]]use·time>.20   ··OPT······ · ·b·is·expanded·at·time·<[[ref]]use·time>.
19   ··IMAGEURL· ·<[[ref]]/block>21   ··OUTPUT··· ·<[[ref]]/block>
20   ··OPT······ ·<[[ref]]set·time="1">22   ··QUOTE···· ·<[[ref]]set·time="1">
21   ··OUTPUT··· ·<[[ref]]use·a>23   ··SET······ ·<[[ref]]use·a>
22   ··QUOTE···· ·<[[ref]]use·b>24   ··UNDEF···· ·<[[ref]]use·b>
23   ··SET······ ·contents·of·a:·<[[ref]]use·a·noexpand>25   ··UNSET···· ·contents·of·a:·<[[ref]]use·a·noexpand>
24   ··UNDEF···· ·contents·of·b:·<[[ref]]use·b·noexpand>26   ··USE,_$··· ·contents·of·b:·<[[ref]]use·b·noexpand>
25   ··UNSET···· ·<[[ref]]block·name=c·expand>27   ··WHILE···· ·<[[ref]]block·name=c·expand>
26   ··USE,_$··· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a>28  [>]·<!---···· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a>
27   ··WHILE···· ·<[[ref]]/block>29  History······ ·<[[ref]]/block>
28  [>]·<!---···· ·<[[ref]]block·name=d·expand>30  Wish_list···· ·<[[ref]]block·name=d·expand>
29  History······ · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>31  Bugs········· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>
30  Wish_list···· ·<[[ref]]/block>32 ··············· ·<[[ref]]/block>
31  Bugs········· ·<[[ref]]block·name=e>33 ··············· ·<[[ref]]block·name=e>
32 ··············· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>34 ··············· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>
33 ··············· ·<[[ref]]/block>35 ··············· ·<[[ref]]/block>
34 ··············· ·<[[ref]]set·time="2">36 ··············· ·<[[ref]]set·time="2">
35 ··············· ·<[[ref]]block·name=a>37 ··············· ·<[[ref]]block·name=a>
36 ··············· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>.38 ··············· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>.
37 ··············· ·<[[ref]]/block>39 ··············· ·<[[ref]]/block>
38 ··············· ·<[[ref]]use·c>40 ··············· ·<[[ref]]use·c>
12.0 KB
./usr/share/doc/htp/def.html
    
Offset 114, 17 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
123 <br> 
124 </code></p>122 </code></p>
125 <h2>synopsis</h2>123 <h2>synopsis</h2>
126 <p>124 <p>
127 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a125 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
128 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to126 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
129 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>127 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
130 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.128 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
Offset 181, 38 lines modifiedOffset 179, 16 lines modified
181 <P>179 <P>
182 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were180 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
183 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with181 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
184 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their182 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
185 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)183 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
186 </P>184 </P>
187 ··<p><code>185 ··<p><code>
 186 &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>
 187 &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>
188 &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> 
189 &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> 
190 &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> 
191 &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> 
192 &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> 
193 &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> 
194 &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> 
195 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
196 &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> 
197 &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> 
198 <br> 
199 &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> 
200 <br> 
201 &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> 
202 <br> 
203 &nbsp;·This·will·fail:<br> 
204 &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> 
205 <br> 
206 &nbsp;·Instead,·use·*·like·this:<br> 
207 &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> 
208 &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> 
209 &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> 
210 &nbsp;·&nbsp;·<br> 
211 &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> 
212 </code></p>188 </code></p>
213 <P>189 <P>
214 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is190 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
215 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are191 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
216 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the192 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
217 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a193 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
218 parameter·is·required,·simply·expand·it·without·first·checking.··When194 parameter·is·required,·simply·expand·it·without·first·checking.··When
5.33 KB
html2text {}
    
Offset 1, 41 lines modifiedOffset 1, 38 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·DEF,·/DEF·******2 ******·htp·on-line·reference·:·DEF,·/DEF·******
3 Table_of·······*****·syntax·*****3 Table_of·······*****·syntax·*****
 4 Contents·······<!---·This·comment·doesn't·appear·in·the·HTML·file·--->
 5  Introduction·*****·synopsis·*****
4 Contents·······<[[ref]]def·name="tagname"·[option="option1·[option2·...]"·]·[global] 
5  Introduction·[expand]> 
6  License······<[[ref]]/def> 
7  Tutorial 
8  Usage········*****·synopsis·***** 
9  HTP·Tags·····DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it·creates·new·tags.6  License······DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it·creates·new·tags.
10   ··ALTTEXT··The·mechanism·is·very·similar·to·BLOCK·macros,·except·that·the·USE·tag·is7  Tutorial·····The·mechanism·is·very·similar·to·BLOCK·macros,·except·that·the·USE·tag·is
11   ··BLOCK····not·used·to·expand·them.·Instead,·they·are·expanded·by·their·own·name.·For8  Usage········not·used·to·expand·them.·Instead,·they·are·expanded·by·their·own·name.·For
12   ··BLOCKDEF·example:9  HTP·Tags·····example:
13  [>]·DEF······ ·<[[ref]]set·time="0">10   ··ALTTEXT·· ·<[[ref]]set·time="0">
 11   ··BLOCK···· ·<[[ref]]block·name=a>
 12   ··BLOCKDEF· · ·a·is·expanded·at·time·<[[ref]]use·time>.
 13  [>]·DEF······ ·<[[ref]]/block>
14   ··FILE····· ·<[[ref]]block·name=a>14   ··FILE····· ·<[[ref]]block·name=b·expand>
15   ··IF······· · ·a·is·expanded·at·time·<[[ref]]use·time>.15   ··IF······· · ·b·is·expanded·at·time·<[[ref]]use·time>.
16   ··INC······ ·<[[ref]]/block>16   ··INC······ ·<[[ref]]/block>
17   ··IMG······ ·<[[ref]]block·name=b·expand> 
18   ··IMAGEURL· · ·b·is·expanded·at·time·<[[ref]]use·time>. 
19   ··OPT······ ·<[[ref]]/block> 
20   ··OUTPUT··· ·<[[ref]]set·time="1">17   ··IMG······ ·<[[ref]]set·time="1">
21   ··QUOTE···· ·<[[ref]]use·a>18   ··IMAGEURL· ·<[[ref]]use·a>
22   ··SET······ ·<[[ref]]use·b>19   ··OPT······ ·<[[ref]]use·b>
23   ··UNDEF···· ·contents·of·a:·<[[ref]]use·a·noexpand>20   ··OUTPUT··· ·contents·of·a:·<[[ref]]use·a·noexpand>
24   ··UNSET···· ·contents·of·b:·<[[ref]]use·b·noexpand>21   ··QUOTE···· ·contents·of·b:·<[[ref]]use·b·noexpand>
 22   ··SET······ ·<[[ref]]block·name=c·expand>
 23   ··UNDEF···· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a>
 24   ··UNSET···· ·<[[ref]]/block>
25   ··USE,_$··· ·<[[ref]]block·name=c·expand>25   ··USE,_$··· ·<[[ref]]block·name=d·expand>
26   ··WHILE···· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a>26   ··WHILE···· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>
27   ··<!---···· ·<[[ref]]/block>27   ··<!---···· ·<[[ref]]/block>
28  History······ ·<[[ref]]block·name=d·expand>28  History······ ·<[[ref]]block·name=e>
29  Wish_list···· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>29  Wish_list···· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>
30  Bugs········· ·<[[ref]]/block>30  Bugs········· ·<[[ref]]/block>
31 ··············· ·<[[ref]]block·name=e> 
32 ··············· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
33 ··············· ·<[[ref]]/block> 
34 ··············· ·<[[ref]]set·time="2">31 ··············· ·<[[ref]]set·time="2">
35 ··············· ·<[[ref]]block·name=a>32 ··············· ·<[[ref]]block·name=a>
36 ··············· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>.33 ··············· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>.
37 ··············· ·<[[ref]]/block>34 ··············· ·<[[ref]]/block>
38 ··············· ·<[[ref]]use·c>35 ··············· ·<[[ref]]use·c>
39 ··············· ·<[[ref]]use·d>36 ··············· ·<[[ref]]use·d>
40 ··············· ·<[[ref]]use·e>37 ··············· ·<[[ref]]use·e>
Offset 54, 38 lines modifiedOffset 51, 17 lines modified
54 ···············time>.51 ···············time>.
55 ···············You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for·matching·end52 ···············You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for·matching·end
56 ···············tag.·It·is·not·that·slower.53 ···············tag.·It·is·not·that·slower.
57 ···············Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were·a54 ···············Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were·a
58 ···············SET·macro.·Option·names·are·parameterized·with·the·OPTION·attribute.55 ···············SET·macro.·Option·names·are·parameterized·with·the·OPTION·attribute.
59 ···············Multiple·options·can·be·listed·by·separating·their·name·with·a·space·(which56 ···············Multiple·options·can·be·listed·by·separating·their·name·with·a·space·(which
60 ···············therefore·requires·they·be·surrounded·by·quotes.)57 ···············therefore·requires·they·be·surrounded·by·quotes.)
 58 ··············· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes
 59 ··············· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE
 60 ···············NAME="image.gif"·DATE>
61 ··············· ·<[[ref]]DEF·NAME="HEADERIMG"·OPTION="SRC·TITLE·SIZE"> 
62 ··············· · ·<[[ref]]IF·size> 
63 ··············· · · · ·<FONT·SIZE=${size}> 
64 ··············· · ·<[[ref]]/IF> 
65 ··············· · ·<[[ref]]IMG·SRC=pics/${src}> 
66 ··············· · ·<[[ref]]USE·title> 
67 ··············· · ·<[[ref]]IF·size> 
68 ··············· · · · ·</FONT> 
69 ··············· · ·<[[ref]]/IF> 
70 ··············· ·<[[ref]]/DEF> 
  
71 ··············· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title"> 
  
72 ··············· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title"> 
  
73 ··············· ·This·will·fail: 
74 ··············· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another·title"> 
  
75 ··············· ·Instead,·use·*·like·this: 
76 ··············· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*"> 
77 ··············· · ·<[[ref]]IMG·SRC="pics/${src}"·$*> 
78 ··············· ·<[[ref]]/DEF> 
79 ··············· ·  
80 ··············· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
81 ···············htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is·invoked.61 ···············htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is·invoked.
82 ···············htp·assumes·that·all·parameter·options·to·the·metatag·are·optional.·This·is62 ···············htp·assumes·that·all·parameter·options·to·the·metatag·are·optional.·This·is
83 ···············why·the·HEADERIMG·definition·uses·IF·to·verify·the·SIZE·option·is·defined63 ···············why·the·HEADERIMG·definition·uses·IF·to·verify·the·SIZE·option·is·defined
84 ···············before·expanding·it·in·the·block.·If·a·parameter·is·required,·simply·expand64 ···············before·expanding·it·in·the·block.·If·a·parameter·is·required,·simply·expand
85 ···············it·without·first·checking.·When·htp·expands·the·metatag·and·the·macro·is65 ···············it·without·first·checking.·When·htp·expands·the·metatag·and·the·macro·is
86 ···············not·defined,·it·will·halt·processing·and·complain·with·an·error·message·and66 ···············not·defined,·it·will·halt·processing·and·complain·with·an·error·message·and
87 ···············the·required·macro·name.·Normally·htp·will·not·allow·parameters·not·listed67 ···············the·required·macro·name.·Normally·htp·will·not·allow·parameters·not·listed
26.1 KB
./usr/share/doc/htp/file.html
    
Offset 114, 44 lines modifiedOffset 114, 50 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">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>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>
 128 ="logo.gif"·ALT="Our·logo"·TITLE="Another·title"><br>
129 <br>129 <br>
 130 &nbsp;·Instead,·use·*·like·this:<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">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 132 &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>
 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 &nbsp;·&nbsp;·<br>
 135 &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>
130 </code></p>136 </code></p>
131 <h2>synopsis</h2>137 <h2>synopsis</h2>
132 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.138 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
133 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of139 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
134 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be140 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
135 added·to·the·output·file·as·well.141 added·to·the·output·file·as·well.
136 <P>142 <P>
137 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the143 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
138 following·is·perfectly·acceptable:144 following·is·perfectly·acceptable:
139 ··<p><code>145 ··<p><code>
 146 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">DATE</span>&gt;</span><span·class="htp-tag">&lt;/EM&gt;</span><br>
140 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
141 <br> 
142 </code></p>147 </code></p>
143 <P>148 <P>
144 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>149 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
145 <P>150 <P>
146 To·include·information·about·another·file,·such·as·an·archive·file·or151 To·include·information·about·another·file,·such·as·an·archive·file·or
147 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the152 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
148 type·of·information·to·be·displayed:153 type·of·information·to·be·displayed:
149 ··<p><code>154 ··<p><code>
150 &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>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>
151 </code></p>157 </code></p>
152 <P>158 <P>
153 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the159 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
154 information·is·displayed.··In·anything·other·than·byte·format,·the·information160 information·is·displayed.··In·anything·other·than·byte·format,·the·information
155 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number161 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
156 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional162 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
157 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no163 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 180, 15 lines modifiedOffset 186, 15 lines modified
180 <P>186 <P>
181 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are187 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
182 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros188 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
183 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it189 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
184 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer190 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
185 available.··So:191 available.··So:
186 ··<p><code>192 ··<p><code>
187 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">path</span>=<span·cla[·...·truncated·by·diffoscope;·len:·76,·SHA:·d3287a5a1cee7129b0bd3cb7537119053c4458d186ba4073b98f74f19fce6663·...·]</span>&gt;</span><br>193 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>
188 <br>194 <br>
189 </code></p>195 </code></p>
190 <P>196 <P>
191 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included197 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
192 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the198 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
193 second·statement·will·fail.)199 second·statement·will·fail.)
194 <P>200 <P>
16.6 KB
html2text {}
    
Offset 1, 141 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]]file·execute="command-line" 
5  License····················(output="filename"·|·redirect)·[noerror]> 
6  Tutorial···················<[[ref]]file·include="includefilename"·[parameters 
7  Usage······················...]> 
8  HTP·Tags···················<[[ref]]file·name> 
9   ··ALTTEXT················<[[ref]]file·[·name="filename"·]·size[·= 
10   ··BLOCK··················(byte|kbyte|mbyte|gbyte)·]·[precision=n]> 
11   ··BLOCKDEF···············<[[ref]]file·[·name="filename"·]·time[·="format" 
12   ··DEF····················]> 
13  [>]·FILE···················<[[ref]]file·[·name="filename"·]·date[·="format" 
14   ··IF·····················]> 
15   ··INC····················<[[ref]]file·search="searchpath"> 
16   ··IMG····················<[[ref]]file·template="templatefilename">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·="logo.gif"·ALT="Our·logo"·TITLE="Another·title">
 13   ··DEF
 14  [>]·FILE····· ·Instead,·use·*·like·this:
 15   ··IF······· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*">
 16   ··INC······ · ·<[[ref]]IMG·SRC="pics/${src}"·$*>
 17   ··IMG······ ·<[[ref]]/DEF>
17   ··IMAGEURL18   ··IMAGEURL· · 
 19   ··OPT······ ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
18   ··OPT····················*****·synopsis·*****20   ··OUTPUT···*****·synopsis·*****
 21   ··QUOTE····FILE·has·several·optional·parameters·of·differing·purpose.·The·output
 22   ··SET······file's·name,·the·current·date·and·time,·and·the·contents·of·another·file
19   ··OUTPUT·················FILE·has·several·optional·parameters·of·differing 
20   ··QUOTE··················purpose.·The·output·file's·name,·the·current·date 
21   ··SET····················and·time,·and·the·contents·of·another·file·may·be 
22   ··UNDEF··················included.·Another·file's·time,·date,·or·size·may23   ··UNDEF····may·be·included.·Another·file's·time,·date,·or·size·may·be·added·to·the
23   ··UNSET··················be·added·to·the·output·file·as·well.24   ··UNSET····output·file·as·well.
24   ··USE,_$·················As·with·all·HTML,·these·tags·do·not·have·to·be·on25   ··USE,_$···As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
25   ··WHILE··················their·own·line,·so·the·following·is·perfectly 
26   ··<!---··················acceptable:26   ··WHILE····following·is·perfectly·acceptable:
 27   ··<!---···· · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[
 28  History······[ref]]FILE·DATE></EM>
 29  Wish_list····****·NAME,·TIME,·SIZE·****
 30  Bugs·········To·include·information·about·another·file,·such·as·an·archive·file·or
 31 ···············graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
 32 ···············type·of·information·to·be·displayed:
 33 ··············· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes
 34 ··············· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE
 35 ···············NAME="image.gif"·DATE>
 36 ···············For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
 37 ···············information·is·displayed.·In·anything·other·than·byte·format,·the
 38 ···············information·is·displayed·in·floating-point·notation.·The·amount·of
 39 ···············precision·(the·number·of·digits·to·the·right·of·the·decimal·point)·can·be
 40 ···············set·with·the·optional·PRECISION·attribute.·The·default·precision·is·zero
 41 ···············(0),·which·means·no·fractional·portion·is·displayed.
 42 ···············At·the·request·of·many·people,·the·TIME·and·DATE·attributes·will·now·accept
 43 ···············formatting·characters·that·are·passed·directly·into·the·ANSI·C·library
 44 ···············function.·This·allows·for·the·time·and·date·to·be·displayed·in·virtually
 45 ···············any·format.·Users·not·wishing·to·mess·around·with·this·should·stick·to·the
 46 ···············default·format,·which·is·used·if·no·formatting·value·is·specified·(i.e.,
 47 ···············just·using·05:04:11·PM).
 48 ···············Consult·any·C·programmer's·guide·discussing·the·standard·C·library·function
 49 ···············strftime()·for·information·on·how·to·build·a·format·string.·If·unsure,·ask
 50 ···············an·experienced·C·programmer·for·help,·or·consider·just·sticking·to·the
 51 ···············default·formatting.
 52 ···············****·INCLUDE·****
 53 ···············INCLUDE·files·are·pre-processed·as·any·other·file.·The·resulting·text·is
 54 ···············incorporated·into·the·HTML·output·as·if·the·file·had·been·copied·into·the
 55 ···············source·at·the·same·location·as·the·FILE·markup·tag.
 56 ···············htp·will·automatically·convert·slashes·and·backslashes·to·match·the
 57 ···············operating·system's·directory·separator.
 58 ···············Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
 59 ···············interpreted·as·macros·that·are·"passed"·to·the·included·file.·The·macros
 60 ···············are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
 61 ···············holds).·After·the·file·is·completely·included,·the·macros·are·no·longer
 62 ···············available.·So:
27  History····················<[[ref]]img·src="filename"·...>63 ···············<[[ref]]img·src="filename"·...>
28  Wish_list 
29  Bugs·······················****·NAME,·TIME,·SIZE·**** 
30 ·····························To·include·information·about·another·file,·such·as 
31 ·····························an·archive·file·or·graphic·image,·specify·its·name 
32 ·····························with·the·NAME·attribute·followed·by·the·type·of 
33 ·····························information·to·be·displayed: 
34 ····························· · ·<[[ref]]IF·name="Jim">...<[[ref]]/IF> 
35 ·····························For·file·size·information,·the·value·BYTE,·KBYTE, 
36 ·····························etc.·dictates·how·the·information·is·displayed.·In 
37 ·····························anything·other·than·byte·format,·the·information 
38 ·····························is·displayed·in·floating-point·notation.·The 
39 ·····························amount·of·precision·(the·number·of·digits·to·the 
40 ·····························right·of·the·decimal·point)·can·be·set·with·the 
41 ·····························optional·PRECISION·attribute.·The·default 
42 ·····························precision·is·zero·(0),·which·means·no·fractional 
43 ·····························portion·is·displayed. 
44 ·····························At·the·request·of·many·people,·the·TIME·and·DATE 
45 ·····························attributes·will·now·accept·formatting·characters 
46 ·····························that·are·passed·directly·into·the·ANSI·C·library 
47 ·····························function.·This·allows·for·the·time·and·date·to·be 
48 ·····························displayed·in·virtually·any·format.·Users·not 
49 ·····························wishing·to·mess·around·with·this·should·stick·to 
50 ·····························the·default·format,·which·is·used·if·no·formatting 
51 ·····························value·is·specified·(i.e.,·just·using·05:04:11·PM). 
52 ·····························Consult·any·C·programmer's·guide·discussing·the 
53 ·····························standard·C·library·function·strftime()·for 
54 ·····························information·on·how·to·build·a·format·string.·If 
55 ·····························unsure,·ask·an·experienced·C·programmer·for·help, 
56 ·····························or·consider·just·sticking·to·the·default 
57 ·····························formatting. 
58 ·····························****·INCLUDE·**** 
59 ·····························INCLUDE·files·are·pre-processed·as·any·other·file. 
60 ·····························The·resulting·text·is·incorporated·into·the·HTML 
61 ·····························output·as·if·the·file·had·been·copied·into·the 
62 ·····························source·at·the·same·location·as·the·FILE·markup 
63 ·····························tag. 
64 ·····························htp·will·automatically·convert·slashes·and 
65 ·····························backslashes·to·match·the·operating·system's 
66 ·····························directory·separator. 
67 ·····························Additional·parameters·can·be·set·in·the·FILE 
68 ·····························INCLUDE·tag,·which·are·interpreted·as·macros·that 
69 ·····························are·"passed"·to·the·included·file.·The·macros·are 
70 ·····························available·only·to·the·include·file·(and·any·macros 
71 ·····························or·included·files·it·holds).·After·the·file·is 
72 ·····························completely·included,·the·macros·are·no·longer 
73 ·····························available.·So: 
74 ·····························<[[ref]]imageurl·url="imageurl"·[·path="path/in/ 
Max diff block lines reached; 676/16968 bytes (3.98%) of diff not shown.
7.52 KB
./usr/share/doc/htp/if.html
    
Offset 114, 33 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 &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> 
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-attr[·...·truncated·by·diffoscope;·len:·264,·SHA:·0f48064ad5e66c601138b685832d2369e4f68b45834527e8f112f476e8e30e4a·...·]</span>&gt;</span><br>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="ht[·...·truncated·by·diffoscope;·len:·101,·SHA:·81a8210952243a1b74d3e50a9954c5fbe4510401b508765113442da17abc1c90·...·]</span>&gt;</span><br>
 122 <br>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A127 <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·literal128 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
129 string:129 string:
130 ··<p><code>130 ··<p><code>
131 &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> 
132 &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>131 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=[·...·truncated·by·diffoscope;·len:·148,·SHA:·0bd4001aa7116389675a913ec1cb37ee7a8b38f1a8069d3d55701a0ff2fe5674·...·]</span>&gt;</span><br>
 132 <br>
133 </code></p>133 </code></p>
134 <P>134 <P>
135 and·a·defined·operator·is·a·test·of·a·macro's·existance:135 and·a·defined·operator·is·a·test·of·a·macro's·existance:
136 <P>136 <P>
137 ··<p><code>137 ··<p><code>
 138 &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>
138 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="htp-attrib">]</span>&gt;</span><br> 
139 <br> 
140 </code></p>139 </code></p>
141 <P>140 <P>
142 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the141 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
143 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that142 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
144 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the143 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
145 ELSE·block·is·taken·if·it·is·present.··A·conditional·block144 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
146 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.145 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
3.58 KB
html2text {}
    
Offset 1, 35 lines modifiedOffset 1, 34 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_Contents············*****·syntax·*****
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·***** 
8  Usage········IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for·conditional 
9  HTP·Tags·····processing.·The·basic·form·is·shown·above. 
10   ··ALTTEXT··"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.·A·compare4  Introduction···············<[[ref]]imageurl·url="imageurl"·[·path="path/in/
 5  License····················local/filesystem"·]>
 6  Tutorial
 7  Usage······················*****·synopsis·*****
 8  HTP·Tags···················IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building
 9   ··ALTTEXT················blocks·for·conditional·processing.·The·basic·form
 10   ··BLOCK··················is·shown·above.
 11   ··BLOCKDEF···············"Conditional"·is·either·a·"compare"·or·"is
 12   ··DEF····················defined"·operation.·A·compare·operator·is·a·test
11   ··BLOCK····operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string:13   ··FILE···················of·the·value·of·a·macro·against·a·literal·string:
 14  [>]·IF·····················<[[ref]]INC·macroname1="increment1"
 15   ··INC····················[macroname2="increment2"·...·]·[GLOBAL]>
12   ··BLOCKDEF· · ·<[[ref]]FILE·INCLUDE="include.hti"·name="Jim·Nelson" 
13   ··DEF······email="jnelson@crl.com"> 
14   ··FILE····· · ·This·tag·will·fail:·<[[ref]]USE·name> 
15  [>]·IF·······and·a·defined·operator·is·a·test·of·a·macro's·existance: 
16   ··INC······<[[ref]]imageurl·url="imageurl"·[·path="path/in/local/filesystem"·]> 
17   ··IMG16   ··IMG
18   ··IMAGEURL·If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the 
19   ··OPT······conditional·is·reversed.·The·first·IF·or·ELSEIF·condition·that·evaluates 
20   ··OUTPUT···to·true·is·chosen.·If·none·of·the·conditions·is·true·the·ELSE·block·is 
21   ··QUOTE····taken·if·it·is·present.·A·conditional·block·must·be·closed·with·the·/IF 
22   ··SET······tag.·IF·tags·can·be·nested. 
23   ··UNDEF 
24   ··UNSET 
25   ··USE,_$ 
26   ··WHILE 
27   ··<!---17   ··IMAGEURL···············and·a·defined·operator·is·a·test·of·a·macro's
 18   ··OPT····················existance:
 19   ··OUTPUT················· · ·<[[ref]]INC·i="1"·j="-1">
 20   ··QUOTE··················If·the·NOT·tag·is·present·in·the·IF·markup,·the
 21   ··SET····················evaluation·of·the·conditional·is·reversed.·The
 22   ··UNDEF··················first·IF·or·ELSEIF·condition·that·evaluates·to
 23   ··UNSET··················true·is·chosen.·If·none·of·the·conditions·is·true
 24   ··USE,_$·················the·ELSE·block·is·taken·if·it·is·present.·A
 25   ··WHILE··················conditional·block·must·be·closed·with·the·/IF·tag.
 26   ··<!---··················IF·tags·can·be·nested.
28  History27  History
29  Wish_list28  Wish_list
30  Bugs29  Bugs
  
  
  
  
Offset 37, 23 lines modifiedOffset 36, 27 lines modified
  
  
  
  
  
  
  
  
  
  
  
  
37  page_source36  page_source
38  htp_project37  htp_project
39  htp_homepage38  htp_homepage
40 hosted·by39 hosted·by
41 Sourceforge40 Sourceforge
 41 HTML·coding·[Powered_by
42 HTML·coding 
43 [Powered_by 
44 htp]42 htp]
45 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/43 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
46 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.44 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
47 ·····Maintainers:·Jochen_Hoenicke.45 ·····Maintainers:·Jochen_Hoenicke.
48 Copyright·©·1995–96·Jim·Nelson.46 Copyright·©·1995–96·Jim·Nelson.
49 Copyright·©·2001–2014·Jochen_Hoenicke.47 Copyright·©·2001–2014·Jochen_Hoenicke.
50 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to48 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
51 terms·described·in·the·License_section.49 according·to·terms·described·in·the·License_section.
52 last·updated·Sat·May·16,·201550 last·updated·Sat·May·16,·2015
2.89 KB
./usr/share/doc/htp/imageurl.html
    
Offset 137, 16 lines modifiedOffset 137, 15 lines modified
137 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
138 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.
139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
140 looked·up·in·the·current·directory.</P>140 looked·up·in·the·current·directory.</P>
141 <P>141 <P>
142 For·example:</P>142 For·example:</P>
143 ··<p><code>143 ··<p><code>
 144 &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>
144 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br> 
145 <br> 
146 </code></p>145 </code></p>
147 <P>146 <P>
148 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as147 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
149 an·undefine,·and·is·removed.</P>148 an·undefine,·and·is·removed.</P>
150 <P>149 <P>
151 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout150 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
152 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an151 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
1.55 KB
html2text {}
    
Offset 20, 20 lines modifiedOffset 20, 18 lines modified
20   ··OUTPUT·················defined·imageurl·it·checks·(case-insensitive)·if20   ··OUTPUT·················defined·imageurl·it·checks·(case-insensitive)·if
21   ··QUOTE··················it·is·a·prefix·of·the·image's·SRC·attribute.·If·it21   ··QUOTE··················it·is·a·prefix·of·the·image's·SRC·attribute.·If·it
22   ··SET····················matches·this·prefix·is·replaced·by·the·given·PATH.22   ··SET····················matches·this·prefix·is·replaced·by·the·given·PATH.
23   ··UNDEF··················If·no·IMAGEURL·matches·the·SRC·is·considered·as23   ··UNDEF··················If·no·IMAGEURL·matches·the·SRC·is·considered·as
24   ··UNSET··················relative·link·and·looked·up·in·the·current24   ··UNSET··················relative·link·and·looked·up·in·the·current
25   ··USE,_$·················directory.25   ··USE,_$·················directory.
26   ··WHILE··················For·example:26   ··WHILE··················For·example:
 27   ··<!---·················· · ·<[[ref]]INC·i="1"·j="-1">
27   ··<!---··················<[[ref]]INC·macroname1="increment1" 
28  History····················[macroname2="increment2"·...·]·[GLOBAL]> 
29  Wish_list 
30  Bugs·······················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH28  History····················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
31 ·····························attribute,·it·is·treated·as·an·undefine,·and·is29  Wish_list··················attribute,·it·is·treated·as·an·undefine,·and·is
32 ·····························removed.30  Bugs·······················removed.
33 ·····························Since·you·usually·need·the·url·mapping·for·a31 ·····························Since·you·usually·need·the·url·mapping·for·a
34 ·····························number·of·images·used·throughout·a·set·of32 ·····························number·of·images·used·throughout·a·set·of
35 ·····························documents,·IMAGEURL·is·most·appropriately·put·into33 ·····························documents,·IMAGEURL·is·most·appropriately·put·into
36 ·····························an·include_file·or·the·htp.def·file.34 ·····························an·include_file·or·the·htp.def·file.
37 ·····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also35 ·····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
38 ·····························(semi-)automatically·add·an·ALT_text·attribute·to36 ·····························(semi-)automatically·add·an·ALT_text·attribute·to
39 ·····························IMG·tags.37 ·····························IMG·tags.
5.84 KB
./usr/share/doc/htp/img.html
    
Offset 114, 16 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;·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> 
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-attr[·...·truncated·by·diffoscope;·len:·264,·SHA:·0f48064ad5e66c601138b685832d2369e4f68b45834527e8f112f476e8e30e4a·...·]</span>&gt;</span><br>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="ht[·...·truncated·by·diffoscope;·len:·101,·SHA:·81a8210952243a1b74d3e50a9954c5fbe4510401b508765113442da17abc1c90·...·]</span>&gt;</span><br>
 122 <br>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified125 <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·advantage126 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·especially127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
128 useful·if·the·image·may·change·frequently.·</P>128 useful·if·the·image·may·change·frequently.·</P>
129 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup129 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
3.99 KB
html2text {}
    
Offset 1, 38 lines modifiedOffset 1, 46 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·IMG·******2 ******·htp·on-line·reference·:·IMG·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
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·***** 
8  Usage········img·is·a·standard·HTML·tag.·htp·can·add·the·specified·image's·width·and 
9  HTP·Tags·····height·to·the·tag·automatically.·This·has·the·advantage·of·not·having·to 
10   ··ALTTEXT··determine·each·image's·size·manually,·which·is·especially·useful·if·the 
11   ··BLOCK····image·may·change·frequently. 
12   ··BLOCKDEF·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup·attributes.·If 
13   ··DEF······htp·detects·these·attributes·are·already·present·in·the·tag,·it·will·not 
14   ··FILE·····modify·the·values.·If·htp·cannot·find·the·image·file,·it·will·issue·a 
15   ··IF·······warning·but·not·halt·processing. 
16   ··INC······At·this·time,·GIF·(Graphic·Interchange·Format),·PNG·(Portable·Network 
17  [>]·IMG······Graphics),·and·JFIF·(JPEG·File·Interchange·Format)·are·supported. 
18   ··IMAGEURL·The·IMGXY_and_NOIMGXY·options·control·whether·or·not·htp·actually·adds 
19   ··OPT······this·information·as·it·executes. 
20   ··OUTPUT···Since·htp·is·able·to·lookup·files·only·in·the·local·filesystem,·the 
21   ··QUOTE····IMAGEURL·tag·may·be·used·to·map·URLs·to·local·files. 
22   ··SET······htp·can·also·add·default·ALT·text·to·IMG·tags·using·ALTTEXT. 
23   ··UNDEF 
24   ··UNSET 
25   ··USE,_$ 
26   ··WHILE 
27   ··<!--- 
28  History 
29  Wish_list 
30  Bugs4  Introduction···············<[[ref]]imageurl·url="imageurl"·[·path="path/in/
 5  License····················local/filesystem"·]>
 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.
 20   ··QUOTE··················At·this·time,·GIF·(Graphic·Interchange·Format),
 21   ··SET····················PNG·(Portable·Network·Graphics),·and·JFIF·(JPEG
 22   ··UNDEF··················File·Interchange·Format)·are·supported.
 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 42, 18 lines modifiedOffset 50, 17 lines modified
  
  
42  page_source50  page_source
43  htp_project51  htp_project
44  htp_homepage52  htp_homepage
45 hosted·by53 hosted·by
46 Sourceforge54 Sourceforge
 55 HTML·coding·[Powered_by
47 HTML·coding 
48 [Powered_by 
49 htp]56 htp]
50 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/57 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
51 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.58 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
52 ·····Maintainers:·Jochen_Hoenicke.59 ·····Maintainers:·Jochen_Hoenicke.
53 Copyright·©·1995–96·Jim·Nelson.60 Copyright·©·1995–96·Jim·Nelson.
54 Copyright·©·2001–2014·Jochen_Hoenicke.61 Copyright·©·2001–2014·Jochen_Hoenicke.
55 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to62 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
56 terms·described·in·the·License_section.63 according·to·terms·described·in·the·License_section.
57 last·updated·Sat·May·16,·201564 last·updated·Sat·May·16,·2015
4.83 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 16 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <br> 
123 </code></p>122 </code></p>
124 <h2>synopsis</h2>123 <h2>synopsis</h2>
125 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a124 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
126 variable·or·for·variable·addition.··The·basic·form·is·shown·above.125 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
127 <P>126 <P>
128 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a127 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
129 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The128 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
3.47 KB
html2text {}
    
Offset 1, 39 lines modifiedOffset 1, 37 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_Contents············*****·syntax·*****
 4  Introduction··············· · ·<[[ref]]IF·name>...<[[ref]]/IF>
4  Introduction···············<[[ref]]INC·macroname1="increment1" 
5  License····················[macroname2="increment2"·...·]·[GLOBAL]> 
6  Tutorial 
7  Usage······················*****·synopsis·*****5  License····················*****·synopsis·*****
8  HTP·Tags···················The·INC·can·be·used·for·incrementing/decrementing6  Tutorial···················The·INC·can·be·used·for·incrementing/decrementing
9   ··ALTTEXT················a·variable·or·for·variable·addition.·The·basic7  Usage······················a·variable·or·for·variable·addition.·The·basic
10   ··BLOCK··················form·is·shown·above.8  HTP·Tags···················form·is·shown·above.
11   ··BLOCKDEF···············The·"increment"·is·anything·that·evaluates·to·a9   ··ALTTEXT················The·"increment"·is·anything·that·evaluates·to·a
12   ··DEF····················integer.·It·can·be·a·literal·string·or·a·macro10   ··BLOCK··················integer.·It·can·be·a·literal·string·or·a·macro
13   ··FILE···················preceeded·by·the·'$'-operator.·The·macroname·must11   ··BLOCKDEF···············preceeded·by·the·'$'-operator.·The·macroname·must
14   ··IF·····················be·the·name·of·a·defined·macro·that·contains·an12   ··DEF····················be·the·name·of·a·defined·macro·that·contains·an
15  [>]·INC····················integer.·If·the·increment·is·ommitted·it·defaults13   ··FILE···················integer.·If·the·increment·is·ommitted·it·defaults
16   ··IMG····················to·1.·The·effect·of·this·operation·is·that·the14   ··IF·····················to·1.·The·effect·of·this·operation·is·that·the
17   ··IMAGEURL···············macro·is·redefined·to·contain·the·sum·of·its15  [>]·INC····················macro·is·redefined·to·contain·the·sum·of·its
18   ··OPT····················previous·value·and·its·increment.16   ··IMG····················previous·value·and·its·increment.
19   ··OUTPUT·················To·increment·or·decrement·a·variable·you·can·use17   ··IMAGEURL···············To·increment·or·decrement·a·variable·you·can·use
20   ··QUOTE··················this·form:18   ··OPT····················this·form:
21   ··SET···················· · ·<[[ref]]INC·i="1"·j="-1">19   ··OUTPUT················· · ·<[[ref]]INC·i="1"·j="-1">
22   ··UNDEF··················Note·that·INC·doesn't·check·if·the·strings·really20   ··QUOTE··················Note·that·INC·doesn't·check·if·the·strings·really
23   ··UNSET··················denote·integers.·It·may·give·weired·results·when21   ··SET····················denote·integers.·It·may·give·weired·results·when
24   ··USE,_$·················used·on·arbitrary·strings.·The·integer·values·are22   ··UNDEF··················used·on·arbitrary·strings.·The·integer·values·are
25   ··WHILE··················limited·to·the·range·-2^31..2^31.23   ··UNSET··················limited·to·the·range·-2^31..2^31.
26   ··<!---··················Note·further·that·htp·wasn't·designed·to·do24   ··USE,_$·················Note·further·that·htp·wasn't·designed·to·do
27  History····················extensive·calculations.·The·INC·tag·is·useful·in25   ··WHILE··················extensive·calculations.·The·INC·tag·is·useful·in
28  Wish_list··················conjunction·with·WHILE·to·iterate·over·the·defined26   ··<!---··················conjunction·with·WHILE·to·iterate·over·the·defined
29  Bugs·······················blocks.27  History····················blocks.
  
 28  Wish_list
 29  Bugs
  
  
  
  
  
  
  
23.1 KB
./usr/share/doc/htp/metatag.html
    
Offset 113, 46 lines modifiedOffset 113, 36 lines modified
113 file</a>.··</p>113 file</a>.··</p>
114 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing114 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
115 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·htp115 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
116 encounters·a·blockdef·tag·it·will·automatically·search·for·the116 encounters·a·blockdef·tag·it·will·automatically·search·for·the
117 matching·closing·tag·and·put·everything·between·these·tags·in·a·block117 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
118 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>118 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
119 ··<p><code>119 ··<p><code>
 120 <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>
120 <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">"bolditalic"</span>&gt;</span><br> 
121 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br> 
122 <font·size="-2">&nbsp;3.·</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">block</span>&gt;</span><br> 
123 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
124 <font·size="-2">&nbsp;5.·</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> 
125 <font·size="-2">&nbsp;6.·</font><br>121 <font·size="-2">&nbsp;2.·</font><br>
126 <font·size="-2">&nbsp;7.·</font>&nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br> 
127 </code></p>122 </code></p>
128 <h2>Using·parameters</h2>123 <h2>Using·parameters</h2>
129 <p>·More·sophisticated·tags·accept·parameters.··The124 <p>·More·sophisticated·tags·accept·parameters.··The
130 <code>option</code>·parameter·lets·multiple·metatag·parameters·be125 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
131 named·and·expanded·inside·the·<code>def</code>·or126 named·and·expanded·inside·the·<code>def</code>·or
132 <code>blockdef</code>·block:·</p>127 <code>blockdef</code>·block:·</p>
133 ··<p><code>128 ··<p><code>
134 <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>129 <font·size="-2">&nbsp;1.·</font><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>
 130 <font·size="-2">&nbsp;2.·</font><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>
135 <font·size="-2">&nbsp;2.·</font><br>131 <font·size="-2">&nbsp;3.·</font><br>
136 </code></p>132 </code></p>
137 <h2>Saving·blocks·for·later</h2>133 <h2>Saving·blocks·for·later</h2>
138 <p>When·you·are·using·templates,·the·html·should·only·be·written·by134 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
139 the·template·file.··The·normal·htp·files·should·just·define·macros135 the·template·file.··The·normal·htp·files·should·just·define·macros
140 that·are·used·later·in·the·template.··So·you·may·want·to·write·block136 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
141 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this137 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
142 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to138 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
143 do·this:</p>139 do·this:</p>
144 ··<p><code>140 ··<p><code>
 141 <font·size="-2">&nbsp;1.·</font>&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>
145 <font·size="-2">&nbsp;1.·</font>&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> 
146 <font·size="-2">&nbsp;2.·</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>&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">sect-ctr</span>&gt;</span><br> 
148 <font·size="-2">&nbsp;4.·</font>&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> 
149 <font·size="-2">&nbsp;5.·</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>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
150 <font·size="-2">&nbsp;6.·</font>&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> 
151 <font·size="-2">&nbsp;7.·</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> 
152 </code></p>142 </code></p>
153 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a143 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
154 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is144 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
155 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is145 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
156 build·from·this·counter.··So·the·first·section·is·stored·in·block146 build·from·this·counter.··So·the·first·section·is·stored·in·block
157 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>·flag147 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
158 in·line·4·tells·htp·that·these·macros·should·be·defined·globally148 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 171, 21 lines modifiedOffset 161, 15 lines modified
171 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be161 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
172 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the162 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
173 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you163 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
174 use·expand·in·a·block·around·it.</p>164 use·expand·in·a·block·around·it.</p>
175 <p>To·close·this·example·we·show·how·to·expand·the165 <p>To·close·this·example·we·show·how·to·expand·the
176 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>166 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
177 ··<p><code>167 ··<p><code>
 168 <font·size="-2">&nbsp;1.·</font>&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>
178 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br> 
179 <font·size="-2">&nbsp;2.·</font>&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> 
180 <font·size="-2">&nbsp;3.·</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">${sect-ctr}</span></span>&gt;</span><br> 
181 <font·size="-2">&nbsp;4.·</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">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
182 <font·size="-2">&nbsp;5.·</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">sect-ctr</span>&gt;</span><br> 
183 <font·size="-2">&nbsp;6.·</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> 
184 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br> 
185 </code></p>169 </code></p>
186 <p>170 <p>
187 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·whether171 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
188 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is172 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
189 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards173 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
190 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This174 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
191 repeats·until·sect-${sect-ctr}·is·not·defined.175 repeats·until·sect-${sect-ctr}·is·not·defined.
14.2 KB
html2text {}
    
Offset 1, 133 lines modifiedOffset 1, 122 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·you4  Introduction··········Metatags·allow·for·defining·your·own·HTML-like·tags.
 5  License···············When·you·define·a·metatag·you·have·to·provide·the·HTML
 6  Tutorial··············code·which·it·abbreviates.·In·fact·metatags·are·just
 7   ··Macros············like·block·macros,·but·they·have·a·nicer·syntax.·With
 8   ··Including·········metatags·you·can·expand·htp's·functionality.
5  Introduction··define·a·metatag·you·have·to·provide·the·HTML·code·which·it 
6  License·······abbreviates.·In·fact·metatags·are·just·like·block·macros,·but 
7  Tutorial······they·have·a·nicer·syntax.·With·metatags·you·can·expand·htp's 
8   ··Macros····functionality. 
9   ··Including·Metatags·are·defined·with·the·[[ref]]def·and·[[ref]]blockdef 
10   ··Templates·tags·and·undefined·with·the·[[ref]]undef·tag.9   ··Templates·········Metatags·are·defined·with·the·[[ref]]def·and·[
 10   ··Files·············[ref]]blockdef·tags·and·undefined·with·the·[[ref]]undef
 11  [>]·Metatags··········tag.
11   ··Files·····As·an·example·we·show·how·to·define·a·tag·that·builds·a·fancy12  Usage·················As·an·example·we·show·how·to·define·a·tag·that·builds·a
12  [>]·Metatags··horizontal·rule·out·of·several·images.13  HTP_Tags··············fancy·horizontal·rule·out·of·several·images.
13  Usage········· 1.<[[ref]]OPT·(IMGXY|NOIMGXY)>14  History··············· 1.<[[ref]]OPT·(IMGXY|NOIMGXY)>
14  HTP_Tags······ 2.<[[ref]]OPT·(QUIET|VERBOSE)>15  Wish_list············· 2.<[[ref]]OPT·(QUIET|VERBOSE)>
15  History······· 3.<[[ref]]OPT·(DEPEND|NODEPEND)>16  Bugs·················· 3.<[[ref]]OPT·(DEPEND|NODEPEND)>
16  Wish_list····· 4.<[[ref]]OPT·(PRECIOUS|NOPRECIOUS)>17 ························ 4.<[[ref]]OPT·(PRECIOUS|NOPRECIOUS)>
17  Bugs·········· 5.<[[ref]]OPT·(CONDENSE|SEMICONDENSE|NOCONDENSE)>18 ························ 5.<[[ref]]OPT·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
18 ················ 6.<[[ref]]OPT·DELIM=(HTML|SQUARE|CURLY)>19 ························ 6.<[[ref]]OPT·DELIM=(HTML|SQUARE|CURLY)>
19 ················ 7.<[[ref]]OPT·(XML|XML=FALSE)>20 ························ 7.<[[ref]]OPT·(XML|XML=FALSE)>
20 ················ 8.21 ························ 8.
21 ················In·line·1·of·the·above·example·a·new·tag·named·imghr·is22 ························In·line·1·of·the·above·example·a·new·tag·named·imghr·is
22 ················defined.·The·html·code·which·implements·this·rule·is·following23 ························defined.·The·html·code·which·implements·this·rule·is
23 ················in·lines·2-8.·between·the·[[ref]]def_and_/def·tags.·You·don't24 ························following·in·lines·2-8.·between·the·[[ref]]def_and_/def
24 ················have·to·understand·this·html·code,·but·you·should·understand 
25 ················that·this·is·just·pure·html·to·draw·the·fancy·rule.·Every·time25 ························tags.·You·don't·have·to·understand·this·html·code,·but
 26 ························you·should·understand·that·this·is·just·pure·html·to
 27 ························draw·the·fancy·rule.·Every·time·you·write·<imghr>·as·in
26 ················you·write·<imghr>·as·in·line·12·htp·will·replace·this·tag·with28 ························line·12·htp·will·replace·this·tag·with·the
27 ················the·corresponding·html·code.·To·make·metatags·available·to·all29 ························corresponding·html·code.·To·make·metatags·available·to
28 ················htp·documents·in·your·project,·place·them·in·a·common·[30 ························all·htp·documents·in·your·project,·place·them·in·a
29 ················[ref]]include_file.31 ························common·[[ref]]include_file.
30 ················Often·you·want·to·define·tags·that·have·an·opening·and·a32 ························Often·you·want·to·define·tags·that·have·an·opening·and
31 ················closing·variant.·For·this·purpose·you·should·use·the·[33 ························a·closing·variant.·For·this·purpose·you·should·use·the
32 ················[ref]]blockdef·tag.·When·htp·encounters·a·blockdef·tag·it·will34 ························[[ref]]blockdef·tag.·When·htp·encounters·a·blockdef·tag
33 ················automatically·search·for·the·matching·closing·tag·and·put35 ························it·will·automatically·search·for·the·matching·closing
34 ················everything·between·these·tags·in·a·block·macro·named·block.36 ························tag·and·put·everything·between·these·tags·in·a·block
35 ················Here·is·an·example·for·this.37 ························macro·named·block.·Here·is·an·example·for·this.
 38 ························ 1.<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
36 ················ 1. ·<[[ref]]blockdef·name="bolditalic"> 
37 ················ 2. · ·<b><i> 
38 ················ 3. · ·<[[ref]]use·block> 
39 ················ 4. · ·</i></b> 
40 ················ 5. ·<[[ref]]/blockdef> 
41 ················ 6.39 ························ 2.
42 ················ 7. ·This·is·<bolditalic>bold·and·italic</bolditalic> 
43 ················*****·Using·parameters·*****40 ························*****·Using·parameters·*****
44 ················More·sophisticated·tags·accept·parameters.·The·option41 ························More·sophisticated·tags·accept·parameters.·The·option
45 ················parameter·lets·multiple·metatag·parameters·be·named·and42 ························parameter·lets·multiple·metatag·parameters·be·named·and
46 ················expanded·inside·the·def·or·blockdef·block:43 ························expanded·inside·the·def·or·blockdef·block:
47 ················ 1.<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>44 ························ 1.<[[ref]]UNDEF·tagname>
 45 ························ 2.<[[ref]]UNDEF·tagname1·tagname2·...·>
48 ················ 2.46 ························ 3.
49 ················*****·Saving·blocks·for·later·*****47 ························*****·Saving·blocks·for·later·*****
50 ················When·you·are·using·templates,·the·html·should·only·be·written48 ························When·you·are·using·templates,·the·html·should·only·be
51 ················by·the·template·file.·The·normal·htp·files·should·just·define49 ························written·by·the·template·file.·The·normal·htp·files
52 ················macros·that·are·used·later·in·the·template.·So·you·may·want·to 
53 ················write·block·tags·that·just·save·the·block·in·a·macro·for·later50 ························should·just·define·macros·that·are·used·later·in·the
 51 ························template.·So·you·may·want·to·write·block·tags·that·just
 52 ························save·the·block·in·a·macro·for·later·use.·Although·this
54 ················use.·Although·this·is·possible·with·htp·it·is·quite·tricky,·so53 ························is·possible·with·htp·it·is·quite·tricky,·so·here·we
55 ················here·we·present·the·way·to·do·this:54 ························present·the·way·to·do·this:
 55 ························ 1. · ·<[[ref]]SET·emailaddr="jnelson@crl.com">
56 ················ 1. ·<[[ref]]set·sect-ctr="0"> 
57 ················ 2. ·<[[ref]]blockdef·name="section"> 
58 ················ 3. · ·<[[ref]]inc·sect-ctr> 
59 ················ 4. · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> 
60 ················ 5. · · ·<[[ref]]use·block·noexpand> 
61 ················ 6. · ·<[[ref]]/block> 
62 ················ 7. ·<[[ref]]/blockdef> 
63 ················This·defines·a·block·macro·named·section.·This·macro·uses·a56 ························This·defines·a·block·macro·named·section.·This·macro
64 ················counter·sect-ctr·that·enumerates·the·sections.·It·is·increased57 ························uses·a·counter·sect-ctr·that·enumerates·the·sections.
65 ················for·every·section·(line·3)·and·then·the·block·macro·name·is 
66 ················build·from·this·counter.·So·the·first·section·is·stored·in 
67 ················block·sect-1,·the·second·in·sect-2·and·so·on.·The·[ 
68 ················[ref]]global·flag·in·line·4·tells·htp·that·these·macros·should58 ························It·is·increased·for·every·section·(line·3)·and·then·the
 59 ························block·macro·name·is·build·from·this·counter.·So·the
 60 ························first·section·is·stored·in·block·sect-1,·the·second·in
 61 ························sect-2·and·so·on.·The·[[ref]]global·flag·in·line·4
 62 ························tells·htp·that·these·macros·should·be·defined·globally
69 ················be·defined·globally·for·the·remaining·run.·Otherwise·they63 ························for·the·remaining·run.·Otherwise·they·would·be
70 ················would·be·forgotten·at·the·end·of·the·section·macro.64 ························forgotten·at·the·end·of·the·section·macro.
71 ················The·tricky·part·is·the·[[ref]]expand·and·noexpand·flags·in65 ························The·tricky·part·is·the·[[ref]]expand·and·noexpand·flags
72 ················line·4·and·5.·Normally·when·you·define·a·block·macro·the·code66 ························in·line·4·and·5.·Normally·when·you·define·a·block·macro
73 ················between·the·start·and·end·tag·is·literally·copied·into·the67 ························the·code·between·the·start·and·end·tag·is·literally
74 ················macro·value.·The·expansion·takes·place·when·the·macro·is·used. 
75 ················In·this·case·that·doesn't·make·sense;·all·macros·sect-1,·sect-68 ························copied·into·the·macro·value.·The·expansion·takes·place
 69 ························when·the·macro·is·used.·In·this·case·that·doesn't·make
 70 ························sense;·all·macros·sect-1,·sect-2·and·so·on·would·just
76 ················2·and·so·on·would·just·contain·the·same·value,·namely·<use71 ························contain·the·same·value,·namely·<use·block>·and·block
77 ················block>·and·block·wouldn't·be·defined·anymore·when·the·macros72 ························wouldn't·be·defined·anymore·when·the·macros·are·finally
78 ················are·finally·expanded.·Therefore·we·use·expand·to·expand·the73 ························expanded.·Therefore·we·use·expand·to·expand·the·use·tag
79 ················use·tag·already·when·sect-1·is·defined.74 ························already·when·sect-1·is·defined.
80 ················The·noexpand·attribute·of·the·[[ref]]use·tag·is·just·the75 ························The·noexpand·attribute·of·the·[[ref]]use·tag·is·just
81 ················opposite·and·prevents·the·contents·of·block·to·be·expanded76 ························the·opposite·and·prevents·the·contents·of·block·to·be
82 ················twice.·If·you·omit·it,·it·would·be·expanded·when·defining·the77 ························expanded·twice.·If·you·omit·it,·it·would·be·expanded
83 ················sect-1·macro·and·when·using·it·later·in·the·template. 
84 ················Generally·it·is·a·good·idea·to·use·noexpand·whenever·you·use 
85 ················expand·in·a·block·around·it.78 ························when·defining·the·sect-1·macro·and·when·using·it·later
 79 ························in·the·template.·Generally·it·is·a·good·idea·to·use
 80 ························noexpand·whenever·you·use·expand·in·a·block·around·it.
86 ················To·close·this·example·we·show·how·to·expand·the·sect-${sect-81 ························To·close·this·example·we·show·how·to·expand·the·sect-$
87 ················ctr}·blocks·in·the·template:82 ························{sect-ctr}·blocks·in·the·template:
 83 ························ 1. · ·<[[ref]]unset·email_addr·home_url·login_name>
88 ················ 1.<[[ref]]file·include="header.hti"> 
89 ················ 2. ·<[[ref]]set·sect-ctr="1"> 
90 ················ 3. ·<[[ref]]while·sect-${sect-ctr}> 
91 ················ 4. · ·<[[ref]]use·sect-${sect-ctr}> 
92 ················ 5. · ·<[[ref]]inc·sect-ctr> 
93 ················ 6. ·<[[ref]]/while> 
94 ················ 7.<[[ref]]file·include="footer.hti"> 
95 ················The·[[ref]]while·tag·in·line·3·checks·whether·the·macro·sect-$84 ························The·[[ref]]while·tag·in·line·3·checks·whether·the·macro
96 ················{sect-ctr}·is·defined.·If·it·is·defined·the·body·is·evaluated,85 ························sect-${sect-ctr}·is·defined.·If·it·is·defined·the·body
97 ················which·expands·the·macro·and·increases·sect-ctr.·Afterwards·the 
98 ················while·condition·is·checked·again·to·check·for·sect-2·macro.86 ························is·evaluated,·which·expands·the·macro·and·increases
 87 ························sect-ctr.·Afterwards·the·while·condition·is·checked
 88 ························again·to·check·for·sect-2·macro.·This·repeats·until
99 ················This·repeats·until·sect-${sect-ctr}·is·not·defined.89 ························sect-${sect-ctr}·is·not·defined.
100 ················*****·Conclusions·*****90 ························*****·Conclusions·*****
101 ················This·closes·our·short·htp·tutorial.·I·hope·you·did·enjoy·it91 ························This·closes·our·short·htp·tutorial.·I·hope·you·did
102 ················and·see·the·advantages·of·using·htp·for·your·own·projects.92 ························enjoy·it·and·see·the·advantages·of·using·htp·for·your
Max diff block lines reached; 499/14542 bytes (3.43%) of diff not shown.
3.3 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 21 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="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="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> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br> 
123 &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> 
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
125 &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> 
126 <br>122 <br>
127 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br> 
128 </code></p>123 </code></p>
129 <h2>synopsis</h2>124 <h2>synopsis</h2>
130 <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
131 options·inside·the·actual·document·being·processed.··The·options·are126 options·inside·the·actual·document·being·processed.··The·options·are
132 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
133 preceded·by·a·&lsquo;-&rsquo;·character.128 preceded·by·a·&lsquo;-&rsquo;·character.
134 <P>129 <P>
1.53 KB
html2text {}
    
Offset 1, 23 lines modifiedOffset 1, 23 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]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
 5  Introduction
4 Contents······· ·<[[ref]]blockdef·name="bolditalic"> 
5  Introduction· · ·<b><i> 
6  License······ · ·<[[ref]]use·block> 
7  Tutorial····· · ·</i></b> 
8  Usage········ ·<[[ref]]/blockdef> 
9  HTP·Tags 
10   ··ALTTEXT·· ·This·is·<bolditalic>bold·and·italic</bolditalic> 
11   ··BLOCK····*****·synopsis·*****6  License······*****·synopsis·*****
12   ··BLOCKDEF·OPT·is·an·htp·tag·that·can·be·used·to·specify·processing·options·inside·the7  Tutorial·····OPT·is·an·htp·tag·that·can·be·used·to·specify·processing·options·inside·the
13   ··DEF······actual·document·being·processed.·The·options·are·used·exactly·as·they·would·be8  Usage········actual·document·being·processed.·The·options·are·used·exactly·as·they·would·be
14   ··FILE·····on·the·command-line,·although·they·are·not·preceded·by·a·‘-’·character.9  HTP·Tags·····on·the·command-line,·although·they·are·not·preceded·by·a·‘-’·character.
15   ··IF·······Click·here·for·more_information_on_using_customization_options_with_htp.10   ··ALTTEXT··Click·here·for·more_information_on_using_customization_options_with_htp.
 11   ··BLOCK
 12   ··BLOCKDEF
 13   ··DEF
 14   ··FILE
 15   ··IF
16   ··INC16   ··INC
17   ··IMG17   ··IMG
18   ··IMAGEURL18   ··IMAGEURL
19  [>]·OPT19  [>]·OPT
20   ··OUTPUT20   ··OUTPUT
21   ··QUOTE21   ··QUOTE
22   ··SET22   ··SET
Offset 25, 19 lines modifiedOffset 25, 14 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
4.58 KB
./usr/share/doc/htp/quote.html
    
Offset 114, 21 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="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br>
 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">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> 
128 </code></p>123 </code></p>
129 <h2>synopsis</h2>124 <h2>synopsis</h2>
130 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise125 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
131 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a126 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
132 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early127 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
133 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still128 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
134 done·inside·a·quote·block.129 done·inside·a·quote·block.
2.13 KB
html2text {}
    
Offset 1, 24 lines modifiedOffset 1, 24 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_Contents············*****·syntax·*****
 4  Introduction···············<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
 5  License
 6  Tutorial···················*****·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············QUOTE·is·used·to·quote·a·macro·that·would·otherwise·be7  Usage······················QUOTE·is·used·to·quote·a·macro·that·would
13   ··FILE···········interpreted·by·HTP.·It·may·be·useful·in·conjunction·with·a 
14   ··IF·············surrounding·EXPANDed·block·to·prevent·early·expansion·of8  HTP·Tags···················otherwise·be·interpreted·by·HTP.·It·may·be·useful
 9   ··ALTTEXT················in·conjunction·with·a·surrounding·EXPANDed·block
 10   ··BLOCK··················to·prevent·early·expansion·of·some·contained
15   ··INC············some·contained·blocks.·Note·that·'$'·evaluation·is·still11   ··BLOCKDEF···············blocks.·Note·that·'$'·evaluation·is·still·done
16   ··IMG············done·inside·a·quote·block.12   ··DEF····················inside·a·quote·block.
 13   ··FILE
 14   ··IF
 15   ··INC
 16   ··IMG
17   ··IMAGEURL17   ··IMAGEURL
18   ··OPT18   ··OPT
19   ··OUTPUT19   ··OUTPUT
20  [>]·QUOTE20  [>]·QUOTE
21   ··SET21   ··SET
22   ··UNDEF22   ··UNDEF
23   ··UNSET23   ··UNSET
Offset 27, 25 lines modifiedOffset 27, 21 lines modified
27   ··<!---27   ··<!---
28  History28  History
29  Wish_list29  Wish_list
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.
6.32 KB
./usr/share/doc/htp/set.html
    
Offset 114, 21 lines modifiedOffset 114, 17 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="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="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 &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 <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>122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
 123 <br>
128 </code></p>124 </code></p>
129 <h2>synopsis</h2>125 <h2>synopsis</h2>
130 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded126 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
131 anywhere·in·the·HTML·document.··To·create·a·macro:127 anywhere·in·the·HTML·document.··To·create·a·macro:
132 ··<p><code>128 ··<p><code>
133 &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>129 &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>
134 </code></p>130 </code></p>
3.75 KB
html2text {}
    
Offset 1, 41 lines modifiedOffset 1, 37 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·SET·******2 ******·htp·on-line·reference·:·SET·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
 4  Introduction···············<[[ref]]unset·macroname>
 5  License····················<[[ref]]unset·macroname1·macroname2·...·>
 6  Tutorial
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"> 
11   ··BLOCKDEF···············*****·synopsis·*****7  Usage······················*****·synopsis·*****
12   ··DEF····················SET·creates·a·macro·definition·that·can·later·be8  HTP·Tags···················SET·creates·a·macro·definition·that·can·later·be
13   ··FILE···················expanded·anywhere·in·the·HTML·document.·To·create9   ··ALTTEXT················expanded·anywhere·in·the·HTML·document.·To·create
14   ··IF·····················a·macro:10   ··BLOCK··················a·macro:
15   ··INC···················· · ·<[[ref]]SET·emailaddr="jnelson@crl.com">11   ··BLOCKDEF··············· · ·<[[ref]]SET·emailaddr="jnelson@crl.com">
16   ··IMG····················The·macro·"emailaddr"·can·then·be·expanded·later.12   ··DEF····················The·macro·"emailaddr"·can·then·be·expanded·later.
17   ··IMAGEURL···············The·USE·tag·is·used·to·expand·the·macro·outside·a13   ··FILE···················The·USE·tag·is·used·to·expand·the·macro·outside·a
18   ··OPT····················tag·(i.e.,·into·the·regular·text).·If·the·macro14   ··IF·····················tag·(i.e.,·into·the·regular·text).·If·the·macro
19   ··OUTPUT·················needs·to·be·expanded·inside·a·markup·tag,·use·the15   ··INC····················needs·to·be·expanded·inside·a·markup·tag,·use·the
20   ··QUOTE··················'$'·operator.16   ··IMG····················'$'·operator.
21  [>]·SET····················Multiple·macros·can·be·declared·in·a·single·markup17   ··IMAGEURL···············Multiple·macros·can·be·declared·in·a·single·markup
22   ··UNDEF··················tag,·as·the·second·syntax·line·shows.18   ··OPT····················tag,·as·the·second·syntax·line·shows.
23   ··UNSET··················SET·should·only·be·used·for·a·single·line's·worth19   ··OUTPUT·················SET·should·only·be·used·for·a·single·line's·worth
24   ··USE,_$·················of·text.·Multi-line·macros·can·be·defined·with·the20   ··QUOTE··················of·text.·Multi-line·macros·can·be·defined·with·the
25   ··WHILE··················BLOCK·tag.·The·BLOCK·tag·is·also·useful·if·the21  [>]·SET····················BLOCK·tag.·The·BLOCK·tag·is·also·useful·if·the
26   ··<!---··················macro·contains·a·quotation·character·and·you·don't22   ··UNDEF··················macro·contains·a·quotation·character·and·you·don't
27  History····················want·to·fool·around·with·special·escape23   ··UNSET··················want·to·fool·around·with·special·escape
28  Wish_list··················characters.24   ··USE,_$·················characters.
29  Bugs·······················Macros·can·be·redefined·by·using·another·SET25   ··WHILE··················Macros·can·be·redefined·by·using·another·SET
30 ·····························command·with·the·same·macro·name.·The·prior26   ··<!---··················command·with·the·same·macro·name.·The·prior
31 ·····························definition·will·be·destroyed,·however.·Also,·the27  History····················definition·will·be·destroyed,·however.·Also,·the
32 ·····························macro·can·be·removed·(destroyed)·with·the·UNSET28  Wish_list··················macro·can·be·removed·(destroyed)·with·the·UNSET
33 ·····························tag.29  Bugs·······················tag.
  
  
  
  
  
  
  
7.05 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 36 lines modifiedOffset 114, 37 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
123 <br> 
124 </code></p>122 </code></p>
125 <h2>synopsis</h2>123 <h2>synopsis</h2>
126 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.124 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
127 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.125 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
128 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or126 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
129 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The127 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
130 old·macro·definition·will·be·removed·automatically.)128 old·macro·definition·will·be·removed·automatically.)
131 <P>129 <P>
132 For·example:130 For·example:
133 ··<p><code>131 ··<p><code>
 132 <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>
 133 &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>
 134 &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>
 135 &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>
134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>136 &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>
 137 &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>
 138 <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>
135 </code></p>139 </code></p>
136 <P>140 <P>
137 More·than·one·macro·may·be·removed·in·the·same·tag:141 More·than·one·macro·may·be·removed·in·the·same·tag:
138 ··<p><code>142 ··<p><code>
 143 &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 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>&gt;</span><br> 
140 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
141 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
142 <br> 
143 </code></p>144 </code></p>
144 <p>145 <p>
145 </td>146 </td>
146 </tr>147 </tr>
147 <tr>148 <tr>
148 <td·width="20%"·bgcolor="white"·valign="bottom">149 <td·width="20%"·bgcolor="white"·valign="bottom">
149 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">150 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
2.92 KB
html2text {}
    
Offset 1, 30 lines modifiedOffset 1, 30 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·UNSET·******2 ******·htp·on-line·reference·:·UNSET·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents·······*****·syntax·*****
 4  Introduction·········· · ·<[[ref]]SET·emailaddr="jnelson@crl.com">
4  Introduction···············<[[ref]]unset·macroname> 
5  License····················<[[ref]]unset·macroname1·macroname2·...·> 
6  Tutorial 
7  Usage······················*****·synopsis·*****5  License···············*****·synopsis·*****
8  HTP·Tags···················UNSET·removes·(or·deletes)·a·macro·and·it's6  Tutorial··············UNSET·removes·(or·deletes)·a·macro·and·it's
9   ··ALTTEXT················definition.·The·macro·is·subsequently·not7  Usage·················definition.·The·macro·is·subsequently·not·available
10   ··BLOCK··················available·for·use·in·the·pre-processed·files. 
11   ··BLOCKDEF···············(Note·that·simply·redefining·the·macro·with 
12   ··DEF····················another·SET·or·BLOCK·definition·with·the·same·name 
13   ··FILE···················is·acceptable.·The·old·macro·definition·will·be8  HTP·Tags··············for·use·in·the·pre-processed·files.·(Note·that
 9   ··ALTTEXT···········simply·redefining·the·macro·with·another·SET·or
 10   ··BLOCK·············BLOCK·definition·with·the·same·name·is·acceptable.
 11   ··BLOCKDEF··········The·old·macro·definition·will·be·removed
14   ··IF·····················removed·automatically.)12   ··DEF···············automatically.)
15   ··INC····················For·example:13   ··FILE··············For·example:
16   ··IMG···················· · ·<[[ref]]unset·email_addr>14   ··IF················<[[ref]]file·include="header.hti">
 15   ··INC··············· ·<[[ref]]set·sect-ctr="1">
 16   ··IMG··············· ·<[[ref]]while·sect-${sect-ctr}>
 17   ··IMAGEURL·········· · ·<[[ref]]use·sect-${sect-ctr}>
 18   ··OPT··············· · ·<[[ref]]inc·sect-ctr>
 19   ··OUTPUT············ ·<[[ref]]/while>
 20   ··QUOTE·············<[[ref]]file·include="footer.hti">
17   ··IMAGEURL···············More·than·one·macro·may·be·removed·in·the·same21   ··SET···············More·than·one·macro·may·be·removed·in·the·same·tag:
 22   ··UNDEF············· · ·<[[ref]]unset·email_addr·home_url·login_name>
18   ··OPT····················tag: 
19   ··OUTPUT·················<[[ref]]use·macroname·[parameters·...]·[noexpand]> 
20   ··QUOTE··················<...·$macroname·...> 
21   ··SET····················<...·${macroname}·...> 
22   ··UNDEF 
23  [>]·UNSET23  [>]·UNSET
24   ··USE,_$24   ··USE,_$
25   ··WHILE25   ··WHILE
26   ··<!---26   ··<!---
27  History27  History
28  Wish_list28  Wish_list
29  Bugs29  Bugs
Offset 42, 16 lines modifiedOffset 42, 16 lines modified
  
  
42  page_source42  page_source
43  htp_project43  htp_project
44  htp_homepage44  htp_homepage
45 hosted·by45 hosted·by
46 Sourceforge46 Sourceforge
47 HTML·coding·[Powered_by47 HTML·coding·[Powered
48 htp]48 by_htp]
49 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/49 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
50 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.50 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
51 ·····Maintainers:·Jochen_Hoenicke.51 ·····Maintainers:·Jochen_Hoenicke.
52 Copyright·©·1995–96·Jim·Nelson.52 Copyright·©·1995–96·Jim·Nelson.
53 Copyright·©·2001–2014·Jochen_Hoenicke.53 Copyright·©·2001–2014·Jochen_Hoenicke.
54 Permission·to·reproduce·and·distribute·this·hypertext·document·granted54 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
55 according·to·terms·described·in·the·License_section.55 according·to·terms·described·in·the·License_section.
15.0 KB
./usr/share/doc/htp/use.html
    
Offset 135, 18 lines modifiedOffset 135, 23 lines modified
135 attribute·to·prevent·further·expansion.··</p>135 attribute·to·prevent·further·expansion.··</p>
136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
137 for·the·expanded·macro.··This·is·only·valid·for·<A137 for·the·expanded·macro.··This·is·only·valid·for·<A
138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
140 example:</p>140 example:</p>
141 ··<p><code>141 ··<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">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> 
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>142 <font·size="-2">&nbsp;1.·</font><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>
 143 <font·size="-2">&nbsp;2.·</font>&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>
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>144 <font·size="-2">&nbsp;3.·</font><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 <font·size="-2">&nbsp;4.·</font><br>
 146 <font·size="-2">&nbsp;5.·</font><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>
 147 <font·size="-2">&nbsp;6.·</font><br>
 148 <font·size="-2">&nbsp;7.·</font>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>
 149 <font·size="-2">&nbsp;8.·</font>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>
 150 <font·size="-2">&nbsp;9.·</font>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>
146 </code></p>151 </code></p>
147 <P>152 <P>
148 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on153 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
149 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and154 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
150 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8155 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
151 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is156 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
152 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.157 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 157, 19 lines modifiedOffset 162, 18 lines modified
157 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or162 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.163 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
159 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or164 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
160 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it165 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
161 replaces·the·macro·name·by·the·contents·of·the·macro·without·further166 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
162 processing·the·contents.167 processing·the·contents.
163 ··<p><code>168 ··<p><code>
164 <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>169 <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>
165 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>170 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
166 <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>171 <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>
167 <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>172 <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>
168 <font·size="-2">&nbsp;5.·</font>ref="http://$domain/~${username}/">another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
169 </code></p>173 </code></p>
170 <P>174 <P>
171 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and175 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
172 should·never·cause·confusion·with·surrounding·text.··If·no·curly176 should·never·cause·confusion·with·surrounding·text.··If·no·curly
173 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation177 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
174 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;178 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
175 and·&quot;_&quot;·that·follows·it.179 and·&quot;_&quot;·that·follows·it.
Offset 183, 15 lines modifiedOffset 187, 18 lines modified
183 delimiting·the·text·as·if·it·were·additional·markup·attributes.187 delimiting·the·text·as·if·it·were·additional·markup·attributes.
184 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),188 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),
185 quotation·marks·are·not·automatically·supplied.189 quotation·marks·are·not·automatically·supplied.
186 <P>190 <P>
187 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can191 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can
188 be·nested.··This·is·valid:192 be·nested.··This·is·valid:
189 ··<p><code>193 ··<p><code>
190 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>194 &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>
 195 &nbsp;·&nbsp;·...<br>
 196 &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>
 197 &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>
191 </code></p>198 </code></p>
192 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined199 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
193 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX200 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX
194 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand201 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
195 value1.202 value1.
196 <p>203 <p>
197 </td>204 </td>
8.5 KB
html2text {}
    
Offset 1, 73 lines modifiedOffset 1, 77 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·······*****·syntax·*****
4 Contents··········<[[ref]]WHILE·[NOT]·conditional>4 Contents·······<[[ref]]WHILE·[NOT]·conditional>
5  Introduction···· · ·block5  Introduction· · ·block
6  License·········<[[ref]]/WHILE>6  License······<[[ref]]/WHILE>
7  Tutorial7  Tutorial
8  Usage···········*****·synopsis·*****8  Usage········*****·synopsis·*****
9  HTP·Tags········USE·will·expand·macros·that·have·been·previously·declared9  HTP·Tags·····USE·will·expand·macros·that·have·been·previously·declared·with
10   ··ALTTEXT·····with·either·SET·or·BLOCK.·USE·can·only·be·used·outside·of10   ··ALTTEXT··either·SET·or·BLOCK.·USE·can·only·be·used·outside·of·other·markup
11   ··BLOCK·······other·markup·tags.11   ··BLOCK····tags.
12   ··BLOCKDEF····If·you·USE·a·block·macro·the·value·of·expanded·block·macros12   ··BLOCKDEF·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
13   ··DEF·········will·be·further·parsed·by·htp.·This·is·maybe·not·what·you13   ··DEF······be·further·parsed·by·htp.·This·is·maybe·not·what·you·want,·for
14   ··FILE········want,·for·example,·if·the·use·is·inside·a·block·which14   ··FILE·····example,·if·the·use·is·inside·a·block·which·expands·itself.·You
 15   ··IF·······can·use·the·noexpand·attribute·to·prevent·further·expansion.
15   ··IF··········expands·itself.·You·can·use·the·noexpand·attribute·to 
16   ··INC·········prevent·further·expansion. 
17   ··IMG·········USE·will·accept·additional·parameters,·which·are·"local"16   ··INC······USE·will·accept·additional·parameters,·which·are·"local"·macros
18   ··IMAGEURL····macros·for·the·expanded·macro.·This·is·only·valid·for·BLOCK17   ··IMG······for·the·expanded·macro.·This·is·only·valid·for·BLOCK·macros.
19   ··OPT·········macros.·Macros·created·using·SET·cannot·have·parameters 
20   ··OUTPUT······passed.·For·example: 
21   ··QUOTE······· 1. ·<[[ref]]WHILE·NOT·i="10"> 
22   ··SET········· 2. · ·... 
23   ··UNDEF······· 3. · ·<[[ref]]INC·i> 
24   ··UNSET······· 4. ·<[[ref]]/WHILE>18   ··IMAGEURL·Macros·created·using·SET·cannot·have·parameters·passed.·For
 19   ··OPT······example:
 20   ··OUTPUT··· 1.<[[ref]]block·stuff>
 21   ··QUOTE···· 2. ·<a·href=$email>send·email</a>
 22   ··SET······ 3.<[[ref]]/block>
 23   ··UNDEF···· 4.
 24   ··UNSET···· 5.<[[ref]]set·morestuff=$email>
 25  [>]·USE,_$··· 6.
 26   ··WHILE···· 7.This·works:· · ·<[[ref]]use·stuff·email="jnelson@crl.com">
 27   ··<!---···· 8.But·this·fails:·<[[ref]]use·email>
 28  History······ 9.And·this·fails:·<[[ref]]use·morestuff·email="jnelson@crl.com">
25  [>]·USE,_$······(See·below·for·a·description·of·the·'$'·operator.)·The29  Wish_list····(See·below·for·a·description·of·the·'$'·operator.)·The·example·on
26   ··WHILE·······example·on·line·7·works·because·"stuff"·has·been·declared·as30  Bugs·········line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,
27   ··<!---·······a·block·macro,·and·the·tag·is·passing·the·"email"·macro·to 
28  History·········the·"stuff"·macro.·Line·8·fails·because·the·"email"·macro·is 
29  Wish_list·······unavailable·once·the·block·macro·is·completely·expanded,·and 
30  Bugs············cannot·be·passed·to·a·SET·macro.31 ···············and·the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.
 32 ···············Line·8·fails·because·the·"email"·macro·is·unavailable·once·the
 33 ···············block·macro·is·completely·expanded,·and·cannot·be·passed·to·a·SET
 34 ···············macro.
31 ··················Note·that·the·"email"·macro·is·available·to·other·macros·or35 ···············Note·that·the·"email"·macro·is·available·to·other·macros·or
32 ··················included·files·called·within·the·"stuff"·block.36 ···············included·files·called·within·the·"stuff"·block.
33 ··················Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other37 ···············Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other·standard
34 ··················standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The38 ···············HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The·'$'·should·be
35 ··················'$'·should·be·immediately·followed·by·the·macro·name,·which39 ···············immediately·followed·by·the·macro·name,·which·may·or·may·not·be
36 ··················may·or·may·not·be·surrounded·by·curly·braces.·When·htp 
37 ··················encounters·this·it·replaces·the·macro·name·by·the·contents 
38 ··················of·the·macro·without·further·processing·the·contents.40 ···············surrounded·by·curly·braces.·When·htp·encounters·this·it·replaces
 41 ···············the·macro·name·by·the·contents·of·the·macro·without·further
 42 ···············processing·the·contents.
39 ·················· 1. ·<[[ref]]WHILE·sect-$i>43 ··············· 1. ·<[[ref]]WHILE·NOT·i="10">
40 ·················· 2. · ·...44 ··············· 2. · ·...
41 ·················· 3. · ·<[[ref]]INC·i>45 ··············· 3. · ·<[[ref]]INC·i>
42 ·················· 4. ·<[[ref]]/WHILE>46 ··············· 4. ·<[[ref]]/WHILE>
43 ·················· 5.ref="http://$domain/~${username}/">another·hyperlink</a> 
44 ··················The·use·of·curly·braces·is·encouraged,·since·it·is·more47 ···············The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
45 ··················robust·and·should·never·cause·confusion·with·surrounding48 ···············should·never·cause·confusion·with·surrounding·text.·If·no·curly
46 ··················text.·If·no·curly·braces·are·used·the·macro·name·consists 
47 ··················either·of·a·single·punctuation·character·or·the·maximum 
48 ··················sequence·of·letters,·digits,·"-"·and·"_"·that·follows·it.49 ···············braces·are·used·the·macro·name·consists·either·of·a·single
 50 ···············punctuation·character·or·the·maximum·sequence·of·letters,·digits,
 51 ···············"-"·and·"_"·that·follows·it.
49 ··················If·a·'$'·character·needs·to·be·kept·in·the·final·output,·and52 ···············If·a·'$'·character·needs·to·be·kept·in·the·final·output,·and·not
50 ··················not·interpreted·as·a·macro·name,·it·must·be·escaped·by53 ···············interpreted·as·a·macro·name,·it·must·be·escaped·by·another·'$'
51 ··················another·'$'·character.·This·is·especially·true·for·PHP·code.54 ···············character.·This·is·especially·true·for·PHP·code.
52 ··················If·the·'$'·macro·is·the·only·text·in·the·attribute's·value,55 ···············If·the·'$'·macro·is·the·only·text·in·the·attribute's·value,·htp
53 ··················htp·will·automatically·surround·it·with·quotation·marks·to56 ···············will·automatically·surround·it·with·quotation·marks·to·prevent
54 ··················prevent·spaces·from·delimiting·the·text·as·if·it·were57 ···············spaces·from·delimiting·the·text·as·if·it·were·additional·markup
55 ··················additional·markup·attributes.·If·the·'$'·macro·is·surrounded 
56 ··················by·other·text·(as·in·the·two·examples·above),·quotation 
57 ··················marks·are·not·automatically·supplied.58 ···············attributes.·If·the·'$'·macro·is·surrounded·by·other·text·(as·in
 59 ···············the·two·examples·above),·quotation·marks·are·not·automatically
 60 ···············supplied.
58 ··················Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag61 ···············Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and
59 ··················and·can·be·nested.·This·is·valid:62 ···············can·be·nested.·This·is·valid:
60 ·················· · ·<${tagName}·${attrName}=${value$ctr}>63 ··············· ·<[[ref]]WHILE·sect-$i>
 64 ··············· · ·...
 65 ··············· · ·<[[ref]]INC·i>
 66 ··············· ·<[[ref]]/WHILE>
61 ··················The·tagName·macro·can·contain·any·tag·name,·even·a·self-67 ···············The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
62 ··················defined·metatag.·Note·that·$ctr·is·expanded·before·the68 ···············metatag.·Note·that·$ctr·is·expanded·before·the·valueX·macro·is
 69 ···············expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand·value1.
63 ··················valueX·macro·is·expanded,·so·assuming·that·ctr·was·set·to·1 
64 ··················it·will·expand·value1. 
  
  
  
  
  
  
  
  
Offset 86, 16 lines modifiedOffset 90, 17 lines modified
  
86  page_source90  page_source
87  htp_project91  htp_project
88  htp_homepage92  htp_homepage
89 hosted·by93 hosted·by
90 Sourceforge94 Sourceforge
91 HTML·coding95 HTML·coding
92 [Powered_by_htp]96 [Powered_by
 97 htp]
93 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/98 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
94 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.99 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
95 ·····Maintainers:·Jochen_Hoenicke.100 ·····Maintainers:·Jochen_Hoenicke.
96 Copyright·©·1995–96·Jim·Nelson.101 Copyright·©·1995–96·Jim·Nelson.
97 Copyright·©·2001–2014·Jochen_Hoenicke.102 Copyright·©·2001–2014·Jochen_Hoenicke.
98 Permission·to·reproduce·and·distribute·this·hypertext·document·granted103 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according
99 according·to·terms·described·in·the·License_section.104 to·terms·described·in·the·License_section.
100 last·updated·Sat·May·16,·2015105 last·updated·Sat·May·16,·2015
4.01 KB
./usr/share/doc/htp/while.html
    
Offset 133, 28 lines modifiedOffset 133, 24 lines modified
133 The·basic·form·is·shown·above.133 The·basic·form·is·shown·above.
134 <P>134 <P>
135 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.135 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
136 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.
137 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the137 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
138 conditional·is·reversed:138 conditional·is·reversed:
139 ··<p><code>139 ··<p><code>
 140 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>
140 &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> 
141 &nbsp;·&nbsp;·...<br> 
142 &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> 
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>&gt;</span><br> 
144 </code></p>141 </code></p>
145 <P>142 <P>
146 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
147 macro's·existance:144 macro's·existance:
148 ··<p><code>145 ··<p><code>
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>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&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>
150 &nbsp;·&nbsp;·...<br>147 &nbsp;·&nbsp;·...<br>
151 &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>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>
152 &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>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>
153 ref="http://$domain/~${username}/">another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
154 </code></p>150 </code></p>
155 <P>151 <P>
156 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the152 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
157 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the153 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
158 WHILE·tag·it·is·also·reevaluated·on·each·iteration.154 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
159 <P>155 <P>
160 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.
1.69 KB
html2text {}
    
Offset 16, 27 lines modifiedOffset 16, 23 lines modified
16   ··IF··········WHILE·is·the·building·block·for·repeated·processing.·The16   ··IF··········WHILE·is·the·building·block·for·repeated·processing.·The
17   ··INC·········basic·form·is·shown·above.17   ··INC·········basic·form·is·shown·above.
18   ··IMG·········"Conditional"·is·either·a·"compare"·or·"is·defined"18   ··IMG·········"Conditional"·is·either·a·"compare"·or·"is·defined"
19   ··IMAGEURL····operation.·A·compare·operator·is·a·test·of·the·value·of·a19   ··IMAGEURL····operation.·A·compare·operator·is·a·test·of·the·value·of·a
20   ··OPT·········macro·against·a·literal·string.·If·the·NOT·tag·is·present·in20   ··OPT·········macro·against·a·literal·string.·If·the·NOT·tag·is·present·in
21   ··OUTPUT······the·WHILE·markup,·the·evaluation·of·the·conditional·is21   ··OUTPUT······the·WHILE·markup,·the·evaluation·of·the·conditional·is
22   ··QUOTE·······reversed:22   ··QUOTE·······reversed:
 23   ··SET········· · ·<${tagName}·${attrName}=${value$ctr}>
23   ··SET········· ·<[[ref]]WHILE·NOT·i="10"> 
24   ··UNDEF······· · ·... 
25   ··UNSET······· · ·<[[ref]]INC·i> 
26   ··USE,_$······ ·<[[ref]]/WHILE> 
27  [>]·WHILE·······Just·as·with·[[ref]]IF·you·can·also·check·for·a·macro's24   ··UNDEF·······Just·as·with·[[ref]]IF·you·can·also·check·for·a·macro's
28   ··<!---·······existance:25   ··UNSET·······existance:
 26   ··USE,_$······ ·<[[ref]]WHILE·sect-$i>
 27  [>]·WHILE······· · ·...
 28   ··<!---······· · ·<[[ref]]INC·i>
29  History········· ·<[[ref]]WHILE·sect-$i>29  History········· ·<[[ref]]/WHILE>
30  Wish_list······· · ·... 
31  Bugs············ · ·<[[ref]]INC·i> 
32 ·················· ·<[[ref]]/WHILE> 
33 ··················ref="http://$domain/~${username}/">another·hyperlink</a> 
34 ··················If·the·condition·is·true,·the·block·is·evaluated·and30  Wish_list·······If·the·condition·is·true,·the·block·is·evaluated·and
35 ··················afterwards·the·WHILE·tag·is·evaluated·again.·If·the·'$'-31  Bugs············afterwards·the·WHILE·tag·is·evaluated·again.·If·the·'$'-
36 ··················operator·is·used·in·the·WHILE·tag·it·is·also·reevaluated·on32 ··················operator·is·used·in·the·WHILE·tag·it·is·also·reevaluated·on
37 ··················each·iteration.33 ··················each·iteration.
38 ··················A·loop·block·must·be·closed·with·the·/WHILE·tag.34 ··················A·loop·block·must·be·closed·with·the·/WHILE·tag.