From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 MCLgGL+MYmOSFwAAbAwnHQ (envelope-from ) for ; Wed, 02 Nov 2022 16:29:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8KyaGL+MYmOuoQAAauVa8A (envelope-from ) for ; Wed, 02 Nov 2022 16:29:03 +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 2A5CC3830E for ; Wed, 2 Nov 2022 16:29:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqFee-0002MD-6i; Wed, 02 Nov 2022 11:27:48 -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 1oqFea-0002KO-Rd for emacs-orgmode@gnu.org; Wed, 02 Nov 2022 11:27:44 -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 1oqFeZ-0008NV-3a for emacs-orgmode@gnu.org; Wed, 02 Nov 2022 11:27:44 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oqFeU-0004Wp-2b for emacs-orgmode@gnu.org; Wed, 02 Nov 2022 16:27:38 +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: Wed, 2 Nov 2022 22:27:33 +0700 Message-ID: References: <875ygk6a8z.fsf@posteo.net> <87a65vitbz.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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: <87bkppluoy.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=1667402943; 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=8LFvYJhG5JJZZ+6VJHg2WgMDPoXHqYY6nGTfDmnD98M=; b=DYptBW3hUsXY2f75fSwGkG0lGWUmbj6bu2rAVRRX0doVqqPNYd5gHKcsME3sQdllAipqO9 ILNnB7bOJQDo1RGtDZkdcHZr7V+raLJI1nFpvXc/VM/VliwCdWPaUUjRHyHqH6GhWOiywJ wcweKckQs7Ln16rOD3MFJxP8haxA2iUh/7lGrkYVnQzBpqeWl9oQuoTom0bOxoPckSyMti 5CjtqK999CLBFEF9o6a+9xi5qQiB5bRGErA0gW9j++vuzcITa3VVp5j3nmRX3DP5vaV1a8 0iqge5vdlVvOt127UzddKP0E82COtAGD2xXVRRglhK4Mil0hVnlR++zplSaAwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667402943; a=rsa-sha256; cv=none; b=UCmu07KOwFaPXJmytnOsBIR/mSD1f/d0VAMyJXtqKrN+wzGMqnwHPeKs9rRvRU/7IwJfRO 1mEF2fd14yd4xCuUDjrSYplrjQY+EmBNHWLOOd3dSOOzGT6MdI6BbrzKfQtszTBWl9bRem 8xr77833ER7oh9HZTKLiNoHiVld/sRXClS+0YLrg2C2qMI7XXC/2w93X3JtNxTemqzgbzD pfmAR7Tecc4FGEsJBXgV6H8fIWhMzXaHCOeQIsdH2lPyv2z4yQJavs5tKrkzfsKLCqdfb0 dGdsMRUcMECQ5k52snQEBmqHDHnroSp6DZx5IukNpjTd/Uf8NVFb2IZufJFDxg== 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: 4.21 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: 2A5CC3830E X-Spam-Score: 4.21 X-Migadu-Scanner: scn1.migadu.com X-TUID: vZ0oodnh7Ve3 On 02/11/2022 13:46, Ihor Radchenko wrote: > Ihor Radchenko writes: > >> Should we, instead of using exact "\\[0pt]" string for line breaks, >> define a new LaTeX command and then clean it up? This will distinguish >> between \\[0pt] added by users explicitly and the ones generated >> automatically by Org. > > I guess it will not work for that fancy table package we discussed > above. tabularray package will require \NewTableCommand > Maybe the Max's idea with "\\[0pt]%some comment indicator"? > I am just worried that % does have side effects in LaTeX. TeX reads "a% comment b" as "ab", dropping newline and starting spaces. Of course, advanced users may redefine category of "%" from comment to something else (regular character, command prefix like \, etc.) like it is done inside verbatim environment.