From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 AGuREvgRYmMVBQEAbAwnHQ (envelope-from ) for ; Wed, 02 Nov 2022 07:45:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mMKhEvgRYmNIGgAA9RJhRA (envelope-from ) for ; Wed, 02 Nov 2022 07:45:12 +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 05D5520A41 for ; Wed, 2 Nov 2022 07:45:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oq7Ty-0002tb-JL; Wed, 02 Nov 2022 02:44:14 -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 1oq7Tw-0002t2-AG for emacs-orgmode@gnu.org; Wed, 02 Nov 2022 02:44:12 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oq7Tu-00077v-1e for emacs-orgmode@gnu.org; Wed, 02 Nov 2022 02:44:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1855C240027 for ; Wed, 2 Nov 2022 07:44:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667371447; bh=YHas2yOpTG8jed9gpBvTQbxuQ1A1w/UMHTDC0abrVwU=; h=From:To:Cc:Subject:Date:From; b=VFgUqZGrGt+jVkNFrfezO7A/mLLB2dOiWLWpe8koug0ZfUk7HJzdIuz/NF+S2u6B9 d0w/L2DmeNaEYjAIbCe2k0YEFXMqG1KqQeJXRwEspGSmJW8ucG0+fF/d5Ef88hQyzM ehx+uamAEhSSKnV5Bc28tBnAdoodDa/IX9rlinmAxJw8Hm94Z9QL9X1fyrsDn9YZNx 2rhvAXmow94anGeaF7+Fa23bL8AwwZ24MK6c2GRZzrWDFO1kmS75haJoFa42yqPgbN O0rfQv6pQWgjrDxOtjyCnMyA6iPJGYecmZ6ZC+4UdkXFdSzmFzc6d+CxaWKOpJW8Np w2IicYbGRxgfQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N2HRT6kpPz6tn3; Wed, 2 Nov 2022 07:44:05 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Line breaks and brackets in LaTeX export In-Reply-To: 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> Date: Wed, 02 Nov 2022 06:44:43 +0000 Message-ID: <87edullusk.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , 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=1667371512; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LwKSUZcJJSkXV4PLHTTsELKanr9/T51YYaZcW58Fho4=; b=nBj5QTVtSa1pUBr8k08t45ZDOremPynNbo0lfKSPZaPnxNz7RiPHhVG3cjIlHmNJEKRF0X 0NA0tOxQjzLxcMn/d1Atkvu2oV/uFNlCuuluOxwvi54LceEwt2RlTuXmUfe/SYURih/jKa yIWrhrntc5jwNec4wUj8f8hVQ+D3AOCVJ+ma8uOJj40JUcrS4gNeirIpL+ar3LBUD6BpCb 5168qVyncrBbceedS+kXy2lGiVi4WPHVfwJE+aWYoqRAIckF1MrWi0AUYUnRw2jjpcM1B8 u1KafjSUsP7ENB1DIIU0+Z94OF5rzSRot7KLMBRnlfNpOYof5Eug5WzXQnHniQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667371512; a=rsa-sha256; cv=none; b=MzcJ7mzamN/dMmXgegq4bST0OOtVZTVd3L6uiQKZYHPsw5bnrGTKFB/67xCUCfHh2YF/eq XSOmOX/6r9oYuzogBcu8L5nmydWhVA/CDq87Uue3iyL4TMLzgSQ8bwk1jfKnXQrh06kBfi 5xv8+EkNBf5n50xtrNAXGRqN+Xx2SWElsb7hAfcadX3/BcuCepUxlCRS+FLTOwJnaSGyE2 FhL1UXPyF76MfUzxhBykK60I2mqNyVsSDPRUxrApYh3xZ/Xq9d3cOgxMLHUA+yHhRw5+o7 z+SBkt29WsNOWDuuGtSBDwq9GJ8bQniq8ElTP4kB3ZRW88sQ3+4QcqVIvvyBiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VFgUqZGr; dmarc=pass (policy=none) header.from=posteo.net; 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.48 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VFgUqZGr; dmarc=pass (policy=none) header.from=posteo.net; 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: 05D5520A41 X-Spam-Score: -3.48 X-Migadu-Scanner: scn0.migadu.com X-TUID: GjpyuW2i0Tqq Max Nikulin writes: > Another corner case when "\\[0pt]\n" should not be blindly replaced to > "\\\n" (I do not escape "\"). Imagine that you are going to describe > this optimizing filter > > ---- >8 ---- > Optimizing filter will replace > #+begin_example > First\\[0pt] > Second > #+end_example > with > #+begin_example > First\\ > Second > #+end_example > ---- 8< ----- This is a strong argument against auto-removing the \\[0pt]. 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. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at