texlive[63542] Master/texmf-dist: basic jats formatting, tex4ht r1146

commits+karl at tug.org commits+karl at tug.org
Sat Jun 11 00:53:41 CEST 2022


Revision: 63542
          http://tug.org/svn/texlive?view=revision&revision=63542
Author:   karl
Date:     2022-06-11 00:53:41 +0200 (Sat, 11 Jun 2022)
Log Message:
-----------
basic jats formatting, tex4ht r1146

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1146

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-06-10 22:07:44 UTC (rev 63541)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-06-10 22:53:41 UTC (rev 63542)
@@ -1,3 +1,9 @@
+2022-06-10  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-jats.tex (jats.4ht): added basic formatting support for
+	JATS.
+	https://tex.stackexchange.com/q/647208/2891
+
 2022-06-09  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (latex.4ht): don't update \@currentlabel for

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex	2022-06-10 22:07:44 UTC (rev 63541)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex	2022-06-10 22:53:41 UTC (rev 63542)
@@ -2,7 +2,7 @@
 % compile 3 times: latex tex4ht-jats
 %           or   xhlatex tex4ht-jats "html,3,sections+"
 %
-% Copyright 2009-2020 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
 % Copyright 2000-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -26,7 +26,7 @@
 
 \<jats\><<<
 % jats.4ht (|version), generated from |jobname.tex
-% Copyright 2020 TeX Users Group
+% Copyright 2022 TeX Users Group
 |<TeX4ht copywrite|>
 >>>
 
@@ -45,17 +45,55 @@
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\chapter{Start Here}
+\chapter{Package configurations}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+\section{Basic system}
 
 \<configure jats tex4ht\><<<
 \special{t4ht.xml}
+|<xml structure|>
+|<document structure|>
+|<basic hyperlinks|>
+|<basic fonts|>
+|<basic jats mathml|>
+>>>
+
+\<configure jats latex\><<<
+|<latex fonts|>
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Classes}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<configure jats article\><<<
+|<latex sections|>
+>>>
+
+\<configure jats book\><<<
+|<latex chapters|>
+|<latex sections|>
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Packages}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<configure jats url\><<<
+|<url links|>
+>>>
+
+\<configure jats hyperref\><<<
+|<hyperref links|>
+>>>
+
+\<xml structure\><<<
 \Configure{VERSION}{\HCode{<?xml version="1.0" encoding="UTF-8"?>\Hnewline}}
 
 % select JATS version
 \NewConfigure{DtdVersion}{1}
