Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tcl manuals are hard to read on mobile devices

Open472756c2bd71f0567b8821969f7a41d8e35c06c7Created 5 years agoUpdated 5 years ago
Descriptionplain2021-11-29 18:15:23
The Tcl manual found at https://www.tcl-lang.org/man/tcl8.6/
use a stylesheet (https://www.tcl-lang.org/man/tcl8.6/docs.css)
that does not respond well to various screen sizes.

For example, I would like to read the manual on the train
with my smartphone, but to do so requires excessive zooming
and panning around.

There are a number of issues with the manual but I think I can
make surgical changes to fix the most glaring problems with this
CSS file. Specifically the following:

1. Changing absolute measurements like px to relative measurements like em.
2. Setting font-family to us native font stacks.
3. Calibrating color hues to be less garish.

I do not know how the HTML for these manual pages is generated.
There are some issues with non-semantic markup. For now I propose
to fix only the CSS.

I will attach a patch soon unless anyone objects to changing docs.css.
nat-418plain2021-12-04 20:32:44
I have attached an updated docs.css and single HTML meta tag that if applied would make the manual pages responsive.
nat-418 Ticket [472756c2bd]: 3 changes [History diff]2021-12-04 23:24:36
Log in (anonymous is fine) to add a comment.