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 0MS9OdtbyWKA/gAAbAwnHQ (envelope-from ) for ; Sat, 09 Jul 2022 12:43:40 +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 wALIONtbyWIK+QAAG6o9tA (envelope-from ) for ; Sat, 09 Jul 2022 12:43:39 +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 8B6DC268AD for ; Sat, 9 Jul 2022 12:43:39 +0200 (CEST) Received: from localhost ([::1]:37126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oA7w2-0004D3-0C for larch@yhetil.org; Sat, 09 Jul 2022 06:43:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oA7uy-0004Ag-LV for emacs-orgmode@gnu.org; Sat, 09 Jul 2022 06:42:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42113) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oA7uw-0003DH-Ag for emacs-orgmode@gnu.org; Sat, 09 Jul 2022 06:42:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E4EB5240026 for ; Sat, 9 Jul 2022 12:42:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1657363347; bh=876tu7eMU+F0sDghb7vW3GnPe/kME28Zj3NQ+JJB9Dk=; h=From:To:Cc:Subject:Date:From; b=rOgFNng6g/4UoCdVJquqf5J/FBne324oE7IYFiXkXAur08eRWXdvNiDRx4hx7M97b cRsXeVQrHtoyYLMoJEWTH6PrdcL1cof5UPcFgjfP5RKZtFAnbvZYoYL/F5Dj8Nf3Vf xMJ1P731L8nQTCcq+3RreUKnaEO8xlhbmjrKHPjVPBzJHaurTd8v4S4yp9I8krlJl+ Bbu9pCgp8krSFMdeRDW16HdKy6XcrK+Bxc0uhHAwFjTSmnVFnQ/Uskon1vnk6z1SIr iEbw6vrF7q91qznUD7yrY5rf3AMMnLQsWwGnLpjzzcg3XAErU5DIAydV0CYkCzcPbC 8IeQnpxH5qPuw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Lg6D221KDz9rxg; Sat, 9 Jul 2022 12:42:26 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Max Nikulin Cc: Tim Cross , Ihor Radchenko , Matt Huszagh , "Thomas S. Dye" , Dominik Schrempf , Greg Minshall , orgmode Subject: Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX? References: <87ilo7ztm3.fsf@posteo.net> <87ilo7tp78.fsf@tsdye.online> Date: Sat, 09 Jul 2022 10:42:23 +0000 In-Reply-To: (Max Nikulin's message of "Sat, 9 Jul 2022 09:23:10 +0700") Message-ID: <87o7xy8t4g.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain 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=1657363419; 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=nq+p67aQs6DtCPGLLZgL1B232MUd/d8mGKYjdsoykjE=; b=FZHEJHZKibHiE+QDSGtvc2fteBG+RH3wndMAY1UuzIdsKVEXb8w/3h4gnC+3VY6A961BrB NB936aNRAbjlFnLFqEzWEbr7WHhjmvBbETRSNF53wxwQxyyZnTBnNVM4T5ZOlUZcCxNtXW cJHGHa7Kx7BA8vU4OJG6obhp2NHV0EhzBMGf9pfhX47eUetZiEILYbKbRDcFvlg0I/wnUr i3gZsJlvoOLmRVjgwPlWOAuEjSSe3bzafe2bVu9/idVebL1kRrXzAyYdnkVFLJDkk2o7py qToBuI42ChU9NB34Wyk21mOF44TJFqa1Zi/umBWtCBb88W5PJbLs1YNbnT0G2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657363419; a=rsa-sha256; cv=none; b=CsoEHQdZpdHajjVMubsnbEcjxfIkpAk22Iuq8iGDUj36PfVxagbuY6ZxVW2Ck33wdtFI+L XSeY5kQp4qAAenZMqpWKH7drtyBP+ejmAhtG8lPc+A6nqvzhWzQNa8q8fbxptcWSokzKA0 44EG3fF6ygZFnchkcpTmnSHSesayfPnnFVTEp/X7rFtTrcJ7m28jB5zU93DtBowZD8qA6S HJbvja4fPfi1J36rkZEhc2SiAEBUA658hPS5RdWq09FOvTdZDjvVKlqHLDdEhW+Mra2zqL LUE27h7KiPAdDMljLZHotu1dEd2LxR9s0nZut4JsMNj+NMseRtTNeoWphRGKwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rOgFNng6; 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: -3.45 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rOgFNng6; 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: 8B6DC268AD X-Spam-Score: -3.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: U8rfS8PLle49 Hi, Maxim, 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. If you need to fine-tune fonts or work with non latin scripts, then it is necessary to load fontspec. But equally here you can go from the most basic to the most complex fontspec options and features, depending on the needs of the user. 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: \usepackage{fontspec} \usepackage[english,russian]{babel} \setmainfont{Old Standard} or, using the Babel style (which requires fontspec in the background): \babelfont{rm}{Old Standard} That would be the classic setup. Another example, here with modern Babel notation: an article in Spanish with the secondary language in ancient Greek. We want to use Linux Libertine as the main font, and for Greek Old Standard: \usepackage[spanish]{babel} \babelprovide[onchar=ids fonts,hyphenrules=ancientgreek]{greek} \babelfont{rm}{Linux Libertine O} \babelfont[greek]{rm}{Old Standard} That would be the most basic. And, from there, everything can be made more complex, according to the needs. > There is babel LaTeX package. A decade ago polyglossia was > a replacement of babel for XeTeX and LuaTex, but currently babel is > recommended for these LaTeX engines as well. That's correct. Babel is strongly recommended, and development of Babel is very active. A few months ago I proposed this patch here to adapt Org to the new scenario regarding Babel and Polyglossia. It is a first approximation and I have to review it. But the idea is to unify in a single list (named `org-latex-language-alist' `org-latex-polyglossia-language-alist' and `org-latex-babel-language-alist': https://list.orgmode.org/87sfxiw2jp.fsf@posteo.net/ Best regards, Juan Manuel