From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 sOQFJBCmZGO7vwAAbAwnHQ (envelope-from ) for ; Fri, 04 Nov 2022 06:41:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YJEiIxCmZGOOvwAAG6o9tA (envelope-from ) for ; Fri, 04 Nov 2022 06:41:36 +0100 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 45C233AF7E for ; Fri, 4 Nov 2022 06:41:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqpRU-0002Go-I4; Fri, 04 Nov 2022 01:40:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqpRG-0002GX-31 for emacs-orgmode@gnu.org; Fri, 04 Nov 2022 01:40:22 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqpRC-00069a-D8 for emacs-orgmode@gnu.org; Fri, 04 Nov 2022 01:40:20 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oqpR9-000ASm-7Z for emacs-orgmode@gnu.org; Fri, 04 Nov 2022 06:40:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: Line breaks and brackets in LaTeX export Date: Fri, 4 Nov 2022 12:40:08 +0700 Message-ID: References: <875ygk6a8z.fsf@posteo.net> <87edv6izx4.fsf@localhost> <8735bmelgu.fsf@posteo.net> <878rlecx49.fsf@posteo.net> <87h701hhjp.fsf@localhost> <875ygf9j6u.fsf@localhost> <85e80572-33c6-aff5-2654-4f8de5fa143c@gmail.com> <874jvx7shy.fsf@localhost> <87fsfg30d5.fsf@localhost> <87mt9bigra.fsf@localhost> <87edullusk.fsf@localhost> <87bkppluoy.fsf@localhost> <875yfw8sy6.fsf@localhost> <87iljwgk0p.fsf@posteo.net> <871qqj5ow9.fsf@localhost> 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:102.0) Gecko/20100101 Thunderbird/102.2.2 Content-Language: en-US In-Reply-To: <871qqj5ow9.fsf@localhost> 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: 26 X-Spam_score: 2.6 X-Spam_bar: ++ X-Spam_report: (2.6 / 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.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667540496; 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=1t4nmuIe6r8CERCobHZXy8zmj3ZMLTRkrmN6BGI4XBo=; b=BsuVphYefDW9jOeiKdK8c+9Esp/CFoG97IuNF/JLq7RCCakTLAO/kiMXYmpx/w8j1iqhG8 SPIMyb95smtk71lpev2DbO4SNko7vuKao8Nl2xVY3Gdon0xaZE/SOI+GRqE7jpLh4RVe0h LPBcnePcFO1MzgroFs8KSgKiH/FnUgMQWookrxuKAGZe5g5PlbkpwcqlFol4wY1TvyyEPs RTPYLOAD1rlP6N5FH/eY9InhAsqsSO5TG0CyH+14FmugYs28uh/mbW2S5NJGxNmqQ7degc LZPpfxxzYxPkGWldTErLrKzwkHoXptOoEausyQSXsvupXa88EwSsp0r1LnbZsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667540496; a=rsa-sha256; cv=none; b=imVqq5n8tLnGFacq7QLf5LL6tuAm3cWg6q1yMcLtNGa3QAjk79crA27EyCl7nZ6+ORficr wyuVIQgjLmMF0rX+YvSGuDhe/qJrzADwxk0T32/wCCB0H5ADth5SaWJdOAbv6Adxrzanhw aKNBsjZpBXFuPi2AT56D9Yp2zsRNBULzEhgkP9PTLC8W6Jmm20HD9NejqZCmyKWIyUpXqP /bFBgJ3llfKaITyAe6AjUPnfiRutUvcZ6zUMsUO7LUtbnVzLRPJs2xxI9tUwNoR+BTDbpD j2Ccm6gfgT4iUprcS8nO1L1TEtQ5S2RiXkTsVi/Az9CFm5h57wj+wdFMtbHTBA== 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: 2.20 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: 45C233AF7E X-Spam-Score: 2.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: waE4M1GD/MWw On 04/11/2022 11:23, Ihor Radchenko wrote: > Max Nikulin writes: >>> Ihor Radchenko writes: >>> >>>> These arguments mean that auto-cleaning \\[0pt] is not always safe and >>>> may be a subject of surrounding LaTeX context. >> >> I still believe that >> >> something\\[0pt]%__ORG_EXPORT__ >> >> is quite safe to remove (depending on the following character) and >> unlikely harmful if remained for some reason. > > What about the side effect you mentioned in a previous email? > >> TeX reads >> >> "a% comment >> b" >> >> as "ab", dropping newline and starting spaces. Unlike in Org, in TeX "a\\b" still contains a line break. Besides exotic packages and user setups it should just work. After all, during normal operation all "%__ORG_EXPORT__" should be stripped by a filter. They are just marks where a decision is necessary whether to retain "[0pt]" or to remove it. On 03/11/2022 22:48, Juan Manuel MacĂ­as wrote: > Max Nikulin writes: > >> I have not managed to convince even the tabularray developer. And I >> have not tried to find a way to reach more LaTeX developers. > > I think that people from the LaTeX team and the authors of the most > popular packages are often very active on tex.stackexchange.com Stackexchange is for questions, not for discussions and bugs. At certain point I was going to ask a question there, I even prepared a draft. After that I decided to try a command expanding to nothing and found \empty. I was not aware that tabularray uses a different approach to parsing. > And the repo on GitHub for the LaTeX project: https://github.com/latex3 https://github.com/latex3/latex3/issues may be an appropriate place, thank you.