From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 MNaFNx6gnGJvYwAAbAwnHQ (envelope-from ) for ; Sun, 05 Jun 2022 14:22:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CDaLNh6gnGLmEgEAG6o9tA (envelope-from ) for ; Sun, 05 Jun 2022 14:22:54 +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 8D09E284B6 for ; Sun, 5 Jun 2022 14:22:54 +0200 (CEST) Received: from localhost ([::1]:52234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxpHR-0001t8-QI for larch@yhetil.org; Sun, 05 Jun 2022 08:22:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxpGY-0001rO-Tn for emacs-orgmode@gnu.org; Sun, 05 Jun 2022 08:21:58 -0400 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:47062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxpGW-0000dn-MW for emacs-orgmode@gnu.org; Sun, 05 Jun 2022 08:21:58 -0400 Received: by mail-pg1-x52a.google.com with SMTP id c14so10797033pgu.13 for ; Sun, 05 Jun 2022 05:21:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=VcALEUN5KXWS5rZc5Td2gQS0+ic4J5rfFmGB8gzUcyU=; b=MStvIrsDocSYFaB8U9Ytm6D80HNvIuNySFnSgcoe2PKV8RXS8Mx9y5hFG8yI2+XjYE fXoCqkEIq9LnKJ0Kyfx9nnKhQj8XNn0LPAdQzlaqJsPF76AT5+mdCIvp/zu13w6r0qqG cB/rX4L4lCPA+oSWa7B6bOhBgFvOXom01cgsDokiubZdEn5UzIgoFiaoOTNsN7pI9Mxl EkH3By0STLBrunqtvSBEnAYzDv23+vzugjaAWfT56Km9/DYtOp/f+wm/IniXxr4UIKRf 6J0kMeMtIuiTJakicZjpyAqDvslDYK5Synelyo2gq5LThKhj4I4ZBxKFWxvszydMuLCs MMjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=VcALEUN5KXWS5rZc5Td2gQS0+ic4J5rfFmGB8gzUcyU=; b=unUgzvzGmIbnnyvpJ7iLlX312DWp2L6n+eB4tjlFWh3Wzg9RxV6Vpe2+pvr9bwnt2g 2C4i5/PsjehgInjkVFUjo5m9k8bAUdOWdLjw2peiqRa6gEvO/MmAUgElT3C8O5F7IkaG hpnTHEGh7/g7YhmsxJmk2iLSR6bv5mgtv2oBS3T0gO1d2yeXVbjlTy5KW+3UJn3N88PK vV2OGMVgj6ri/HVL2c94CqJbkvebpxzHFKRk2/caLtTnwO5g0Z8/gZEBTzb7moQ1OfMJ FRDkkuFxP6MgJZQx24zGKE80zq15C3jKda1ZKQCYbJSnCKtT1b5u2+tMPcN8ejD8AA7g oEwA== X-Gm-Message-State: AOAM532Gw3JulNr/Qfm9TUeqNrb1ynn/UsrB1Otp7XA3Ye1vRvnIPqzk aSFdXavzoi9GQhgmN5eef5A= X-Google-Smtp-Source: ABdhPJxkLs+UOJuAYyicB/MzmVW2FLVn7uTZAOSk6c171Jq7rvCQL7DGp+IMYVnFMak7KeuK8FuVgQ== X-Received: by 2002:a63:3d0b:0:b0:37f:ef34:1431 with SMTP id k11-20020a633d0b000000b0037fef341431mr16532912pga.547.1654431715202; Sun, 05 Jun 2022 05:21:55 -0700 (PDT) Received: from localhost ([208.115.232.2]) by smtp.gmail.com with ESMTPSA id b15-20020a170902650f00b0016194c1df58sm6695309plk.105.2022.06.05.05.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 05:21:54 -0700 (PDT) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: Nicolas Goaziou , emacs-orgmode@gnu.org Subject: Re: [PATCH] Re: No mathematics in Texinfo exports In-Reply-To: References: <87o80v3qzw.fsf@localhost> <87mtgedh98.fsf@nicolasgoaziou.fr> <87a6cezrhm.fsf@localhost> <87bkwud6ni.fsf@nicolasgoaziou.fr> <87czhazhfz.fsf@localhost> <87k0amb4qf.fsf@localhost> <87v8twscml.fsf@localhost> <874k1ae5tz.fsf@localhost> Date: Sun, 05 Jun 2022 20:22:31 +0800 Message-ID: <87bkv75mgo.fsf@localhost> 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::52a; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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=1654431774; 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=VcALEUN5KXWS5rZc5Td2gQS0+ic4J5rfFmGB8gzUcyU=; b=aUzzn8XcTOy4gH6foHV4DwCRSG2DIDK/BE5PfFw1JASWodl869qwj/ZowUnpjj5tncZJj0 lI5HPK2+kQ4rIl4+Q6Tcw/PIvJEJZHhxkBfB4HAvxqkEhevy66dtHC18NfObGOLPw5qYAr tmmkbD0CimG2pHlYVflWzwZ2c7LSVkxcdLaQq3P7MLdNGkC0kWK5u3Ex9SnJPQOyUqNSDA hgWxL3Grl6YlEhV5ga1UAsTtIhgGUSKdj7RoiBubu4WKxCSYZ/nNc7LlrxhgKAiv3qKv46 CZaOuMRJvmZFprEKauwxqsdIj+e+pIG5NdD7px7fXaDEwp88AVT4pMjCWMbWoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654431774; a=rsa-sha256; cv=none; b=rQ1S2y3yyRrdovRUpHCU3NbMcYLguEgmPM+0rbOZAEQvs6+93Ol3FR0vguJHjvDR9a2ZT2 UVRoxpFxrGNocm63A366WW+h9EZwuRoKy+pwzJWTwO3uVkmUvKCqKlkfOVYluMV7fRqh2k WkC7GLthv0ZqzCWurr8ybVIqHPj+74FqTZlEmnd9Dw/NBFeykTTZHwS31JvInLBl/UIwEe DFWos5XhrHcOXGV6I/zC9+Q1RIOAlE1OkvbxJx78yH+6b+0wehiLiPCX1snmp4gfw9Ae5m 8ZkBIofJmwWLQjGqjlJcRCv+UjIZtgRnqVECoMuVtpJKDo4JbEcZE5PisVQvng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MStvIrsD; 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: -3.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MStvIrsD; 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: 8D09E284B6 X-Spam-Score: -3.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8C0XvLdMYQzU Rudolf Adamkovi=C4=8D writes: > Ihor Radchenko writes: > >> We are back to the previous comments on the patch itself. You need to >> address the problem with older versions of texinfo. What will happen >> if one tries to open a document generated with your patch using old >> texinfo version? Will it render correctly? > > I compiled Texinfo 6.7, tried it, and it indeed trips over math. So, do > we declare a new Texinfo-specific "include math" variable that defaults > to nil? I ask because we already have 'org-export-with-latex' which, > when set to nil, results in math-less exports. The new variable would > have the same effect, but just for Texinfo exports. Does that raise any > red flags? Do you have any other thoughts? Thank you! Sounds reasonable in general. `org-export-with-latex' is a global setting. I do not think that texinfo equivalent should be global. It should only be declared inside ox-texinfo. As for the default value, it would be better if the option were set depending on the installed Texinfo version. If the installed Texinfo supports math, set it to t. Otherwise, nil. Of course, users will be able to override the default as they wish. Best, Ihor