From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 WG/HG1s3y2LDOQEAbAwnHQ (envelope-from ) for ; Sun, 10 Jul 2022 22:32:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aCyvG1s3y2KAIwEA9RJhRA (envelope-from ) for ; Sun, 10 Jul 2022 22:32:27 +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 1668626997 for ; Sun, 10 Jul 2022 22:32:26 +0200 (CEST) Received: from localhost ([::1]:59096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAdbN-0004P9-QG for larch@yhetil.org; Sun, 10 Jul 2022 16:32:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAdam-0004P0-Gc for emacs-orgmode@gnu.org; Sun, 10 Jul 2022 16:31:51 -0400 Received: from mout01.posteo.de ([185.67.36.65]:44439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAdak-0000Am-Sv for emacs-orgmode@gnu.org; Sun, 10 Jul 2022 16:31:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1E9EF240026 for ; Sun, 10 Jul 2022 22:31:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1657485104; bh=t6r082Ooon9hSvp/QC/hzRmgQYuUDKYkdqgjrFICdWk=; h=From:To:Subject:Date:From; b=NhMHhVZMEKM9hvufj5gi53/BPsC/xo3tbbzoU3MRzxSDbwqj0SHyAQ3dzr3H+pioX fTn0GbTNbxfmPPf8PEuy5QBCDLzCH7klVd9hdkK1MR2hCU/xVGR68htFgK2Dj84TeX fB1BXbdjU3k6jBTUqVT3Q0/6AwKcIjbbV46B19oJncQd6ODV8ekr2/m/d349ZkbvRW b8ma3GbwaB6sPI7PGENqYAdYhDn/iYFz4PZ4cy5WDJI7NbGlqfa4c2uYTdyPI9ZtnD PfrUdIOBfyODQafc/sZ15RkvrnEB4dfrMasNRyxtu8sNqDzbjdL/kD7iz94LcH3M1V QXuxz7Fgp6ezg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LgzFW4Tgbz9rxY for ; Sun, 10 Jul 2022 22:31:43 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...") 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> Date: Sun, 10 Jul 2022 20:31:41 +0000 In-Reply-To: <87r12ssonv.fsf_-_@posteo.net> ("Juan Manuel =?utf-8?Q?Mac?= =?utf-8?Q?=C3=ADas=22's?= message of "Sun, 10 Jul 2022 20:23:00 +0000") Message-ID: <87let0so9e.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1657485147; 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=m6m8mozSazLpECyzx2t6TTg9AwKVHBEj1Paza10Bhd4=; b=GtdzxP4L5vvq5nIS61irJCvkTCv9ScIDIrLvoXK2IsfPSvlhdF5KskjHhVgnJOXrjtbmGb cxe80mm10qS4pPTL4AC8UpaNQATmKy+Te5ZymWdQXYznUZ3nm2geNKAUBYvKRpFuocsprg vxWIXNapc2gAcjLUokLWQaitoDCD6m9OSpA1hPUKfkc2VVyUp5QhLzr1kDSdbWPK8IUvnp Zdvns22TWEVuOSyr20UsuOHNnyf3LrjTP50KMDiVfq3ikpYSbCNLP1xkGw9S6km5qDI7RM /qc2PS/L7mYfhbXu8nFv9WuvVLkpXo+ig4+jCxDeUm71/I14O87w10Ko7H2ywg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657485147; a=rsa-sha256; cv=none; b=OaqrOpCH40hIuzyw1t99+mTF0wFgAXvBp7MOvXAXdtD4e/J8xt5QGjpkh0HLiGQ2asHSBx cLTYnlpCCul4WFod7I/zX9H75XXwWbZkwJgZ3EKVNiwf+yshc81hRQwrnw3F/72Qc0M4A8 5p/rmQCh1AtuE7IvphZCLS/68b6GXevD4kM3ZZ7DC8WiWfE2NYsmaKXTFIVYjvPN5uxWsn /MTAqEfU7kBdjQ36eIdrlxz9oB6LovtiJJRS3311o5Y1GpRbcTrBYj6/NaKYP2n3QBiynz ak8tY5gGtYkZrBBtwW1Egf4u8L7+qp3nSH0JjPz44i5E4x5aSMGTpY2LJCDHEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NhMHhVZM; 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: -7.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=NhMHhVZM; 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: 1668626997 X-Spam-Score: -7.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: KR5gMqoqzrdb Sorry, I forgot to add quotes :-) "\\usepackage{iftex}...\\fi" Juan Manuel Mac=C3=ADas writes: > (format > \\usepackage{iftex} > \\ifpdftex > \\relax > \\else > \\usepackage{fontspec} > \\usepackage{unicode-math} > \\defaultfontfeatures{Scale=3DMatchLowercase} > \\defaultfontfeatures[\\rmfamily]{Ligatures=3DTeX} > \\setmainfont{%s} > \\setsansfont{%s} > \\setmonofont{%s} > \\fi > org-latex-fontspec-mainfont > org-latex-fontspec-sansfont > org-latex-fontspec-monofont)