-\Configure{DtdVersion}{1.2}
+\Configure{DtdVersion}{1.3}
 
 \Configure{DOCTYPE}{\HCode{<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v\a:DtdVersion\space 20130915//EN" "http://jats.nlm.nih.gov/archiving/\a:DtdVersion/JATS-archivearticle1-mathml3.dtd">\Hnewline}}
 
@@ -87,25 +125,221 @@
 % enable to configure contributors
 \def\JATS:Contributors{}
 \NewConfigure{Contributor}[1]{\concat:config\JATS:Contributors{#1}}
-\NewConfigure{TitleGroup}
+\NewConfigure{TitleGroup}{1}
 
 % insert metas into document header
 \Configure{@HEAD}{\a:JournalMeta}
 \Configure{@HEAD}{\a:ArticleMeta}
+>>>
 
+\<document structure\><<<
+\Configure{HtmlPar}
+  {\EndP\HCode{|<show input line no|><p \csname a:!P\endcsname>}}
+  {\EndP\HCode{|<show input line no|><p \csname a:!P\endcsname>}}
+  {\Tg</p>}%
+  {\Tg</p>}%
+>>>
 
+\<show input line no\><<<
+<!--l. \the\inputlineno-->%
+>>>
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\chapter{Hyperlinks}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<basic hyperlinks\><<<
+\Configure{Link}{xref}{rid=}{id=}{\empty}   
+\LinkCommand\ExternalLink{ext-link,xlink:href,id}
 >>>
 
 
+\<url links\><<<
+\Configure{url}%
+     {\tmp:toks{#1}\ExternalLink[\noexpand\the\tmp:toks]{}{}{\let\UrlBigBreaks\empty
+                         \let\UrlBreaks\empty #1}\EndExternalLink}
+>>>
 
+\<hyperref links\><<<
+>>>
 
-\<configure jats tex4ht\><<<
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\chapter{Math}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+MathML in JATS must use the mml: prefix
+
+\<basic jats mathml\><<<
+\Configure{mathml}{mml:}
 >>>
 
-\<configure jats latex\><<<
+Inline and display math should use different elements for their
+inclusion. We need to keep stack of the opened elements, as 
+math can be nested.
+
+For some reason, this configuration is called too early, resulting
+in compilation error. We thus use AtBeginDocument to postpone it.
+
+\<basic jats mathml\><<<
+\edef\math:type:inline{display="inline" }
+
+\ifdefined\AtBeginDocument
+\AtBeginDocument{
+  \Configure{DviMathML}{%
+    \ifx\a:@math\math:type:inline%
+    \PushStack\math:types{inline-formula}%
+    \HCode{<inline-formula>}%
+    \else%
+    \HCode{<disp-formula>}%
+    \PushStack\math:types{disp-formula}%
+    \fi%
+  }{\PopStack\math:types\:temp\HCode{</\:temp>}}%
+}%
+\fi
+
 >>>
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\chapter{Fonts}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+JATS doesn't support any attributes for fonts, so the information
+about font name and size is lost.
 
+\<basic fonts\><<<
+\Configure{htf}{0}{+}{<italic}{}{}{}{}{>}{</italic>}
+\Configure{htf}{4}{+}{<sc}{}{}{}{}{>}{</sc>}
+\Configure{htf}{6}{+}{<underline}{}{}{}{}{>}{</underline>}
+>>>
+
+\<latex fonts\><<<
+\Configure{textit}{\Protect\HCode{<italic>}\NoFonts}{\EndNoFonts\Protect\Tg</italic>}
+\Configure{textbf}{\Protect\HCode{<bold>}\NoFonts}{\EndNoFonts\Protect\Tg</bold>}
+\Configure{textsc}{\Protect\HCode{<sc>}\NoFonts}{\EndNoFonts\Protect\Tg</sc>}
+\Configure{textrm}{\Protect\HCode{<roman>}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</roman>}}
+\Configure{textup}{\Protect\HCode{<span class="textup">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}  
+\Configure{textsf}{\Protect\HCode{<sans-serif>}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</sans-serif>}}  
+\Configure{textsl}{\Protect\HCode{<italic>}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</italic>}}
+\Configure{texttt}{\Protect\HCode{<monospace>}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</monospace>}}
+\Configure{emph}{\Protect\HCode{<italic>}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</italic>}}
+
+\Configure{underline}
+   {\HCode{<underline>}\:gobble}
+   {\HCode{</underline>}}
+
+\Configure{textsuperscript}
+  {\HCode{<sup>}}
+  {\HCode{</sup>}}
+
+\Configure{textsubscript}
+  {\HCode{<sub>}}
+  {\HCode{</sub>}}
+>>>
+
+
+
+\<latex chapters\><<<
+\Configure{chapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{chapter}
+   {\if at mainmatter
+       \HCode{<label>}\chaptername\ \thechapter\HCode{</label>}\fi}
+
+\Configure{likechapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{appendix}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{appendix}{\HCode{<label>}%
+   \appendixname\ \thechapter\HCode{</label>}}
+>>>
+
+\<latex sections\><<<
+
+\Configure{section}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{section}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<label>}\@seccntformat{section}%
+       \HCode{</label>}\fi }
+
+\Configure{likesection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<label>}\@seccntformat{section}%
+       \HCode{</label>}\fi }
+
+\Configure{likesubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{subsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\ConfigureMark{subsubsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<label>}\@seccntformat{section}%
+       \HCode{</label>}\fi }
+
+\Configure{likesubsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+\Configure{paragraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+
+
+\Configure{likeparagraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
+>>>
+
+
 \endinput

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht	2022-06-10 22:07:44 UTC (rev 63541)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht	2022-06-10 22:53:41 UTC (rev 63542)
@@ -1,5 +1,5 @@
-% jats.4ht (2020-06-13-15:33), generated from tex4ht-jats.tex
-% Copyright 2020 TeX Users Group
+% jats.4ht (2022-06-10-15:41), generated from tex4ht-jats.tex
+% Copyright 2022 TeX Users Group
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -16,9 +16,14 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2020-06-13-15:33}
+\immediate\write-1{version 2022-06-10-15:41}
 
-\exit:ifnot{tex4ht}
+\exit:ifnot{article,% 
+book,% 
+hyperref,% 
+latex,% 
+tex4ht,% 
+url}
 
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -29,7 +34,7 @@
 
 % select JATS version
 \NewConfigure{DtdVersion}{1}
-\Configure{DtdVersion}{1.2}
+\Configure{DtdVersion}{1.3}
 
 \Configure{DOCTYPE}{\HCode{<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v\a:DtdVersion\space 20130915//EN" "http://jats.nlm.nih.gov/archiving/\a:DtdVersion/JATS-archivearticle1-mathml3.dtd">\Hnewline}}
 
@@ -61,15 +66,46 @@
 % enable to configure contributors
 \def\JATS:Contributors{}
 \NewConfigure{Contributor}[1]{\concat:config\JATS:Contributors{#1}}
-\NewConfigure{TitleGroup}
+\NewConfigure{TitleGroup}{1}
 
 % insert metas into document header
 \Configure{@HEAD}{\a:JournalMeta}
 \Configure{@HEAD}{\a:ArticleMeta}
 
+\Configure{HtmlPar}
+  {\EndP\HCode{<!--l. \the\inputlineno-->%
+<p \csname a:!P\endcsname>}}
+  {\EndP\HCode{<!--l. \the\inputlineno-->%
+<p \csname a:!P\endcsname>}}
+  {\Tg</p>}%
+  {\Tg</p>}%
 
+\Configure{Link}{xref}{rid=}{id=}{\empty}
+\LinkCommand\ExternalLink{ext-link,xlink:href,id}
 
+\Configure{htf}{0}{+}{<italic}{}{}{}{}{>}{</italic>}
+\Configure{htf}{4}{+}{<sc}{}{}{}{}{>}{</sc>}
+\Configure{htf}{6}{+}{<underline}{}{}{}{}{>}{</underline>}
 
+\Configure{mathml}{mml:}
+\edef\math:type:inline{display="inline" }
+
+\ifdefined\AtBeginDocument
+\AtBeginDocument{
+  \Configure{DviMathML}{%
+    \ifx\a:@math\math:type:inline%
+    \PushStack\math:types{inline-formula}%
+    \HCode{<inline-formula>}%
+    \else%
+    \HCode{<disp-formula>}%
+    \PushStack\math:types{disp-formula}%
+    \fi%
+  }{\PopStack\math:types\:temp\HCode{</\:temp>}}%
+}%
+\fi
+
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   
 \endinput\empty\empty\empty\empty\empty\empty
@@ -79,47 +115,223 @@
 
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{latex}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{textit}{\Protect\HCode{<italic>}\NoFonts}{\EndNoFonts\Protect\Tg</italic>}
+\Configure{textbf}{\Protect\HCode{<bold>}\NoFonts}{\EndNoFonts\Protect\Tg</bold>}
+\Configure{textsc}{\Protect\HCode{<sc>}\NoFonts}{\EndNoFonts\Protect\Tg</sc>}
+\Configure{textrm}{\Protect\HCode{<roman>}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</roman>}}
+\Configure{textup}{\Protect\HCode{<span class="textup">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}
+\Configure{textsf}{\Protect\HCode{<sans-serif>}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</sans-serif>}}
+\Configure{textsl}{\Protect\HCode{<italic>}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</italic>}}
+\Configure{texttt}{\Protect\HCode{<monospace>}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</monospace>}}
+\Configure{emph}{\Protect\HCode{<italic>}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</italic>}}
 
+\Configure{underline}
+   {\HCode{<underline>}\:gobble}
+   {\HCode{</underline>}}
 
+\Configure{textsuperscript}
+  {\HCode{<sup>}}
+  {\HCode{</sup>}}
 
+\Configure{textsubscript}
+  {\HCode{<sub>}}
+  {\HCode{</sub>}}
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{book}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{chapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\ConfigureMark{chapter}
+   {\if at mainmatter
+       \HCode{<label>}\chaptername\ \thechapter\HCode{</label>}\fi}
 
+\Configure{likechapter}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\Configure{appendix}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\ConfigureMark{appendix}{\HCode{<label>}%
+   \appendixname\ \thechapter\HCode{</label>}}
 
 
+\Configure{section}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\ConfigureMark{section}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<label>}\@seccntformat{section}%
+       \HCode{</label>}\fi }
 
+\Configure{likesection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\ConfigureMark{subsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<label>}\@seccntformat{section}%
+       \HCode{</label>}\fi }
 
+\Configure{likesubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\Configure{subsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\ConfigureMark{subsubsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<label>}\@seccntformat{section}%
+       \HCode{</label>}\fi }
 
+\Configure{likesubsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\Configure{paragraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
 
+\Configure{likeparagraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{article}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+\Configure{section}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\ConfigureMark{section}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<label>}\@seccntformat{section}%
+       \HCode{</label>}\fi }
 
+\Configure{likesection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\Configure{subsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\ConfigureMark{subsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<label>}\@seccntformat{section}%
+       \HCode{</label>}\fi }
 
+\Configure{likesubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\Configure{subsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\TitleMark\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\ConfigureMark{subsubsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<label>}\@seccntformat{section}%
+       \HCode{</label>}\fi }
 
+\Configure{likesubsubsection}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
+\Configure{paragraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
 
+\Configure{likeparagraph}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
+{\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
+   {\HCode{<title>}\space\HtmlParOff}
+   {\HCode{</title>}\HtmlParOn \ShowPar\par}
 
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
 
@@ -163,6 +375,92 @@
 
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{url}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{url}%
+     {\tmp:toks{#1}\ExternalLink[\noexpand\the\tmp:toks]{}{}{\let\UrlBigBreaks\empty
+                         \let\UrlBreaks\empty #1}\EndExternalLink}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{hyperref}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 



More information about the tex-live-commits mailing list.