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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Jul 9 12:45:41 CEST 2020


Author: michal_h21
Date: 2020-07-09 13:45:40 +0300 (Thu, 09 Jul 2020)
New Revision: 766

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-tei.tex
Log:
Defined basic HTF support for TEI

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2020-07-09 09:53:12 UTC (rev 765)
+++ trunk/lit/ChangeLog	2020-07-09 10:45:40 UTC (rev 766)
@@ -1,6 +1,7 @@
 2020-07-09 Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-tei.tex (tei.4ht): defined \ifHCond conditional.
+	* tex4ht-tei.tex (tei.4ht): defined basic HTF font support.
 
 2020-07-07 Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-tei.tex
===================================================================
--- trunk/lit/tex4ht-tei.tex	2020-07-09 09:53:12 UTC (rev 765)
+++ trunk/lit/tex4ht-tei.tex	2020-07-09 10:45:40 UTC (rev 766)
@@ -666,7 +666,29 @@
 \fi
 >>>
 
+%%%%%%%%%%%%%%%%%%
+\section{HTF}
+%%%%%%%%%%%%%%%%%%
 
+Basic support for HTF fonts. I am not sure if this method is the best,
+there seems to be no direct equivalent to HTML class and corresponding CSS.
+
+\<configure tei tex4ht\><<<
+\Configure{htf}{0}{+}{<hi rendition="\#}{\%s}{-\%s}{x-x-\%d}{}{">}{</hi>}
+\Configure{htf}{4}{+}{<hi rend="small-caps">}{}{}{}{}{}{</hi>}
+\Configure{htf}{6}{+}{<hi rend="underline">}{}{}{}{}{}{</hi>}
+\Configure{htf}{8}{+}{<hi rend="superscript">}{}{}{}{}{}{</hi>}
+\Configure{htf}{10}{+}{<hi rend="bold">}{}{}{}{}{}{</hi>}
+\Configure{htf}{12}{+}{<hi rend="caligraphy">}{}{}{}{}{}{</hi>}
+\Configure{htf}{14}{+}{<hi rend="italic">}{}{}{}{}{}{</hi>}
+\Configure{htf}{16}{+}{<hi rend="bold">}{}{}{}{}{}{</hi>}
+\Configure{htf}{18}{+}{<hi rend="calligraphy-bold">}{}{}{}{}{}{</hi>}
+\Configure{htf}{20}{+}{<hi rend="htf-flip-hor">}{}{}{}{}{}{</hi>}
+\Configure{htf}{22}{+}{<hi rend="subscript>}{}{}{}{}{}{</hi>}
+\Configure{htf}{24}{+}{<hi rend="small-caps">}{}{}{}{}{}{</hi>}
+>>>
+
+
 %%%%%%%%%%%%%%%%%%
 \section{Sections}
 %%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.