From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SJI+FEK0EmUiMQAAG6o9tA:P1 (envelope-from ) for ; Tue, 26 Sep 2023 12:36:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SJI+FEK0EmUiMQAAG6o9tA (envelope-from ) for ; Tue, 26 Sep 2023 12:36:50 +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 E4A1156E04 for ; Tue, 26 Sep 2023 12:36:49 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IsoClQm6; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695724610; 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=PuBHKMIK81ZGheifIotp4rzPZU6yixJeGIaY+B+f4/I=; b=TAhfoHf5+OznFVUnK442TDQYbbB/oIqTWH4S3INiD9BYfZMwAgaSMcyrIaAILoCZ+VjXXt /2iEGF7uY5pdYrH1aIJJxG5O9wEy4iwh8X2jSqs3qoEQOFOm7VGiXnb+AMS/U9jGuu5fYL a6v3WJvltYjo6VLFnZt9fAgiuwDN33cEI8J0jVmgovPxwLI+73vSSwGIX+tcb1ATtkasl4 vMncjkuUBL0hiwJ4+tctYFHvIJ1JzCcSdUAfI2Arlb0iHHTC2F7Hw6u3gfrlmheeyjvak6 OHYf+sDkFfkIoxdNBxASzS2c2clxk51Cw8LShtLzJlOXWIcyGH7q+kH82b574w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695724610; a=rsa-sha256; cv=none; b=jIljpejf9hcICxkWL5hLidMJT/lx6G2Zhm3RtcOK5sgmwJ3Y52RSY2SFasbK2XRhTwJ8fk 9yHpT8ldytiV1SM1AZLR/JxsLtB9aNO5aF7zHxji7e7c5QEa86m2xUqmhfsEounv1AcaFY Ntj7vZCjEXgzbyY/b3YzLxdR+3kZ+rdz3fOQY5OFlvozGIWwExIdR3w+du5WFg60DVZLO5 TDoHNK554h6FbrQIAfSUuPlrluqaH4MGcBCbwMw1f1/QQYOybw7zaz16tfFmsItekG5x55 gFIiFh4LmAg3RF7BFsyM20MZrd68/oBhZ4wUWzpm45mLTGdqlAwW56k0AlH/5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IsoClQm6; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ql5Px-0005dI-Da; Tue, 26 Sep 2023 06:35:50 -0400 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 1ql5Ps-0005TS-Ku for emacs-orgmode@gnu.org; Tue, 26 Sep 2023 06:35:45 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ql5Pq-0001WE-7m for emacs-orgmode@gnu.org; Tue, 26 Sep 2023 06:35:44 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id AA2AE240105 for ; Tue, 26 Sep 2023 12:35:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695724539; bh=PuBHKMIK81ZGheifIotp4rzPZU6yixJeGIaY+B+f4/I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=IsoClQm6bNU1N+qWuA5SlZf394lKNrg4vWbIe+drsgTJ/mzAJQWA+LNFlEJeG6oFJ EtTQEVIRG0cPoHrq4x/uunZeYdmRPP7Z6j8cLAryKxe6Geo0+Z5De6gAMNTcmxyJ/j jrw8g7QB/tnt2X7edbQa3+oWpRk8/tCvrxB4GpP+HPqv9QDWRfP9d6NSQ4nSCIZzUK RDJKfrsLvCoPUJwzVUGxAa26+xU808W+vDbZcTiCUhCnIE0xUGMwQJE3pTEiE3nwZO XNMCsghTyf4Zj15N9rJ3iVOSyCu0HexuL0sKek7VTEqIxI9Yp3IA9xgElOu4jjXIm+ gn8B1QGi3w98Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rvx3G4Mjxz9s1x; Tue, 26 Sep 2023 12:35:38 +0200 (CEST) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode , Timothy , Max Nikulin Subject: Re: Fallback fonts in LaTeX export for non latin scripts In-Reply-To: <87ttrj77k8.fsf@posteo.net> References: <878r9t7x7y.fsf@posteo.net> <87wmxbvd60.fsf@localhost> <877cpb8mkd.fsf@posteo.net> <877cpatfol.fsf@localhost> <878r9ocl17.fsf@posteo.net> <87bkejoh4l.fsf@localhost> <87il8ra554.fsf@posteo.net> <87jzt6weae.fsf@localhost> <87bkehshni.fsf@posteo.net> <87o7igvqzw.fsf@localhost> <8734z90wmy.fsf@posteo.net> <87edir294v.fsf@localhost> <87ttrj77k8.fsf@posteo.net> Date: Tue, 26 Sep 2023 10:37:01 +0000 Message-ID: <875y3x9q5u.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.43 X-Spam-Score: -6.43 X-Migadu-Queue-Id: E4A1156E04 X-TUID: wOks/mZdwn73 Juan Manuel Mac=C3=ADas writes: >>> [...] any suggestion for improvement is very welcome [...] >> >> This is a bit too out of context. Improvement of what? > > I think it is related to the previous paragraph: "I am very interested > in all possible improvements in babel so that it integrates as best as > possible with automatically generated files[...]" That's good to hear. In practical terms, if Javier gives us some contact email, we may CC him when we think that what we discuss is related to Babel. >> We can also provide multiple language name variants though I don't see a >> need to bother unless we get user requests to do such thing. > > I agree. I even think it would be a good point to also include the > vernacular name of each language. Sounds reasonable. Although, let's come back to this when we have actual code to discuss. > By the way, Javier has also told me that he is going to consider the > 'onchar=3Dids fonts' issue related to the case of several languages that > use the same script (already discussed here in past messages). That would be nice, although determining language may not be trivial. AFAIK, automatic language detection often relies upon word frequencies (for example, see https://pypi.org/project/langdetect/) and cannot be reliable for very short text fragments. In the case of texts combining multiple languages arbitrarily, the problem becomes even more difficult. In some cases (dialects), multiple languages can be valid for the same text fragment. That said, frequency-based approach can mostly work well, except certain edge cases. But it requires word corpus. I am not sure how feasible it would be to include into TeX distribution. (Maybe not very hard - it is already quite large and a few dictionary files will not change much). --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at