--- /srv/reproducible-results/rbuild-debian/r-b-build.m2M1qCGa/b1/htp_1.19-8_amd64.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.m2M1qCGa/b2/htp_1.19-8_amd64.changes ├── Files │ @@ -1,3 +1,3 @@ │ │ e4b70b64acc73676cc0d05d5d8894aa3 70480 debug optional htp-dbgsym_1.19-8_amd64.deb │ - 6e395f61e6ea4c54ffa238fbeb151473 117844 web optional htp_1.19-8_amd64.deb │ + a218775f529c0bffc52e82defd8d43f0 117620 web optional htp_1.19-8_amd64.deb ├── htp_1.19-8_amd64.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2020-06-14 23:21:19.000000 debian-binary │ │ -rw-r--r-- 0 0 0 3612 2020-06-14 23:21:19.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 114040 2020-06-14 23:21:19.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 113816 2020-06-14 23:21:19.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./control │ │ │ │ @@ -1,12 +1,12 @@ │ │ │ │ Package: htp │ │ │ │ Version: 1.19-8 │ │ │ │ Architecture: amd64 │ │ │ │ Maintainer: Marcelo Soares Mota │ │ │ │ -Installed-Size: 665 │ │ │ │ +Installed-Size: 650 │ │ │ │ Depends: libc6 (>= 2.34) │ │ │ │ Section: web │ │ │ │ Priority: optional │ │ │ │ Homepage: http://htp.sourceforge.net │ │ │ │ Description: nice HTML pre-processor │ │ │ │ htp is an HTML pre-processor. It is designed to be a flexible authoring tool │ │ │ │ that can easily be integrated into the HTML design process. │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -1,27 +1,27 @@ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/bin/ │ │ │ │ -rwxr-xr-x 0 root (0) root (0) 68008 2020-06-14 23:21:19.000000 ./usr/bin/htp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9211 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/alttext.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9721 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/alttext.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1418 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/alttext.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9462 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/block.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7945 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/block.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 781 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/block.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15768 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/blockdef.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 14772 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/blockdef.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1075 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/blockdef.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4763 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/bugs.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 737 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/bugs.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 878 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/changelog.Debian.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11445 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/comment.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 10826 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/comment.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 676 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/comment.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 13083 2020-06-14 23:16:46.000000 ./usr/share/doc/htp/copyright │ │ │ │ --rw-r--r-- 0 root (0) root (0) 17577 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/def.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11730 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/def.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3601 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/def.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 8030 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/default.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3149 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/default.htp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/examples/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 536 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/Makefile.sub │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2404 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/album.hti │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1087 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/album.htt │ │ │ │ @@ -32,64 +32,64 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 818 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/prime.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1576 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/examples/quine.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1576 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/quine.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 604 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/section.def │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1189 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/examples/section.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 918 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/section.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 375 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/section.htt │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11172 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/expand.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8380 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/expand.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3702 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/expand.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 18167 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/file.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 14331 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/file.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2490 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/file.htp.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 14293 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/history.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3946 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/history.htp.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3911 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/hlhtp.pl │ │ │ │ -rw-r--r-- 0 root (0) root (0) 165 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/htp.def │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4049 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/htp.htt │ │ │ │ --rw-r--r-- 0 root (0) root (0) 10541 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/if.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9661 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/if.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 932 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/if.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12689 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/imageurl.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 10093 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/imageurl.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2507 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/imageurl.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11448 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/img.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9052 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/img.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1168 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/img.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9646 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/inc.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8905 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/inc.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1092 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/inc.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 9881 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/include.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1894 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/include.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4874 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/index.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 78 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/index.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7733 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/intro.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3489 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/intro.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 10774 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/license.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 454 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/license.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3782 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/macros.def │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5088 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/macros.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 388 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/macros.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 13947 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/metatag.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 19077 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/metatag.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2439 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/metatag.htp.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 8471 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/opt.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 608 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/opt.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7809 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/options.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3100 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/options.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8851 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/output.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8227 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/output.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 695 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/output.htp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 171 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/arrow.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 262 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/download.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 708 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/htpicon.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 25563 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/logo.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 455 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/manbig.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 491 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/manual.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1313 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/poweredbyhtp.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 679 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/sficon.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 492 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/source.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 523 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pphtp.pl │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8577 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/quote.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7959 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/quote.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 390 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/quote.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 10244 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/set.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9055 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/set.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1200 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/set.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 500 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/styles.css │ │ │ │ -rw-r--r-- 0 root (0) root (0) 27219 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/template.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2235 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/template.htp.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1914 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/toc.def │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 146 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/footer.hti │ │ │ │ @@ -102,23 +102,23 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 192 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut2.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 501 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut3.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 191 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut3.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 356 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut3.htt │ │ │ │ -rw-r--r-- 0 root (0) root (0) 297 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut4.htt │ │ │ │ -rw-r--r-- 0 root (0) root (0) 10517 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tutorial.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3393 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tutorial.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9119 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/undef.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7804 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/undef.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 460 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/undef.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 10372 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/unset.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11806 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/unset.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 658 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/unset.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7681 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/usage.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2959 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/usage.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11961 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/use.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 15240 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/use.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3300 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/use.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 10758 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/while.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 13804 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/while.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 938 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/while.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5288 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/wishlist.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1311 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/wishlist.htp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc-base/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 235 2020-06-14 17:36:12.000000 ./usr/share/doc-base/htp.htp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/lintian/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/lintian/overrides/ │ │ │ ├── ./usr/share/doc/htp/alttext.html │ │ │ │ @@ -114,33 +114,37 @@ │ │ │ │ Bugs │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

