% \iffalse meta-comment % %% regulatory-html.dtx %% Copyright 2024-2026 E. Nijenhuis % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c % of this license or (at your option) any later version. % The latest version of this license is in % http://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions of LaTeX % version 2005/12/01 or later. % % This work has the LPPL maintenance status ‘maintained’. % % The Current Maintainer of this work is E. Nijenhuis. % % This work consists of the files listed in the meta-comment of % regulatory-struct.dtx. % % \fi % % \iffalse %<*driver> \ProvidesFile{regulatory-html.dtx} % %\ProvidesFile{regulatory.4ht} % [2026/09/10 1.0.0 Xerdi's Regulatory Package (tex4ht configuration)] % %<*driver> \documentclass[10pt,english]{ltxdoc} %! suppress = InclusionLoop \usepackage{regulatory} \usepackage{tabularx} \usepackage[english,dutch]{babel} \input{regulatory-preamble} \newcommand\translation[2]{#1} \begin{document} \selectlanguage{english} \DocInput{regulatory-html.dtx} \end{document} % % \fi % % \subsection{\texorpdfstring{\file{regulatory.4ht}}{regulatory.4ht}} % \setcounter{CodelineNo}{0} % % This is the \package{tex4ht} configuration of \zcref{sec:html}, which is a source of its own % rather than a module of the bundle: it is not a package, it is read by \package{tex4ht} and by % nothing else, and it only exists at all because an HTML run replaces the machinery the printed % headings are built on. It identifies itself with \cmd{\ProvidesFile} all the same, so that a % document can tell whether it was found: \package{tex4ht} ships no configuration for this package, % and a conversion without one fails silently rather than loudly (\zcref{sec:html}). % % % \subsubsection{What this fixes} % % % This file is what emits the structure of a regulatory document in HTML. It % replaces \cmd{\article} and \cmd{\para} outright, so it does that in either of the two % heading branches the package can take (see below), and without it there is no % structure at all: an article becomes a paragraph with a bold run in it, and % the output carries no \texttt{
}. \cmd{\IgnorePar} stops tex4ht opening a fresh one immediately. % % \iffalse %<*html> % \fi % \begin{macrocode} \newcommand\reg@blockmode{\ifvmode\IgnorePar\fi\EndP} % \end{macrocode} % \iffalse %