[tex4ht-commits] [SCM] tex4ht updated: r193 - trunk/lit

karl at gnu.org.ua karl at gnu.org.ua
Wed Sep 21 00:43:40 CEST 2016


Author: karl
Date: 2016-09-21 01:43:40 +0300 (Wed, 21 Sep 2016)
New Revision: 193

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-c.tex
Log:
allow xdv id values <= 10

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2016-08-11 23:14:17 UTC (rev 192)
+++ trunk/lit/ChangeLog	2016-09-20 22:43:40 UTC (rev 193)
@@ -1,3 +1,11 @@
+2016-09-20  Karl Berry  <karl at freefriends.org>
+
+	* tex4ht-c.tex (scan postamble): allow any value <= the xdv byte,
+	instead of requiring equality.  That way the same tex4ht binary
+	can be used with different versions of XeTeX.  As of
+	XeTeX 3.14159265-2.6-0.99996 (TeX Live 2016), the id value is 7.
+	(version xdv): update value to 10.
+
 2016-08-10  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (latex.4ht): use \mathunderscore in math mode for

Modified: trunk/lit/tex4ht-c.tex
===================================================================
--- trunk/lit/tex4ht-c.tex	2016-08-11 23:14:17 UTC (rev 192)
+++ trunk/lit/tex4ht-c.tex	2016-09-20 22:43:40 UTC (rev 193)
@@ -2156,7 +2156,7 @@
 eof_op_n = file_len;
 if( (i<4) 
     || 
-    ((ch != `<version dvi`>) && (ch != `<version xdv`>))
+    ((ch != `<version dvi`>) && (ch > `<version xdv`>))
   )  bad_dvi; 
 version_id = ch;
 >>>
@@ -2284,10 +2284,13 @@
 2 >>>
 
 
-The following is from xetex.
+The following is from xetex.  As of XeTeX 3.14159265-2.6-0.99996 (TeX
+Live 2016), the id value is 7, but it seems prudent and harmless to
+allow for a few future updates without recompiling.  Or perhaps we
+should not check this value at all with xdv.
 
 \<version xdv\><<<
-5
+10
 >>>
 
 



More information about the tex4ht-commits mailing list