syntax

│ │ │ │

│ │ │ │ -<[ref]blockdef name="tagname" [option="option1 [option2 ...]" ] [global] [expand]>
│ │ │ │ -  ... <[ref]use block> ...
│ │ │ │ -<[ref]/blockdef>
│ │ │ │ +<[ref]def name="tagname" [option="option1 [option2 ...]" ] [global] [expand]>
│ │ │ │ +<[ref]/def>
│ │ │ │
│ │ │ │

│ │ │ │

synopsis

│ │ │ │ ALTTEXT declares an ALT attribute for any IMG tag with a SRC matching the ALTTEXT NAME. │ │ │ │ Since relative paths can be used to point to the same image, only the │ │ │ │ filename is considered in all comparisons. │ │ │ │

│ │ │ │ When an IMG tag with a matching source is encountered, htp will add an ALT │ │ │ │ attribute only if one is not already present. This allows for ALT text to │ │ │ │ be overridden on specific images and default text on all others. │ │ │ │

│ │ │ │ For example: │ │ │ │

│ │ │ │ -<!--- comment --->
│ │ │ │ +<!--- This comment doesn't appear in the HTML file --->
│ │ │ │
│ │ │ │ +  contents of a:   a is expanded at time <[ref]use time>.
│ │ │ │ +  contents of b:   b is expanded at time 0.
│ │ │ │ +    c is expanded at time 1;   a is expanded at time 1.
│ │ │ │ +    d is expanded at time 1;   a is expanded at time 2.
│ │ │ │ +    e is expanded at time 2;   a is defined for the 2nd time <[ref]use time>.
│ │ │ │

│ │ │ │

│ │ │ │ An ALTTEXT tag with a name but no text attribute removes any ALT │ │ │ │ mapping for this image. Successing IMG tags with a matching SRC name are not │ │ │ │ changed. │ │ │ │

