images.tex 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. \batchmode
  2. \documentclass[english]{article}
  3. \RequirePackage{ifthen}
  4. \usepackage{times}
  5. \usepackage[T1]{fontenc}
  6. \usepackage[latin1]{inputenc}
  7. \usepackage{geometry}
  8. \geometry{verbose,letterpaper,tmargin=10mm,bmargin=15mm,lmargin=10mm,rmargin=10mm}
  9. \setcounter{secnumdepth}{4}
  10. \setlength \parskip{\medskipamount}
  11. \setlength \parindent{0pt}
  12. \usepackage{graphicx}
  13. \IfFileExists{url.sty}{\usepackage{url}}
  14. {%
  15. \providecommand{\url}{\texttt} }
  16. \makeatletter
  17. %
  18. \providecommand{\noun}[1]{\textsc{#1}}%
  19. \providecommand{\tabularnewline}{\\}
  20. %
  21. \newenvironment{lyxcode}{\begin{list}{}{
  22. \setlength{\rightmargin}{\leftmargin}
  23. \setlength{\listparindent}{0pt}% needed for AMS classes
  24. \raggedright
  25. \setlength{\itemsep}{0pt}
  26. \setlength{\parsep}{0pt}
  27. \normalfont\ttfamily}%
  28. \item[]}
  29. {\end{list}}
  30. \usepackage{babel}
  31. \makeatother
  32. \usepackage[dvips]{color}
  33. \pagecolor[gray]{.7}
  34. \usepackage[]{inputenc}
  35. \makeatletter
  36. \makeatletter
  37. \count@=\the\catcode`\_ \catcode`\_=8
  38. \newenvironment{tex2html_wrap}{}{}%
  39. \catcode`\<=12\catcode`\_=\count@
  40. \newcommand{\providedcommand}[1]{\expandafter\providecommand\csname #1\endcsname}%
  41. \newcommand{\renewedcommand}[1]{\expandafter\providecommand\csname #1\endcsname{}%
  42. \expandafter\renewcommand\csname #1\endcsname}%
  43. \newcommand{\newedenvironment}[1]{\newenvironment{#1}{}{}\renewenvironment{#1}}%
  44. \let\newedcommand\renewedcommand
  45. \let\renewedenvironment\newedenvironment
  46. \makeatother
  47. \let\mathon=$
  48. \let\mathoff=$
  49. \ifx\AtBeginDocument\undefined \newcommand{\AtBeginDocument}[1]{}\fi
  50. \newbox\sizebox
  51. \setlength{\hoffset}{0pt}\setlength{\voffset}{0pt}
  52. \addtolength{\textheight}{\footskip}\setlength{\footskip}{0pt}
  53. \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
  54. \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
  55. \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
  56. \setlength{\textwidth}{349pt}
  57. \newwrite\lthtmlwrite
  58. \makeatletter
  59. \let\realnormalsize=\normalsize
  60. \global\topskip=2sp
  61. \def\preveqno{}\let\real@float=\@float \let\realend@float=\end@float
  62. \def\@float{\let\@savefreelist\@freelist\real@float}
  63. \def\liih@math{\ifmmode$\else\bad@math\fi}
  64. \def\end@float{\realend@float\global\let\@freelist\@savefreelist}
  65. \let\real@dbflt=\@dbflt \let\end@dblfloat=\end@float
  66. \let\@largefloatcheck=\relax
  67. \let\if@boxedmulticols=\iftrue
  68. \def\@dbflt{\let\@savefreelist\@freelist\real@dbflt}
  69. \def\adjustnormalsize{\def\normalsize{\mathsurround=0pt \realnormalsize
  70. \parindent=0pt\abovedisplayskip=0pt\belowdisplayskip=0pt}%
  71. \def\phantompar{\csname par\endcsname}\normalsize}%
  72. \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
  73. \newcommand\lthtmlhboxmathA{\adjustnormalsize\setbox\sizebox=\hbox\bgroup\kern.05em }%
  74. \newcommand\lthtmlhboxmathB{\adjustnormalsize\setbox\sizebox=\hbox to\hsize\bgroup\hfill }%
  75. \newcommand\lthtmlvboxmathA{\adjustnormalsize\setbox\sizebox=\vbox\bgroup %
  76. \let\ifinner=\iffalse \let\)\liih@math }%
  77. \newcommand\lthtmlboxmathZ{\@next\next\@currlist{}{\def\next{\voidb@x}}%
  78. \expandafter\box\next\egroup}%
  79. \newcommand\lthtmlmathtype[1]{\gdef\lthtmlmathenv{#1}}%
  80. \newcommand\lthtmllogmath{\lthtmltypeout{l2hSize %
  81. :\lthtmlmathenv:\the\ht\sizebox::\the\dp\sizebox::\the\wd\sizebox.\preveqno}}%
  82. \newcommand\lthtmlfigureA[1]{\let\@savefreelist\@freelist
  83. \lthtmlmathtype{#1}\lthtmlvboxmathA}%
  84. \newcommand\lthtmlpictureA{\bgroup\catcode`\_=8 \lthtmlpictureB}%
  85. \newcommand\lthtmlpictureB[1]{\lthtmlmathtype{#1}\egroup
  86. \let\@savefreelist\@freelist \lthtmlhboxmathB}%
  87. \newcommand\lthtmlpictureZ[1]{\hfill\lthtmlfigureZ}%
  88. \newcommand\lthtmlfigureZ{\lthtmlboxmathZ\lthtmllogmath\copy\sizebox
  89. \global\let\@freelist\@savefreelist}%
  90. \newcommand\lthtmldisplayA{\bgroup\catcode`\_=8 \lthtmldisplayAi}%
  91. \newcommand\lthtmldisplayAi[1]{\lthtmlmathtype{#1}\egroup\lthtmlvboxmathA}%
  92. \newcommand\lthtmldisplayB[1]{\edef\preveqno{(\theequation)}%
  93. \lthtmldisplayA{#1}\let\@eqnnum\relax}%
  94. \newcommand\lthtmldisplayZ{\lthtmlboxmathZ\lthtmllogmath\lthtmlsetmath}%
  95. \newcommand\lthtmlinlinemathA{\bgroup\catcode`\_=8 \lthtmlinlinemathB}
  96. \newcommand\lthtmlinlinemathB[1]{\lthtmlmathtype{#1}\egroup\lthtmlhboxmathA
  97. \vrule height1.5ex width0pt }%
  98. \newcommand\lthtmlinlineA{\bgroup\catcode`\_=8 \lthtmlinlineB}%
  99. \newcommand\lthtmlinlineB[1]{\lthtmlmathtype{#1}\egroup\lthtmlhboxmathA}%
  100. \newcommand\lthtmlinlineZ{\egroup\expandafter\ifdim\dp\sizebox>0pt %
  101. \expandafter\centerinlinemath\fi\lthtmllogmath\lthtmlsetinline}
  102. \newcommand\lthtmlinlinemathZ{\egroup\expandafter\ifdim\dp\sizebox>0pt %
  103. \expandafter\centerinlinemath\fi\lthtmllogmath\lthtmlsetmath}
  104. \newcommand\lthtmlindisplaymathZ{\egroup %
  105. \centerinlinemath\lthtmllogmath\lthtmlsetmath}
  106. \def\lthtmlsetinline{\hbox{\vrule width.1em \vtop{\vbox{%
  107. \kern.1em\copy\sizebox}\ifdim\dp\sizebox>0pt\kern.1em\else\kern.3pt\fi
  108. \ifdim\hsize>\wd\sizebox \hrule depth1pt\fi}}}
  109. \def\lthtmlsetmath{\hbox{\vrule width.1em\kern-.05em\vtop{\vbox{%
  110. \kern.1em\kern0.8 pt\hbox{\hglue.17em\copy\sizebox\hglue0.8 pt}}\kern.3pt%
  111. \ifdim\dp\sizebox>0pt\kern.1em\fi \kern0.8 pt%
  112. \ifdim\hsize>\wd\sizebox \hrule depth1pt\fi}}}
  113. \def\centerinlinemath{%
  114. \dimen1=\ifdim\ht\sizebox<\dp\sizebox \dp\sizebox\else\ht\sizebox\fi
  115. \advance\dimen1by.5pt \vrule width0pt height\dimen1 depth\dimen1
  116. \dp\sizebox=\dimen1\ht\sizebox=\dimen1\relax}
  117. \def\lthtmlcheckvsize{\ifdim\ht\sizebox<\vsize
  118. \ifdim\wd\sizebox<\hsize\expandafter\hfill\fi \expandafter\vfill
  119. \else\expandafter\vss\fi}%
  120. \providecommand{\selectlanguage}[1]{}%
  121. \makeatletter \tracingstats = 1
  122. \begin{document}
  123. \pagestyle{empty}\thispagestyle{empty}\lthtmltypeout{}%
  124. \lthtmltypeout{latex2htmlLength hsize=\the\hsize}\lthtmltypeout{}%
  125. \lthtmltypeout{latex2htmlLength vsize=\the\vsize}\lthtmltypeout{}%
  126. \lthtmltypeout{latex2htmlLength hoffset=\the\hoffset}\lthtmltypeout{}%
  127. \lthtmltypeout{latex2htmlLength voffset=\the\voffset}\lthtmltypeout{}%
  128. \lthtmltypeout{latex2htmlLength topmargin=\the\topmargin}\lthtmltypeout{}%
  129. \lthtmltypeout{latex2htmlLength topskip=\the\topskip}\lthtmltypeout{}%
  130. \lthtmltypeout{latex2htmlLength headheight=\the\headheight}\lthtmltypeout{}%
  131. \lthtmltypeout{latex2htmlLength headsep=\the\headsep}\lthtmltypeout{}%
  132. \lthtmltypeout{latex2htmlLength parskip=\the\parskip}\lthtmltypeout{}%
  133. \lthtmltypeout{latex2htmlLength oddsidemargin=\the\oddsidemargin}\lthtmltypeout{}%
  134. \makeatletter
  135. \if@twoside\lthtmltypeout{latex2htmlLength evensidemargin=\the\evensidemargin}%
  136. \else\lthtmltypeout{latex2htmlLength evensidemargin=\the\oddsidemargin}\fi%
  137. \lthtmltypeout{}%
  138. \makeatother
  139. \setcounter{page}{1}
  140. \onecolumn
  141. % !!! IMAGES START HERE !!!
  142. \setcounter{secnumdepth}{4}
  143. {\newpage\clearpage
  144. \lthtmlpictureA{tex2html_wrap2280}%
  145. \includegraphics[scale=0.6]{router-mode3}%
  146. \lthtmlpictureZ
  147. \lthtmlcheckvsize\clearpage}
  148. \end{document}