From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id D6QPG2Qv0mL+sQAAbAwnHQ (envelope-from ) for ; Sat, 16 Jul 2022 05:24:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AG8NGmQv0mKnWQAA9RJhRA (envelope-from ) for ; Sat, 16 Jul 2022 05:24:20 +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 0B60229D5C for ; Sat, 16 Jul 2022 05:24:20 +0200 (CEST) Received: from localhost ([::1]:54298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCY4e-00050I-Bw for larch@yhetil.org; Fri, 15 Jul 2022 23:02:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCY3n-000509-GC for emacs-orgmode@gnu.org; Fri, 15 Jul 2022 23:01:39 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:45738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCY3l-0007fQ-5k for emacs-orgmode@gnu.org; Fri, 15 Jul 2022 23:01:38 -0400 Received: by mail-lj1-x234.google.com with SMTP id q7so7516570lji.12 for ; Fri, 15 Jul 2022 20:01:36 -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:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=C5e6EZ4WwiJ11G6CPp+huMMww2z+b0jTcAcutwL6PsE=; b=F6tdSbsx7ZZTgBQF8jR/p0Pa1HXcfAIJIS8l5k6J2thjb5FIcOkQmbsCib3xsvvL6d mfrnsmJfjhF0efrPYJgPb/10i+Km6wvIplGBM2vq/CibD4iMbdar7Rjb68apTildra7F MnK6wADvjID4QePbt3dtX8SqBzS1D1u+gBWRZS3wUZ94IfMNsQ5ZluMI+uK6UYg6eSRT lQdwEGKtiWMGV4Z3CshoOUQVF2hl+CoMFEYd0HrrU++Ydzkf93vUsK38ODdVnRqgj1y2 dfzqLXiU/77Pklk48I1AziYe/AUa/fKCmkZZUrK2XObGsbv4OkhASKA0AuC7MNqMco1A cHkg== 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 :subject:content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=C5e6EZ4WwiJ11G6CPp+huMMww2z+b0jTcAcutwL6PsE=; b=DrB+5n67OmAHXXy+kEOtUgPqH8NoI1TMbw6Q1hfOH2TfEXvKQt93WAqSVrwe6rAljw OB4qtUkKtgey42L0/xj4Q/kljJO5+mud5Fvk0NtscmYV+UuPkIQx9uQ+O0FjhtJ/yjzZ s/6MJZDhpzf349/v2BEysSTF0Y2ev8pFovkXYkm8GGKsUOPc6UnMlvQ39Crhlix4GxS0 Tgr785H0XFzPFKSXLyHnAusDlckAgNiHt2aSg7gQ7B2hqGA2usTLfQtCprSv55O64y8x V5EIBdY2jcnao7595addmfyUphNGgVa/1cBqnI52jdIrChupXXgauhOa+kyDMLNtjMqw 08Iw== X-Gm-Message-State: AJIora+a+orSA6D+bX3274SX/GR+HkvgfPVw74+tUCmCyeEhucOf20Id YSvHdJCyIG+PTcJKwRkjGUE= X-Google-Smtp-Source: AGRyM1uQW0M6TzkaHbo5esimNhe4SO58gg7WNLn6up9G3fKzOhQInpzb7LGz9Old7l2YvsEQ4iPCuA== X-Received: by 2002:a2e:9217:0:b0:25d:a915:e714 with SMTP id k23-20020a2e9217000000b0025da915e714mr1430785ljg.456.1657940494541; Fri, 15 Jul 2022 20:01:34 -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 e4-20020a05651c038400b0025d75b27fb7sm1008799ljp.27.2022.07.15.20.01.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Jul 2022 20:01:32 -0700 (PDT) Message-ID: <9aef1174-ddfc-6957-8a2b-90cf21eaeb0c@gmail.com> Date: Sat, 16 Jul 2022 10:01:30 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...") Content-Language: en-US To: =?UTF-8?Q?Juan_Manuel_Mac=c3=adas?= Cc: orgmode References: <87ilo7ztm3.fsf@posteo.net> <87ilo7tp78.fsf@tsdye.online> <87o7xy8t4g.fsf@posteo.net> <87a69i8ha1.fsf@posteo.net> <87tu7qnij4.fsf@posteo.net> <87r12ssonv.fsf_-_@posteo.net> <87wncjg22y.fsf@posteo.net> From: Max Nikulin In-Reply-To: <87wncjg22y.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::234; envelope-from=manikulin@gmail.com; helo=mail-lj1-x234.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=1657941860; 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=C5e6EZ4WwiJ11G6CPp+huMMww2z+b0jTcAcutwL6PsE=; b=esOlNJQAvGRpClAfdPM5JTapz8nLU0yGXEUh6T+wgAYkQYJOwYr+zUvIbgh1msYIkflsB6 4bvpoSZ3GVPMWKitY/RYktnnhp+V1G67Wr6thj5UWPG5Aked00f1EfWCfLM6mWYZmFXsXB DG2mAU3APpE3cuS1EZ7lx2TkaiuJGglDHAoa+sY1v8VJlk8WVLWrnkq0sjrtz5tx33WK6O IVL8TE2KHvdt6lmqQoKEfB/0fJS27VxWJ2r4sjgX4l0X2N9TOexTzSmteTw699MjSVSaZF LNmulBaXsYIgCrE6L7/PDvaDkUBBbc1yjHViamLazXkAR+E9vkUND4ZZ0Y22Dg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657941860; a=rsa-sha256; cv=none; b=TSvVtg4FQaCibE16BMnzzb5i3ANAJiZt5hADpPcocHMQEvFG+jTDBTz3Qc5KG4AdZqKKgl qZ87M3HyZJd/v1L9qWVzWAUFRNKAA3z7dX3n/lJ0fJQh/MDSQUCBqlAWuK6Plf+VTMYz1W rHtkCxFuA+vRNEPUBzYfWtjfj1TZKhkbPewiuFraMS6pCEl/dN1AP6NTNvywyvt1laNL3x iUnRt3gwKJlonGFYcfQI2by5tFhVAOgiawbtpLP7C81wgzs1xkJgp5qjd5qq5dNKq/fH+R d2Am4fSjUW4Wjd0gBBgikqi2sfpLQxBH3V4N3Qx4zpd12dnLkzc0ylPJmbkAyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=F6tdSbsx; 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: 5.76 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=F6tdSbsx; 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: 0B60229D5C X-Spam-Score: 5.76 X-Migadu-Scanner: scn0.migadu.com X-TUID: /KxKY3J5+yjO On 11/07/2022 21:23, Juan Manuel MacĂ­as wrote: > Max Nikulin writes: >>> \\ifpdftex >>> \\relax >>> \\else >> >> Is it the case of latex as the old engine with tex->dvi->ps workflow >> besides new XeTeX and LuaTeX? However such engine is not used by Org. > > According to the iftex documentation (p. 2): > > \ifpdftex, \ifPDFTeX > True if PDFTEX is in use (whether writing PDF or DVI), so this is true > for documents processed with both the latex and pdflatex commands. > > So the code says: if pdfTeX is used, do nothing; else, add this (luatex > and xetex related) code. I have noticed the \iftutex command in the iftex.sty manual. It detects XeTeX, LuaTeX, LuaHBTeX, so it should be more suitable here. At first I had intention to suggest \ifdefined\XeTeXrevision \ifdefined\XeTeXrevision you mentioned in Re [PATCH] ox-latex.el: Unify in one single list Babel and Polyglossia languages alists. Fri, 15 Jul 2022 14:36:07 +0000. https://list.orgmode.org/878rou30ko.fsf@posteo.net P.S. I do not remember if CMU Serif, etc. family (that is Computer Modern Unicode) has been mentioned in this thread. It is not installed but default, but allows to generate documents with traditional TeX fonts.