From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 oVwZARL5yGKsEgAAbAwnHQ (envelope-from ) for ; Sat, 09 Jul 2022 05:42:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oLaLOxH5yGK88QAAauVa8A (envelope-from ) for ; Sat, 09 Jul 2022 05:42:09 +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 92C5B15A13 for ; Sat, 9 Jul 2022 05:42:09 +0200 (CEST) Received: from localhost ([::1]:57106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oA1M8-0008Gm-Q4 for larch@yhetil.org; Fri, 08 Jul 2022 23:42:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oA1LC-0008GZ-Mh for emacs-orgmode@gnu.org; Fri, 08 Jul 2022 23:41:11 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:40603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oA1LB-0005x6-5o for emacs-orgmode@gnu.org; Fri, 08 Jul 2022 23:41:10 -0400 Received: by mail-pj1-x1031.google.com with SMTP id g16-20020a17090a7d1000b001ea9f820449so3652457pjl.5 for ; Fri, 08 Jul 2022 20:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=W+G8Iaag1jNe/Yez4/AyJQUNAnsC+gb8oyrKgsn4Ptg=; b=LXcmhY9NCdCRG3xC1qUqJNNiAMNt2agGwIswtaLTogh1w7OHxqHM/Fp7zlf+OsCYB/ M42/0JSHKGTgGoGP8pJtzN2epTnDptiij24LKRA9Yt1FGjmTZ8NFz6uSZIJiDIdc73iC YKFxrtBjSjh22DLUBekpatlBqKN/94P65lVySCd3ruoAEJjt/4noASlotlmLqx3fn+EL chT7kvVj8sq1vJr0YSajHYBTEeaz5cLi+kkToSoE2/vMCf3qld8lZqBhNaZPZss3CQxz 71AWlPSVTd1YaH7aDOm61C0+A77NH96Bf/FTht7CZGt/XxikdSHVkMiRMM33aYhH4veV ALqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=W+G8Iaag1jNe/Yez4/AyJQUNAnsC+gb8oyrKgsn4Ptg=; b=MBWzbdowGk6WjoA2YY02YdLfb9VViEo26AtTwM8X6pI4zgJvuGAItCO2ZUFmW+XEEb pf5VMPntD3fcEAdgVH+0/Zu8SgxoCl+Mk6yJoBybuxhTKrOm46g5MVJI3mGsowGR0Cyr ZtKHsrSTGys3qMaw1eq1cCHlxuTJ9Rfonbm7kPdgO9r1rSn0ORWMIMfzwslPFyP/1LJr r6+d/Hp2XS/kJkLs3iPCTC6qFzP0E75ft3L/ALVJ3AA6V3rEDLN15/dxk6cQ6LVQpY4N Ruzvt97sbMnDxcy1zrgg295qDE1SMULmWFrVPoca1jHb2RM+MFCwh82yWczuRjwBlk6l hJvg== X-Gm-Message-State: AJIora+UQ6ieQMFYjKip+wlNbce7vQvVJrRi/h6dLIlai8ybDKk05F+d M7b2zR+VoZsL89UbliDN6yTC0SmoM16HRQ== X-Google-Smtp-Source: AGRyM1tT5hNr63zWgmBU4oJJCVIhpK6ha65uXfgJX4ohYVPv+ITyGWcEfgzwX5CTXaXx7qWcadLLRA== X-Received: by 2002:a17:90b:4a88:b0:1ef:e6a1:f2e5 with SMTP id lp8-20020a17090b4a8800b001efe6a1f2e5mr3735174pjb.1.1657338067702; Fri, 08 Jul 2022 20:41:07 -0700 (PDT) Received: from dingbat (2001-44b8-31f2-bb00-6245-6bf9-1668-9404.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:6245:6bf9:1668:9404]) by smtp.gmail.com with ESMTPSA id 63-20020a621542000000b00528c26c84a3sm355628pfv.64.2022.07.08.20.41.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 20:41:07 -0700 (PDT) References: <87ilo7ztm3.fsf@posteo.net> <87ilo7tp78.fsf@tsdye.online> User-agent: mu4e 1.8.5; emacs 29.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: LaTeX export: when is it more useful to use LuaTeX instead of pdfTeX? Date: Sat, 09 Jul 2022 13:24:06 +1000 In-reply-to: Message-ID: <87o7xzdkc0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x1031.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=1657338129; 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=W+G8Iaag1jNe/Yez4/AyJQUNAnsC+gb8oyrKgsn4Ptg=; b=svKo9AiDrMnd+sOyRwczvIVndkGCAqLzGpIMhBNB5aQAkGh3OvNlkJbr++rRtjoqNJwBA9 mhC7m1dcilrBY9GWQYYVE+SR5UTLx/DGBeLMf0f0bPRmX5vXdkJNQ5tBNShMJqNpx1lEEf j0HaOuJaUsrpIQVuPMX8tq/4BjSZlQcFDe6BBh4eC37CeqfEi8dB8WK/rEAwGHW0CJ+eMS 5Aakqnpi7KHM0ZAw40leEOQZy9mqB4K7Nq0X2+NH2xCydSLpXJiGsZzK1yRF8AE43ZxtOw GvGXsnpgOzebooWfOKV97l+ZvpzLAT5FwacPEBD3tittBFJtRstdT3yMiXC7Kg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657338129; a=rsa-sha256; cv=none; b=LJxE3U6ebvONaaI21ugbGw8BmUr+o1VbPN1+aK4pe6hR+5LVCuG954EP8ykV/pcE6F58Mu 7xrq5zCh0PmzFk7+sDGF+llMw6hgTnjBboKaz66loxhCvJFAus/aZAIFVmyeWlK6q2lBfr AtuZ/ikQnhMR1fs5AixWacvumtn+hs1e+bbuwli2HnoaJ9lWf7Q2CP9WwNbGg0mtEKihhk uuTJptl+RbC5B17Wy72UvuSGHQR9nB6ACgxQ6jGZQAPYqHj/PfN7oOk9CLiWzNeONuQDeO +Cb08CbkSkv67+SfqdyjAIbihq1g9d7sotbYV+VHOhM8pxpcXeWM73Df1qsEcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LXcmhY9N; 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: -4.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LXcmhY9N; 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: 92C5B15A13 X-Spam-Score: -4.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: +Md3CEui43aE Max Nikulin writes: > On 09/07/2022 01:49, Thomas S. Dye wrote: >> Juan Manuel Mac=C3=ADas writes: >>=20 >>> TL;DR: A list of use cases where using LuaTeX is more advantageous than >>> using pdfTeX >> I forgot to ask earlier.=C2=A0 Is Lua support in Babel potentially usefu= l? The current >> implementation doesn't work too well. > > In the context of LaTeX your question is rather ambiguous. > > - I have never tried lua interpreter as the handler of source blocks in O= rg (org-babel). > - If you mean LuaLaTeX as the engine for "#+begin_src: latex" blocks then= some > incompatibilities may arise due to font selection. PdfLaTeX and LuaLaTe= X needs different > code in preamble to specify encoding and fonts. With LuaTeX you get mor= e 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 yo= u need Unicode. > - There is babel LaTeX package. A decade ago polyglossia was a replacemen= t of babel for > XeTeX and LuaTex, but currently babel is recommended for these LaTeX en= gines as > well. Sorry, if this statement is not precise enough. Actually, that is a good point. Juan, I think it would be great to add your post to worg. I'm happy to do this, but I think it wold also be good if we could include a basic 'setup' i.e. what changes people might need to (or should do to maximise benefit) in order to try out luatex. For example, what settings to put in org-latex-pdf-process (I'm guessing something like "lualatex -interaction nonstopmode -output-directory %o %f") and what (if any) packages to add/remove from the org-latex-packages-alist etc (I'm guessing that perhaps some font related packages may need tweaking?). Ideally, what would be good is a very simple recipe for what someone should do in order to try out luatex and get the most out of it (or at least see potential).=20