unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: "Alex Griffin" <a@ajgrf.com>
Cc: 33967@debbugs.gnu.org
Subject: bug#33967: [Feature Request] Use proportional fonts in Info-mode
Date: Fri, 04 Jan 2019 00:58:50 -0500	[thread overview]
Message-ID: <5ay381ezfp.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <29a0d099-3af3-446e-9f0f-d5c2aacfcaf9@www.fastmail.com> (Alex Griffin's message of "Thu, 03 Jan 2019 15:35:07 -0500")

"Alex Griffin" wrote:

> Right now Emacs' built-in info viewer renders almost everything using
> the default face. I can set the default face to a proportional font
> and read most manuals just fine, but sometimes fixed-width fonts are
> assumed. Try using a proportional font on "(ledger3)Register Report"
> for example. It renders terribly in Emacs even though texinfo's html
> output successfully mixes proportional and fixed-width fonts [1].
>
> It would be nice to improve it by using proportional fonts where
> appropriate, and fixed-width fonts only where necessary. This would
> improve readability and better match texinfo's html output.

IIUC what you are asking for, the relevant markup information simply
isn't present in .info files, so what you are asking for seems
impossible.

For example, compare
https://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Hash.html#Defining-Hash

with elisp.info. The latter contains:

   This example creates a hash table whose keys are strings that are
compared case-insensitively.

     (defun case-fold-string= (a b)
       (eq t (compare-strings a nil nil b nil nil t)))


ie, examples are not delimited in any fashion.

So you would first have to get a change in texinfo before this could work.





  parent reply	other threads:[~2019-01-04  5:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-03 20:35 bug#33967: [Feature Request] Use proportional fonts in Info-mode Alex Griffin
     [not found] ` <mailman.6730.1546547831.1284.bug-gnu-emacs@gnu.org>
2019-01-03 21:23   ` Alan Mackenzie
2019-01-03 21:41     ` Alex Griffin
2019-01-04  5:58 ` Glenn Morris [this message]
2019-01-04  6:50 ` Eli Zaretskii
2019-01-05 21:51   ` Juri Linkov
2019-01-06  3:35     ` Eli Zaretskii
2019-01-07  0:00       ` Juri Linkov
2019-01-07  3:36         ` Eli Zaretskii
2019-01-07 21:49           ` Juri Linkov
2019-01-06 19:41     ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5ay381ezfp.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=33967@debbugs.gnu.org \
    --cc=a@ajgrf.com \
    /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 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).