│ │ │ │ Since this is useful for an image used throughout a set of documents, │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -1,38 +1,38 @@ │ │ │ │ │ │ │ │ │ │ [HTP] │ │ │ │ │ ****** htp on-line reference : ALTTEXT ****** │ │ │ │ │ -Table_of_Contents ***** syntax ***** │ │ │ │ │ - Introduction <[[ref]]blockdef name="tagname" [option="option1 │ │ │ │ │ - License [option2 ...]" ] [global] [expand]> │ │ │ │ │ - Tutorial   ... <[[ref]]use block> ... │ │ │ │ │ - Usage <[[ref]]/blockdef> │ │ │ │ │ - HTP Tags │ │ │ │ │ - [>] ALTTEXT ***** synopsis ***** │ │ │ │ │ -   BLOCK ALTTEXT declares an ALT attribute for any IMG tag │ │ │ │ │ -   BLOCKDEF with a SRC matching the ALTTEXT NAME. Since │ │ │ │ │ -   DEF relative paths can be used to point to the same │ │ │ │ │ -   FILE image, only the filename is considered in all │ │ │ │ │ -   IF comparisons. │ │ │ │ │ -   INC When an IMG tag with a matching source is │ │ │ │ │ -   IMG encountered, htp will add an ALT attribute only if │ │ │ │ │ -   IMAGEURL one is not already present. This allows for ALT │ │ │ │ │ -   OPT text to be overridden on specific images and │ │ │ │ │ -   OUTPUT default text on all others. │ │ │ │ │ -   QUOTE For example: │ │ │ │ │ -   SET │ │ │ │ │ -   UNDEF │ │ │ │ │ -   UNSET An ALTTEXT tag with a name but no text attribute │ │ │ │ │ -   USE,_$ removes any ALT mapping for this image. Successing │ │ │ │ │ -   WHILE IMG tags with a matching SRC name are not changed. │ │ │ │ │ -   │ │ │ │ │ +   IMG │ │ │ │ │ +   IMAGEURL   contents of a:   a is expanded at time <[[ref]]use time>. │ │ │ │ │ +   OPT   contents of b:   b is expanded at time 0. │ │ │ │ │ +   OUTPUT     c is expanded at time 1;   a is expanded at time 1. │ │ │ │ │ +   QUOTE     d is expanded at time 1;   a is expanded at time 2. │ │ │ │ │ +   SET     e is expanded at time 2;   a is defined for the 2nd time <[[ref]]use │ │ │ │ │ +   UNDEF time>. │ │ │ │ │ +   UNSET An ALTTEXT tag with a name but no text attribute removes any ALT mapping │ │ │ │ │ +   USE,_$ for this image. Successing IMG tags with a matching SRC name are not │ │ │ │ │ +   WHILE changed. │ │ │ │ │ +   │ │ │ │ │ + License │ │ │ │ │ + Tutorial ***** synopsis ***** │ │ │ │ │ + Usage BLOCK and /BLOCK are used to create block macros, │ │ │ │ │ + HTP Tags which are similar in use to SET macros, but can be │ │ │ │ │ +   ALTTEXT multi-line definitions. │ │ │ │ │ + [>] BLOCK Any text and formatting may be set inside the │ │ │ │ │ +   BLOCKDEF block. You can use any htp or user defined metatag │ │ │ │ │ +   DEF including FILE_INCLUDE. The metatags won't be │ │ │ │ │ +   FILE expanded before the block is USEd except if you │ │ │ │ │ +   IF give the EXPAND parameter. │ │ │ │ │ +   INC The block macro is dereferenced (expanded) with │ │ │ │ │ +   IMG the USE_tag_or_the_'$'_operator. See the notes on │ │ │ │ │ +   IMAGEURL the USE tag on how to pass parameters to a block │ │ │ │ │ +   OPT macro. │ │ │ │ │ +   OUTPUT │ │ │ │ │ +   QUOTE │ │ │ │ │ +   SET │ │ │ │ │ +   UNDEF │ │ │ │ │ +   UNSET │ │ │ │ │ +   USE,_$ │ │ │ │ │    WHILE │ │ │ │ │    │ │ │ │ │ + This produces the following: │ │ │ │ │ + <[[ref]]if disabled_because_xyz> │ │ │ │ │ +   ... │ │ │ │ │ + <[[ref]]/if> │ │ │ │ │ + When block a and block b are defined in lines 2-7 the │ │ │ │ │ + contents of a are taken literally, however, the contents │ │ │ │ │ + for b are already expanded so the macro time is evaluated. │ │ │ │ │ + So a is expanded when it is used, while the contents of b │ │ │ │ │ + are already expanded. │ │ │ │ │ + In line 10 and 12 the [[ref]]use tag is used with the │ │ │ │ │ + noexpand attribute which prevents the expansion of the │ │ │ │ │ + macro value. Here it is used to show you what the value of │ │ │ │ │ + the block macros really is. │ │ │ │ │ + A more important reason to use the noexpand attribute is to │ │ │ │ │ + prevent double expansion and to restore the original lazy │ │ │ │ │ + expansion policy when you have to use the expand attribute │ │ │ │ │ + as for block d in the example above. See the section │ │ │ │ │ + example in the [[ref]]metatag_tutorial. Rule of thumb: The │ │ │ │ │ + use tags in an expanded block should be tagged with │ │ │ │ │ + noexpand. │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │  page_source │ │ │ │ │  htp_project │ │ │ │ │  htp_homepage │ │ │ │ │ hosted by │ │ │ │ │ Sourceforge │ │ │ │ │ HTML coding │ │ │ │ │ -[Powered_by │ │ │ │ │ -htp] │ │ │ │ │ +[Powered_by_htp] │ │ │ │ │ htp on-line reference / http://htp.sourceforge.net/ref/ │ │ │ │ │ Authors: Jim Nelson, Jochen_Hoenicke, Michael_Möller. │ │ │ │ │ Maintainers: Jochen_Hoenicke. │ │ │ │ │ Copyright © 1995–96 Jim Nelson. │ │ │ │ │ Copyright © 2001–2014 Jochen_Hoenicke. │ │ │ │ │ -Permission to reproduce and distribute this hypertext document granted according to terms │ │ │ │ │ -described in the License_section. │ │ │ │ │ +Permission to reproduce and distribute this hypertext document granted │ │ │ │ │ +according to terms described in the License_section. │ │ │ │ │ last updated Sat May 16, 2015 │ │ │ ├── ./usr/share/doc/htp/file.html │ │ │ │ @@ -114,64 +114,46 @@ │ │ │ │ Bugs │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

