[tex4ht-commits] [SCM] tex4ht updated: r785 - trunk/doc/mn

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Fri Aug 21 11:01:39 CEST 2020


Author: michal_h21
Date: 2020-08-21 12:01:39 +0300 (Fri, 21 Aug 2020)
New Revision: 785

Modified:
   trunk/doc/mn/ChangeLog
   trunk/doc/mn/TeX4ht-doc.tex
Log:
Added meta viewport to HTML header of all pages

Modified: trunk/doc/mn/ChangeLog
===================================================================
--- trunk/doc/mn/ChangeLog	2020-08-19 15:58:31 UTC (rev 784)
+++ trunk/doc/mn/ChangeLog	2020-08-21 09:01:39 UTC (rev 785)
@@ -1,3 +1,8 @@
+2020-08-11  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* TeX4ht-doc.tex (all html files): added <meta viewport> element to fix
+	Google's complaints.
+
 2020-06-21  Karl Berry  <karl at freefriends.org>
 
 	* TeX4ht-doc.tex (mn11.html, Configurable Hooks): show Michal's

Modified: trunk/doc/mn/TeX4ht-doc.tex
===================================================================
--- trunk/doc/mn/TeX4ht-doc.tex	2020-08-19 15:58:31 UTC (rev 784)
+++ trunk/doc/mn/TeX4ht-doc.tex	2020-08-21 09:01:39 UTC (rev 785)
@@ -2835,6 +2835,7 @@
 \fi
 
 \Preamble{xhtml,th4,index}
+\Configure{@HEAD}{\HCode{<meta name="viewport" content="width=device-width, initial-scale=1" />\Hnewline}}
 \Configure{@/BODY}{\ifvmode\IgnorePar\fi\EndP\HCode{<hr />}\par\HCode{<small>Generated \ifcase \month \or
     January \or February \or March \or April \or May \or June \or July
     \or August \or September \or October \or November \or December \fi



More information about the tex4ht-commits mailing list.