\Configure{epsfsetgraph}
{\Picture+[\PicName]{}}
{\EndPicture}
-_-_-
\ConfigureEnv{diagram}
{\ifvmode \IgnorePar \EndP
\Tg<div class="diagrams">\def\End:Diagrams{\Tg</div>}%
\else \let\End:Diagrams\empty
\fi }
{\End:Diagrams}
{}{}
\Configure{diagram}
{\Picture*{}$} {$\EndPicture}
\Css{.diagrams {text-align: center;}}
-_-_-
\Css{div.Draw{text-align:center}}
-_-_-
�
\ConfigureEnv{pgfpicture}
{\hbox\bgroup\Picture+[picture]{}}
{\EndPicture\egroup}
{}{}
-_-_-
\ConfigureEnv{overpic}
{\Picture*[pic]{}}
{\EndPicture}
{}{}
-_-_-
\Configure{psfig} {\Picture+[psfig]{}}{\EndPicture}
-_-_-
\def\:temp#1graphics-#2,#3<.par del.>{\def\gr:density{#2}}
\expandafter\:temp\Preamble,graphics-,<.par del.>
\ifx \gr:density\empty
\Log:Note{if included graphics are
of degraded quality, try the command line options
‘graphics-num’ or ‘graphics-’. The ‘num’ should provide
the density of pixels in the bitmaps (e.g., 110).
}
\else
\def\int:pt#1.#2<.par del.>{#1}
\fi -_-_-
\csname a:Gin-dim\endcsname
-_-_-
\NewConfigure{Gin-dim}{1}
\:CheckOption{Gin-dim} \if:Option
\Configure{Gin-dim}
{\ifx\noBoundingBox\UnDefined
<.graphics width/height.>%
\else
<.graphicx width/height.>%
\fi
class="includegraphics"
}
\else \:CheckOption{Gin-dim+} \if:Option
\Configure{Gin-dim}
{\ifx \Gin:ewidth\Gin@exclamation
\ifx \Gin:eheight\Gin@exclamation
\ifx\noBoundingBox\UnDefined
<.graphics width/height.>%
\fi
\else
height="\Gin:eheight"
\fi
\else
width="\Gin:ewidth"
\ifx \Gin:eheight\Gin@exclamation \else
height="\Gin:eheight"
\fi
\fi
class="includegraphics"
}
\else
\Log:Note{for key dimensions try the option
‘Gin-dim’; for key dimensions when bounding box is unavailable
try ‘Gin-dim+’; neither is recommended}
\Configure{Gin-dim}
{\ifx\noBoundingBox\UnDefined
<.graphics width/height.>%
\fi
}
\fi \fi -_-_-
\ifx \gr:density\empty
\HCode{
width="\the\Gin@req@width"
height="\the\Gin@req@height"
}%
\else
\bgroup
\divide\Gin@req@width by 72
\multiply\Gin@req@width by \gr:density \relax
\divide\Gin@req@height by 72
\multiply\Gin@req@height by \gr:density \relax
\HCode{
width="\expandafter\int:pt\the\Gin@req@width<.par del.>"
height="\expandafter\int:pt\the\Gin@req@height<.par del.>"
}%
\egroup
\fi -_-_-
width="\the\Gin@req@width"
height="\the\Gin@req@height"
-_-_-
\ifx \Gin:ewidth\Gin@exclamation \else
width="\Gin:ewidth"
\fi
\ifx \Gin:eheight\Gin@exclamation \else
height="\Gin:eheight"
\fi
-_-_-
9.1.8 xy
\Configure{xypic}
{\Picture*{}} {\EndPicture}
\def\:tempc{\HCode{<span class="Xy">}X\HCode{<span
class="Y">}Y\HCode{</span>}}
\HLet\Xy\:tempc
\Css{span.Xy span.Y{ position:relative; top:0.35ex;left:-0.25em;}}
-_-_-
\ConfigureEnv{psmatrix}
{\Picture*{}}
{\EndPicture}
{}{}
-_-_-
\Configure{pspicture}
{\ifvmode \ifinner\else \vfill\break\fi
\leavevmode\fi
\bgroup
\ifdim \pst@dimh<\z@ \pst@dimh=-\pst@dimh \fi
\HCode{<!--width="\ifdim \wd\pst@hbox=\z@ \the\pst@dimg
\else\the\wd\pst@hbox\fi"
height="\ifdim \ht\pst@hbox=\z@ \the\pst@dimh
\else \the\ht\pst@hbox\fi"-->}%
\egroup
\Picture+[\a:pspictureAlt]{ class="pspicture"}}
{\EndPicture}
\NewConfigure{pspictureAlt}{1}
\Configure{pspictureAlt}{PIC}
-_-_-
\ConfigureEnv{diagram}
{\Picture*{ class="pb-diagram"}$} {$\EndPicture} {}{}
\Css{.pb-diagram {align:center}}
-_-_-
\Configure{pictex}
{\:xhtml{\IgnorePar\EndP}\HCode{<div
class="pictex">}}{\HCode{</div>}}{+[PICT]}
\Css{div.pictex {text-align:center;}}
-_-_-
\Configure{mfpic} {\Picture+{}} {\EndPicture}
-_-_-
\ConfigureEnv{mfpic} {\Picture+{}} {\EndPicture}{}{}
-_-_-