syntax

│ │ │ │

│ │ │ │ -  <[ref]def name="bigfont">
│ │ │ │ -    <font size="+4">
│ │ │ │ -  <[ref]/def>
│ │ │ │ -
│ │ │ │ -  <[ref]def name="/bigfont">
│ │ │ │ -    </font>
│ │ │ │ -  <[ref]/def>
│ │ │ │ -
│ │ │ │ -  <bigfont>Some large text</bigfont>
│ │ │ │ +    a is expanded at time 1.
│ │ │ │ +    b is expanded at time 0.
│ │ │ │ +  contents of a:   a is expanded at time <[ref]use time>.
│ │ │ │ +  contents of b:   b is expanded at time 0.
│ │ │ │ +    c is expanded at time 1;   a is expanded at time 1.
│ │ │ │ +    d is expanded at time 1;   a is expanded at time 2.
│ │ │ │ +    e is expanded at time 2;   a is defined for the 2nd time <[ref]use time>.
│ │ │ │

│ │ │ │

synopsis

│ │ │ │ FILE has several optional parameters of differing purpose. │ │ │ │ The output file's name, the current date and time, and the contents of │ │ │ │ another file may be included. Another file's time, date, or size may be │ │ │ │ added to the output file as well. │ │ │ │

│ │ │ │ As with all HTML, these tags do not have to be on their own line, so the │ │ │ │ following is perfectly acceptable: │ │ │ │

