[tex4ht-commits] [SCM] tex4ht updated: r370 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Wed Jan 31 15:16:16 CET 2018
Author: michal_h21
Date: 2018-01-31 16:16:16 +0200 (Wed, 31 Jan 2018)
New Revision: 370
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html5.tex
Log:
Added some meta tags
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2018-01-30 16:53:20 UTC (rev 369)
+++ trunk/lit/ChangeLog 2018-01-31 14:16:16 UTC (rev 370)
@@ -1,3 +1,8 @@
+2018-01-31 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-html5.tex (html5.4ht): added meta tags for source file, date and
+ instructions for mobile devices.
+
2018-01-15 Karl Berry <karl at freefriends.org>
* Makefile (tex4ht_fonts_modern_derived): add lm-ts1.htf.
Modified: trunk/lit/tex4ht-html5.tex
===================================================================
--- trunk/lit/tex4ht-html5.tex 2018-01-30 16:53:20 UTC (rev 369)
+++ trunk/lit/tex4ht-html5.tex 2018-01-31 14:16:16 UTC (rev 370)
@@ -48,9 +48,20 @@
\Configure{@HEAD}{\HCode{<meta \use:charset />\Hnewline}}
\Configure{@HEAD}{\HCode{<meta name="generator" content="TeX4ht
(http://www.tug.org/tex4ht/)" />\Hnewline}}
+\Configure{@HEAD}{\HCode{<meta name="viewport" content="width=device-width,initial-scale=1" />\Hnewline}}
\Configure{@HEAD}{\HCode{<link
rel="stylesheet" type="text/css"
href="\expandafter\csname aa:CssFile\endcsname" />\Hnewline}}
+\Configure{@HEAD}
+ {\HCode{<meta name="src"
+ content="\jobname.tex"\xml:empty>\Hnewline}}
+\:CheckOption{timestamp}\if:Option
+\Configure{@HEAD}
+ {\HCode{<meta name="date"
+ content="\:today"\xml:empty>\Hnewline}}
+\else
+ \Log:Note{To print a timestamp, use the command line option timestamp}
+\fi
>>>
Charset can be set using charset=charsetcode option for tex4ht.sty. It is saved in \verb|\a:charset| macro.
More information about the tex4ht-commits
mailing list