From: "Jose A. Ortega Ruiz" <jao@gnu.org>
To: 47705@debbugs.gnu.org
Subject: bug#47705: [PATCH] EWW: Customize display of images
Date: Tue, 13 Apr 2021 23:08:07 +0100 [thread overview]
Message-ID: <87o8ehdeig.fsf@gnus.jao.io> (raw)
In-Reply-To: <86zgy5m8ja.fsf@lima.oberreute.mueller-schleicher.de>
On Tue, Apr 13 2021, Ralph Schleicher wrote:
> Hi Lars,
>
> I have thought about it again and maybe we should approach the topic
> from another side. Images are inline elements and so, first of all,
> there is no reason why the renderer should insert line breaks at all.
> The decision whether an image shall be displayed as an inline element
> or as a block element is actually made by the creator of the web page.
> The renderer should only follow the instructions. That means, if an
> image is intermixed with text, or if multiple images are placed on a
> single line, we should assume that there must be a reason and SHR
> shouldn't try to be too smart.
>
> After all, the user should be able to take the final decision. Thus,
> I've added an eww-toggle-inline-images command. I checked the result
> with, e.g. www.gnu.org, www.gnu.org/software/emacs, docs.gtk.org/gtk4,
> and www.lispworks.com/documentation/HyperSpec/Front -- it looks good.
>
> Maybe you reconsider adding the patch. Thank you.
I just wanted to echo my approval of the thoughts above, based on my
experience reading pages with embedded mathematical formulae... those
are very common in math and physics blogs, and consist of many little
inline images, and the current eww ways make them look worse than, say,
emacs-w3m. For a random example of what i mean, just take any page from
Terry Tao's blog: https://terrytao.wordpress.com/.
Cheers,
jao
--
In this age, the mere example of nonconformity, the mere refusal to bend
the knee to custom, is itself a service.
-John Stuart Mill, philosopher and economist (1806-1873)
next prev parent reply other threads:[~2021-04-13 22:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-11 10:15 bug#47705: [PATCH] EWW: Customize display of images Ralph Schleicher
2021-04-12 8:36 ` Lars Ingebrigtsen
2021-04-12 17:36 ` Ralph Schleicher
2021-04-13 7:33 ` Lars Ingebrigtsen
2021-04-13 21:06 ` Ralph Schleicher
2021-04-13 22:08 ` Jose A. Ortega Ruiz [this message]
2021-04-14 8:38 ` Lars Ingebrigtsen
2021-04-14 19:27 ` Ralph Schleicher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8ehdeig.fsf@gnus.jao.io \
--to=jao@gnu.org \
--cc=47705@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.