│ │ │ │ -  <[ref]imageurl url="http://my.domain.org/" path="/var/www/my.domain/">
│ │ │ │ -  <[ref]imageurl url="other.domain.org/" path="/var/www/other.domain/">
│ │ │ │ -
│ │ │ │ -  For this line: <[ref]img src="logo.gif">
│ │ │ │ -  the local filename "logo.gif" will be used to determine image dimensions
│ │ │ │ -  (no URL replacement).
│ │ │ │ -
│ │ │ │ -  For this line: <[ref]img src="http://my.domain.org/logo.gif">
│ │ │ │ -  the local filename "/var/www/my.domain/logo.gif" will be used.
│ │ │ │ +<[ref]OUTPUT FILE="outputfilename" [APPEND] [EXPAND]>
│ │ │ │ +text block
│ │ │ │ +<[ref]/OUTPUT>
│ │ │ │
│ │ │ │ -  But for this line: <[ref]img src="http://other.domain.org/logo.gif">
│ │ │ │ -  the local file cannot be found (no prefix match), so the image dimensions
│ │ │ │ -  will not be added.
│ │ │ │ -
│ │ │ │ -  Order is important; last IMAGEURL tag takes precedence:
│ │ │ │ -  <[ref]imageurl url="/" path="/var/www/htdocs/">
│ │ │ │ -  <[ref]imageurl url="/test/" path="/var/www/test/">
│ │ │ │ -
│ │ │ │ -  <[ref]img src="/image.gif"> and <[ref]img src="/test/image.gif"> are mapped to
│ │ │ │ -  /var/www/htdocs/image.gif and /var/www/test/image.gif, resp.
│ │ │ │ -  If the order of the imageurl lines would be swapped, the second
│ │ │ │ -  image would be mapped to /var/www/htdocs/test/image.gif.
│ │ │ │

│ │ │ │

│ │ │ │

NAME, TIME, SIZE

│ │ │ │

│ │ │ │ To include information about another file, such as an archive file or │ │ │ │ graphic image, specify its name with the NAME attribute followed by the │ │ │ │ type of information to be displayed: │ │ │ │

│ │ │ │ -    <[ref]INC i="1" j="-1">
│ │ │ │ +<[ref]unset macroname>
│ │ │ │ +<[ref]unset macroname1 macroname2 ... >
│ │ │ │ +
│ │ │ │

│ │ │ │

│ │ │ │ For file size information, the value BYTE, KBYTE, etc. dictates how the │ │ │ │ information is displayed. In anything other than byte format, the information │ │ │ │ is displayed in floating-point notation. The amount of precision (the number │ │ │ │ of digits to the right of the decimal point) can be set with the optional │ │ │ │ PRECISION attribute. The default precision is zero (0), which means no │ │ │ │ @@ -200,21 +182,17 @@ │ │ │ │

│ │ │ │ Additional parameters can be set in the FILE INCLUDE tag, which are │ │ │ │ interpreted as macros that are "passed" to the included file. The macros │ │ │ │ are available only to the include file (and any macros or included files it │ │ │ │ holds). After the file is completely included, the macros are no longer │ │ │ │ available. So: │ │ │ │

│ │ │ │ -<[ref]OPT (IMGXY|NOIMGXY)>
│ │ │ │ -<[ref]OPT (QUIET|VERBOSE)>
│ │ │ │ -<[ref]OPT (DEPEND|NODEPEND)>
│ │ │ │ -<[ref]OPT (PRECIOUS|NOPRECIOUS)>
│ │ │ │ -<[ref]OPT (CONDENSE|SEMICONDENSE|NOCONDENSE)>
│ │ │ │ -<[ref]OPT DELIM=(HTML|SQUARE|CURLY)>
│ │ │ │ -<[ref]OPT (XML|XML=FALSE)>
│ │ │ │ +<[ref]WHILE [NOT] conditional>
│ │ │ │ +    block
│ │ │ │ +<[ref]/WHILE>
│ │ │ │
│ │ │ │

