[tex4ht-commits] [SCM] tex4ht updated: r233 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Mon Jan 23 21:51:07 CET 2017
Author: michal_h21
Date: 2017-01-23 22:51:07 +0200 (Mon, 23 Jan 2017)
New Revision: 233
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
Quick fix for LaTeX TU font encoding
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2016-12-26 12:02:09 UTC (rev 232)
+++ trunk/lit/ChangeLog 2017-01-23 20:51:07 UTC (rev 233)
@@ -1,3 +1,9 @@
+2017-01-23 Michal However <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (latex.4ht): prevent the selection of TU font encoding,
+ because it loads OpenType fonts. Use OT1 instead
+ https://puszcza.gnu.org.ua/bugs/?352
+
2016-12-26 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (nameref.4ht): changed \:tempc to \:tempams, in order
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2016-12-26 12:02:09 UTC (rev 232)
+++ trunk/lit/tex4ht-4ht.tex 2017-01-23 20:51:07 UTC (rev 233)
@@ -5301,6 +5301,18 @@
\Configure{textcircled}{}
>>>
+January 2017: LaTeX core started to use new font encoding with
+Unicode engines, TU. This encoding loads OpenType fonts by default
+It breaks tex4ht compilation due to a bug in tex4ht command.
+
+We need to check for TU encoding and use the old default one, OT1
+\<latex ltoutenc\><<<
+\edef\test:f:encoding{\f at encoding}
+\edef\test:tu:encoding{TU}
+\ifx\test:f:encoding\test:tu:encoding
+\RequirePackage[OT1]{fontenc}
+\fi
+>>>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Blocks: The /begin.../end Delimiters}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list