[tex4ht-commits] [SCM] tex4ht updated: r1473 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Fri Feb 23 13:26:51 CET 2024
Author: michal_h21
Date: 2024-02-23 12:26:51 +0000 (Fri, 23 Feb 2024)
New Revision: 1473
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-jats.tex
Log:
Added permissions configuration for JATS
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-02-22 22:12:22 UTC (rev 1472)
+++ trunk/lit/ChangeLog 2024-02-23 12:26:51 UTC (rev 1473)
@@ -1,3 +1,8 @@
+2024-02-23 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-jats.tex (jats.4ht): added Permissions configuration for
+ copyright info. It is required by the JATS4R validator.
+
2024-02-22 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-jats.tex (jats.4ht): fixed DOCTYPE.
Modified: trunk/lit/tex4ht-jats.tex
===================================================================
--- trunk/lit/tex4ht-jats.tex 2024-02-22 22:12:22 UTC (rev 1472)
+++ trunk/lit/tex4ht-jats.tex 2024-02-23 12:26:51 UTC (rev 1473)
@@ -243,6 +243,11 @@
%
% Title needs to be placed at the correct place by DOM filter
\Configure{TITLE}{\HCode{<article-title>}}{\HCode{</article-title>}}
+
+% You can put license and copyright info into Permissions
+\NewConfigure{Permissions}{1}
+\Configure{Permissions}{\HCode{<permissions></permissions>}}
+
\NewConfigure{ArticleMeta}{1}
\Configure{ArticleMeta}{
\HCode{<article-meta>}%
@@ -250,6 +255,7 @@
% use \Configure{TitleGroup}
\a:TitleGroup%
\JATS:Contributors%
+ \a:Permissions
\HCode{</article-meta>}%
}
% enable to configure contributors
More information about the tex4ht-commits
mailing list.