│ │ │ │

│ │ │ │ Macros named "name" and "email" are set, and available inside the included │ │ │ │ file. They are not available, however, past the tag (which is why the │ │ │ │ second statement will fail.) │ │ │ │

│ │ │ │ ├── html2text {} │ │ │ │ │ @@ -1,127 +1,107 @@ │ │ │ │ │ │ │ │ │ │ [HTP] │ │ │ │ │ ****** htp on-line reference : FILE ****** │ │ │ │ │ Table_of ***** syntax ***** │ │ │ │ │ -Contents   <[[ref]]def name="bigfont"> │ │ │ │ │ - Introduction     │ │ │ │ │ - License   <[[ref]]/def> │ │ │ │ │ - Tutorial │ │ │ │ │ - Usage   <[[ref]]def name="/bigfont"> │ │ │ │ │ - HTP Tags     │ │ │ │ │ -   ALTTEXT   <[[ref]]/def> │ │ │ │ │ -   BLOCK │ │ │ │ │ -   BLOCKDEF   Some large text │ │ │ │ │ -   DEF ***** synopsis ***** │ │ │ │ │ - [>] FILE FILE has several optional parameters of differing purpose. The output file's │ │ │ │ │ -   IF name, the current date and time, and the contents of another file may be │ │ │ │ │ -   INC included. Another file's time, date, or size may be added to the output file │ │ │ │ │ -   IMG as well. │ │ │ │ │ -   IMAGEURL As with all HTML, these tags do not have to be on their own line, so the │ │ │ │ │ -   OPT following is perfectly acceptable: │ │ │ │ │ -   OUTPUT   <[[ref]]imageurl url="http://my.domain.org/" path="/var/www/my.domain/"> │ │ │ │ │ -   QUOTE   <[[ref]]imageurl url="other.domain.org/" path="/var/www/other.domain/"> │ │ │ │ │ +Contents     a is expanded at time 1. │ │ │ │ │ + Introduction     b is expanded at time 0. │ │ │ │ │ + License   contents of a:   a is expanded at time <[[ref]]use time>. │ │ │ │ │ + Tutorial   contents of b:   b is expanded at time 0. │ │ │ │ │ + Usage     c is expanded at time 1;   a is expanded at time 1. │ │ │ │ │ + HTP Tags     d is expanded at time 1;   a is expanded at time 2. │ │ │ │ │ +   ALTTEXT     e is expanded at time 2;   a is defined for the 2nd time <[[ref]]use │ │ │ │ │ +   BLOCK time>. │ │ │ │ │ +   BLOCKDEF ***** synopsis ***** │ │ │ │ │ +   DEF FILE has several optional parameters of differing purpose. The output │ │ │ │ │ + [>] FILE file's name, the current date and time, and the contents of another file │ │ │ │ │ +   IF may be included. Another file's time, date, or size may be added to the │ │ │ │ │ +   INC output file as well. │ │ │ │ │ +   IMG As with all HTML, these tags do not have to be on their own line, so the │ │ │ │ │ +   IMAGEURL following is perfectly acceptable: │ │ │ │ │ +   OPT <[[ref]]OUTPUT FILE="outputfilename" [APPEND] [EXPAND]> │ │ │ │ │ +   OUTPUT text block │ │ │ │ │ +   QUOTE <[[ref]]/OUTPUT> │ │ │ │ │    SET │ │ │ │ │ -   UNDEF   For this line: <[[ref]]img src="logo.gif"> │ │ │ │ │ -   UNSET   the local filename "logo.gif" will be used to determine image dimensions │ │ │ │ │ -   USE,_$   (no URL replacement). │ │ │ │ │ -   WHILE │ │ │ │ │ -