summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-04 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2021-07-04 03:01:24 +0000
commit7994f86ec5e18f9d0d9f90161a2f26dd26d26af7 (patch)
tree88edb7d1a1aed3183a1350202c898716b4ac59ce /macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying
parent03fa062b03ce2bb5385f8f30888f94d441fa5cb4 (diff)
CTAN sync 202107040301
Diffstat (limited to 'macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying')
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying-l2h_cache.pm30
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html83
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h.html32
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h_images.tex63
4 files changed, 95 insertions, 113 deletions
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying-l2h_cache.pm b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying-l2h_cache.pm
index 1ad3bfc48d..32256eddff 100644
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying-l2h_cache.pm
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying-l2h_cache.pm
@@ -2,42 +2,36 @@
$l2h_cache_key = q/$$
2 a = \dot{\phi}
$$/;
-$l2h_cache{$l2h_cache_key} = q|<BR><P></P>
-<DIV CLASS="mathdisplay">
+$l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
<!-- MATH
\begin{displaymath}
2 a = \dot{\phi}
\end{displaymath}
-->
-<IMG STYLE=""
- SRC="tex_in_copying_2.svg"
- ALT="\begin{displaymath}
-2 a = \dot{\phi}
-\end{displaymath}">
+<IMG
+ STYLE="height: 2.84ex; vertical-align: -0.57ex; " SRC="tex_in_copying_2.svg"
+ ALT="$\displaystyle 2 a = \dot{\phi}
+$">
</DIV>
-<BR CLEAR="ALL">
-<P></P>|;
+|;
$l2h_cache_key = q/From @ someone <> !
$$
a = \phi
$$/;
$l2h_cache{$l2h_cache_key} = q|From @ someone &lt;&gt; !
-<BR><P></P>
-<DIV CLASS="mathdisplay">
+<DIV CLASS="displaymath">
<!-- MATH
\begin{displaymath}
a = \phi
\end{displaymath}
-->
-<IMG STYLE=""
- SRC="tex_in_copying_1.svg"
- ALT="\begin{displaymath}
-a = \phi
-\end{displaymath}">
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
+ ALT="$\displaystyle a = \phi
+$">
</DIV>
-<BR CLEAR="ALL">
-<P></P>|;
+|;
1; \ No newline at end of file
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html
index ca7e4a0b72..2c1fc12931 100644
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html
@@ -1,5 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- Some equation is indeed needed to understand the copyright of
that file
From someone <> !
@@ -7,9 +10,6 @@ $$
a = \phi
$$
-->
-<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Top node</title>
<meta name="description" content="Top node">
@@ -17,13 +17,15 @@ $$
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2any">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
<style type="text/css">
<!--
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
-div.lisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
@@ -32,6 +34,7 @@ pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
ul.no-bullet {list-style: none}
-->
</style>
@@ -43,7 +46,8 @@ ul.no-bullet {list-style: none}
-<span id="Top"></span><table class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="top" id="Top">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[ &lt; ]</td>
<td valign="middle" align="left">[<a href="#chapter" title="Next section in reading order"> &gt; </a>]</td>
<td valign="middle" align="left"> &nbsp; </td>
@@ -56,22 +60,19 @@ ul.no-bullet {list-style: none}
<p>Some equation is indeed needed to understand the copyright of
that file
From @ someone &lt;&gt; !
-<BR><P></P>
-<DIV CLASS="mathdisplay">
+<DIV CLASS="displaymath">
<!-- MATH
\begin{displaymath}
a = \phi
\end{displaymath}
-->
-<IMG STYLE=""
- SRC="tex_in_copying_1.svg"
- ALT="\begin{displaymath}
-a = \phi
-\end{displaymath}">
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
+ ALT="$\displaystyle a = \phi
+$">
</DIV>
-<BR CLEAR="ALL">
-<P></P>
+
</p>
<table class="menu" border="0" cellspacing="0">
@@ -82,26 +83,24 @@ a = \phi
<p>Some equation is indeed needed to understand the copyright of
that file
From @ someone &lt;&gt; !
-<BR><P></P>
-<DIV CLASS="mathdisplay">
+<DIV CLASS="displaymath">
<!-- MATH
\begin{displaymath}
a = \phi
\end{displaymath}
-->
-<IMG STYLE=""
- SRC="tex_in_copying_1.svg"
- ALT="\begin{displaymath}
-a = \phi
-\end{displaymath}">
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
+ ALT="$\displaystyle a = \phi
+$">
</DIV>
-<BR CLEAR="ALL">
-<P></P>
+
</p>
<hr size="6">
-<span id="chapter"></span><table class="header" cellpadding="1" cellspacing="1" border="0">
+<div class="chapter" id="chapter">
+<table class="header" cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Top" title="Beginning of this chapter or previous chapter"> &lt;&lt; </a>]</td>
<td valign="middle" align="left">[<a href="#Top" title="Previous section in reading order"> &lt; </a>]</td>
<td valign="middle" align="left">[<a href="#Top" title="Up section"> Up </a>]</td>
@@ -119,47 +118,43 @@ a = \phi
<span id="chapter-1"></span><h1 class="chapter">1 chapter</h1>
<p>The fundamental equation is
-<BR><P></P>
-<DIV CLASS="mathdisplay">
+<DIV CLASS="displaymath">
<!-- MATH
\begin{displaymath}
2 a = \dot{\phi}
\end{displaymath}
-->
-<IMG STYLE=""
- SRC="tex_in_copying_2.svg"
- ALT="\begin{displaymath}
-2 a = \dot{\phi}
-\end{displaymath}">
+<IMG
+ STYLE="height: 2.84ex; vertical-align: -0.57ex; " SRC="tex_in_copying_2.svg"
+ ALT="$\displaystyle 2 a = \dot{\phi}
+$">
</DIV>
-<BR CLEAR="ALL">
-<P></P>
+
</p>
<p>Some equation is indeed needed to understand the copyright of
that file
From @ someone &lt;&gt; !
-<BR><P></P>
-<DIV CLASS="mathdisplay">
+<DIV CLASS="displaymath">
<!-- MATH
\begin{displaymath}
a = \phi
\end{displaymath}
-->
-<IMG STYLE=""
- SRC="tex_in_copying_1.svg"
- ALT="\begin{displaymath}
-a = \phi
-\end{displaymath}">
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
+ ALT="$\displaystyle a = \phi
+$">
</DIV>
-<BR CLEAR="ALL">
-<P></P>
+
</p>
<hr size="6">
-<span id="SEC_About"></span>
+</div>
+</div>
+<div class="About_element" id="SEC_About">
<table class="header" cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[Contents]</td>
@@ -268,7 +263,7 @@ a = \phi
</li>
</ul>
-<hr>
+</div><hr>
<p><font size="-1">
This document was generated on <em>a sunny day</em> using <a href="http://www.gnu.org/software/texinfo/"><em>texi2any</em></a>.
</font></p>
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h.html b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h.html
index c1dcbd92ff..2dd8cc5687 100644
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h.html
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<!--Converted with LaTeX2HTML
-<HTML lang="EN">
+<HTML lang="en">
<HEAD>
<TITLE>tex_in_copying_l2h</TITLE>
<META NAME="description" CONTENT="tex_in_copying_l2h">
@@ -21,42 +21,36 @@
<!-- l2h_begin tex_in_copying_l2h 1 -->
From @ someone &lt;&gt; !
-<BR><P></P>
-<DIV CLASS="mathdisplay">
+<DIV CLASS="displaymath">
<!-- MATH
\begin{displaymath}
a = \phi
\end{displaymath}
-->
-<IMG STYLE=""
- SRC="tex_in_copying_l2h_img1.svg"
- ALT="\begin{displaymath}
-a = \phi
-\end{displaymath}">
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="tex_in_copying_l2h_img1.svg"
+ ALT="$\displaystyle a = \phi
+$">
</DIV>
-<BR CLEAR="ALL">
-<P></P>
+
<!-- l2h_end tex_in_copying_l2h 1 -->
<!-- l2h_begin tex_in_copying_l2h 2 -->
-<BR><P></P>
-<DIV CLASS="mathdisplay">
+<DIV CLASS="displaymath">
<!-- MATH
\begin{displaymath}
2 a = \dot{\phi}
\end{displaymath}
-->
-<IMG STYLE=""
- SRC="tex_in_copying_l2h_img2.svg"
- ALT="\begin{displaymath}
-2 a = \dot{\phi}
-\end{displaymath}">
+<IMG
+ STYLE="height: 2.84ex; vertical-align: -0.57ex; " SRC="tex_in_copying_l2h_img2.svg"
+ ALT="$\displaystyle 2 a = \dot{\phi}
+$">
</DIV>
-<BR CLEAR="ALL">
-<P></P>
+
<!-- l2h_end tex_in_copying_l2h 2 -->
<BR>
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h_images.tex b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h_images.tex
index e7b5750208..91ae6e7100 100644
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h_images.tex
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_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,19 +118,17 @@
% !!! IMAGES START HERE !!!
{\newpage\clearpage
-\lthtmldisplayA{displaymath6}%
-\begin{displaymath}
-a = \phi
-\end{displaymath}%
-\lthtmldisplayZ
+\lthtmlinlinemathA{tex2html_wrap_indisplay11}%
+$\displaystyle a = \phi
+$%
+\lthtmlindisplaymathZ
\lthtmlcheckvsize\clearpage}
{\newpage\clearpage
-\lthtmldisplayA{displaymath8}%
-\begin{displaymath}
-2 a = \dot{\phi}
-\end{displaymath}%
-\lthtmldisplayZ
+\lthtmlinlinemathA{tex2html_wrap_indisplay13}%
+$\displaystyle 2 a = \dot{\phi}
+$%
+\lthtmlindisplaymathZ
\lthtmlcheckvsize\clearpage}