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 eC+kCYhczGK4EQEAbAwnHQ (envelope-from ) for ; Mon, 11 Jul 2022 19:23:20 +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 /JviCIhczGIWhgAAG6o9tA (envelope-from ) for ; Mon, 11 Jul 2022 19:23: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 BC2471956A for ; Mon, 11 Jul 2022 19:23:19 +0200 (CEST) Received: from localhost ([::1]:48086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAx7u-0004Yf-LF for larch@yhetil.org; Mon, 11 Jul 2022 13:23:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAx5q-0004UU-ET for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 13:21:10 -0400 Received: from ciao.gmane.io ([116.202.254.214]:44058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAx5o-0002Oj-UL for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 13:21:10 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oAx5m-0004Qx-Dd for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 19:21:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [possible patch] Basic fontspec code for LuaLaTeX and XelaTeX (was "LaTeX export: when is it more useful...") Date: Tue, 12 Jul 2022 00:20:58 +0700 Message-ID: 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> 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: <87wncjg22y.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=1657560200; 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=CNrcxgEf23LOABWZXUWjDDekrSQQ1k8wV5KgC9EuLD8=; b=iMHujsZuUCXNzdgK5uC0q19Z+PAbUjYogbJO4r1CAel6iK0eOA0Le8D08olmPMvdxXOT7V q/0IsRrfMBSV9qKjBxLRPofkcMuVmIQ6vI10rQKWtEu7+GeVnO0hPGIWd0aUR6AtsbKwQ+ lHU/SS+eURdGmAfYqlHzjNKf6tb4VJs4FSgT24hfzAWHnihj8WPhKnJQoUTAnoT15dyEDf kzbk8SKVddarVtCR+cbyDzKFpGYXj1FGw7wc0H/WYFnzCRL9F5O1zs4OQsKJy69qyPQNsO CrsGRKk1eteCFEorFNHIgp1Zn871YgHvrm1cQohgusri8uCipYfw5K0HXGuh7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657560200; a=rsa-sha256; cv=none; b=oZZhsexjUe9ChE8LmL7UPCVWxcJUdTHBz3Si3UAE+Vdkt0YCU1uY87zW3EGQQFB1Dxh1ls 5Sw0VYQoXZzroEC/0vuleHultsh8VMm/EiZsBHeWFGDAK/j/vbsiCP1L2B3cBgJamA7FTY dKJ2Gh8V5mO11oo0QVmxJlKbqd7HJOBsn9XBPuqSh5FBb2MnERMTQWaQxhv7EalPv87Hd+ spfhhWIfNLhlKTBPLVi5F+BkQE/Yo2w65TjW5eT4kHdmCdP8qYQu0QJBYKKXXSyXK8PGpj rEwYLDHKPCY/37rGdXsI1ELLT+5HuDgXg3m4YxZfgmDFDwjtSIEmHUVY3p8cYg== 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: 1.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: BC2471956A X-Spam-Score: 1.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: Q7c4dEKgmPZY On 11/07/2022 21:23, Juan Manuel Macías wrote: > Max Nikulin writes: > > \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. Likely it is not relevant to Org, but for the following document \documentclass{article} \usepackage{ifpdf} \begin{document} \ifpdf PDF\else Not PDF\fi \end{document} I get "PDF" when I use pdflatex and "Not PDF" when I run latex. > Yes, that is true, sorry. I don't work with math. But: > > \setmathrm{⟨font name⟩} > \setmathsf{⟨font name⟩} > \setmathtt{⟨font name⟩} > \setboldmathrm{⟨font name⟩} > > Now, weren't we talking about ensuring a minimum readability out of the > box in case non-Latin characters are used? Mathematical expressions may contain non-latin characters as well. \text{} may be a rescue (anyway such expression usually appears poorly formatted), but if I remember correctly, it is better to use math mode commands to get accurate spaces in accordance to TeX design. So math fonts with wider coverage is somewhere close to minimum readability.