unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.g0@libero.it>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Different rendering in latex doc between Windows, macOS and GNU/Linux
Date: Sat, 26 Nov 2022 20:03:59 +0100 (CET)	[thread overview]
Message-ID: <2087801596.320025.1669489439098@mail1.libero.it> (raw)
In-Reply-To: <83bkotslzb.fsf@gnu.org>

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


> Il 26/11/2022 17:45 Eli Zaretskii ha scritto:
> 
>  
> > Date: Sat, 26 Nov 2022 17:08:41 +0100 (CET)
> > From: Angelo Graziosi 
> > Cc: 
> > 
> > > I suspect on GNU/Linux, Emacs is configured to load some optional package.
> > > The -q option doesn't disable site-init files.
> > 
> > Sorry, but I do not understand this. How can I disable that?
> 
> By using "emacs -Q" (capital Q).  But it is not important in this case, see

Ah, I thought the contrary..

> below.
> 
> > The result of the above command is the same, both on Windows and GNU/Linux but on GNU/Linux 'foo' is rendered in underline bold while on Windows it is in italic. I create a foo.tex file with '\emph{foo}' on the first line and with the cursor on 'f' of 'foo'. See the attachments..
> 
> The images show that the font you use on GNU/Linux doesn't have the italics
> variant, so Emacs uses underline instead, per the defface:
> 
>   (defface italic
>     '((((supports :slant italic))
>        :slant italic)
>       (((supports :underline t))
>        :underline t)

Hmm.. this is strange. "emacs -q/Q" uses Monospace and in Emacs, 'Menu-Set Default Font...' seems to show that Monospace has italic (see the attachment taken with 'emacs -Q')! But really I tried with many fonts (Andale Mono, Bitstream Vera Sans Mono, Courier, DejaVu sans Mono book, FreeMono, Noto...) all listed with the the regular, italic, bold.. versions and with the same negative results.

This does not occur on Windows or macOS.

If you see the image in my previous post, win10pro-footex-test.png, it uses Courier, the same Courier New listed in Emacs Set Default Font menu item but there it is italic not underlined.

Anyway, may you suggest a font to be used with Emacs in GNU/Linux to test this?

[-- Attachment #2: monospace-italic.png --]
[-- Type: image/png, Size: 78221 bytes --]

  reply	other threads:[~2022-11-26 19:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 12:48 Different rendering in latex doc between Windows, macOS and GNU/Linux Angelo Graziosi
2022-11-26 14:14 ` Eli Zaretskii
2022-11-26 16:08   ` Angelo Graziosi
2022-11-26 16:45     ` Eli Zaretskii
2022-11-26 19:03       ` Angelo Graziosi [this message]
2022-11-26 19:16         ` Eli Zaretskii
2022-11-26 20:21           ` Stefan Monnier
2022-11-26 20:33             ` Gregory Heytings
2022-11-26 19:20 ` Jim Porter
2022-11-26 20:16   ` Angelo Graziosi
2022-11-26 20:26     ` Jim Porter

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=2087801596.320025.1669489439098@mail1.libero.it \
    --to=angelo.g0@libero.it \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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 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).