summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-06-24 22:39:36 +0000
committerKarl Berry <karl@freefriends.org>2022-06-24 22:39:36 +0000
commit2eb035cd797cca17afc98c113438fc827ba23ce8 (patch)
tree326a324eb65dc022f40a03faf8e5c337aa3d5a98
parentbd81c91a6cce27cda7048c3a2cf5585815e6c6a7 (diff)
pictures, xml, # symbol, tex4ht r1159-1160
git-svn-id: svn://tug.org/texlive/trunk@63716 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex17
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/jats.4ht17
3 files changed, 35 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index ef9c5510f62..6322e06c8eb 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,9 @@
+2022-06-24 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-jats.4ht (jats.4ht): added support for pictures.
+ * tex4ht-jats.4ht (jats.4ht): declare XML extension, print # symbol
+ in links.
+
2022-06-21 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-4ht.tex (latex.4ht): fixed support for \index commands
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex
index 2b37c33e2b7..6c696ff12cc 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex
@@ -52,10 +52,12 @@ file.
\<configure jats tex4ht\><<<
\special{t4ht.xml}
+\Configure{ext}{xml}
|<xml structure|>
|<document structure|>
|<xml:lang declarations|>
|<basic hyperlinks|>
+|<basic pictures|>
|<basic fonts|>
|<basic jats mathml|>
>>>
@@ -363,7 +365,7 @@ Configurations that are shared only for article and report
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\<basic hyperlinks\><<<
-\Configure{Link}{xref}{rid=}{id=}{\empty}
+\Configure{Link}{xref}{rid=}{id=}{}
\LinkCommand\ExternalLink{ext-link,xlink:href,id}
>>>
@@ -378,6 +380,19 @@ Configurations that are shared only for article and report
>>>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\chapter{Pictures}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<basic pictures\><<<
+\Configure{IMG}
+ {\ht:special{t4ht=<graphic\Hnewline xlink:href="\a:imgdir}}
+ {\ht:special{t4ht=" xlink:title="}}
+ {" }
+ {\ht:special{t4ht=" }}
+ {\ht:special{t4ht=\xml:empty>}}
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Math}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/generic/tex4ht/jats.4ht b/Master/texmf-dist/tex/generic/tex4ht/jats.4ht
index 8f771641cef..a92769c3a3a 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 (2022-06-17-14:46), generated from tex4ht-jats.tex
+% jats.4ht (2022-06-24-15:06), generated from tex4ht-jats.tex
% Copyright 2022 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 2022-06-17-14:46}
+\immediate\write-1{version 2022-06-24-15:06}
\exit:ifnot{amsart,%
amsbook,%
@@ -38,6 +38,7 @@ url}
\ConfigureHinput{tex4ht}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\special{t4ht.xml}
+\Configure{ext}{xml}
\Configure{VERSION}{\HCode{<?xml version="1.0" encoding="UTF-8"?>\Hnewline}}
% select JATS version
@@ -190,9 +191,16 @@ url}
\Declare:Language{vietnamese}{vi}
\Declare:Language{welsh}{cy}
-\Configure{Link}{xref}{rid=}{id=}{\empty}
+\Configure{Link}{xref}{rid=}{id=}{}
\LinkCommand\ExternalLink{ext-link,xlink:href,id}
+\Configure{IMG}
+ {\ht:special{t4ht=<graphic\Hnewline xlink:href="\a:imgdir}}
+ {\ht:special{t4ht=" xlink:title="}}
+ {" }
+ {\ht:special{t4ht=" }}
+ {\ht:special{t4ht=\xml:empty>}}
+
\Configure{htf}{0}{+}{<italic}{}{}{}{}{>}{</italic>}
\Configure{htf}{4}{+}{<sc}{}{}{}{}{>}{</sc>}
\Configure{htf}{6}{+}{<underline}{}{}{}{}{>}{</underline>}
@@ -863,7 +871,6 @@ url}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsart}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1493,6 +1500,7 @@ url}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{memoir}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2610,5 +2618,6 @@ url}
+
\endinput