From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 EG5nGjINYWIV2AAAbAwnHQ (envelope-from ) for ; Thu, 21 Apr 2022 09:52:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OA19GjINYWLCVQEA9RJhRA (envelope-from ) for ; Thu, 21 Apr 2022 09:52:18 +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 0569FABEC for ; Thu, 21 Apr 2022 09:52:18 +0200 (CEST) Received: from localhost ([::1]:50154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhRbs-0005ZJ-MJ for larch@yhetil.org; Thu, 21 Apr 2022 03:52:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhRI9-0002Jg-JJ for emacs-orgmode@gnu.org; Thu, 21 Apr 2022 03:31:53 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42643) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhRI7-00074u-Vp for emacs-orgmode@gnu.org; Thu, 21 Apr 2022 03:31:53 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 7B7611C0002; Thu, 21 Apr 2022 07:31:49 +0000 (UTC) From: Nicolas Goaziou To: Ihor Radchenko Subject: Re: [PATCH] Re: No mathematics in Texinfo exports References: <87o80v3qzw.fsf@localhost> Mail-Followup-To: Ihor Radchenko , Rudolf =?utf-8?Q?Ad?= =?utf-8?Q?amkovi=C4=8D?= , emacs-orgmode@gnu.org Date: Thu, 21 Apr 2022 09:31:47 +0200 In-Reply-To: <87o80v3qzw.fsf@localhost> (Ihor Radchenko's message of "Thu, 21 Apr 2022 14:11:31 +0800") Message-ID: <87mtgedh98.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.197; envelope-from=mail@nicolasgoaziou.fr; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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: , Cc: emacs-orgmode@gnu.org, Rudolf =?utf-8?Q?Adamkovi=C4=8D?= 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=1650527538; 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; bh=Npi8K427AHSrIwv0SBxSqI+DWYauQhtJXhDtCeSWl8I=; b=epiK56ZCSYwK3T+zIM8jURG0h4tdXcChcJo2XLG2ap1DREXJMSaFM9HxwAiCanJp8WSy1j RR6r7/6CqKDV1j8N6p6uPqdDmnX6qH5tAjx9euvALhYmds8Kjc0LvrZ1nMoLaUteWMZF+M HgbOZxcIpepPg4B/G6icNesMM8bYHmSdQOa6Q7YK3wdOiX+3SSG6aaUlHqdU/hde9nAZ0V CTWGebERT72Nn3up+wW68S/ZcqjdyA7/vwi8LSK0LJOaPntOVtT/jXBFkE32/uyFqKxFg+ tFPWTQHsN2eyp/GcYdRy6zZLC0xjqVxl0h/3+8+j8gnmrkpyNkzBwcu50S4/Fw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650527538; a=rsa-sha256; cv=none; b=Wsi7OAdFHKD8AlTzEZGuGAjR6ghPQyM8u2COiLG+QHdYck60xj+zRngE6uuMHx5hAoHsDE Fq44YX3sh0P017jS0d5UV8vvQw32B6pxKRpgrU7EOsuE3niYaY9ok6vI4wWyD7I3i7qluX dIDTT5L7TMdsU7UNIsN/msYLR7kjOe0mknH+Tdgp8TUK+qVYQ9cs/VjbVJBVWrQnook2a8 PTG0gWqaa9bGI9VAq/bRkWzWmgHL/oW4EoprYR+v0RGAej7dWA4Cc6WHTuTwX69hA5zNRb 2xaFm8k1WHPT4PLnwHWcGoafA0iy3dPbg0VA6aKg1HZc5DAngDo+aWVdk9IfBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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.74 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 0569FABEC X-Spam-Score: -1.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: jZSRAtMptvER Hello, Ihor Radchenko writes: > Rudolf Adamkovi=C4=8D writes: > > The idea sounds good and having tests is very good. Though I am not > expert in texinfo. CC-ing Nicolas. He is the maintainer. My Texinfo 6.7 manual does not contain any reference to displaymath environment, which is used throughout the patch. Where is it coming from? > A more general comment is rather about our org-element.el (maybe Nicolas > can answer) > >> + (cond >> + ((or (string-match-p "^\\\\\\[" value) >> + (string-match-p "^\\$\\$" value)) >> ... >> + ((string-match-p "^\\$" value) >> ... >> + ((string-match-p "^\\\\(" value) > > Why don't we just have an extra element property with the bracket info > in the output of org-element-latex-fragment-parser? Because we didn't need it so far, as Org doesn't make a difference between the different markers. Regards, --=20 Nicolas Goaziou