${LANG_OSFWB} ${/* the documentation is a separate package and may be absent */} ${do:if-file-exists:html/index.html} | ${LANG_MANUAL} ${do:end-if}

## ${LANG_J9} ${do:if-file-exists:html/guide.html} | ${LANG_O5} ${do:end-if}
${LANG_J10}
${LANG_J10b}
${/* Real commands and ini file generated below */} ${do:output-mode:html} httrack \ --quiet \ --build-top-index \ ${test:todo:--mirror:--mirror:--mirror:--get:--mirrorlinks:--testlinks:--continue:--update} ${unquoted:urls} ${test:filelist:-%L "}${arg:filelist}${test:filelist:"} --path "${arg:path}/${arg:projname}" \ ${test:parseall:--near} ${test:link:--test} ${test:testall:--extended-parsing} ${test:htmlfirst::--priority=7} \ ${do:if-not-empty:BuildString} --structure "${arg:BuildString}" ${/* end-if clears the output mode rather than restoring it, so re-arm it */} ${do:end-if}${do:output-mode:html} ${test:build:-N0:-N0:-N1:-N2:-N3:-N4:-N5:-N100:-N101:-N102:-N103:-N104:-N105:-N99:-N199:} \ ${ztest:dos::--long-names=0:--long-names=2:--long-names=0} ${test:robots:--robots=0:--robots=0:--robots=1:--robots=2} ${test:errpage:--generate-errors:--generate-errors=0} ${test:external:--replace-external} ${test:hidepwd:--disable-passwords} ${test:hidequery:--include-query-string=1:--include-query-string=0} ${test:nopurge:--purge-old=1:--purge-old=0} \ ${ztest:cache:--cache=0:} ${test:filter::--priority=0:--priority=1:--priority=2:--priority=3:--priority=7} ${test:travel::--stay-on-same-dir:--can-go-down:--can-go-up:--can-go-up-and-down} ${test:travel2::--stay-on-same-address:--stay-on-same-domain:--stay-on-same-tld:--go-everywhere} ${test:travel3::--keep-links=0:--keep-links:--keep-links=3:--keep-links=4} ${test:windebug:--debug-headers} \ ${test:connexion:--sockets=}${unquoted:connexion} ${test:ka:--keep-alive} ${test:timeout:--timeout=}${unquoted:timeout} ${test:remt:--host-control=1} ${test:retry:--retries=}${unquoted:retry} ${test:rate:--min-rate=}${unquoted:rate} ${test:rems:--host-control=2} \ ${test:depth:--depth=}${unquoted:depth} ${test:depth2:--ext-depth=}${unquoted:depth2} ${/* -m<n> resets the html limit, so the bare form must precede the -m,<n> one */} ${test:othermax:--max-files=}${unquoted:othermax} ${test:maxhtml:--max-files=,}${unquoted:maxhtml} ${test:sizemax:--max-size=}${unquoted:sizemax} ${test:pausebytes:--max-pause=}${unquoted:pausebytes} ${test:maxtime:--max-time=}${unquoted:maxtime} ${test:maxrate:--max-rate=}${unquoted:maxrate} ${test:maxconn:--connection-per-second=}${unquoted:maxconn} ${test:maxlinks:--advanced-maxlinks=}${unquoted:maxlinks} \ ${/* an empty -F mutes the header instead of defaulting, so a blank box sends nothing */} ${test:user:--user-agent "}${arg:user}${test:user:"} --footer "${arg:footer}" \ ${unquoted:url2} \ ${ztest:cookies:--cookies=0:} ${ztest:parsejava:--parse-java=0:} ${test:checktype::--check-type=0:--check-type=1:--check-type=2} ${test:updhack:--updatehack} ${ztest:urlhack:--urlhack=0:--urlhack} ${test:keepwww:--keep-www-prefix} ${test:keepslashes:--keep-double-slashes} ${test:keepqueryorder:--keep-query-order} ${test:cookiesfile:--cookies-file "}${arg:cookiesfile}${test:cookiesfile:"} ${test:pausefiles:--pause "}${arg:pausefiles}${test:pausefiles:"} ${arglist:stripquery:--strip-query} ${arglist:hostalias:--host-alias} ${test:toler:--tolerant} ${test:http10:--http-10} ${test:cache2:--store-all-in-cache} ${test:sitemap:--sitemap} ${test:sitemapurl_eff:--sitemap-url "}${arg:sitemapurl_eff}${test:sitemapurl_eff:"} ${test:warc:--warc} ${test:warcfile_eff:--warc-file "}${arg:warcfile_eff}${test:warcfile_eff:"} ${test:warcmaxsize_eff:--warc-max-size=}${unquoted:warcmaxsize_eff} ${test:warccdx_eff:--warc-cdx} ${test:wacz:--wacz} ${test:changes:--changes} ${test:singlefile:--single-file} ${test:singlefilemax_eff:--single-file-max-size=}${unquoted:singlefilemax_eff} ${test:norecatch:--do-not-recatch} ${test:logf:--single-log} ${test:logtype:::--extra-log:--debug-log} ${ztest:index:--index=0:} ${ztest:index2:--search-index=0:--search-index} \ ${/* the extension is the rule key, so a MIME type with none is no rule */} ${test:ext1:--assume "}${arg:ext1}${test:ext1:=}${do:if-not-empty:ext1}${arg:mime1}${do:end-if}${do:output-mode:html}${test:ext1:"} ${test:ext2:--assume "}${arg:ext2}${test:ext2:=}${do:if-not-empty:ext2}${arg:mime2}${do:end-if}${do:output-mode:html}${test:ext2:"} ${test:ext3:--assume "}${arg:ext3}${test:ext3:=}${do:if-not-empty:ext3}${arg:mime3}${do:end-if}${do:output-mode:html}${test:ext3:"} ${test:ext4:--assume "}${arg:ext4}${test:ext4:=}${do:if-not-empty:ext4}${arg:mime4}${do:end-if}${do:output-mode:html}${test:ext4:"} ${test:ext5:--assume "}${arg:ext5}${test:ext5:=}${do:if-not-empty:ext5}${arg:mime5}${do:end-if}${do:output-mode:html}${test:ext5:"} ${test:ext6:--assume "}${arg:ext6}${test:ext6:=}${do:if-not-empty:ext6}${arg:mime6}${do:end-if}${do:output-mode:html}${test:ext6:"} ${test:ext7:--assume "}${arg:ext7}${test:ext7:=}${do:if-not-empty:ext7}${arg:mime7}${do:end-if}${do:output-mode:html}${test:ext7:"} ${test:ext8:--assume "}${arg:ext8}${test:ext8:=}${do:if-not-empty:ext8}${arg:mime8}${do:end-if}${do:output-mode:html}${test:ext8:"} ${test:prox:--proxy "}${do:if-not-empty:prox}${test:proxytype::socks5:connect}${test:proxytype:\3A//}${do:end-if}${do:output-mode:html}${arg:prox}${test:prox:\3A}${do:if-not-empty:prox}${arg:portprox}${do:end-if}${do:output-mode:html}${test:prox:"} ${test:ftpprox:--httpproxy-ftp=0:--httpproxy-ftp} ${do:output-mode:inifile} ${/* 1: the list ids below are stored 0-based, as WinHTTrack writes them. */} ProfileFormat=1 CurrentUrl=${urls} Category=${projcateg} CurrentAction=${todo} CurrentURLList=${filelist} Proxy=${prox} Port=${portprox} Near=${ztest:parseall:0:1} Test=${ztest:link:0:1} ParseAll=${ztest:testall:0:1} HTMLFirst=${ztest:htmlfirst:0:1} Cache=${ztest:cache:0:1} NoRecatch=${ztest:norecatch:0:1} Dos=${dos} Index=${ztest:index:0:1} WordIndex=${ztest:index2:0:1} Log=${ztest:logf:0:1:2} RemoveTimeout=${ztest:remt:0:1} RemoveRateout=${ztest:rems:0:1} KeepAlive=${ztest:ka:0:1} FollowRobotsTxt=${robots} NoErrorPages=${ztest:errpage:0:1} NoExternalPages=${ztest:external:0:1} NoPwdInPages=${ztest:hidepwd:0:1} NoQueryStrings=${ztest:hidequery:0:1} NoPurgeOldFiles=${ztest:nopurge:0:1} Cookies=${ztest:cookies:0:1} CookiesFile=${cookiesfile} CheckType=${checktype} ParseJava=${ztest:parsejava:0:1} HTTP10=${ztest:http10:0:1} TolerantRequests=${ztest:toler:0:1} UpdateHack=${ztest:updhack:0:1} URLHack=${ztest:urlhack:0:1} KeepWww=${ztest:keepwww:0:1} KeepSlashes=${ztest:keepslashes:0:1} KeepQueryOrder=${ztest:keepqueryorder:0:1} StripQuery=${stripquery} HostAlias=${hostalias} StoreAllInCache=${ztest:cache2:0:1} Sitemap=${ztest:sitemap:0:1} SitemapUrl=${sitemapurl} Warc=${ztest:warc:0:1} WarcFile=${warcfile} WarcMaxSize=${warcmaxsize} WarcCdx=${ztest:warccdx:0:1} Wacz=${ztest:wacz:0:1} Changes=${ztest:changes:0:1} SingleFile=${ztest:singlefile:0:1} SingleFileMaxSize=${singlefilemax} LogType=${logtype} UseHTTPProxyForFTP=${ztest:ftpprox:0:1} ProxyType=${proxytype} Build=${build} PrimaryScan=${filter} Travel=${travel} GlobalTravel=${travel2} RewriteLinks=${travel3} BuildString=${BuildString} MaxHtml=${maxhtml} MaxOther=${othermax} MaxAll=${sizemax} MaxWait=${pausebytes} PauseFiles=${pausefiles} Sockets=${connexion} Retry=${retry} MaxTime=${maxtime} TimeOut=${timeout} RateOut=${rate} UserID=${user} Footer=${footer} MaxRate=${maxrate} WildCardFilters=${url2} Depth=${depth} ExtDepth=${depth2} MaxConn=${maxconn} MaxLinks=${maxlinks} MIMEDefsExt1=${ext1} MIMEDefsExt2=${ext2} MIMEDefsExt3=${ext3} MIMEDefsExt4=${ext4} MIMEDefsExt5=${ext5} MIMEDefsExt6=${ext6} MIMEDefsExt7=${ext7} MIMEDefsExt8=${ext8} MIMEDefsMime1=${mime1} MIMEDefsMime2=${mime2} MIMEDefsMime3=${mime3} MIMEDefsMime4=${mime4} MIMEDefsMime5=${mime5} MIMEDefsMime6=${mime6} MIMEDefsMime7=${mime7} MIMEDefsMime8=${mime8} ${do:output-mode:} ${do:output-mode:inifile} path=${path} lang=${lang_} ${do:output-mode:}