From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4JSPDwlBymIO2AAAbAwnHQ (envelope-from ) for ; Sun, 10 Jul 2022 05:01:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SN5/DglBymJMHAAAG6o9tA (envelope-from ) for ; Sun, 10 Jul 2022 05:01: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 B5E77FBD4 for ; Sun, 10 Jul 2022 05:01:27 +0200 (CEST) Received: from localhost ([::1]:48524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAMRk-00066C-85 for larch@yhetil.org; Sat, 09 Jul 2022 22:13:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAMQr-00064l-5K for emacs-orgmode@gnu.org; Sat, 09 Jul 2022 22:12:25 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:36757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAMQp-0004Zo-9t for emacs-orgmode@gnu.org; Sat, 09 Jul 2022 22:12:24 -0400 Received: by mail-lf1-x12e.google.com with SMTP id f39so3591409lfv.3 for ; Sat, 09 Jul 2022 19:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:from:subject:to :references:content-language:in-reply-to:content-transfer-encoding; bh=XKNz+kqy5q9qmcR64LDRN+JHLJr+78HMg00VwodO0io=; b=cY4yAaQrGJKS88Sn9gnkxQcB4UdicmLEr0QfTLGidQorU8ql+zM9XrEPehr4Hc80tx 1bpRuauhGn4AzksqZeXgrWVLk5UVV/rsh6SFUOtW8ZkBu6jYJZ3AcbJZfTYO0Ylr+Hoi 8Ric5AzOtxCIa0FJB6q+AY8JqN+8P/PZq3eamtEjMpm6945Cc+RblEKGD4m/NapswwEY GXJqNwPWrgd2x8kVZ/PLdjQyPuzlft97oWET7/c+IT6+t8z0/nMsO2DgTyX9w9RJ0OSl j5tTx6SeAavR2rP9zP9Fd7xK0hM3fxvCClBevfYOQJGk6GW32PwzGxAOptfEbZ8RaWkp cvnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :from:subject:to:references:content-language:in-reply-to :content-transfer-encoding; bh=XKNz+kqy5q9qmcR64LDRN+JHLJr+78HMg00VwodO0io=; b=fOh6tsdUoS9M+yrnKFn9JDHs1V+yyfVIDv0SUKXbp7s1StbO9Db6OBMAGf6RfNd6Vx zQrl1jV2/fk23yrGpmawT4RQlHUK+ot+kItQgbEikoGNnjq31YdKkd9eQjtHRuMthEeR fCsCgWv5Y1Tr+WtiGep7JNipPkT716rV9PRPRD4Pg6+UZlNHjnl4c4Yc6cC0bHmw1z4r YCxSD5q+A6ygd8LhOZ+W3JTvWqYVrMgyt3kgbYdL7YpghCPhZpi6VIEkA31b8y+vGbcb vGZ6N+oBf5e0LM7jNho2cRASOtaIzNO97v47QuERgACAG6LyOGf+iDvZDJfSBLM1gdZI vhiw== X-Gm-Message-State: AJIora8ZVjYZ1JDaPtB1SJi+LItOl7NfkZi8BKMzk+acY0Dz+fhkE0SP qH8H5Fo7clYGqx6mqOQy1cdiGmmL84g= X-Google-Smtp-Source: AGRyM1uZWHwF23LjLqXLSWKqmng6eYotcZzrLIHXOTUUYoAw0E3kue47pOx0X9NtT5pq1AGkxCXRMw== X-Received: by 2002:a19:5504:0:b0:488:ac73:254 with SMTP id n4-20020a195504000000b00488ac730254mr7508312lfe.672.1657419139963; Sat, 09 Jul 2022 19:12:19 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id x5-20020a056512078500b0048159b43083sm682720lfr.201.2022.07.09.19.12.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Jul 2022 19:12:19 -0700 (PDT) Message-ID: <519b9603-1839-237e-2418-e9e22ba655c9@gmail.com> Date: Sun, 10 Jul 2022 09:12:17 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 From: Max Nikulin Subject: Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX? To: Org Mode List References: <87ilo7ztm3.fsf@posteo.net> <87ilo7tp78.fsf@tsdye.online> <87o7xy8t4g.fsf@posteo.net> <87a69i8ha1.fsf@posteo.net> Content-Language: en-US In-Reply-To: <87a69i8ha1.fsf@posteo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12e.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, NICE_REPLY_A=-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=1657422087; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=XKNz+kqy5q9qmcR64LDRN+JHLJr+78HMg00VwodO0io=; b=ZSQG12FpByeGWJUxZfdiVeZMyslQkVzeSeJWWDuU6iywBhiUuyuMoYKkR/TEkVAMYs6NYi 7yzbI9957IUmxAobRFoT8JP0E+4FGw2WGg82BVTcmI//weqAd+HJLsd43fYEaSK8ecZQVN ayZoggc98VOu1ATr/AkZ4/WVF0/RlO1qmkp84qJk3leDG2HXE2WSDKdhn663/+XAYNxlsK TwwAQgCwK86HEIx2+VvoOn8Na6Az1cDt1ZJAeZq6qBBRBRDMjx6U3W1MQ73g0G/yXYe3oR 1SBOHITjoYtPj+ZT3nO3D1jhD1PscT0gfsV3ZsPPO42YI2OfT+E5/S/oe+6AqQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657422087; a=rsa-sha256; cv=none; b=dV9xZ3dUqJdXNRv93cTW/GFZwmsh9ER4FcRS6s6vHI0fp/3IaNqZE2ToTpgWiMlntRF6b8 pUOmnZrB8wIylJ9H8zfJgqejBYfntlzO3UNe5k75p5+kTfxhcEi9mcVS8qSJIiLntsxJXw 9LVhAPQtiwR6YOjmulPSla+h5XIOLvzvE7ucbro2Lpct9C6ePWANKW1I8RISruOlR3vf9I vQHAPP7kvrivLkOuBuDQKzVbBNbsBNM/ZwCYRbt/iwPxu8Bn79FdZwMIQSrI7/cwxrKVob MGR7l001qAI5QtV2+URtW0PHuxsgROLWPwEGYiom/KQWBoS8+rXvoGZNSvS/GA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cY4yAaQr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cY4yAaQr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: B5E77FBD4 X-Spam-Score: 7.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: RdM5L25PTqqn I'm sorry, again, replying to the private copy of the message sent as Cc, I dropped mail list address at first. Please, consider my response in the following context: https://list.orgmode.org/orgmode/87a69j9c6s.fsf@localhost/ Ihor Radchenko, 2022-07-09: > Or we may go even further and make org-latex-compiler default to luatex. > This will benefit all the non-latin language users. On 09/07/2022 21:58, Juan Manuel Macías wrote: > Max Nikulin writes: > >> LuaTeX uses Latin Modern >> and it is not nearly Unicode > > Maxim, please look at this screenshots carefully: > > https://i.imgur.com/uMfheCL.png This set of characters is covered by latin-1. > https://i.imgur.com/WwGybBA.png Characters from Latin scripts, the set is wider than latin-1 but does not cover other languages. I do not dispute that font encoding is Unicode (if it can be stated so), usually support of Unicode is associated with smooth experience with wide range of languages. > Frankly, I don't know what Latin Modern you're referring to, and what > you mean by saying that "it is not nearly unicode". /usr/share/texmf/fonts/opentype/public/lm/lmroman10-regular.otf I noticed in the LuaLaTeX log. Do you get non-latin characters with my example (without modifying \setmainfont) on your machine? > \documentclass{article} > % ================ > \usepackage{fontspec} > \setmainfont{FreeSerif} > % ================ > \begin{document} > Abc — Αλφάβητο — Азбука… > \end{document} > > \usepackage{fontspec}\setmainfont{FreeSerif} is the same as choosing the > font in the libreoffice font menu. I rarely use libreoffice, so settings should be close to defaults. I can just paste this text and I see whole snippet without additional actions. I have no idea why Liberation Serif is chosen, but the default font has much better coverage, so it is suitable for more users. > But I think > that this basic example that I have put is quite simple, and gives the > user the freedom to choose his preferred font and not the one imposed by > the system. My point it that such freedom is not for free. If you know which font you would like to have in a book, you are ready to add some settings and LuaLaTeX has advantages in such case. But for default settings getting blank instead of text in some routine notes is hardly acceptable. Unfortunately \setmainfont is not enough. Starting for "the simplest of basic" on the next step a user may notice that bold or typewriter text is missing. So LuaLaTeX should be a conscious choice of users ready to add set of fonts for each language used in the document. I do not try to say that LuaLaTeX has no advantages. Application such as browsers or office has a feature suitable for routine documents: graceful degradation in respect to glyphs missed in the specified font. For publishers in some cases it may be a disaster (however I believe that ideally such issues should be discovered from logs even when not apparent from visual appearance of the document). I am unsure if it was made by design or TeX engines with native support of Unicode fonts should made another step further, but currently Org is able to provide default preamble for PdfLaTeX, but not for LuaLaTeX and the latter is at least not trivial.