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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Mon Mar 20 20:56:43 CET 2017


Author: michal_h21
Date: 2017-03-20 21:56:43 +0200 (Mon, 20 Mar 2017)
New Revision: 257

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
Fixed russian support for XeLaTeX and LuaLaTeX

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2017-03-20 19:39:12 UTC (rev 256)
+++ trunk/lit/ChangeLog	2017-03-20 19:56:43 UTC (rev 257)
@@ -1,7 +1,10 @@
 2017-03-20  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): check for new-accents option in
-	configuration for \bbl at umlauta accent
+	configuration for \bbl at umlauta accent.
+	* tex4ht-4ht.tex (russianb.4ht): prevent usage of OpenType fonts with
+	LuaLaTX and XeLaTeX, load definitions for Cyrillic characters 
+	with XeLaTeX.
 
 2017-03-20  Karl Berry  <karl at freefriends.org>
 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2017-03-20 19:39:12 UTC (rev 256)
+++ trunk/lit/tex4ht-4ht.tex	2017-03-20 19:56:43 UTC (rev 257)
@@ -36247,12 +36247,23 @@
 \endinput
 >>>                        \AddFile{9}{romanian}
 
+We must prevent russian.ldf from loading EU1 or EU2 font encoding.
+Declarationf for Cyrillics characters are loaded with XeLaTeX
+
 \<russianb.4ht\><<<
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
-% russianb.4ht                          |version %
+% russianb.4ht (|version), generated from |jobname.tex
 % Copyright (C) |CopyYear.2000.       Eitan M. Gurari         %
 |<TeX4ht copyright|>
 
+\if at uni@ode                                                                                                                                           
+\DeclareRobustCommand{\cyrillictext}{%                                                                                                                
+\language\l at russian}%
+\fi
+\ifdefined\XeTeXrevision%
+\xeuniuseblock{Cyrillic}%
+\fi%
+
 \Hinput{russianb}
 \endinput
 >>>                        \AddFile{9}{russianb}



More information about the tex4ht-commits mailing list