texlive[63716] Master/texmf-dist: pictures, xml, # symbol, tex4ht

commits+karl at tug.org commits+karl at tug.org
Sat Jun 25 00:39:36 CEST 2022


Revision: 63716
          http://tug.org/svn/texlive?view=revision&revision=63716
Author:   karl
Date:     2022-06-25 00:39:36 +0200 (Sat, 25 Jun 2022)
Log Message:
-----------
pictures, xml, # symbol, tex4ht r1159-1160

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1159

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-06-24 22:22:39 UTC (rev 63715)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-06-24 22:39:36 UTC (rev 63716)
@@ -1,3 +1,9 @@
+2022-06-24  Michal Hoftich  <michal.h21 at 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 at gmail.com>
 
 	* tex4ht-4ht.tex (latex.4ht): fixed support for \index commands

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex	2022-06-24 22:22:39 UTC (rev 63715)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex	2022-06-24 22:39:36 UTC (rev 63716)
@@ -52,10 +52,12 @@
 
 \<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 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \<basic hyperlinks\><<<
-\Configure{Link}{xref}{rid=}{id=}{\empty}   
+\Configure{Link}{xref}{rid=}{id=}{}   
 \LinkCommand\ExternalLink{ext-link,xlink:href,id}
 >>>
 
@@ -378,6 +380,19 @@
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\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}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht	2022-06-24 22:22:39 UTC (rev 63715)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht	2022-06-24 22:39:36 UTC (rev 63716)
@@ -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 @@
                 \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 @@
 \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 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsart}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1493,6 +1500,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{memoir}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2401,6 +2409,7 @@
 
 
 
+
 
 
 



More information about the tex-live-commits mailing list.