unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51137: 29.0.50; Make documentation more readable in mobile devices
@ 2021-10-11 19:06 ` Carlos Pita
  2021-10-11 19:31   ` Stefan Kangas
  2021-10-11 19:36   ` Eli Zaretskii
  0 siblings, 2 replies; 11+ messages in thread
From: Carlos Pita @ 2021-10-11 19:06 UTC (permalink / raw)
  To: 51137

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

In my phone the navigation links and the subsection links are barely
visible and not proportionate to the body text, which is not only
unpleasant to look at but, more importantly, makes it very difficult to
navigate through the manual. See the attached screenshot.

Best regards,
Carlos


[-- Attachment #2: Emacs in phone (Android) --]
[-- Type: image/jpeg, Size: 326861 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#51137: 29.0.50; Make documentation more readable in mobile devices
  2021-10-11 19:06 ` bug#51137: 29.0.50; Make documentation more readable in mobile devices Carlos Pita
@ 2021-10-11 19:31   ` Stefan Kangas
  2021-10-11 19:36   ` Eli Zaretskii
  1 sibling, 0 replies; 11+ messages in thread
From: Stefan Kangas @ 2021-10-11 19:31 UTC (permalink / raw)
  To: Carlos Pita; +Cc: 51137-done

Carlos Pita <carlosjosepita2@gmail.com> writes:

> In my phone the navigation links and the subsection links are barely
> visible and not proportionate to the body text, which is not only
> unpleasant to look at but, more importantly, makes it very difficult to
> navigate through the manual. See the attached screenshot.

This documentation is generated by Texinfo, so I think this should be
reported to the texinfo developers at bug-texinfo@gnu.org.  I encourage
you to do so, as it would be nice to get this fixed.

Since this is not a bug in Emacs, I'm closing this bug report.  If you
think this conclusion is incorrect, please reply to this email (use
"Reply to all" in your email client) and we can consider reopening the
bug report.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#51137: 29.0.50; Make documentation more readable in mobile devices
  2021-10-11 19:06 ` bug#51137: 29.0.50; Make documentation more readable in mobile devices Carlos Pita
  2021-10-11 19:31   ` Stefan Kangas
@ 2021-10-11 19:36   ` Eli Zaretskii
  2021-10-11 20:34     ` Carlos Pita
  1 sibling, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2021-10-11 19:36 UTC (permalink / raw)
  To: Carlos Pita; +Cc: 51137

> From: Carlos Pita <carlosjosepita2@gmail.com>
> Date: Mon, 11 Oct 2021 16:06:37 -0300
> 
> In my phone the navigation links and the subsection links are barely
> visible and not proportionate to the body text, which is not only
> unpleasant to look at but, more importantly, makes it very difficult to
> navigate through the manual. See the attached screenshot.

Isn't it a problem with the fonts installed on the phone?





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#51137: 29.0.50; Make documentation more readable in mobile devices
  2021-10-11 19:36   ` Eli Zaretskii
@ 2021-10-11 20:34     ` Carlos Pita
  2021-10-12  0:47       ` Carlos Pita
  0 siblings, 1 reply; 11+ messages in thread
From: Carlos Pita @ 2021-10-11 20:34 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 51137

> Isn't it a problem with the fonts installed on the phone?

I don't think so. I only see the issue with emacs, elisp and org-mode
documentation. Besides, it's a pretty standard Android phone running
Chrome, everything more or less up-to-date, no weird customization.
I've been seeing the same or related problems in other phones over the
years too. I will do as you said and report it to the texinfo
developers. Thanks!





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#51137: 29.0.50; Make documentation more readable in mobile devices
  2021-10-11 20:34     ` Carlos Pita
@ 2021-10-12  0:47       ` Carlos Pita
  2021-10-12 13:36         ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Carlos Pita @ 2021-10-12  0:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 51137

In bug-texinfo they told me:

> This is not related to texinfo proper but to the CSS that's added on the gnu server side.

Any of you guys knows who else can I write for this?





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#51137: 29.0.50; Make documentation more readable in mobile devices
  2021-10-12  0:47       ` Carlos Pita
@ 2021-10-12 13:36         ` Eli Zaretskii
  2021-10-12 14:57           ` Glenn Morris
  0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2021-10-12 13:36 UTC (permalink / raw)
  To: Carlos Pita; +Cc: 51137

> From: Carlos Pita <carlosjosepita2@gmail.com>
> Date: Mon, 11 Oct 2021 21:47:33 -0300
> Cc: 51137@debbugs.gnu.org
> 
> In bug-texinfo they told me:
> 
> > This is not related to texinfo proper but to the CSS that's added on the gnu server side.
> 
> Any of you guys knows who else can I write for this?

webmasters@gnu.org, I think.





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#51137: 29.0.50; Make documentation more readable in mobile devices
  2021-10-12 13:36         ` Eli Zaretskii
@ 2021-10-12 14:57           ` Glenn Morris
  2021-10-19  9:22             ` Stefan Kangas
  0 siblings, 1 reply; 11+ messages in thread
From: Glenn Morris @ 2021-10-12 14:57 UTC (permalink / raw)
  To: Carlos Pita, 51137


Emacs developers have full control over the styling applied to the
manuals on gnu.org. See

https://web.cvs.savannah.gnu.org/viewvc/emacs/emacs/manual.css

(It's true that this mostly just applies gnu.org style, but you could
always stop doing so.)

and the tweaks from  manual-html-fix-* in admin/admin.el .





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#51137: 29.0.50; Make documentation more readable in mobile devices
  2021-10-12 14:57           ` Glenn Morris
