From 08a57555563d6b19cb9bb66b168671033672f7aa Mon Sep 17 00:00:00 2001 From: Martin Ruckert Date: Mon, 14 Feb 2022 15:54:19 +0000 Subject: changing ifHINT to ifhint according to iftex.sty adding a page template that resembles plain TeX's output routine git-svn-id: svn://tug.org/texlive/trunk@62020 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/texk/web2c/hitexdir/tex/hiplainpage.tex | 35 ++++++++++++++++++++++ Build/source/texk/web2c/hitexdir/tex/ifhint.tex | 8 ++--- 2 files changed, 39 insertions(+), 4 deletions(-) create mode 100644 Build/source/texk/web2c/hitexdir/tex/hiplainpage.tex (limited to 'Build') diff --git a/Build/source/texk/web2c/hitexdir/tex/hiplainpage.tex b/Build/source/texk/web2c/hitexdir/tex/hiplainpage.tex new file mode 100644 index 00000000000..96afd91e2fa --- /dev/null +++ b/Build/source/texk/web2c/hitexdir/tex/hiplainpage.tex @@ -0,0 +1,35 @@ +\ifhint + \dimen0=1.25\hsize + \advance\dimen0 by -9pt + \dimen1=1.25\vsize + \advance\dimen1 by -9pt +\HINTsetpage1 = basic + priority 10 + width \dimen0 + height \dimen1 +{% + \maxdepth=4pt + \topskip=10pt + \HINTstream\topins %topinsert + \HINTstream0 %main text + \HINTstream\footins + \HINTsetstream\topins = %topinsert + prefered 0 + {% + \HINTafter = {} + } + \HINTsetstream\footins =%footnotes + prefered 255 + ratio 0 + {% + \hsize=300pt + \count\footins=1000 % the magnification factor + \skip\footins=\bigskipamount % the extra space needed + \dimen\footins=\vsize % maximum height on the page + \HINTbefore = + {\vskip\skip\footins + \footnoterule} + \HINTafter = {} + } +}% end page template +\fi diff --git a/Build/source/texk/web2c/hitexdir/tex/ifhint.tex b/Build/source/texk/web2c/hitexdir/tex/ifhint.tex index 6d7cb2dccf1..87ae7b4b1c1 100644 --- a/Build/source/texk/web2c/hitexdir/tex/ifhint.tex +++ b/Build/source/texk/web2c/hitexdir/tex/ifhint.tex @@ -1,7 +1,7 @@ -% How to test for the HINT output -\newif\ifHINT +\newif\ifhint +% How to test for the HiTeX engine \expandafter\ifx\csname HINTversion\endcsname\relax - \HINTfalse + \hintfalse \else - \HINTtrue + \hinttrue \fi -- cgit v1.2.3