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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Jan 21 18:22:03 CET 2021


Author: michal_h21
Date: 2021-01-21 19:22:02 +0200 (Thu, 21 Jan 2021)
New Revision: 869

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fix for the newcomputermodern package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-01-12 22:16:25 UTC (rev 868)
+++ trunk/lit/ChangeLog	2021-01-21 17:22:02 UTC (rev 869)
@@ -1,3 +1,8 @@
+2021-01-21  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (usepackage.4ht, newcomputermodern-hooks.4ht): fix for the 
+	newcomputermodern package.
+
 2021-01-12  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): add anchor for \label commands in \endnote.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-01-12 22:16:25 UTC (rev 868)
+++ trunk/lit/tex4ht-4ht.tex	2021-01-21 17:22:02 UTC (rev 869)
@@ -3752,6 +3752,29 @@
 >>> \AddFile{9}{savetrees-hooks}
 
 %%%%%%%%%%%%%%%%%
+\Section{newcomputermodern.sty}
+%%%%%%%%%%%%%%%%%
+
+This is a really nice variant of Computer Modern in OpenType format. The
+rendered text is a bit darker and more readable than Latin Modern. It also
+supports Cyrillics, Hebrew and Greek.
+
+We need to disable it with TeX4ht though, because it forces loading of OpenType
+fonts which results in compilation failure.
+
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{newcomputermodern.sty}{newcomputermodern-hooks.4ht}
+>>>
+
+\<newcomputermodern-hooks.4ht\><<<
+% newcomputermodern-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2021 TeX Users Group
+|<TeX4ht license text|>
+\:dontusepackage{newcomputermodern}
+>>> \AddFile{9}{newcomputermodern-hooks}
+
+%%%%%%%%%%%%%%%%%
 \Section{biblatex}
 %%%%%%%%%%%%%%%%%
 



More information about the tex4ht-commits mailing list.