diff options
author | Karl Berry <karl@freefriends.org> | 2024-02-24 02:22:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-02-24 02:22:20 +0000 |
commit | 79510da9236c4291a0fa20d0afbe38fed5e8339d (patch) | |
tree | 41312f5607e15817fc553c20b7745b35165d3717 /Master/texmf-dist | |
parent | 3581900020f87110007ca0800e4f07ae39817614 (diff) |
jats permissions, tex4ht r1473
git-svn-id: svn://tug.org/texlive/trunk@70119 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 5 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/jats.4ht | 10 |
3 files changed, 20 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 62528a3a288..ef1ad216638 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,8 @@ +2024-02-23 Michal Hoftich <michal.h21@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@gmail.com> * tex4ht-jats.tex (jats.4ht): fixed DOCTYPE. diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex index 071826a31ec..e54de5ad206 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-jats.tex 1472 2024-02-22 22:12:22Z karl $ +% $Id: tex4ht-jats.tex 1473 2024-02-23 12:26:51Z michal_h21 $ % compile 3 times: latex tex4ht-jats % or xhlatex tex4ht-jats "html,3,sections+" % @@ -243,6 +243,11 @@ Configurations that are shared only for article and report % % 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 @@ Configurations that are shared only for article and report % use \Configure{TitleGroup} \a:TitleGroup% \JATS:Contributors% + \a:Permissions \HCode{</article-meta>}% } % enable to configure contributors diff --git a/Master/texmf-dist/tex/generic/tex4ht/jats.4ht b/Master/texmf-dist/tex/generic/tex4ht/jats.4ht index 82ad7fae83f..4e946779867 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/jats.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/jats.4ht @@ -1,4 +1,4 @@ -% jats.4ht (2024-02-22-14:12), generated from tex4ht-jats.tex +% jats.4ht (2024-02-23-14:41), generated from tex4ht-jats.tex % Copyright 2022-2024 TeX Users Group % % This work may be distributed and/or modified under the @@ -16,7 +16,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2024-02-22-14:12} +\immediate\write-1{version 2024-02-23-14:41} \exit:ifnot{amsart,% amsbook,% @@ -66,6 +66,11 @@ url} % % 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>}% @@ -73,6 +78,7 @@ url} % use \Configure{TitleGroup} \a:TitleGroup% \JATS:Contributors% + \a:Permissions \HCode{</article-meta>}% } % enable to configure contributors |