@ 2021-10-19  9:22             ` Stefan Kangas
  2022-09-12 11:38               ` Lars Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Kangas @ 2021-10-19  9:22 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Carlos Pita, 51137

Glenn Morris <rgm@gnu.org> writes:

> Emacs developers have full control over the styling applied to the
> manuals on gnu.org. See
>
> https://web.cvs.savannah.gnu.org/viewvc/emacs/emacs/manual.css
>
> (It's true that this mostly just applies gnu.org style, but you could
> always stop doing so.)

But it seems better that the GNU stylesheet is updated, so that this is
fixed for everyone and not just for Emacs.

> and the tweaks from  manual-html-fix-* in admin/admin.el .





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#51137: 29.0.50; Make documentation more readable in mobile devices
  2021-10-19  9:22             ` Stefan Kangas
@ 2022-09-12 11:38               ` Lars Ingebrigtsen
       [not found]                 ` <rt-4.2.16-14-g9a593ee-6026-1662994206-423.1872370-5-0@rt.gnu.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-12 11:38 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: Glenn Morris, Eli Zaretskii, Carlos Pita, webmasters, 51137

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

Stefan Kangas <stefan@marxist.se> writes:

>> (It's true that this mostly just applies gnu.org style, but you could
>> always stop doing so.)
>
> But it seems better that the GNU stylesheet is updated, so that this is
> fixed for everyone and not just for Emacs.

Yes.  The problem seems to be here in style.css:

/* For navigation links */
.node a, .header a {display: inline-block;line-height: 2em;}

Having the <a> in the header be inline-block apparently makes
Chrome-based mobile browsers display the links very weirdly.

To test on a Chromium browser, go to this page:

https://www.gnu.org/software/emacs/manual/html_node/emacs/Basic-Minibuffer.html

And then use Developer Tools to switch to mobile view, and you should
see the problems:


[-- Attachment #2: Type: image/png, Size: 53244 bytes --]

[-- Attachment #3: Type: text/plain, Size: 261 bytes --]


Could someone who controls the style.css file fix this,
webmasters@gnu.org?

If not, we can override this in the Emacs style sheets, but it seems
like it's a style.css problem.  (On the other hand, perhaps not -- CSS
problems aren't always trivial to debug.)


^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#51137: [gnu.org #1872370] Re: bug#51137: 29.0.50; Make documentation more readable in mobile devices
       [not found]                 ` <rt-4.2.16-14-g9a593ee-6026-1662994206-423.1872370-5-0@rt.gnu.org>
@ 2022-09-13 11:02                   ` Lars Ingebrigtsen
  2022-09-13 13:14                     ` Stefan Kangas
  0 siblings, 1 reply; 11+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-13 11:02 UTC (permalink / raw)
  To: Therese Godefroy via RT; +Cc: 51137

"Therese Godefroy via RT" <webmasters@gnu.org> writes:

> I commented out the inline-block display. This solves the Chromium
> issue, 

Thanks; I can confirm that the too-small link issue is gone on Chromium
mobile views.

> but the font size is still way too small on phones with
> Firefox. To get a correct display in both browsers, the page should
> have a viewport meta tag in its <head> element:
> <meta name="viewport" content="width=device-width, initial-scale=1"
> />.

I tested on my Android phone here with Firefox and Chrome, and the font
size looked pretty similar (and not too small).  Perhaps it varies
between versions?





^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#51137: [gnu.org #1872370] Re: bug#51137: 29.0.50; Make documentation more readable in mobile devices
  2022-09-13 11:02                   ` bug#51137: [gnu.org #1872370] " Lars Ingebrigtsen
@ 2022-09-13 13:14                     ` Stefan Kangas
  0 siblings, 0 replies; 11+ messages in thread
From: Stefan Kangas @ 2022-09-13 13:14 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Therese Godefroy via RT, 51137

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> but the font size is still way too small on phones with
>> Firefox. To get a correct display in both browsers, the page should
>> have a viewport meta tag in its <head> element:
>> <meta name="viewport" content="width=device-width, initial-scale=1"
>> />.

That HTML is generated by "makeinfo --html".

The viewport stuff was already added to texinfo in:
https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=2509d615c

AFAICT, that commit was part of texinfo 6.8, released in June 2021,
which is already in Debian testing.

So I don't think there is anything more for us to do here.





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-09-13 13:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <RT-Ticket-1872370@rt.gnu.org>
2021-10-11 19:06 ` bug#51137: 29.0.50; Make documentation more readable in mobile devices Carlos Pita
2021-10-11 19:31   ` Stefan Kangas
2021-10-11 19:36   ` Eli Zaretskii
2021-10-11 20:34     ` Carlos Pita
2021-10-12  0:47       ` Carlos Pita
2021-10-12 13:36         ` Eli Zaretskii
2021-10-12 14:57           ` Glenn Morris
2021-10-19  9:22             ` Stefan Kangas
2022-09-12 11:38               ` Lars Ingebrigtsen
     [not found]                 ` <rt-4.2.16-14-g9a593ee-6026-1662994206-423.1872370-5-0@rt.gnu.org>
2022-09-13 11:02                   ` bug#51137: [gnu.org #1872370] " Lars Ingebrigtsen
2022-09-13 13:14                     ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).