summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/tex4ht-jats.tex17
2 files changed, 22 insertions, 1 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index ef9c5510f6..6322e06c8e 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/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/support/TeX4ht/source/tex4ht-jats.tex b/support/TeX4ht/source/tex4ht-jats.tex
index 2b37c33e2b..6c696ff12c 100644
--- a/support/TeX4ht/source/tex4ht-jats.tex
+++ b/support/TeX4ht/source/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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%