From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AK74Ok1kzGKZLwEAbAwnHQ (envelope-from ) for ; Mon, 11 Jul 2022 19:56:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6Gc0Ok1kzGLI0AAAG6o9tA (envelope-from ) for ; Mon, 11 Jul 2022 19:56:29 +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 8ACA36AEC for ; Mon, 11 Jul 2022 19:56:25 +0200 (CEST) Received: from localhost ([::1]:38920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAxdw-00029r-4b for larch@yhetil.org; Mon, 11 Jul 2022 13:56:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAxci-00029Z-8A for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 13:55:08 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:41576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAxcg-000471-Mr for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 13:55:07 -0400 Received: by mail-pl1-x633.google.com with SMTP id j12so5063708plj.8 for ; Mon, 11 Jul 2022 10:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=AL5IqygTNYognMt6/PQME75eUU6ujaBtjjvSFN+FVt0=; b=Mo7o7QLxwKnKjqE6Rk+bxOUBGcAghScCIsR0PeecDQxzodByC9rdS6hFWTIkqAbtam nkkjqvHJwGcTSGXNCBTzW/jNSs5vSGGY6TcRAf7rXm4HOP8PULEjMJweg3oowBfo3DKg zJ6659yj6nEXprxmZdy4kJ0RDGwoQYERf6RthhErOiHuSzuv62lkV+KAimuMsqhJ+CB/ wFwRGymgcsf4GzRzsPaOr9zeHYMUPVLzuNUrOPqcxqawq51JnTtZjVyucuhkJoj/1ZHy 5nPavE8Nhba3V6ie6HBQLYGxTL/jZXq/jlKz2TMNCSQIv4NJpHVxaXhSIAJS2O9ZP5s5 eHBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=AL5IqygTNYognMt6/PQME75eUU6ujaBtjjvSFN+FVt0=; b=grGh0rVraC6hFTwPlXsshoVRK7zrLD20v0dKGBvnw2EBHk1yg80mmRF0Rl9s8MVike xTaeFAI05sCdYQx7n2jQ9vC9jclcRRL4Ak6WZdVe0PEA3yN2nCdZxNuFShMnSIcktYsb 3/Dll/t8SH/4XHVzuJLgpWf6gp2hnpCfysrgsXQb4G7ri9nMYM6oDvB+tUUAKVQjg3eL xN1if+MdQqEqnnTTFmz00LYKiGmnIB1mam1pb/6lgVi/Awedzbm0vvG2mFetJTSvUJzV 8yWkypR4EMjuMjjyZbPnfW9mWgdU5CxCAQ1/Jo6xV8oC6S4wpUWzm7PTu3QpDFqz28gl z1WQ== X-Gm-Message-State: AJIora/OUMVQTVJJHmNZlHMsuE8N5BLXEzQXjdXJkb0GYiwL7US8qpD+ YcuFznvpiDRtUh0kc1rUbmQ= X-Google-Smtp-Source: AGRyM1ux2KJDVGAQgbj1wE5lxn58nFVX1Ms66RM8lnrATXtiS2R4X6SdkhaJSVpyjUwRWJhduo9eiQ== X-Received: by 2002:a17:902:6b8c:b0:168:fee5:884 with SMTP id p12-20020a1709026b8c00b00168fee50884mr20017241plk.105.1657562104062; Mon, 11 Jul 2022 10:55:04 -0700 (PDT) Received: from localhost (2403-580e-91f7--5dcb-1344-eeb4-7191.ip6.aussiebb.net. [2403:580e:91f7:0:5dcb:1344:eeb4:7191]) by smtp.gmail.com with ESMTPSA id t8-20020a17090a0d0800b001efb6d18b8dsm7371352pja.8.2022.07.11.10.55.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 10:55:03 -0700 (PDT) From: Timothy To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: Maxim Nikulin , Ihor Radchenko , orgmode Subject: Re: fontsets (was: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...")) Date: Tue, 12 Jul 2022 01:45:57 +0800 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> User-agent: mu4e 1.8.5; emacs 28.1.50 In-reply-to: <87sfn7g0ei.fsf@posteo.net> Message-ID: <87o7xvleks.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=tecosaur@gmail.com; helo=mail-pl1-x633.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1657562185; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AL5IqygTNYognMt6/PQME75eUU6ujaBtjjvSFN+FVt0=; b=dXq21hBZXgUDdW7maox1+WigVul/E9TtT0m3q/kpggqFqvTV6s/C3YzmG82Uiroh/yKgH2 /D0o+oPq7sqFofjeL3KcxKKaelfmp1P0go5IjWyhFa8jmsTWN1ULZrtZRCrQBTs4g01bAg UQ/crg8+ZqlVwKh+TTbPaffjisJeRs/3+SXbKpmBtNt+SaIviySM12wn/Rh/D+8ahfRsuB mwchww06DuIt3xxs/faeKg8izUbPdYpmdTqxFCxPs8y1FBpASonKjZLmKFtTgfXcIQBk8v Er35b0yzJjtBqnbswzVLQLKpQSGB2n3mwA7qlzS4IogoclBrYckLzuWu+KWsow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657562185; a=rsa-sha256; cv=none; b=sz7RlIgRxZyM1EIy8W/VTpmj/N7sb491Qn6G/litIH63ghXeEe7hxZK2asX+vZ2KjgtC1c quhkwodmZv3Rk1e0rsJtdxrQB6kyhFofS63cuGfjy0E0+0e1IbZx5F9HR/66HktOMEPn/g qztWtgaERIglBwcT9j1UXjkuh2impxP5KeoHdcNpEUIThK/4wsL6KK6vRWS8aucAqJL9sM 7N5mztwXWAMnXl7peGbvCs9mQLS0jBc4kNlhZQYMzW2n/+gJpuZ5ayurtFHAfo2dUbzwXh GORd/gKCN+CIujKg8qNyH0/aKpyKhp5yTTZySoGMkXa2tCJpAwGUN76JEbZHTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Mo7o7QLx; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Mo7o7QLx; dmarc=pass (policy=none) header.from=gmail.com; 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: 8ACA36AEC X-Spam-Score: -2.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: Xmq5T4Qeea0A --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Juan, > When you talk about fontset, I understand that you mean lists of > families with their options that you have previously defined, is that > right? Yep, so in my config=E2=80=99s implementation I have an alist of fontset na= mes and individual fonts. For something part of org-mode itself, we=E2=80=99d proba= bly 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 t= he 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 thi= nk is worth noting, you can add a -sans/-serif/-mono suffix to the fontset name to over= ride the default body text font. All the best, Timothy --=-=-=--