summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex')
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex63
1 files changed, 36 insertions, 27 deletions
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex
index ec5a9491dc..70e343cf88 100644
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex
@@ -9,8 +9,6 @@
\usepackage{xcolor}
-\usepackage[]{inputenc}
-
\makeatletter
@@ -57,36 +55,39 @@
\newbox\lthtmlPageBox
\newdimen\lthtmlCropMarkHeight
\newdimen\lthtmlCropMarkDepth
-\long\def\lthtmlTightVBox#1#2{%
- \setbox\lthtmlPageBox\vbox{\hbox{\catcode`\_=8 #2}}%
+\long\def\lthtmlTightVBoxA#1{\def\lthtmllabel{#1}
+ \setbox\lthtmlPageBox\vbox\bgroup\catcode`\_=8 }%
+\long\def\lthtmlTightVBoxZ{\egroup
\lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt
\lthtmlCropMarkDepth=\dp\lthtmlPageBox
- \lthtmltypeout{^^J:#1:lthtmlCropMarkHeight:=\the\lthtmlCropMarkHeight}%
- \lthtmltypeout{^^J:#1:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the \dimexpr 1ex}%
- \begin{preview}\copy\lthtmlPageBox\end{preview}}}%
-\long\def\lthtmlTightFBox#1#2{%
+ \lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkHeight:=\the\lthtmlCropMarkHeight}%
+ \lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the \dimexpr 1ex}%
+ \begin{preview}\copy\lthtmlPageBox\end{preview}}%
+\long\def\lthtmlTightFBoxA#1{\def\lthtmllabel{#1}%
\adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
\let\ifinner=\iffalse \let\)\liih@math %
- {\catcode`\_=8 #2}%
+ \bgroup\catcode`\_=8 }%
+\long\def\lthtmlTightFBoxZ{\egroup
\@next\next\@currlist{}{\def\next{\voidb@x}}%
\expandafter\box\next\egroup %
\lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt
\lthtmlCropMarkDepth=\dp\lthtmlPageBox
- \lthtmltypeout{^^J:#1:lthtmlCropMarkHeight:=\the\lthtmlCropMarkHeight}%
- \lthtmltypeout{^^J:#1:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the \dimexpr 1ex}%
+ \lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkHeight:=\the\lthtmlCropMarkHeight}%
+ \lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the \dimexpr 1ex}%
\begin{preview}\copy\lthtmlPageBox\end{preview}}%
- \long\def\lthtmlinlinemathA#1#2\lthtmlindisplaymathZ{\lthtmlTightVBox{#1}{#2}}
- \def\lthtmlinlineA#1#2\lthtmlinlineZ{\lthtmlTightVBox{#1}{#2}}
- \long\def\lthtmldisplayA#1#2\lthtmldisplayZ{\lthtmlTightVBox{#1}{#2}}
- \long\def\lthtmlinlinemathA#1#2\lthtmlindisplaymathZ{\lthtmlTightVBox{#1}{#2}}
- \def\lthtmlinlineA#1#2\lthtmlinlineZ{\lthtmlTightVBox{#1}{#2}}
- \long\def\lthtmldisplayA#1#2\lthtmldisplayZ{\lthtmlTightVBox{#1}{#2}}
+ \long\def\lthtmlinlinemathA#1#2\lthtmlindisplaymathZ{\lthtmlTightVBoxA{#1}{\hbox\bgroup#2\egroup}\lthtmlTightVBoxZ}
+ \def\lthtmlinlineA#1#2\lthtmlinlineZ{\lthtmlTightVBoxA{#1}{\hbox\bgroup#2\egroup}\lthtmlTightVBoxZ}
+ \long\def\lthtmldisplayA#1#2\lthtmldisplayZ{\lthtmlTightVBoxA{#1}{#2}\lthtmlTightVBoxZ}
\long\def\lthtmldisplayB#1#2\lthtmldisplayZ{\\edef\preveqno{(\theequation)}%
- \lthtmlTightVBox{#1}{\let\@eqnnum\relax#2}}
- \long\def\lthtmlfigureA#1#2\lthtmlfigureZ{\let\@savefreelist\@freelist
- \lthtmlTightFBox{#1}{#2}\global\let\@freelist\@savefreelist}
- \long\def\lthtmlpictureA#1#2\lthtmlpictureZ{\let\@savefreelist\@freelist
- \lthtmlTightVBox{#1}{#2}\global\let\@freelist\@savefreelist}
+ \lthtmlTightVBoxA{#1}{\let\@eqnnum\relax#2}\lthtmlTightVBoxZ}
+ \long\def\lthtmlfigureA#1{\let\@savefreelist\@freelist
+ \lthtmlTightFBoxA{#1}}
+ \long\def\lthtmlfigureZ{
+ \lthtmlTightFBoxZ\global\let\@freelist\@savefreelist}
+ \long\def\lthtmlpictureA#1{\let\@savefreelist\@freelist
+ \lthtmlTightVBoxA{#1}}
+ \long\def\lthtmlpictureZ{
+ \lthtmlTightVBoxZ\global\let\@freelist\@savefreelist}
\def\lthtmlcheckvsize{\ifdim\ht\sizebox<\vsize
\ifdim\wd\sizebox<\hsize\expandafter\hfill\fi \expandafter\vfill
\else\expandafter\vss\fi}%
@@ -117,22 +118,30 @@
% !!! IMAGES START HERE !!!
{\newpage\clearpage
-\lthtmldisplayA{displaymath13}%
-\begin{displaymath}\partial_t \eta (t) = g(\eta(t),\varphi(t))\end{displaymath}%
-\lthtmldisplayZ
+\lthtmlinlinemathA{tex2html_wrap_indisplay27}%
+$\displaystyle \partial_t \eta (t) = g(\eta(t),\varphi(t))$%
+\lthtmlindisplaymathZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlinlinemathA{tex2html_wrap_inline15}%
+\lthtmlinlinemathA{tex2html_wrap_inline20}%
$--a {\frac{1}{2}} @minus{}$%
\lthtmlindisplaymathZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmlinlinemathA{tex2html_wrap_inline17}%
+\lthtmlinlinemathA{tex2html_wrap_inline22}%
$--a@minus{} {\frac{1}{2}}$%
\lthtmlindisplaymathZ
\lthtmlcheckvsize\clearpage}
+{\newpage\clearpage
+\lthtmlinlinemathA{tex2html_wrap_indisplay31}%
+$\displaystyle disp--laymath
+f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over \sigma}\right)^2}
+$%
+\lthtmlindisplaymathZ
+\lthtmlcheckvsize\clearpage}
+
\end{document}