bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #35614] mobile-phone friendly HTML output


From: Karl Berry
Subject: Re: [bug #35614] mobile-phone friendly HTML output
Date: Fri, 24 Feb 2012 15:12:04 -0800

Hi,

    The HTML generated by makeinfo (texinfo 4.13) is hard to read from mobile

It is discouraging that the completely generic HTML we output cannot be
read sensibly without introducing new settings.  Good thing new systems
are so advanced.

    1. Device-width aware HTML.
       Simple, just inserting follow meta tags will be enough:
       (See also https://github.com/h5bp/mobile-boilerplate)

  <meta name="HandheldFriendly" content="True">
  <meta name="MobileOptimized" content="320">
  <meta name="viewport" content="width=device-width">
  <meta http-equiv="cleartype" content="on">

What does that "320" actually mean?  I hope it is not a pixel count.
https://github.com/h5bp/mobile-boilerplate/wiki/The-Markup doesn't
explain.  (There is way too much unrelated stuff in that project for me
to want to delve further.)

   it will be grateful if there is a way to insert custom <meta>.

Indeed.  I kind of think there is already, in the development makeinfo
-- Patrice?

   I'm not expecting this will be hard coded into texinfo, rather,

Not hardcoded, but I surmise we should make a configuration variable to
output such recommended boilerplate stuff, since presumably it will
change over time.

    2. "Reader" feature in Safari 5.x.
    [...]
    Replace every occurrence of "<body>" and "</body>" in html.c,
    makeinfo.c, and node.c into "<body><article>" and "</article><body>".

Well, it would seem that could be done with @html, then.  Anyway, since
the iphone is so ridiculously nonfree, I don't think we should insert
any support for it into the distribution.

Thanks for the report.

Best,
karl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]