diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-19 14:53:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-19 14:53:33 +0000 |
commit | 4d745399c80cdfb4dd055c93ac9f063ede8087c1 (patch) | |
tree | ceb30b1949cf7b361fb762a57104753c607b8b47 /Master | |
parent | 63610ecfbe9096d3f0403d6099a33dbb7ae8830b (diff) |
sync mktex4ht, add jats
git-svn-id: svn://tug.org/texlive/trunk@55873 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/jats.4ht | 518 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mktex4ht.4ht | 144 |
2 files changed, 590 insertions, 72 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/jats.4ht b/Master/texmf-dist/tex/generic/tex4ht/jats.4ht new file mode 100644 index 00000000000..f2a5fd28a62 --- /dev/null +++ b/Master/texmf-dist/tex/generic/tex4ht/jats.4ht @@ -0,0 +1,518 @@ +% jats.4ht (2020-06-13-15:33), generated from tex4ht-jats.tex +% Copyright 2020 TeX Users Group +% +% 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 the TeX4ht Project <http://tug.org/tex4ht>. +% +% If you modify this program, changing the +% version identification would be appreciated. +\immediate\write-1{version 2020-06-13-15:33} + +\exit:ifnot{tex4ht} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{tex4ht} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \special{t4ht.xml} +\Configure{VERSION}{\HCode{<?xml version="1.0" encoding="UTF-8"?>\Hnewline}} + +% select JATS version +\NewConfigure{DtdVersion}{1} +\Configure{DtdVersion}{1.2} + +\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}} + +% XML configuratins +\edef\html:xmlns{} +\NewConfigure{xmlns}[2]{\concat:config\html:xmlns{xmlns:#1="#2"\Hnewline}} +\Configure{xmlns}{xlink}{http://www.w3.org/1999/xlink} +\Configure{xmlns}{mml}{http://www.w3.org/1998/Math/MathML} + +\Configure{HTML}{\HCode{<article dtd-version="\a:DtdVersion" \html:xmlns>\Hnewline}}{\HCode{\Hnewline</article>}} +\Configure{@HEAD}{} +\Configure{HEAD}{\HCode{<front>}}{\HCode{</front>}} +% Add header structure +% Journal info in <journal-meta>. It needs to be provided fully from the user configuration +\NewConfigure{JournalMeta}{1} +% basic article meta can be reconstructed from \title and \author +% +% Title needs to be placed at the correct place by DOM filter +\Configure{TITLE}{\HCode{<article-title>}}{\HCode{</article-title>}} +\NewConfigure{ArticleMeta}{1} + \Configure{ArticleMeta}{ + \HCode{<article-meta>}% + % title from \title command is placed by make4ht DOM filter. If you want more complex title, + % use \Configure{TitleGroup} + \a:TitleGroup% + \JATS:Contributors% + \HCode{</article-meta>}% +} +% enable to configure contributors +\def\JATS:Contributors{} +\NewConfigure{Contributor}[1]{\concat:config\JATS:Contributors{#1}} +\NewConfigure{TitleGroup} + +% insert metas into document header +\Configure{@HEAD}{\a:JournalMeta} +\Configure{@HEAD}{\a:ArticleMeta} + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput + diff --git a/Master/texmf-dist/tex/generic/tex4ht/mktex4ht.4ht b/Master/texmf-dist/tex/generic/tex4ht/mktex4ht.4ht index 06114e28a57..f08e912545d 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mktex4ht.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mktex4ht.4ht @@ -11,7 +11,7 @@ % are strongly advised not to look at the code which follows % the copyright notice. % -% mktex4ht.4ht (2020-05-27-14:14), generated from cond4ht.4ht +% mktex4ht.4ht (2020-07-13-13:39), generated from cond4ht.4ht % Copyright 2009-2019 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % @@ -30,7 +30,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2020-05-27-14:14} +\immediate\write-1{version 2020-07-13-13:39} \def\infofiles{infoht4,infomml} @@ -167,10 +167,10 @@ \lit{catalan}\lit{croatian}\lit{czech}\lit{danish} \lit{dutch}\lit{english}\lit{esperant}\lit{estonian} \lit{finnish}\lit{francais}\lit{galician}\lit{greek} -\lit{magyar}\lit{exam}\lit{polyglossia}\lit{fontspec} -\lit{fontspec-xetex}\lit{fontspec-luatex}\lit{tuenc-xetex}\lit{tuenc-xetex-input} -\lit{tuenc-luatex}\lit{framed}\lit{mdframed}\lit{skak} -\lit{animate}\lit{sectionbreak} +\lit{magyar}\lit{exam}\lit{ctex}\lit{polyglossia} +\lit{fontspec}\lit{fontspec-xetex}\lit{fontspec-luatex}\lit{tuenc-xetex} +\lit{tuenc-xetex-input}\lit{tuenc-luatex}\lit{framed}\lit{mdframed} +\lit{skak}\lit{animate}\lit{sectionbreak} \ifx \EXIST\UnDef\else \expandafter\moreLit\EXIST,,//\fi \string\endinput >>> \LitFile \fi \GetLit} @@ -289,72 +289,72 @@ \LitRow{colortbl}\LitRow{combine}\LitRow{context}\LitRow{covington} \LitRow{cp1250}\LitRow{cp1252}\LitRow{cp1256}\LitRow{cp437} \LitRow{cp437de}\LitRow{cp850}\LitRow{cp852}\LitRow{cp862} -\LitRow{cp865}\LitRow{croatian}\LitRow{csquotes}\LitRow{curve} -\LitRow{czech}\LitRow{danish}\LitRow{dcolumn}\LitRow{debug} -\LitRow{diagram}\LitRow{diagrams}\LitRow{doc}\LitRow{dratex} -\LitRow{dsfont}\LitRow{dutch}\LitRow{dvipdf}\LitRow{dvips} -\LitRow{dvipsnam}\LitRow{dvipsone}\LitRow{elsart}\LitRow{emulateapj} -\LitRow{endfloat}\LitRow{endnotes}\LitRow{english}\LitRow{enumerate} -\LitRow{enumitem}\LitRow{epigraph}\LitRow{eplain}\LitRow{epsf} -\LitRow{epsfig}\LitRow{errata}\LitRow{esperant}\LitRow{esperanto} -\LitRow{estonian}\LitRow{etex4ht}\LitRow{eucal}\LitRow{euler} -\LitRow{europecv}\LitRow{eurosym}\LitRow{everyshi}\LitRow{exam} -\LitRow{exerquiz}\LitRow{extarticle}\LitRow{extbook}\LitRow{extletter} -\LitRow{extproc}\LitRow{extreport}\LitRow{fancybox}\LitRow{fancyvrb} -\LitRow{fig4tex}\LitRow{finnish}\LitRow{fleqn}\LitRow{float} -\LitRow{floatflt}\LitRow{floatpag}\LitRow{foils}\LitRow{fontmath} -\LitRow{fontspec}\LitRow{fontspec-luatex}\LitRow{fontspec-xetex}\LitRow{footmisc} -\LitRow{footnote-dw}\LitRow{framed}\LitRow{francais}\LitRow{french} -\LitRow{frenchb}\LitRow{g-brief}\LitRow{galician}\LitRow{gauss} -\LitRow{geometry}\LitRow{german}\LitRow{germanb}\LitRow{gloss} -\LitRow{glossaries}\LitRow{glossary}\LitRow{go}\LitRow{graphics} -\LitRow{graphicx}\LitRow{greek}\LitRow{harvard}\LitRow{hebrew} -\LitRow{hebtex}\LitRow{hewrite}\LitRow{holtxdoc}\LitRow{hypcap} -\LitRow{hyperref}\LitRow{ifthen}\LitRow{imakeidx}\LitRow{index} -\LitRow{inputenc}\LitRow{italian}\LitRow{jeep}\LitRow{jurabib} -\LitRow{koi8-r}\LitRow{latex}\LitRow{latex209}\LitRow{latex2man} -\LitRow{latin1}\LitRow{latin2}\LitRow{lb}\LitRow{letter} -\LitRow{lettrine}\LitRow{lfeenc}\LitRow{lineno}\LitRow{linguex} -\LitRow{listings}\LitRow{llncs}\LitRow{llncs-a}\LitRow{lncse} -\LitRow{lncse-a}\LitRow{longdiv}\LitRow{longtable}\LitRow{ltugboat} -\LitRow{ltugboat-a}\LitRow{ltugproc}\LitRow{ltugproc-a}\LitRow{ltxguide} -\LitRow{magyar}\LitRow{makeidx}\LitRow{manju}\LitRow{manmac} -\LitRow{mathtools}\LitRow{mdframed}\LitRow{mdwlist}\LitRow{mdwtab} -\LitRow{memoir}\LitRow{mempatch}\LitRow{mex}\LitRow{mfpic} -\LitRow{microtype}\LitRow{minitoc}\LitRow{minted}\LitRow{mla} -\LitRow{mls}\LitRow{moreverb}\LitRow{multicol}\LitRow{multind} -\LitRow{multirow}\LitRow{mwart}\LitRow{mwbk}\LitRow{mwrep} -\LitRow{nameref}\LitRow{natbib}\LitRow{ngerman}\LitRow{ngermanb} -\LitRow{nicefrac}\LitRow{nomencl}\LitRow{norsk}\LitRow{ntheorem} -\LitRow{osudeG}\LitRow{ot4enc}\LitRow{overcite}\LitRow{overpic} -\LitRow{paralist}\LitRow{path}\LitRow{pb-diagram}\LitRow{pctable} -\LitRow{pctex32}\LitRow{pd1enc}\LitRow{pgf}\LitRow{picins} -\LitRow{pictex}\LitRow{pifont}\LitRow{plain}\LitRow{polish} -\LitRow{polski}\LitRow{polyglossia}\LitRow{portuges}\LitRow{powerdot} -\LitRow{powerdot-a}\LitRow{proof}\LitRow{prosper}\LitRow{prosper-a} -\LitRow{psfig}\LitRow{pst-all}\LitRow{pst-jtree}\LitRow{pstricks} -\LitRow{pythontex}\LitRow{quoting}\LitRow{reading}\LitRow{report} -\LitRow{res}\LitRow{res-a}\LitRow{resume}\LitRow{revsymb} -\LitRow{revtex4}\LitRow{rlbabel}\LitRow{romanian}\LitRow{rotating} -\LitRow{russianb}\LitRow{scottish}\LitRow{scrartcl}\LitRow{scrbook} -\LitRow{scrjura}\LitRow{scrreprt}\LitRow{sectionbreak}\LitRow{seminar} -\LitRow{seminar-a}\LitRow{seslideb}\LitRow{sig-alternate}\LitRow{sistyle} -\LitRow{skak}\LitRow{slides}\LitRow{slidesec}\LitRow{slovak} -\LitRow{slovene}\LitRow{soul}\LitRow{spanish}\LitRow{splitidx} -\LitRow{srcltx}\LitRow{subeqnarray}\LitRow{subfigure}\LitRow{subscript} -\LitRow{supertabular}\LitRow{sverb}\LitRow{svg}\LitRow{svgnam} -\LitRow{swedish}\LitRow{syntax}\LitRow{t2benc}\LitRow{tabu} -\LitRow{tabularx}\LitRow{tabulary}\LitRow{tabulary-a}\LitRow{tcilatex} -\LitRow{tex4ht}\LitRow{tex4ht2}\LitRow{texinfo}\LitRow{texpower} -\LitRow{textures}\LitRow{th4}\LitRow{theorem}\LitRow{titlesec} -\LitRow{titling}\LitRow{tocloft}\LitRow{tuenc-luatex}\LitRow{tuenc-xetex} -\LitRow{tuenc-xetex-input}\LitRow{tugboat}\LitRow{turkish}\LitRow{ucs} -\LitRow{ukraineb}\LitRow{ulem}\LitRow{url}\LitRow{ushort} -\LitRow{usorbian}\LitRow{utf8}\LitRow{utf8x}\LitRow{vanilla} -\LitRow{varioref}\LitRow{verbatim}\LitRow{verbatimfiles}\LitRow{verse} -\LitRow{vowel}\LitRow{web}\LitRow{welsh}\LitRow{wrapfig} -\LitRow{writer}\LitRow{xcolor}\LitRow{xr}\LitRow{xr-hyper} -\LitRow{xy} +\LitRow{cp865}\LitRow{croatian}\LitRow{csquotes}\LitRow{ctex} +\LitRow{curve}\LitRow{czech}\LitRow{danish}\LitRow{dcolumn} +\LitRow{debug}\LitRow{diagram}\LitRow{diagrams}\LitRow{doc} +\LitRow{dratex}\LitRow{dsfont}\LitRow{dutch}\LitRow{dvipdf} +\LitRow{dvips}\LitRow{dvipsnam}\LitRow{dvipsone}\LitRow{elsart} +\LitRow{emulateapj}\LitRow{endfloat}\LitRow{endnotes}\LitRow{english} +\LitRow{enumerate}\LitRow{enumitem}\LitRow{epigraph}\LitRow{eplain} +\LitRow{epsf}\LitRow{epsfig}\LitRow{errata}\LitRow{esperant} +\LitRow{esperanto}\LitRow{estonian}\LitRow{etex4ht}\LitRow{eucal} +\LitRow{euler}\LitRow{europecv}\LitRow{eurosym}\LitRow{everyshi} +\LitRow{exam}\LitRow{exerquiz}\LitRow{extarticle}\LitRow{extbook} +\LitRow{extletter}\LitRow{extproc}\LitRow{extreport}\LitRow{fancybox} +\LitRow{fancyvrb}\LitRow{fig4tex}\LitRow{finnish}\LitRow{fleqn} +\LitRow{float}\LitRow{floatflt}\LitRow{floatpag}\LitRow{foils} +\LitRow{fontmath}\LitRow{fontspec}\LitRow{fontspec-luatex}\LitRow{fontspec-xetex} +\LitRow{footmisc}\LitRow{footnote-dw}\LitRow{framed}\LitRow{francais} +\LitRow{french}\LitRow{frenchb}\LitRow{g-brief}\LitRow{galician} +\LitRow{gauss}\LitRow{geometry}\LitRow{german}\LitRow{germanb} +\LitRow{gloss}\LitRow{glossaries}\LitRow{glossary}\LitRow{go} +\LitRow{graphics}\LitRow{graphicx}\LitRow{greek}\LitRow{harvard} +\LitRow{hebrew}\LitRow{hebtex}\LitRow{hewrite}\LitRow{holtxdoc} +\LitRow{hypcap}\LitRow{hyperref}\LitRow{ifthen}\LitRow{imakeidx} +\LitRow{index}\LitRow{inputenc}\LitRow{italian}\LitRow{jeep} +\LitRow{jurabib}\LitRow{koi8-r}\LitRow{latex}\LitRow{latex209} +\LitRow{latex2man}\LitRow{latin1}\LitRow{latin2}\LitRow{lb} +\LitRow{letter}\LitRow{lettrine}\LitRow{lfeenc}\LitRow{lineno} +\LitRow{linguex}\LitRow{listings}\LitRow{llncs}\LitRow{llncs-a} +\LitRow{lncse}\LitRow{lncse-a}\LitRow{longdiv}\LitRow{longtable} +\LitRow{ltugboat}\LitRow{ltugboat-a}\LitRow{ltugproc}\LitRow{ltugproc-a} +\LitRow{ltxguide}\LitRow{magyar}\LitRow{makeidx}\LitRow{manju} +\LitRow{manmac}\LitRow{mathtools}\LitRow{mdframed}\LitRow{mdwlist} +\LitRow{mdwtab}\LitRow{memoir}\LitRow{mempatch}\LitRow{mex} +\LitRow{mfpic}\LitRow{microtype}\LitRow{minitoc}\LitRow{minted} +\LitRow{mla}\LitRow{mls}\LitRow{moreverb}\LitRow{multicol} +\LitRow{multind}\LitRow{multirow}\LitRow{mwart}\LitRow{mwbk} +\LitRow{mwrep}\LitRow{nameref}\LitRow{natbib}\LitRow{ngerman} +\LitRow{ngermanb}\LitRow{nicefrac}\LitRow{nomencl}\LitRow{norsk} +\LitRow{ntheorem}\LitRow{osudeG}\LitRow{ot4enc}\LitRow{overcite} +\LitRow{overpic}\LitRow{paralist}\LitRow{path}\LitRow{pb-diagram} +\LitRow{pctable}\LitRow{pctex32}\LitRow{pd1enc}\LitRow{pgf} +\LitRow{picins}\LitRow{pictex}\LitRow{pifont}\LitRow{plain} +\LitRow{polish}\LitRow{polski}\LitRow{polyglossia}\LitRow{portuges} +\LitRow{powerdot}\LitRow{powerdot-a}\LitRow{proof}\LitRow{prosper} +\LitRow{prosper-a}\LitRow{psfig}\LitRow{pst-all}\LitRow{pst-jtree} +\LitRow{pstricks}\LitRow{pythontex}\LitRow{quoting}\LitRow{reading} +\LitRow{report}\LitRow{res}\LitRow{res-a}\LitRow{resume} +\LitRow{revsymb}\LitRow{revtex4}\LitRow{rlbabel}\LitRow{romanian} +\LitRow{rotating}\LitRow{russianb}\LitRow{scottish}\LitRow{scrartcl} +\LitRow{scrbook}\LitRow{scrjura}\LitRow{scrreprt}\LitRow{sectionbreak} +\LitRow{seminar}\LitRow{seminar-a}\LitRow{seslideb}\LitRow{sig-alternate} +\LitRow{sistyle}\LitRow{skak}\LitRow{slides}\LitRow{slidesec} +\LitRow{slovak}\LitRow{slovene}\LitRow{soul}\LitRow{spanish} +\LitRow{splitidx}\LitRow{srcltx}\LitRow{subeqnarray}\LitRow{subfigure} +\LitRow{subscript}\LitRow{supertabular}\LitRow{sverb}\LitRow{svg} +\LitRow{svgnam}\LitRow{swedish}\LitRow{syntax}\LitRow{t2benc} +\LitRow{tabu}\LitRow{tabularx}\LitRow{tabulary}\LitRow{tabulary-a} +\LitRow{tcilatex}\LitRow{tex4ht}\LitRow{tex4ht2}\LitRow{texinfo} +\LitRow{texpower}\LitRow{textures}\LitRow{th4}\LitRow{theorem} +\LitRow{titlesec}\LitRow{titling}\LitRow{tocloft}\LitRow{tuenc-luatex} +\LitRow{tuenc-xetex}\LitRow{tuenc-xetex-input}\LitRow{tugboat}\LitRow{turkish} +\LitRow{ucs}\LitRow{ukraineb}\LitRow{ulem}\LitRow{url} +\LitRow{ushort}\LitRow{usorbian}\LitRow{utf8}\LitRow{utf8x} +\LitRow{vanilla}\LitRow{varioref}\LitRow{verbatim}\LitRow{verbatimfiles} +\LitRow{verse}\LitRow{vowel}\LitRow{web}\LitRow{welsh} +\LitRow{wrapfig}\LitRow{writer}\LitRow{xcolor}\LitRow{xr} +\LitRow{xr-hyper}\LitRow{xy} \ifx \EXIST\UnDef\else \expandafter\moreLitRow\EXIST,,//\fi \ifvmode \IgnorePar\fi\EndP \HCode{</table>} \IgnoreIndent\par\rightline{[\ExitHPage{}]} \EndHPage{}] |