From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CTSEOOCfzGIlMwAAbAwnHQ (envelope-from ) for ; Tue, 12 Jul 2022 00:10:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ACQnN+CfzGJXOQAA9RJhRA (envelope-from ) for ; Tue, 12 Jul 2022 00:10:40 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B12B1485E for ; Tue, 12 Jul 2022 00:10:40 +0200 (CEST) Received: from localhost ([::1]:34094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oB1bz-000168-OM for larch@yhetil.org; Mon, 11 Jul 2022 18:10:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oB1b7-00015l-Sr for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 18:09:45 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oB1b5-0003jF-S9 for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 18:09:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E548B240027 for ; Tue, 12 Jul 2022 00:09:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1657577379; bh=JBq4ppwDrjal9fV1CpCqnEPtOL8kixI7VAbqfxOqQb0=; h=From:To:Cc:Subject:Date:From; b=N5ITEEV36rDEMIIFIRoNNAhe2SsBOsNK/WYkVuGLLVkTM+/XEQq/q8qrKZiPtfemX rgA1Hqv3Z0OmklsbOOVfCyoM26Lft4NDEZZywQ/VVz1yjMQEntiQVrZg7o0s/0bkLK 11u7OCaU7hpc80B7jIfhaFFUoR1CjDlw5d2AcGnErDHk2xShIMFR5OSCjoR7FMt2P2 bJAoE2OxLy2xUSLqIjHCeOho+QX79vYRcLh9BUfw/NfpvmckcoS4G++1nLId11bXj8 +hTc15qQ6fPiNqf1pEbKL0bfbEfsAHFPa8T9V3jzQHw8qwIURxobL2rj5nGK3sOYwE v2aRVS8XC3aAw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LhdN30gJgz9rxG; Tue, 12 Jul 2022 00:09:39 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Timothy Cc: orgmode , Ihor Radchenko , Maxim Nikulin Subject: Re: fontsets References: <87ilo7ztm3.fsf@posteo.net> <87ilo7tp78.fsf@tsdye.online> <87o7xy8t4g.fsf@posteo.net> <87a69i8ha1.fsf@posteo.net> <87tu7qnij4.fsf@posteo.net> <87r12ssonv.fsf_-_@posteo.net> <87pmicqtko.fsf@localhost> <87pmiblo2v.fsf@gmail.com> <87sfn7g0ei.fsf@posteo.net> <87o7xvleks.fsf@gmail.com> Date: Mon, 11 Jul 2022 22:09:37 +0000 In-Reply-To: <87o7xvleks.fsf@gmail.com> (Timothy's message of "Tue, 12 Jul 2022 01:45:57 +0800") Message-ID: <8735f7qp26.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657577440; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7s9LD7nyyIaAF/5Pq6GBEmALQ0X6x4uQS2iHjQDhg8E=; b=BiYXWaLi13NbkV7GkwAZc1pQGrVtWG65f3n0ia1wbbZszHZV6fbSNKUsBoNIGUs3RLInP4 zQqWU8qH8M31R38RcOua4wutsicDagng1cnzT+iNTnUt99SMVOkIGpK5d4ybumv1RFunj7 29By3ApgbPgVWD6HCBvgRDnrnZ6C5Aagdo9TsBSPtxDs4Mu76r/n7ov6VIkuPzyXbh/qj+ FuTFI1aAzTDgRPQpd5D14JE+GgJUTGUbGfNs0Y7bt20IOJ8vnSYJQtsMjMqQ+8RiNzdv4Y GMDMW2pdaIGH5394ryzLL8tdnKi+LOqRsSVGQZzOcaPuDI6J1xMsE1ckAT8dPA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657577440; a=rsa-sha256; cv=none; b=U9r/KJteC7uVBblfRXkj525yUNWKvEhZtzC/s1iX7S9ot60h6U/hFA2+Jl1xN3tZtBPAoj VwuOdb95xqToFoUKqGEWX++h17Sxqnz4wXgmYfEzVUo81AFD0VCCFVjuyJ1D4+wTTcvDwV Rj3U8XUZXFhaP/NQSdYuObLIGhzkk36T/dNBJeRPldI8O6fO2jkvopiQ2DVspIg7oH3nHN fXDsNXhDpSAtq4s2RmFw3zoHRP5bt/ZQ3R4CBKwYZOwqYr+IjOMOSr6sDLQKPTvbf8pNJB yMdRU2txGktk1f3XH7GX8KrwZ9iURPjWxj8esJbkd0y5LXNlPaGuKW2CzBiPrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=N5ITEEV3; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=N5ITEEV3; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8B12B1485E X-Spam-Score: -5.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7mI/FDtccSFq Hi, Timothy, Timothy writes: > Yep, so in my config=E2=80=99s implementation I have an alist of fontset = names and > individual fonts. For something part of org-mode itself, we=E2=80=99d pro= bably want to > add a format level to this, something like: > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 ((fontset-name . > =E2=94=82 ((serif . > =E2=94=82 ((pdflatex . "\\usepackage{myserif}") > =E2=94=82 (lualatex . "etc.") > =E2=94=82 (html . "and so on"))) > =E2=94=82 (sans ...) ... )) > =E2=94=82 (another-fontset ...) ...) > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > Actually, now that I think of it maybe it would be better to seperate out= the > fontsets and fots, e.g. > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 ;; Fonts > =E2=94=82 ((myfonta . ((pdflatex . "etc.") (lualatex ...) (html ...) ...)) > =E2=94=82 (myfontb ...) > =E2=94=82 ...) > =E2=94=82 ;; Fontsets > =E2=94=82 ((myfontset . > =E2=94=82 ((sans . myfonta) > =E2=94=82 (serif . myfontb) > =E2=94=82 (mono . myfontc) > =E2=94=82 ...)) > =E2=94=82 ...) > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > >> In any case, I think it would also be nice if the user could add only >> one family for roman, sans, mono or math, if he/she prefers it that way. >> Something like: >> >> #+options: rmfont:Minion Pro > > Sure. There=E2=80=99s another bit of functionality in my config which I t= hink is worth > noting, you can add a -sans/-serif/-mono suffix to the fontset name to ov= erride > the default body text font. I see. I like your approach. And the idea of fontsets also seems very productive. I suppose that a minimum configuration in fontspec (Scale=3DMatchLowercase) should be ensured, in order to balance the x-height when using fonts from different families in a single document[1]. The fact that all of this can also be "reusable" for other outputs such as html, is a not insignificant plus! I definitely really like all of these ideas and I don't think there is any contradiction with a balance between those users who are content with minimal out-of-the-box font configuration to be able to read non-latin characters, and those who want more control over fontspec (font features, etc). And there are also the users (me among them) who leave little or almost no space for Org to write the preamble for us :-) On the other hand, maybe (I think) it would be nice not to differentiate between xelatex and lualatex, since at least at this level both engines support the same fontspec settings. [1] I have to add, by the way, that MatchLowercase is not always a panacea. In many cases, and depending on the fonts, it may be better to allow some contrast between families. Maybe it would be nice to add to the documentation or to worg (at least for users who may be interested in these topics) some basic recommendations for combining families (for example, combining a bodoni with a bembo is usually a catastrophic marriage :-). Best regards, Juan Manuel