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 KEtdIL1xyWJIJAAAbAwnHQ (envelope-from ) for ; Sat, 09 Jul 2022 14:17:01 +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 5YwyIL1xyWLACQAA9RJhRA (envelope-from ) for ; Sat, 09 Jul 2022 14:17:01 +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 5213E35B34 for ; Sat, 9 Jul 2022 14:17:01 +0200 (CEST) Received: from localhost ([::1]:46246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oA9ON-0003sr-VJ for larch@yhetil.org; Sat, 09 Jul 2022 08:16:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oA9N6-0003sO-1L for emacs-orgmode@gnu.org; Sat, 09 Jul 2022 08:15:40 -0400 Received: from ciao.gmane.io ([116.202.254.214]:33376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oA9N3-0002sI-Ry for emacs-orgmode@gnu.org; Sat, 09 Jul 2022 08:15:39 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oA9Mr-0007sA-4r for emacs-orgmode@gnu.org; Sat, 09 Jul 2022 14:15:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX? Date: Sat, 9 Jul 2022 19:15:17 +0700 Message-ID: References: <87ilo7ztm3.fsf@posteo.net> <87ilo7tp78.fsf@tsdye.online> <87o7xy8t4g.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Content-Language: en-US In-Reply-To: <87o7xy8t4g.fsf@posteo.net> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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=1657369021; 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; bh=xspZ7xkVgICd00JsltM8Yp+pcmCmitx1imiwieA57Qk=; b=bId1Mwdmvzvk0yG+1WsmI5TS4PA1mlOwxYhWkOqHeVDooLzIhhcT1mf8BlCHzqeU8whNcY tfvhXSbLeyFUXV4faYBDDQIjLZJaxz0HCaehKrTeHb/z3qQM5xMEpyfau/wh6Z5x93dGbX r+smhwHPU+/VggNL69dqJmq/NjwqVC57Um+pKN8C2HYBfIOvoZD6Qm3WrFbg7ZKFecnYhQ emCwSnKgnV73sPuroRw8NYob353HkFbHSUCOcqHY9BVqexX6H1OKIcSuW8+9sa2DxYYdqi vsWQPuroCfzVVgXwyzakk8WMpJWW/TPUzGQ6yTjRKx69BoRKioliv8LsrbpNOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657369021; a=rsa-sha256; cv=none; b=UlF1LWzs37Q5Q3evKsNnlRdRiKLdfc1qGLSr4xAkWKBYGUNwCyrw0k83SKtEvpRG8gYU3j 831hEhDlMpohBYovD56QXrR5EZ6PlmdphQVlODSp4c1jRYVkfeOQI+OSIfMHx2tfPMy34j M/s+R4zsRe7Q3Juj5QTSx4cIq3YTUkTllmNn/B3oMRDVpdBVYyb4Fkt8ejMgxS6j1mx7P0 mUp4fA5uZWCpgHuzJUJymyWaBV2k1mSEhu57OiVi534Manc56yeaOUKrlfQYxvmF/eaIqD OmsS+gU0rlbJZurkkTM7qalbpTkfMc6F+lssJGNQs98rK/metFj58GCDaaVR1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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: 2.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" 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: 5213E35B34 X-Spam-Score: 2.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: oNKsMPB/S0sN On 09/07/2022 17:42, Juan Manuel Macías wrote: > Max Nikulin writes: > >> [...] With LuaTeX you get more convenient OTF and TTF font selection, but >> you you have to pay for the feature. It is necessary to explicitly >> specify all families: normal, typewriter, italics, etc if you need >> Unicode. - > > Not necessarily. You can go from the simplest or basic to the most > complex, depending on the user's needs. If the user does not need to > write in non-Latin scripts, and is not particularly interested in fonts > and otf esoteric features, then the otf version of the Computer Modern > font (which LuaTeX uses by default) will suffice, as this font has > coverage for latin, latin-1, latin-extended, etc. Juan Manuel, we are going to repeat the discussion happened a year ago. Has something changed since that time? LuaTeX uses Latin Modern and it is not nearly Unicode. PdfTeX out of the box has e.g. LH fonts - Cyrillic extension for Computer Modern, so it is enough to specify input and font encodings and it is not necessary to care concerning particular font. > For example, if you want to write an article in both Russian (main > language) and English, and want to use the Old Standard font (which has > excellent coverage for Cyrillic), the basics might be: My point is that it is not about what I want, it is related to what I have to do, namely choose, maybe install and explicitly configure some consistent set of fonts. With the following minimal example I got blank space instead of non-latin characters. \documentclass{article} \begin{document} Abc — Αλφάβητο — Азбука… \end{document} Just have tried with This is LuaTeX, Version 1.10.0 (TeX Live 2019/Debian) It is from Ubuntu-20.04 system package. So to switch default engine in Org from PdfLaTeX to LuaLaTeX it is necessary to write some code inspecting available font set suitable for specified language.