From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Different rendering in latex doc between Windows, macOS and GNU/Linux Date: Sat, 26 Nov 2022 18:45:44 +0200 Message-ID: <83bkotslzb.fsf@gnu.org> References: <1585944673.322367.1669466913725@mail1.libero.it> <83tu2lssyq.fsf@gnu.org> <1962215699.329541.1669478921414@mail1.libero.it> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1586"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 26 17:45:52 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyyJM-0000GB-ME for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Nov 2022 17:45:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyyIw-00047v-WE; Sat, 26 Nov 2022 11:45:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyyIs-00047a-QB for emacs-devel@gnu.org; Sat, 26 Nov 2022 11:45:22 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyyIq-0004H0-UY; Sat, 26 Nov 2022 11:45:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=SlIqBXiG/ysHz/S6T/DOt1rLzH8gYRkp0GYVAomIPlE=; b=Uh935lvDhnEs 0Dqo5aKqsnOF1q8oymNom/2y1Uoc7ShGyzBbpGZ2gAY1i9j2MJ+mAcICn87GzAZ5EuD9F4ItmnWmg /FZDIhYGxY3Bw+AQ7HH6nrGm19x6sgzBGvyxfjS6sdNVgfhLVOdwxyfxCk7qpTkNHGcRL4/wknEYl S0+LRSC3Kfs82L2ZZFULY2tZ00FDr6NT7Sp0ZktLmt0PyPkIbw/PDuhSwBwik2eJdlsnJL7l6hHM0 9OEyKRMbqzVNcNF9JTQQtdHlHk+ehthUnBXi2qO1cJiz7cQKg+KoInfzrgjdZShaskuUw0JigbFVP uDWS6Cu82we+mZszvbYRCw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyyIo-0004aK-RD; Sat, 26 Nov 2022 11:45:20 -0500 In-Reply-To: <1962215699.329541.1669478921414@mail1.libero.it> (message from Angelo Graziosi on Sat, 26 Nov 2022 17:08:41 +0100 (CET)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300575 Archived-At: > Date: Sat, 26 Nov 2022 17:08:41 +0100 (CET) > From: Angelo Graziosi > Cc: emacs-devel@gnu.org > > > 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 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)