diff options
Diffstat (limited to 'macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h')
7 files changed, 337 insertions, 0 deletions
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef-l2h_cache.pm b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef-l2h_cache.pm new file mode 100644 index 0000000000..7985abdd87 --- /dev/null +++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef-l2h_cache.pm @@ -0,0 +1,28 @@ + +$l2h_cache_key = q/ \gdef\Desig{\buildrel \rm def \over \equiv}/; +$l2h_cache{$l2h_cache_key} = q| |; + +$l2h_cache_key = q/$$ \Desig +$$/; +$l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath"> +<!-- MATH + \begin{displaymath} +\buildrel \rm def \over \equiv +\end{displaymath} + --> + +<IMG + STYLE="height: 3.12ex; vertical-align: -0.12ex; " SRC="tex_gdef_2.svg" + ALT="$\displaystyle \buildrel \rm def \over \equiv +$"> +</DIV> +|; + +$l2h_cache_key = q/$\Desig$/; +$l2h_cache{$l2h_cache_key} = q|<!-- MATH + $\buildrel \rm def \over \equiv$ + --> +<SPAN CLASS="MATH"><IMG + STYLE="height: 3.12ex; vertical-align: -0.12ex; " SRC="tex_gdef_1.svg" + ALT="$\buildrel \rm def \over \equiv $"></SPAN>|; +1;
\ No newline at end of file diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.2 b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.2 new file mode 100644 index 0000000000..2d13c0f6d6 --- /dev/null +++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.2 @@ -0,0 +1 @@ +texexpand diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html new file mode 100644 index 0000000000..edf912dc69 --- /dev/null +++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html @@ -0,0 +1,71 @@ +<!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"> +<title>Tests</title> + +<meta name="description" content="Tests"> +<meta name="keywords" content="Tests"> +<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} +kbd {font-style: oblique} +pre.display {font-family: inherit} +pre.format {font-family: inherit} +pre.menu-comment {font-family: serif} +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> + + +</head> + +<body lang="en"> +<div class="top" id="Top"> +<span id="Tests"></span><h1 class="top">Tests</h1> + + + +<p><!-- MATH + $\buildrel \rm def \over \equiv$ + --> +<SPAN CLASS="MATH"><IMG + STYLE="height: 3.12ex; vertical-align: -0.12ex; " SRC="tex_gdef_1.svg" + ALT="$\buildrel \rm def \over \equiv $"></SPAN> +</p> +<DIV CLASS="displaymath"> +<!-- MATH + \begin{displaymath} +\buildrel \rm def \over \equiv +\end{displaymath} + --> + +<IMG + STYLE="height: 3.12ex; vertical-align: -0.12ex; " SRC="tex_gdef_2.svg" + ALT="$\displaystyle \buildrel \rm def \over \equiv +$"> +</DIV> + +<hr></div> +<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> + + +</body> +</html> diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h.html b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h.html new file mode 100644 index 0000000000..24601a7ce1 --- /dev/null +++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h.html @@ -0,0 +1,56 @@ +<!DOCTYPE HTML> + +<!--Converted with LaTeX2HTML +<HTML lang="en"> +<HEAD> +<TITLE>tex_gdef_l2h</TITLE> +<META NAME="description" CONTENT="tex_gdef_l2h"> +<META NAME="keywords" CONTENT="tex_gdef_l2h"> +<META NAME="resource-type" CONTENT="document"> +<META NAME="distribution" CONTENT="global"> + +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> +<META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0"> +<META NAME="Generator" CONTENT="LaTeX2HTML"> + +<LINK REL="STYLESHEET" HREF="tex_gdef_l2h.css"> + +</HEAD> + +<BODY > + +<!-- l2h_begin tex_gdef_l2h 1 --> + + +<!-- l2h_end tex_gdef_l2h 1 --> + +<!-- l2h_begin tex_gdef_l2h 2 --> +<!-- MATH + $\buildrel \rm def \over \equiv$ + --> +<SPAN CLASS="MATH"><IMG + STYLE="height: 3.12ex; vertical-align: -0.12ex; " SRC="tex_gdef_l2h_img1.svg" + ALT="$\buildrel \rm def \over \equiv $"></SPAN> + +<!-- l2h_end tex_gdef_l2h 2 --> + +<!-- l2h_begin tex_gdef_l2h 3 --> +<DIV CLASS="displaymath"> +<!-- MATH + \begin{displaymath} +\buildrel \rm def \over \equiv +\end{displaymath} + --> + +<IMG + STYLE="height: 3.12ex; vertical-align: -0.12ex; " SRC="tex_gdef_l2h_img2.svg" + ALT="$\displaystyle \buildrel \rm def \over \equiv +$"> +</DIV> + + +<!-- l2h_end tex_gdef_l2h 3 --> +<BR> +<HR> +</BODY> +</HTML> diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h.tex b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h.tex new file mode 100644 index 0000000000..0047891e8f --- /dev/null +++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h.tex @@ -0,0 +1,34 @@ +% This document was automatically generated by the l2h extenstion of texi2html +% DO NOT EDIT !!! +\documentclass{article} +\usepackage{html} +\begin{document} +\begin{rawhtml} + +<!-- l2h_begin tex_gdef_l2h 1 --> +\end{rawhtml} + \gdef\Desig{\buildrel \rm def \over \equiv} +\begin{rawhtml} +<!-- l2h_end tex_gdef_l2h 1 --> + +\end{rawhtml} +\begin{rawhtml} + +<!-- l2h_begin tex_gdef_l2h 2 --> +\end{rawhtml} +$\Desig$ +\begin{rawhtml} +<!-- l2h_end tex_gdef_l2h 2 --> + +\end{rawhtml} +\begin{rawhtml} + +<!-- l2h_begin tex_gdef_l2h 3 --> +\end{rawhtml} +$$ \Desig +$$ +\begin{rawhtml} +<!-- l2h_end tex_gdef_l2h 3 --> + +\end{rawhtml} +\end{document} diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h_images.tex b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h_images.tex new file mode 100644 index 0000000000..726f1c9705 --- /dev/null +++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h_images.tex @@ -0,0 +1,134 @@ +\batchmode + +\documentclass{article} +\RequirePackage{ifthen} + + +\usepackage{html} + + +\usepackage{xcolor} + + + +\makeatletter + +\makeatletter +\count@=\the\catcode`\_ \catcode`\_=8 +\newenvironment{tex2html_wrap}{}{}% +\catcode`\<=12\catcode`\_=\count@ +\newcommand{\providedcommand}[1]{\expandafter\providecommand\csname #1\endcsname}% +\newcommand{\renewedcommand}[1]{\expandafter\providecommand\csname #1\endcsname{}% + \expandafter\renewcommand\csname #1\endcsname}% +\newcommand{\newedenvironment}[1]{\newenvironment{#1}{}{}\renewenvironment{#1}}% +\let\newedcommand\renewedcommand +\let\renewedenvironment\newedenvironment +\makeatother +\let\mathon=$ +\let\mathoff=$ +\ifx\AtBeginDocument\undefined \newcommand{\AtBeginDocument}[1]{}\fi +\newbox\sizebox +\setlength{\hoffset}{0pt}\setlength{\voffset}{0pt} +\addtolength{\textheight}{\footskip}\setlength{\footskip}{0pt} +\addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt} +\addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt} +\addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt} +\setlength{\textwidth}{451pt} +\setlength{\textheight}{554pt} +\newwrite\lthtmlwrite +\makeatletter +\let\realnormalsize=\normalsize +\global\topskip=2sp +\def\preveqno{}\let\real@float=\@float \let\realend@float=\end@float +\def\@float{\let\@savefreelist\@freelist\real@float} +\def\liih@math{\ifmmode$\else\bad@math\fi} +\def\end@float{\realend@float\global\let\@freelist\@savefreelist} +\let\real@dbflt=\@dbflt \let\end@dblfloat=\end@float +\let\@largefloatcheck=\relax +\let\if@boxedmulticols=\iftrue +\def\@dbflt{\let\@savefreelist\@freelist\real@dbflt} +\def\adjustnormalsize{\def\normalsize{\mathsurround=0pt \realnormalsize + \parindent=0pt\abovedisplayskip=0pt\belowdisplayskip=0pt}% + \def\phantompar{\csname par\endcsname}\normalsize}% +\def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}% +\usepackage[tightpage,active]{preview} +\newbox\lthtmlPageBox +\newdimen\lthtmlCropMarkHeight +\newdimen\lthtmlCropMarkDepth +\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:\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 % + \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:\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{\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)}% + \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}% +\providecommand{\selectlanguage}[1]{}% +\makeatletter \tracingstats = 1 + + +\begin{document} +\pagestyle{empty}\thispagestyle{empty}\lthtmltypeout{}% +\lthtmltypeout{latex2htmlLength hsize=\the\hsize}\lthtmltypeout{}% +\lthtmltypeout{latex2htmlLength vsize=\the\vsize}\lthtmltypeout{}% +\lthtmltypeout{latex2htmlLength hoffset=\the\hoffset}\lthtmltypeout{}% +\lthtmltypeout{latex2htmlLength voffset=\the\voffset}\lthtmltypeout{}% +\lthtmltypeout{latex2htmlLength topmargin=\the\topmargin}\lthtmltypeout{}% +\lthtmltypeout{latex2htmlLength topskip=\the\topskip}\lthtmltypeout{}% +\lthtmltypeout{latex2htmlLength headheight=\the\headheight}\lthtmltypeout{}% +\lthtmltypeout{latex2htmlLength headsep=\the\headsep}\lthtmltypeout{}% +\lthtmltypeout{latex2htmlLength parskip=\the\parskip}\lthtmltypeout{}% +\lthtmltypeout{latex2htmlLength oddsidemargin=\the\oddsidemargin}\lthtmltypeout{}% +\makeatletter +\if@twoside\lthtmltypeout{latex2htmlLength evensidemargin=\the\evensidemargin}% +\else\lthtmltypeout{latex2htmlLength evensidemargin=\the\oddsidemargin}\fi% +\lthtmltypeout{}% +\makeatother +\setcounter{page}{1} +\onecolumn + +% !!! IMAGES START HERE !!! + +{\newpage\clearpage +\lthtmlinlinemathA{tex2html_wrap_inline6}% +$\buildrel \rm def \over \equiv $% +\lthtmlindisplaymathZ +\lthtmlcheckvsize\clearpage} + +{\newpage\clearpage +\lthtmlinlinemathA{tex2html_wrap_indisplay16}% +$\displaystyle \buildrel \rm def \over \equiv +$% +\lthtmlindisplaymathZ +\lthtmlcheckvsize\clearpage} + + +\end{document} diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h_labels.pl b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h_labels.pl new file mode 100644 index 0000000000..ecc7b241c4 --- /dev/null +++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h_labels.pl @@ -0,0 +1,13 @@ +# LaTeX2HTML +# Associate labels original text with physical files. + + +1; + + +# LaTeX2HTML +# labels from external_latex_labels array. + + +1; + |