summaryrefslogtreecommitdiff
path: root/support/TeX4ht
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-25 03:01:31 +0000
committerNorbert Preining <norbert@preining.info>2022-06-25 03:01:31 +0000
commit7539b7b5d1fc836a31110d086fb5b9783033f327 (patch)
treec0d694d1c3a605112ee319ed0f9e6697c33798bc /support/TeX4ht
parent1ef4c041ba74d4619dd62209ae48a2b24563954c (diff)
CTAN sync 202206250301
Diffstat (limited to 'support/TeX4ht')
-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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%