summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ximera/src/html.dtx
blob: 8c0b458bf15cb29a4ead24b6ba990c1d1c982210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% \subsubsection{Semantic HTML}
% \DescribeMacro{\textbf}{Using \verb|\textbf| emits a \verb|<strong>| tag.}
%    \begin{macrocode}
%<*cfgXimera>
\Configure{textbf}{\ifvmode\ShowPar\fi\HCode{<strong>}}{\HCode{</strong>}}
%</cfgXimera>
%    \end{macrocode}
% \DescribeMacro{\textit}{Using \verb|\textit| or similar emits an \verb|<em>| tag.}
%    \begin{macrocode}
%<*cfgXimera>
\Configure{textit}{\ifvmode\ShowPar\fi\HCode{<em>}}{\HCode{</em>}}
\Configure{emph}{\ifvmode\ShowPar\fi\HCode{<em>}}{\HCode{</em>}}
%</cfgXimera>
%    \end{macrocode}
% \DescribeMacro{\texttt}{Using \verb|\texttt| emits a \verb|<code>| tag.}
%    \begin{macrocode}
%<*cfgXimera>
\Configure{texttt}{\ifvmode\ShowPar\fi\HCode{<code>}}{\HCode{</code>}}
%</cfgXimera>
%    \end{macrocode}